Struct tinkerforge::nfc_bricklet::ReaderGetState
source · pub struct ReaderGetState {
pub state: u8,
pub idle: bool,
}
Fields§
§state: u8
§idle: bool
Trait Implementations§
source§impl Clone for ReaderGetState
impl Clone for ReaderGetState
source§fn clone(&self) -> ReaderGetState
fn clone(&self) -> ReaderGetState
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 ReaderGetState
impl Debug for ReaderGetState
source§impl Default for ReaderGetState
impl Default for ReaderGetState
source§fn default() -> ReaderGetState
fn default() -> ReaderGetState
Returns the “default value” for a type. Read more
source§impl FromByteSlice for ReaderGetState
impl FromByteSlice for ReaderGetState
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]) -> ReaderGetState
fn from_le_byte_slice(bytes: &[u8]) -> ReaderGetState
Deserialize the implementing type from a byte slice.
source§impl Hash for ReaderGetState
impl Hash for ReaderGetState
source§impl PartialEq for ReaderGetState
impl PartialEq for ReaderGetState
source§fn eq(&self, other: &ReaderGetState) -> bool
fn eq(&self, other: &ReaderGetState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ReaderGetState
impl Eq for ReaderGetState
impl StructuralPartialEq for ReaderGetState
Auto Trait Implementations§
impl RefUnwindSafe for ReaderGetState
impl Send for ReaderGetState
impl Sync for ReaderGetState
impl Unpin for ReaderGetState
impl UnwindSafe for ReaderGetState
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