#[repr(C)]pub struct bmda_cli_options {Show 20 fields
pub opt_mode: bmda_cli_mode_e,
pub opt_scanmode: bmp_scan_mode_e,
pub opt_tpwr: bool,
pub opt_list_only: bool,
pub opt_connect_under_reset: bool,
pub external_resistor_swd: bool,
pub fast_poll: bool,
pub opt_no_hl: bool,
pub opt_flash_file: *mut c_char,
pub opt_device: *mut c_char,
pub opt_serial: *mut c_char,
pub opt_targetid: u32,
pub opt_ident_string: *mut c_char,
pub opt_position: usize,
pub opt_cable: *mut c_char,
pub opt_monitor: *mut c_char,
pub opt_target_dev: u32,
pub opt_flash_start: u32,
pub opt_max_swj_frequency: u32,
pub opt_flash_size: usize,
}Fields§
§opt_mode: bmda_cli_mode_e§opt_scanmode: bmp_scan_mode_e§opt_tpwr: bool§opt_list_only: bool§opt_connect_under_reset: bool§external_resistor_swd: bool§fast_poll: bool§opt_no_hl: bool§opt_flash_file: *mut c_char§opt_device: *mut c_char§opt_serial: *mut c_char§opt_targetid: u32§opt_ident_string: *mut c_char§opt_position: usize§opt_cable: *mut c_char§opt_monitor: *mut c_char§opt_target_dev: u32§opt_flash_start: u32§opt_max_swj_frequency: u32§opt_flash_size: usizeTrait Implementations§
Source§impl Clone for bmda_cli_options
impl Clone for bmda_cli_options
Source§fn clone(&self) -> bmda_cli_options
fn clone(&self) -> bmda_cli_options
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 bmda_cli_options
impl Debug for bmda_cli_options
impl Copy for bmda_cli_options
Auto Trait Implementations§
impl Freeze for bmda_cli_options
impl RefUnwindSafe for bmda_cli_options
impl !Send for bmda_cli_options
impl !Sync for bmda_cli_options
impl Unpin for bmda_cli_options
impl UnwindSafe for bmda_cli_options
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