Struct moonboot::hardware::LinkerConfig
source · [−]pub struct LinkerConfig {
pub flash_origin: Address,
pub ram_origin: Address,
pub has_ram_state: bool,
}Expand description
Configuration for linker scripts
Fields
flash_origin: AddressOrigin address of the internal non-volatile memory
ram_origin: AddressOrigin address of the internal RAM bank
has_ram_state: boolWhether to store the shared state in RAM and thus reserve some RAM memory for that
Trait Implementations
sourceimpl Clone for LinkerConfig
impl Clone for LinkerConfig
sourcefn clone(&self) -> LinkerConfig
fn clone(&self) -> LinkerConfig
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 LinkerConfig
impl Debug for LinkerConfig
sourceimpl Desse for LinkerConfig
impl Desse for LinkerConfig
sourceimpl DesseSized for LinkerConfig
impl DesseSized for LinkerConfig
sourceimpl PartialEq<LinkerConfig> for LinkerConfig
impl PartialEq<LinkerConfig> for LinkerConfig
sourcefn eq(&self, other: &LinkerConfig) -> bool
fn eq(&self, other: &LinkerConfig) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &LinkerConfig) -> bool
fn ne(&self, other: &LinkerConfig) -> bool
This method tests for !=.
impl Copy for LinkerConfig
impl Eq for LinkerConfig
impl StructuralEq for LinkerConfig
impl StructuralPartialEq for LinkerConfig
Auto Trait Implementations
impl RefUnwindSafe for LinkerConfig
impl Send for LinkerConfig
impl Sync for LinkerConfig
impl Unpin for LinkerConfig
impl UnwindSafe for LinkerConfig
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