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