#[repr(C)]pub struct SoftBodyRecord {
pub sleep_timer: f32,
pub sleeping: u32,
pub moving: u32,
pub wake: u32,
}Fields§
§sleep_timer: f32§sleeping: u32§moving: u32§wake: u32Implementations§
Trait Implementations§
Source§impl Clone for SoftBodyRecord
impl Clone for SoftBodyRecord
Source§fn clone(&self) -> SoftBodyRecord
fn clone(&self) -> SoftBodyRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SoftBodyRecord
Source§impl Debug for SoftBodyRecord
impl Debug for SoftBodyRecord
Source§impl PartialEq for SoftBodyRecord
impl PartialEq for SoftBodyRecord
impl Pod for SoftBodyRecord
Source§impl StreamRecord for SoftBodyRecord
impl StreamRecord for SoftBodyRecord
impl StructuralPartialEq for SoftBodyRecord
Auto Trait Implementations§
impl Freeze for SoftBodyRecord
impl RefUnwindSafe for SoftBodyRecord
impl Send for SoftBodyRecord
impl Sync for SoftBodyRecord
impl Unpin for SoftBodyRecord
impl UnsafeUnpin for SoftBodyRecord
impl UnwindSafe for SoftBodyRecord
Blanket Implementations§
impl<T> AnyBitPattern for Twhere
T: Pod,
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> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.