Struct tinkerforge::nfc_bricklet::CardemuGetState
source · pub struct CardemuGetState {
pub state: u8,
pub idle: bool,
}
Fields§
§state: u8
§idle: bool
Trait Implementations§
source§impl Clone for CardemuGetState
impl Clone for CardemuGetState
source§fn clone(&self) -> CardemuGetState
fn clone(&self) -> CardemuGetState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CardemuGetState
impl Debug for CardemuGetState
source§impl Default for CardemuGetState
impl Default for CardemuGetState
source§fn default() -> CardemuGetState
fn default() -> CardemuGetState
Returns the “default value” for a type. Read more
source§impl FromByteSlice for CardemuGetState
impl FromByteSlice for CardemuGetState
source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
source§fn from_le_byte_slice(bytes: &[u8]) -> CardemuGetState
fn from_le_byte_slice(bytes: &[u8]) -> CardemuGetState
Deserialize the implementing type from a byte slice.
source§impl Hash for CardemuGetState
impl Hash for CardemuGetState
source§impl PartialEq for CardemuGetState
impl PartialEq for CardemuGetState
source§fn eq(&self, other: &CardemuGetState) -> bool
fn eq(&self, other: &CardemuGetState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CardemuGetState
impl Eq for CardemuGetState
impl StructuralPartialEq for CardemuGetState
Auto Trait Implementations§
impl RefUnwindSafe for CardemuGetState
impl Send for CardemuGetState
impl Sync for CardemuGetState
impl Unpin for CardemuGetState
impl UnwindSafe for CardemuGetState
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