#[repr(C)]pub struct BSTPoint2<T: Num> {
pub x: T,
pub y: T,
}
Fields§
§x: T
§y: T
Trait Implementations§
Source§impl<T: Ord + Num> Ord for BSTPoint2<T>
impl<T: Ord + Num> Ord for BSTPoint2<T>
1.21.0 · 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
Source§impl<T: PartialOrd + Num> PartialOrd for BSTPoint2<T>
impl<T: PartialOrd + Num> PartialOrd for BSTPoint2<T>
impl<T: Copy + Num> Copy for BSTPoint2<T>
impl<T: Eq + Num> Eq for BSTPoint2<T>
impl<T: Num> StructuralPartialEq for BSTPoint2<T>
Auto Trait Implementations§
impl<T> Freeze for BSTPoint2<T>where
T: Freeze,
impl<T> RefUnwindSafe for BSTPoint2<T>where
T: RefUnwindSafe,
impl<T> Send for BSTPoint2<T>where
T: Send,
impl<T> Sync for BSTPoint2<T>where
T: Sync,
impl<T> Unpin for BSTPoint2<T>where
T: Unpin,
impl<T> UnwindSafe for BSTPoint2<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