#[repr(C)]pub struct XYZ<T> {
pub x: T,
pub y: T,
pub z: T,
}
Fields
x: T
y: T
z: T
Trait Implementations
sourceimpl<T> PartialOrd<XYZ<T>> for XYZ<T> where
T: PartialOrd<T>,
impl<T> PartialOrd<XYZ<T>> for XYZ<T> where
T: PartialOrd<T>,
sourcefn partial_cmp(&self, other: &XYZ<T>) -> Option<Ordering>
fn partial_cmp(&self, other: &XYZ<T>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl<T> Copy for XYZ<T> where
T: Copy,
impl<T> StructuralPartialEq for XYZ<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for XYZ<T> where
T: RefUnwindSafe,
impl<T> Send for XYZ<T> where
T: Send,
impl<T> Sync for XYZ<T> where
T: Sync,
impl<T> Unpin for XYZ<T> where
T: Unpin,
impl<T> UnwindSafe for XYZ<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more