#[repr(C, packed(1))]pub struct VizBlock {
pub x: f32,
pub y: f32,
pub z: f32,
pub dx: f32,
pub dy: f32,
pub dz: f32,
pub energy: f32,
pub layer_id: u8,
pub depth: u8,
pub flags: u8,
pub padding: u8,
}Expand description
Packed visualization block (32 bytes).
Fields§
§x: f32§y: f32§z: f32§dx: f32§dy: f32§dz: f32§energy: f32§layer_id: u8§depth: u8§flags: u8§padding: u8Trait Implementations§
Auto Trait Implementations§
impl Freeze for VizBlock
impl RefUnwindSafe for VizBlock
impl Send for VizBlock
impl Sync for VizBlock
impl Unpin for VizBlock
impl UnsafeUnpin for VizBlock
impl UnwindSafe for VizBlock
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more