Struct probe_rs_target::SectorDescription
source · [−]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
sourceimpl Clone for SectorDescription
impl Clone for SectorDescription
sourcefn clone(&self) -> SectorDescription
fn clone(&self) -> SectorDescription
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SectorDescription
impl Debug for SectorDescription
sourceimpl<'de> Deserialize<'de> for SectorDescription
impl<'de> Deserialize<'de> for SectorDescription
sourcefn 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
sourceimpl Hash for SectorDescription
impl Hash for SectorDescription
sourceimpl PartialEq<SectorDescription> for SectorDescription
impl PartialEq<SectorDescription> for SectorDescription
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &SectorDescription) -> bool
fn ne(&self, other: &SectorDescription) -> bool
This method tests for !=
.
sourceimpl Serialize for SectorDescription
impl Serialize for SectorDescription
impl Copy for SectorDescription
impl Eq for SectorDescription
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more