pub struct CoordinateRef<'a, S: System> { /* private fields */ }Expand description
A borrowed coordinate.
Implementations§
Trait Implementations§
impl<'a, S: Copy + System> Copy for CoordinateRef<'a, S>
Source§impl<S: System> Display for CoordinateRef<'_, S>
impl<S: System> Display for CoordinateRef<'_, S>
impl<'a, S: Eq + System> Eq for CoordinateRef<'a, S>
Source§impl<'a, S: Ord + System> Ord for CoordinateRef<'a, S>
impl<'a, S: Ord + System> Ord for CoordinateRef<'a, S>
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<'a, S: PartialOrd + System> PartialOrd for CoordinateRef<'a, S>
impl<'a, S: PartialOrd + System> PartialOrd for CoordinateRef<'a, S>
impl<'a, S: PartialEq + System> StructuralPartialEq for CoordinateRef<'a, S>
Auto Trait Implementations§
impl<'a, S> Forget for CoordinateRef<'a, S>
impl<'a, S> Freeze for CoordinateRef<'a, S>
impl<'a, S> Move for CoordinateRef<'a, S>
impl<'a, S> RefUnwindSafe for CoordinateRef<'a, S>where
&'a Position<S>: RefUnwindSafe,
impl<'a, S> Send for CoordinateRef<'a, S>
impl<'a, S> Sync for CoordinateRef<'a, S>
impl<'a, S> Unpin for CoordinateRef<'a, S>
impl<'a, S> UnsafeUnpin for CoordinateRef<'a, S>where
&'a Position<S>: UnsafeUnpin,
impl<'a, S> UnwindSafe for CoordinateRef<'a, S>where
&'a Position<S>: 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