pub enum MigrateSection {
Dtcm,
Itcm,
AutoloadData(u32),
AutoloadBss(u32),
}Variants§
Implementations§
Source§impl MigrateSection
impl MigrateSection
pub fn parse(name: &str) -> Result<Option<Self>, MigrateSectionError>
pub fn source_name(&self) -> Cow<'static, str>
pub fn target_name(&self) -> &str
pub fn sections_to_migrate(module_kind: ModuleKind) -> Vec<MigrateSection>
pub fn section_kind(&self) -> SectionKind
pub fn module_kind(&self) -> ModuleKind
Trait Implementations§
Source§impl Clone for MigrateSection
impl Clone for MigrateSection
Source§fn clone(&self) -> MigrateSection
fn clone(&self) -> MigrateSection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MigrateSection
impl Eq for MigrateSection
Source§impl PartialEq for MigrateSection
impl PartialEq for MigrateSection
Source§fn eq(&self, other: &MigrateSection) -> bool
fn eq(&self, other: &MigrateSection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MigrateSection
Auto Trait Implementations§
impl Freeze for MigrateSection
impl RefUnwindSafe for MigrateSection
impl Send for MigrateSection
impl Sync for MigrateSection
impl Unpin for MigrateSection
impl UnsafeUnpin for MigrateSection
impl UnwindSafe for MigrateSection
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