pub struct SixDSource {
pub position_change_event: bool,
pub zh_over_threshold: bool,
pub zl_over_threshold: bool,
pub yh_over_threshold: bool,
pub yl_over_threshold: bool,
pub xh_over_threshold: bool,
pub xl_over_threshold: bool,
}Expand description
6D source
Fields§
§position_change_event: boolSource of change in position (portrait/landscape/face-up/face-down)
false: no change in position detected
true: change in position detected
zh_over_threshold: boolZH over threshold
false: ZH is not over threshold
true: ZH is over threshold
zl_over_threshold: boolZL over threshold
false: ZL is not over threshold
true: ZL is over threshold
yh_over_threshold: boolYH over threshold
false: YH is not over threshold
true: YH is over threshold
yl_over_threshold: boolYL over threshold
false: YL is not over threshold
true: YL is over threshold
xh_over_threshold: boolXH over threshold
false: XH is not over threshold
true: XH is over threshold
xl_over_threshold: boolXL over threshold
false: XL is not over threshold
true: XL is over threshold
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SixDSource
impl RefUnwindSafe for SixDSource
impl Send for SixDSource
impl Sync for SixDSource
impl Unpin for SixDSource
impl UnwindSafe for SixDSource
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