Struct mma8x5x::DataStatus
source · [−]pub struct DataStatus {
pub xyz_overwrite: bool,
pub x_overwrite: bool,
pub y_overwrite: bool,
pub z_overwrite: bool,
pub xyz_new_data: bool,
pub x_new_data: bool,
pub y_new_data: bool,
pub z_new_data: bool,
}
Expand description
Current data status
Fields
xyz_overwrite: bool
X,Y,Z-axis data overwrite
x_overwrite: bool
X-axis data overwrite
y_overwrite: bool
Y-axis data overwrite
z_overwrite: bool
Z-axis data overwrite
xyz_new_data: bool
X,Y,Z-axis new data ready
x_new_data: bool
X-axis data overwrite
y_new_data: bool
Y-axis data overwrite
z_new_data: bool
Z-axis data overwrite
Trait Implementations
sourceimpl Clone for DataStatus
impl Clone for DataStatus
sourcefn clone(&self) -> DataStatus
fn clone(&self) -> DataStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DataStatus
impl Debug for DataStatus
sourceimpl Default for DataStatus
impl Default for DataStatus
sourcefn default() -> DataStatus
fn default() -> DataStatus
Returns the “default value” for a type. Read more
sourceimpl PartialEq<DataStatus> for DataStatus
impl PartialEq<DataStatus> for DataStatus
sourcefn eq(&self, other: &DataStatus) -> bool
fn eq(&self, other: &DataStatus) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for DataStatus
impl Eq for DataStatus
impl StructuralEq for DataStatus
impl StructuralPartialEq for DataStatus
Auto Trait Implementations
impl RefUnwindSafe for DataStatus
impl Send for DataStatus
impl Sync for DataStatus
impl Unpin for DataStatus
impl UnwindSafe for DataStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more