#[repr(C)]pub struct ActivationRecord {
pub activation_count: u32,
pub last_activated_ms: u64,
pub drift_x: f32,
pub drift_y: f32,
pub drift_z: f32,
pub energy: f32,
pub _pad: u32,
}Expand description
Per-block activation record: 32 bytes, stored in activations.bin.
Fields§
§activation_count: u32§last_activated_ms: u64§drift_x: f32§drift_y: f32§drift_z: f32§energy: f32§_pad: u32Trait Implementations§
Source§impl Clone for ActivationRecord
impl Clone for ActivationRecord
Source§fn clone(&self) -> ActivationRecord
fn clone(&self) -> ActivationRecord
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 moreSource§impl Debug for ActivationRecord
impl Debug for ActivationRecord
Source§impl Default for ActivationRecord
impl Default for ActivationRecord
impl Copy for ActivationRecord
Auto Trait Implementations§
impl Freeze for ActivationRecord
impl RefUnwindSafe for ActivationRecord
impl Send for ActivationRecord
impl Sync for ActivationRecord
impl Unpin for ActivationRecord
impl UnsafeUnpin for ActivationRecord
impl UnwindSafe for ActivationRecord
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