pub struct ButtonPressedEvent {
pub receiver_address: u16,
pub button_address: u16,
pub index: u8,
}Fields§
§receiver_address: u16§index: u8Trait Implementations§
Source§impl ConvertPacket<ButtonPressedEvent> for ButtonPressedEvent
impl ConvertPacket<ButtonPressedEvent> for ButtonPressedEvent
fn try_from_packet(packet: &Packet) -> Result<Self, ConvertPacketError>
fn to_packet(&self) -> Packet
Source§impl Debug for ButtonPressedEvent
impl Debug for ButtonPressedEvent
Source§impl Ord for ButtonPressedEvent
impl Ord for ButtonPressedEvent
Source§fn cmp(&self, other: &ButtonPressedEvent) -> Ordering
fn cmp(&self, other: &ButtonPressedEvent) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ButtonPressedEvent
impl PartialEq for ButtonPressedEvent
Source§impl PartialOrd for ButtonPressedEvent
impl PartialOrd for ButtonPressedEvent
impl Eq for ButtonPressedEvent
impl StructuralPartialEq for ButtonPressedEvent
Auto Trait Implementations§
impl Freeze for ButtonPressedEvent
impl RefUnwindSafe for ButtonPressedEvent
impl Send for ButtonPressedEvent
impl Sync for ButtonPressedEvent
impl Unpin for ButtonPressedEvent
impl UnwindSafe for ButtonPressedEvent
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