pub struct Ident<T> {
pub value: String,
pub position: Position,
pub info: T,
}
Fields§
§value: String
§position: Position
§info: T
Implementations§
Trait Implementations§
Source§impl<T: Ord> Ord for Ident<T>
impl<T: Ord> Ord for Ident<T>
Source§impl<T: PartialOrd> PartialOrd for Ident<T>
impl<T: PartialOrd> PartialOrd for Ident<T>
impl<T: Eq> Eq for Ident<T>
impl<T> StructuralPartialEq for Ident<T>
Auto Trait Implementations§
impl<T> Freeze for Ident<T>where
T: Freeze,
impl<T> RefUnwindSafe for Ident<T>where
T: RefUnwindSafe,
impl<T> Send for Ident<T>where
T: Send,
impl<T> Sync for Ident<T>where
T: Sync,
impl<T> Unpin for Ident<T>where
T: Unpin,
impl<T> UnwindSafe for Ident<T>where
T: UnwindSafe,
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