pub union k4a_float2_t {
pub xy: k4a_float2_t__xy,
pub v: [f32; 2],
/* private fields */
}Expand description
Two dimensional floating point vector.
\xmlonly
Fields§
§xy: k4a_float2_t__xy< X, Y representation of a vector
v: [f32; 2]< Array representation of a vector
Trait Implementations§
Source§impl Clone for k4a_float2_t
impl Clone for k4a_float2_t
Source§fn clone(&self) -> k4a_float2_t
fn clone(&self) -> k4a_float2_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for k4a_float2_t
Auto Trait Implementations§
impl Freeze for k4a_float2_t
impl RefUnwindSafe for k4a_float2_t
impl Send for k4a_float2_t
impl Sync for k4a_float2_t
impl Unpin for k4a_float2_t
impl UnsafeUnpin for k4a_float2_t
impl UnwindSafe for k4a_float2_t
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