Enum ast_demangle::rust_v0::Path
source · [−]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>)
InherentImpl
TraitImpl
TraitDefinition
Nested
Generic
Implementations
Trait Implementations
sourceimpl<'a> Ord for Path<'a>
impl<'a> Ord for Path<'a>
sourceimpl<'a> PartialOrd<Path<'a>> for Path<'a>
impl<'a> PartialOrd<Path<'a>> for Path<'a>
sourcefn partial_cmp(&self, other: &Path<'a>) -> Option<Ordering>
fn partial_cmp(&self, other: &Path<'a>) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl<'a> Eq for Path<'a>
impl<'a> StructuralEq for Path<'a>
impl<'a> StructuralPartialEq for Path<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Path<'a>
impl<'a> !Send for Path<'a>
impl<'a> !Sync for Path<'a>
impl<'a> Unpin for Path<'a>
impl<'a> UnwindSafe for Path<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more