Struct tinkerforge::nfc_bricklet::P2pStateChangedEvent
source · Fields
state: u8
idle: bool
Trait Implementations
sourceimpl Clone for P2pStateChangedEvent
impl Clone for P2pStateChangedEvent
sourcefn clone(&self) -> P2pStateChangedEvent
fn clone(&self) -> P2pStateChangedEvent
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 moresourceimpl Debug for P2pStateChangedEvent
impl Debug for P2pStateChangedEvent
sourceimpl Default for P2pStateChangedEvent
impl Default for P2pStateChangedEvent
sourcefn default() -> P2pStateChangedEvent
fn default() -> P2pStateChangedEvent
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for P2pStateChangedEvent
impl FromByteSlice for P2pStateChangedEvent
sourcefn 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.
sourcefn from_le_bytes(bytes: &[u8]) -> P2pStateChangedEvent
fn from_le_bytes(bytes: &[u8]) -> P2pStateChangedEvent
Deserialize the implementing type from a byte slice.
sourceimpl Hash for P2pStateChangedEvent
impl Hash for P2pStateChangedEvent
sourceimpl PartialEq<P2pStateChangedEvent> for P2pStateChangedEvent
impl PartialEq<P2pStateChangedEvent> for P2pStateChangedEvent
sourcefn eq(&self, other: &P2pStateChangedEvent) -> bool
fn eq(&self, other: &P2pStateChangedEvent) -> bool
impl Copy for P2pStateChangedEvent
impl Eq for P2pStateChangedEvent
impl StructuralEq for P2pStateChangedEvent
impl StructuralPartialEq for P2pStateChangedEvent
Auto Trait Implementations
impl RefUnwindSafe for P2pStateChangedEvent
impl Send for P2pStateChangedEvent
impl Sync for P2pStateChangedEvent
impl Unpin for P2pStateChangedEvent
impl UnwindSafe for P2pStateChangedEvent
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