Struct syntax::ast::Path[src]
pub struct Path {
pub span: Span,
pub global: bool,
pub segments: Vec<PathSegment>,
}Fields
span | |
global | A |
segments | The segments in the path: the things separated by |
pub struct Path {
pub span: Span,
pub global: bool,
pub segments: Vec<PathSegment>,
}span | |
global | A |
segments | The segments in the path: the things separated by |
impl<__S: Writer> Hash<__S> for Pathfn hash(&self, __arg_0: &mut __S)impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for Pathimpl<__S: Encoder<__E>, __E> Encodable<__S, __E> for Pathimpl Eq for Pathfn assert_receiver_is_total_eq(&self)impl PartialEq for Pathimpl Clone for Pathfn clone(&self) -> Pathfn clone_from(&mut self, source: &Self)
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).