Struct nrf_softdevice_s132::sd_mbr_command_t
source · #[repr(C)]pub struct sd_mbr_command_t {
pub command: u32,
pub params: sd_mbr_command_t__bindgen_ty_1,
}
Expand description
@brief Input structure containing data used when calling ::sd_mbr_command
Depending on what command value that is set, the corresponding params value type must also be set. See @ref NRF_MBR_COMMANDS for command types and corresponding params value type. If command @ref SD_MBR_COMMAND_INIT_SD is set, it is not necessary to set any values under params.
Fields§
§command: u32
< Type of command to be issued. See @ref NRF_MBR_COMMANDS.
params: sd_mbr_command_t__bindgen_ty_1
< Command parameters.
Trait Implementations§
source§impl Clone for sd_mbr_command_t
impl Clone for sd_mbr_command_t
source§fn clone(&self) -> sd_mbr_command_t
fn clone(&self) -> sd_mbr_command_t
Returns a copy 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 moreimpl Copy for sd_mbr_command_t
Auto Trait Implementations§
impl RefUnwindSafe for sd_mbr_command_t
impl !Send for sd_mbr_command_t
impl !Sync for sd_mbr_command_t
impl Unpin for sd_mbr_command_t
impl UnwindSafe for sd_mbr_command_t
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