Struct probe_rs_target::SectorDescription
source · pub struct SectorDescription {
pub size: u64,
pub address: u64,
}
Expand description
Information about a group of flash sectors, which
is used as part of the FlashProperties
struct.
The SectorDescription means that, starting at the
flash address address
, all following sectors will
have a size of size
. This is valid until either the
end of the flash, or until another SectorDescription
changes the sector size.
Fields§
§size: u64
Size of each individual flash sector
address: u64
Start address of the group of flash sectors, relative to the start address of the flash.
Trait Implementations§
source§impl Clone for SectorDescription
impl Clone for SectorDescription
source§fn clone(&self) -> SectorDescription
fn clone(&self) -> SectorDescription
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 Debug for SectorDescription
impl Debug for SectorDescription
source§impl<'de> Deserialize<'de> for SectorDescription
impl<'de> Deserialize<'de> for SectorDescription
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for SectorDescription
impl Hash for SectorDescription
source§impl PartialEq for SectorDescription
impl PartialEq for SectorDescription
source§fn eq(&self, other: &SectorDescription) -> bool
fn eq(&self, other: &SectorDescription) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SectorDescription
impl Serialize for SectorDescription
impl Copy for SectorDescription
impl Eq for SectorDescription
impl StructuralPartialEq for SectorDescription
Auto Trait Implementations§
impl RefUnwindSafe for SectorDescription
impl Send for SectorDescription
impl Sync for SectorDescription
impl Unpin for SectorDescription
impl UnwindSafe for SectorDescription
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