pub enum Section {
VectorTable,
Text,
Rodata,
Bss,
Data,
Uninit,
}Expand description
Represents one of the memory regions in the linker script
Variants§
VectorTable
The .vector_table section
Contains the reset and exception vectors
Text
The .text section
Contains the executable code
Rodata
The .rodata section
Contains read-only static data
Bss
The .bss section
Contains zero-initialised static data
Data
The .data section
Contains non-zero-initialised static data
Uninit
The .uninit section
Contains non-initialised static data
Implementations§
Trait Implementations§
impl Copy for Section
Auto Trait Implementations§
impl Freeze for Section
impl RefUnwindSafe for Section
impl Send for Section
impl Sync for Section
impl Unpin for Section
impl UnsafeUnpin for Section
impl UnwindSafe for Section
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