Struct bern_conf_type::OptionalMemory
source · [−]pub struct OptionalMemory {
pub memory_type: MemoryType,
pub location: MemoryLocation,
pub link_name: &'static str,
pub start_address: usize,
pub size: Byte,
}
Expand description
Definition of optional memory sections that go beyond the default of SRAM and flash.
Fields
memory_type: MemoryType
Type of memory.
location: MemoryLocation
Location of the memory.
link_name: &'static str
Name in the linker file.
start_address: usize
Lowest address of the section.
size: Byte
Memory size.
Auto Trait Implementations
impl RefUnwindSafe for OptionalMemory
impl Send for OptionalMemory
impl Sync for OptionalMemory
impl Unpin for OptionalMemory
impl UnwindSafe for OptionalMemory
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