pub struct Status {
pub overrun: bool,
pub z_overrun: bool,
pub y_overrun: bool,
pub x_overrun: bool,
pub new_data: bool,
pub z_new: bool,
pub y_new: bool,
pub x_new: bool,
}Expand description
Sensor status
Fields§
§overrun: boolOverrun (data has overwritten previously unread data) has occurred on at least one axis
z_overrun: boolOverrun occurred on Z-axis
y_overrun: boolOverrun occurred on Y-axis
x_overrun: boolOverrun occurred on X-axis
new_data: boolNew data is available for either X, Y, Z - axis
z_new: boolNew data is available on Z-axis
y_new: boolNew data is available on Y-axis
x_new: boolNew data is available on X-axis
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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