#[repr(C, align(64))]pub struct EmotionHeader {
pub current: [f32; 21],
pub head: u32,
pub count: u32,
pub last_update: u64,
pub total_updates: u64,
pub _pad: [u8; 16276],
}Fields§
§current: [f32; 21]§head: u32§count: u32§last_update: u64§total_updates: u64§_pad: [u8; 16276]Implementations§
Source§impl EmotionHeader
impl EmotionHeader
pub const HEADER_BYTES: usize
pub fn to_bytes(&self) -> [u8; 16384]
pub fn from_bytes(buf: &[u8]) -> Self
Trait Implementations§
Source§impl Clone for EmotionHeader
impl Clone for EmotionHeader
impl Copy for EmotionHeader
Source§impl Debug for EmotionHeader
impl Debug for EmotionHeader
Auto Trait Implementations§
impl Freeze for EmotionHeader
impl RefUnwindSafe for EmotionHeader
impl Send for EmotionHeader
impl Sync for EmotionHeader
impl Unpin for EmotionHeader
impl UnsafeUnpin for EmotionHeader
impl UnwindSafe for EmotionHeader
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,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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