Struct stm32_metapac::metadata::MemoryRegion
pub struct MemoryRegion {
pub name: &'static str,
pub kind: MemoryRegionKind,
pub address: u32,
pub size: u32,
pub settings: Option<FlashSettings>,
}
Fields§
§name: &'static str
§kind: MemoryRegionKind
§address: u32
§size: u32
§settings: Option<FlashSettings>
Trait Implementations§
§impl Clone for MemoryRegion
impl Clone for MemoryRegion
§fn clone(&self) -> MemoryRegion
fn clone(&self) -> MemoryRegion
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 more§impl Debug for MemoryRegion
impl Debug for MemoryRegion
§impl PartialEq for MemoryRegion
impl PartialEq for MemoryRegion
§fn eq(&self, other: &MemoryRegion) -> bool
fn eq(&self, other: &MemoryRegion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for MemoryRegion
impl StructuralEq for MemoryRegion
impl StructuralPartialEq for MemoryRegion
Auto Trait Implementations§
impl RefUnwindSafe for MemoryRegion
impl Send for MemoryRegion
impl Sync for MemoryRegion
impl Unpin for MemoryRegion
impl UnwindSafe for MemoryRegion
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