pub struct TargetClear {
pub target: String,
pub num_words: Option<u32>,
pub offset: Option<u32>,
}Fields§
§target: String§num_words: Option<u32>§offset: Option<u32>Implementations§
Source§impl TargetClear
impl TargetClear
pub fn as_sections(&self, target_info: &BackdoorTargetInfo) -> Vec<Section>
pub fn backdoor_write( &self, backdoor: &mut Backdoor, verify: bool, ) -> Result<()>
Trait Implementations§
Source§impl Clone for TargetClear
impl Clone for TargetClear
Source§fn clone(&self) -> TargetClear
fn clone(&self) -> TargetClear
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 TargetClear
impl Debug for TargetClear
Auto Trait Implementations§
impl Freeze for TargetClear
impl RefUnwindSafe for TargetClear
impl Send for TargetClear
impl Sync for TargetClear
impl Unpin for TargetClear
impl UnwindSafe for TargetClear
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