pub struct wifi_event_roc_done {
pub context: u32,
}
Fields§
§context: u32
Implementations§
Source§impl wifi_event_roc_done
impl wifi_event_roc_done
Sourcepub fn mut_context(&mut self) -> &mut u32
pub fn mut_context(&mut self) -> &mut u32
Return a mutable reference to context
Sourcepub fn set_context(&mut self, value: u32) -> &mut Self
pub fn set_context(&mut self, value: u32) -> &mut Self
Set the value of context
Sourcepub fn init_context(self, value: u32) -> Self
pub fn init_context(self, value: u32) -> Self
Builder method that sets the value of context
. Useful for initializing the message.
Trait Implementations§
Source§impl Clone for wifi_event_roc_done
impl Clone for wifi_event_roc_done
Source§fn clone(&self) -> wifi_event_roc_done
fn clone(&self) -> wifi_event_roc_done
Returns a duplicate 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 wifi_event_roc_done
impl Debug for wifi_event_roc_done
Source§impl Default for wifi_event_roc_done
impl Default for wifi_event_roc_done
Source§fn default() -> wifi_event_roc_done
fn default() -> wifi_event_roc_done
Returns the “default value” for a type. Read more
Source§impl MessageDecode for wifi_event_roc_done
impl MessageDecode for wifi_event_roc_done
Source§fn decode<IMPL_MICROPB_READ: PbRead>(
&mut self,
decoder: &mut PbDecoder<IMPL_MICROPB_READ>,
len: usize,
) -> Result<(), DecodeError<IMPL_MICROPB_READ::Error>>
fn decode<IMPL_MICROPB_READ: PbRead>( &mut self, decoder: &mut PbDecoder<IMPL_MICROPB_READ>, len: usize, ) -> Result<(), DecodeError<IMPL_MICROPB_READ::Error>>
Decode an instance of the message from the decoder and merge it into
self
. Read moreSource§fn decode_from_bytes(
&mut self,
bytes: &[u8],
) -> Result<(), DecodeError<Infallible>>
fn decode_from_bytes( &mut self, bytes: &[u8], ) -> Result<(), DecodeError<Infallible>>
Decode an instance of the message from the provided bytes
Source§fn decode_len_delimited<R>(
&mut self,
decoder: &mut PbDecoder<R>,
) -> Result<(), DecodeError<<R as PbRead>::Error>>where
R: PbRead,
fn decode_len_delimited<R>(
&mut self,
decoder: &mut PbDecoder<R>,
) -> Result<(), DecodeError<<R as PbRead>::Error>>where
R: PbRead,
Decode an instance of the message from the decoder as a length-delimited record, starting with a length
prefix.
Source§impl MessageEncode for wifi_event_roc_done
impl MessageEncode for wifi_event_roc_done
Source§impl PartialEq for wifi_event_roc_done
impl PartialEq for wifi_event_roc_done
impl StructuralPartialEq for wifi_event_roc_done
Auto Trait Implementations§
impl Freeze for wifi_event_roc_done
impl RefUnwindSafe for wifi_event_roc_done
impl Send for wifi_event_roc_done
impl Sync for wifi_event_roc_done
impl Unpin for wifi_event_roc_done
impl UnwindSafe for wifi_event_roc_done
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