pub struct PoseState {
pub timestamp: StateTime,
pub present: bool,
pub joints: Vec<JointState>,
pub gesture: Gesture,
pub activity: ActivityState,
pub confidence: f32,
pub velocity: Position3D,
}Expand description
Complete pose state
Fields§
§timestamp: StateTimeTimestamp
present: boolIs a body detected?
joints: Vec<JointState>Joint states (indexed by Joint enum)
gesture: GestureCurrent gesture (if any)
activity: ActivityStateCurrent activity
confidence: f32Overall confidence
velocity: Position3DVelocity estimate (for prediction)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PoseState
impl RefUnwindSafe for PoseState
impl Send for PoseState
impl Sync for PoseState
impl Unpin for PoseState
impl UnsafeUnpin for PoseState
impl UnwindSafe for PoseState
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