Struct tock_tbf::types::TbfHeaderV2WriteableFlashRegion
source · pub struct TbfHeaderV2WriteableFlashRegion { /* private fields */ }
Expand description
Writeable flash regions only need an offset and size.
There can be multiple (or zero) flash regions defined, so this is its own struct.
Trait Implementations§
source§impl Clone for TbfHeaderV2WriteableFlashRegion
impl Clone for TbfHeaderV2WriteableFlashRegion
source§fn clone(&self) -> TbfHeaderV2WriteableFlashRegion
fn clone(&self) -> TbfHeaderV2WriteableFlashRegion
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 moresource§impl Default for TbfHeaderV2WriteableFlashRegion
impl Default for TbfHeaderV2WriteableFlashRegion
source§fn default() -> TbfHeaderV2WriteableFlashRegion
fn default() -> TbfHeaderV2WriteableFlashRegion
Returns the “default value” for a type. Read more
source§impl TryFrom<&[u8]> for TbfHeaderV2WriteableFlashRegion
impl TryFrom<&[u8]> for TbfHeaderV2WriteableFlashRegion
§type Error = TbfParseError
type Error = TbfParseError
The type returned in the event of a conversion error.
impl Copy for TbfHeaderV2WriteableFlashRegion
Auto Trait Implementations§
impl Freeze for TbfHeaderV2WriteableFlashRegion
impl RefUnwindSafe for TbfHeaderV2WriteableFlashRegion
impl Send for TbfHeaderV2WriteableFlashRegion
impl Sync for TbfHeaderV2WriteableFlashRegion
impl Unpin for TbfHeaderV2WriteableFlashRegion
impl UnwindSafe for TbfHeaderV2WriteableFlashRegion
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)