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