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