Struct tinkerforge::nfc_rfid_bricklet::State
source · pub struct State {
pub state: u8,
pub idle: bool,
}
Fields§
§state: u8
§idle: bool
Trait Implementations§
source§impl FromByteSlice for State
impl FromByteSlice for State
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]) -> State
fn from_le_byte_slice(bytes: &[u8]) -> State
Deserialize the implementing type from a byte slice.
source§impl PartialEq for State
impl PartialEq for State
impl Copy for State
impl Eq for State
impl StructuralPartialEq for State
Auto Trait Implementations§
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnwindSafe for State
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