#[repr(C)]#[repr(align(8))]pub struct float2 {
pub x: f32,
pub y: f32,
}
Fields§
§x: f32
§y: f32
Trait Implementations§
source§impl PartialEq<float2> for float2
impl PartialEq<float2> for float2
source§impl PartialOrd<float2> for float2
impl PartialOrd<float2> for float2
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 float2
impl StructuralPartialEq for float2
Auto Trait Implementations§
impl RefUnwindSafe for float2
impl Send for float2
impl Sync for float2
impl Unpin for float2
impl UnwindSafe for float2
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