Union leap_sys::_LEAP_VECTOR__bindgen_ty_1
source · [−]#[repr(C, packed)]
pub union _LEAP_VECTOR__bindgen_ty_1 {
pub v: [f32; 3],
pub __bindgen_anon_1: _LEAP_VECTOR__bindgen_ty_1__bindgen_ty_1,
}
Expand description
You can access the vector members as either an array or individual float values.
Fields
v: [f32; 3]
The vector as an array. @since 3.0.0
__bindgen_anon_1: _LEAP_VECTOR__bindgen_ty_1__bindgen_ty_1
Trait Implementations
sourceimpl Clone for _LEAP_VECTOR__bindgen_ty_1
impl Clone for _LEAP_VECTOR__bindgen_ty_1
sourcefn clone(&self) -> _LEAP_VECTOR__bindgen_ty_1
fn clone(&self) -> _LEAP_VECTOR__bindgen_ty_1
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for _LEAP_VECTOR__bindgen_ty_1
Auto Trait Implementations
impl RefUnwindSafe for _LEAP_VECTOR__bindgen_ty_1
impl Send for _LEAP_VECTOR__bindgen_ty_1
impl Sync for _LEAP_VECTOR__bindgen_ty_1
impl Unpin for _LEAP_VECTOR__bindgen_ty_1
impl UnwindSafe for _LEAP_VECTOR__bindgen_ty_1
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