Enum ast_demangle::rust_v0::Path [−][src]
pub enum Path<'a> {
CrateRoot(Identifier<'a>),
InherentImpl {
impl_path: ImplPath<'a>,
type_: Rc<Type<'a>>,
},
TraitImpl {
impl_path: ImplPath<'a>,
type_: Rc<Type<'a>>,
trait_: Rc<Path<'a>>,
},
TraitDefinition {
type_: Rc<Type<'a>>,
trait_: Rc<Path<'a>>,
},
Nested {
namespace: u8,
path: Rc<Path<'a>>,
identifier: Identifier<'a>,
},
Generic {
path: Rc<Path<'a>>,
generic_args: Vec<GenericArg<'a>>,
},
}Variants
CrateRoot(Identifier<'a>)Tuple Fields of CrateRoot
0: Identifier<'a>Fields of Nested
Fields of Generic
path: Rc<Path<'a>>generic_args: Vec<GenericArg<'a>>Implementations
Returns an object that implements Display for printing the path.
Trait Implementations
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for Path<'a>
impl<'a> UnwindSafe for Path<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more