#[repr(C)]pub struct target_flash {Show 17 fields
pub t: *mut target_s,
pub start: target_addr_t,
pub length: usize,
pub blocksize: usize,
pub writesize: usize,
pub writebufsize: usize,
pub erased: u8,
pub operation: u8,
pub prepare: flash_prepare_func,
pub erase: flash_erase_func,
pub write: flash_write_func,
pub done: flash_done_func,
pub buf: *mut c_void,
pub buf_addr_base: target_addr_t,
pub buf_addr_low: target_addr_t,
pub buf_addr_high: target_addr_t,
pub next: *mut target_flash_s,
}Fields§
§t: *mut target_s§start: target_addr_t§length: usize§blocksize: usize§writesize: usize§writebufsize: usize§erased: u8§operation: u8§prepare: flash_prepare_func§erase: flash_erase_func§write: flash_write_func§done: flash_done_func§buf: *mut c_void§buf_addr_base: target_addr_t§buf_addr_low: target_addr_t§buf_addr_high: target_addr_t§next: *mut target_flash_sTrait Implementations§
Source§impl Clone for target_flash
impl Clone for target_flash
Source§fn clone(&self) -> target_flash
fn clone(&self) -> target_flash
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 target_flash
impl Debug for target_flash
impl Copy for target_flash
Auto Trait Implementations§
impl Freeze for target_flash
impl RefUnwindSafe for target_flash
impl !Send for target_flash
impl !Sync for target_flash
impl Unpin for target_flash
impl UnwindSafe for target_flash
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