pub enum RelocationModule {
None,
Overlay {
id: u16,
},
Overlays {
ids: Vec<u16>,
},
Main,
Itcm,
Dtcm,
Autoload {
index: u32,
},
}Variants§
Implementations§
Source§impl RelocationModule
impl RelocationModule
pub fn from_modules<'a, I>( modules: I, ) -> Result<Self, RelocationFromModulesError>
Trait Implementations§
Source§impl Clone for RelocationModule
impl Clone for RelocationModule
Source§fn clone(&self) -> RelocationModule
fn clone(&self) -> RelocationModule
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 moreSource§impl Debug for RelocationModule
impl Debug for RelocationModule
Source§impl Display for RelocationModule
impl Display for RelocationModule
Source§impl From<ModuleKind> for RelocationModule
impl From<ModuleKind> for RelocationModule
Source§fn from(value: ModuleKind) -> Self
fn from(value: ModuleKind) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RelocationModule
impl PartialEq for RelocationModule
impl Eq for RelocationModule
impl StructuralPartialEq for RelocationModule
Auto Trait Implementations§
impl Freeze for RelocationModule
impl RefUnwindSafe for RelocationModule
impl Send for RelocationModule
impl Sync for RelocationModule
impl Unpin for RelocationModule
impl UnwindSafe for RelocationModule
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.