pub struct SectorInfo {
pub start: u32,
pub end: u32,
}Expand description
Describes a single sector of the flash memory.
Fields§
§start: u32Sector start address.
end: u32Sector end address (start + size - 1).
Trait Implementations§
Source§impl Clone for SectorInfo
impl Clone for SectorInfo
Source§fn clone(&self) -> SectorInfo
fn clone(&self) -> SectorInfo
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 SectorInfo
impl Debug for SectorInfo
Source§impl PartialEq for SectorInfo
impl PartialEq for SectorInfo
impl Copy for SectorInfo
impl Eq for SectorInfo
impl StructuralPartialEq for SectorInfo
Auto Trait Implementations§
impl Freeze for SectorInfo
impl RefUnwindSafe for SectorInfo
impl Send for SectorInfo
impl Sync for SectorInfo
impl Unpin for SectorInfo
impl UnwindSafe for SectorInfo
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