#[repr(u8)]pub enum PathCtx {
Expr = 0,
RecordExpr = 1,
Type = 2,
TypeArg = 3,
TypeBound = 4,
PatValue = 5,
PatRecord = 6,
UseTree = 7,
MacroCall = 8,
}Expand description
Syntactic role of a resolved path or identifier site.
Variants§
Expr = 0
RecordExpr = 1
Type = 2
TypeArg = 3
TypeBound = 4
PatValue = 5
PatRecord = 6
UseTree = 7
MacroCall = 8
Trait Implementations§
impl Copy for PathCtx
impl Eq for PathCtx
Source§impl Ord for PathCtx
impl Ord for PathCtx
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for PathCtx
impl PartialOrd for PathCtx
impl StructuralPartialEq for PathCtx
Auto Trait Implementations§
impl Forget for PathCtx
impl Freeze for PathCtx
impl Move for PathCtx
impl RefUnwindSafe for PathCtx
impl Send for PathCtx
impl Sync for PathCtx
impl Unpin for PathCtx
impl UnsafeUnpin for PathCtx
impl UnwindSafe for PathCtx
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