pub struct MotionSample {
pub force_n: Option<f64>,
pub speed_mps: Option<f64>,
pub near_humans: bool,
pub zone: Option<String>,
pub time_hm: Option<String>,
}Expand description
One observed motion sample. None numerics mean “not specified” (a meaningful
zero is still Some(0.0)), matching PhysicalAction.
Fields§
§force_n: Option<f64>§speed_mps: Option<f64>§near_humans: bool§zone: Option<String>§time_hm: Option<String>Trait Implementations§
Source§impl Clone for MotionSample
impl Clone for MotionSample
Source§impl Debug for MotionSample
impl Debug for MotionSample
Auto Trait Implementations§
impl Forget for MotionSample
impl Freeze for MotionSample
impl Move for MotionSample
impl RefUnwindSafe for MotionSample
impl Send for MotionSamplewhere
RawVecInner: Send,
impl Sync for MotionSamplewhere
RawVecInner: Sync,
impl Unpin for MotionSample
impl UnsafeUnpin for MotionSample
impl UnwindSafe for MotionSamplewhere
RawVecInner: UnwindSafe,
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