#[repr(C)]#[repr(align(16))]pub struct double2 {
pub x: f64,
pub y: f64,
}
Fields§
§x: f64
§y: f64
Trait Implementations§
source§impl PartialEq<double2> for double2
impl PartialEq<double2> for double2
source§impl PartialOrd<double2> for double2
impl PartialOrd<double2> for double2
1.0.0 · source§fn 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 moreimpl Copy for double2
impl StructuralPartialEq for double2
Auto Trait Implementations§
impl RefUnwindSafe for double2
impl Send for double2
impl Sync for double2
impl Unpin for double2
impl UnwindSafe for double2
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