pub struct SleepConfig {
pub linear_threshold: f32,
pub angular_threshold: f32,
pub frames_to_sleep: u16,
}Expand description
Configuration for body sleeping thresholds.
Fields§
§linear_threshold: f32§angular_threshold: f32§frames_to_sleep: u16Trait Implementations§
Source§impl Clone for SleepConfig
impl Clone for SleepConfig
Source§fn clone(&self) -> SleepConfig
fn clone(&self) -> SleepConfig
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 SleepConfig
impl Debug for SleepConfig
Source§impl Default for SleepConfig
impl Default for SleepConfig
impl Copy for SleepConfig
Auto Trait Implementations§
impl Freeze for SleepConfig
impl RefUnwindSafe for SleepConfig
impl Send for SleepConfig
impl Sync for SleepConfig
impl Unpin for SleepConfig
impl UnsafeUnpin for SleepConfig
impl UnwindSafe for SleepConfig
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