pub struct ProgrammerSetDeviceAddressEvent {
pub receiver_address: u16,
pub programmer_address: u16,
pub new_address: u16,
}Fields§
§receiver_address: u16§programmer_address: u16§new_address: u16Trait Implementations§
Source§impl ConvertPacket<ProgrammerSetDeviceAddressEvent> for ProgrammerSetDeviceAddressEvent
impl ConvertPacket<ProgrammerSetDeviceAddressEvent> for ProgrammerSetDeviceAddressEvent
fn try_from_packet(packet: &Packet) -> Result<Self, ConvertPacketError>
fn to_packet(&self) -> Packet
Source§impl Ord for ProgrammerSetDeviceAddressEvent
impl Ord for ProgrammerSetDeviceAddressEvent
Source§fn cmp(&self, other: &ProgrammerSetDeviceAddressEvent) -> Ordering
fn cmp(&self, other: &ProgrammerSetDeviceAddressEvent) -> 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 ProgrammerSetDeviceAddressEvent
impl PartialEq for ProgrammerSetDeviceAddressEvent
Source§fn eq(&self, other: &ProgrammerSetDeviceAddressEvent) -> bool
fn eq(&self, other: &ProgrammerSetDeviceAddressEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ProgrammerSetDeviceAddressEvent
impl PartialOrd for ProgrammerSetDeviceAddressEvent
impl Eq for ProgrammerSetDeviceAddressEvent
impl StructuralPartialEq for ProgrammerSetDeviceAddressEvent
Auto Trait Implementations§
impl Freeze for ProgrammerSetDeviceAddressEvent
impl RefUnwindSafe for ProgrammerSetDeviceAddressEvent
impl Send for ProgrammerSetDeviceAddressEvent
impl Sync for ProgrammerSetDeviceAddressEvent
impl Unpin for ProgrammerSetDeviceAddressEvent
impl UnwindSafe for ProgrammerSetDeviceAddressEvent
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