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§
Implementations§
Trait Implementations§
Source§impl<'a> Ord for Path<'a>
impl<'a> Ord for Path<'a>
Source§impl<'a> PartialOrd for Path<'a>
impl<'a> PartialOrd for Path<'a>
impl<'a> Eq for Path<'a>
impl<'a> StructuralPartialEq for Path<'a>
Auto Trait Implementations§
impl<'a> Freeze for Path<'a>
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more