pub struct Partition {
pub from: usize,
pub to: usize,
}
Expand description
A region in flash used by the bootloader.
Fields§
§from: usize
Start of the flash region.
to: usize
End of the flash region.
Implementations§
Trait Implementations§
impl Copy for Partition
Auto Trait Implementations§
impl Freeze for Partition
impl RefUnwindSafe for Partition
impl Send for Partition
impl Sync for Partition
impl Unpin for Partition
impl UnwindSafe for Partition
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