pub struct ButtonReleasedEvent {
pub receiver_address: u16,
pub button_address: u16,
pub index: u8,
}Fields§
§receiver_address: u16§index: u8Trait Implementations§
Source§impl ConvertPacket<ButtonReleasedEvent> for ButtonReleasedEvent
impl ConvertPacket<ButtonReleasedEvent> for ButtonReleasedEvent
fn try_from_packet(packet: &Packet) -> Result<Self, ConvertPacketError>
fn to_packet(&self) -> Packet
Source§impl Debug for ButtonReleasedEvent
impl Debug for ButtonReleasedEvent
Source§impl Ord for ButtonReleasedEvent
impl Ord for ButtonReleasedEvent
Source§fn cmp(&self, other: &ButtonReleasedEvent) -> Ordering
fn cmp(&self, other: &ButtonReleasedEvent) -> 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 ButtonReleasedEvent
impl PartialEq for ButtonReleasedEvent
Source§impl PartialOrd for ButtonReleasedEvent
impl PartialOrd for ButtonReleasedEvent
impl Eq for ButtonReleasedEvent
impl StructuralPartialEq for ButtonReleasedEvent
Auto Trait Implementations§
impl Freeze for ButtonReleasedEvent
impl RefUnwindSafe for ButtonReleasedEvent
impl Send for ButtonReleasedEvent
impl Sync for ButtonReleasedEvent
impl Unpin for ButtonReleasedEvent
impl UnwindSafe for ButtonReleasedEvent
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