pub struct At<T> {
pub value: T,
pub position: Position,
}Fields§
§value: T§position: PositionTrait Implementations§
impl<T> Copy for At<T>where
T: Copy,
impl<T> Eq for At<T>where
T: Eq,
Source§impl<T> Ord for At<T>where
T: Ord,
impl<T> Ord for At<T>where
T: Ord,
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<T> PartialOrd for At<T>where
T: PartialOrd,
impl<T> PartialOrd for At<T>where
T: PartialOrd,
impl<T> StructuralPartialEq for At<T>where
T: PartialEq,
Auto Trait Implementations§
impl<T> Freeze for At<T>where
T: Freeze,
impl<T> RefUnwindSafe for At<T>where
T: RefUnwindSafe,
impl<T> Send for At<T>where
T: Send,
impl<T> Sync for At<T>where
T: Sync,
impl<T> Unpin for At<T>where
T: Unpin,
impl<T> UnsafeUnpin for At<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for At<T>where
T: UnwindSafe,
Blanket Implementations§
impl<T> Allocation for T
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