pub struct Mapping {
pub to_internal: Vec<Option<Symbol>>,
pub to_external: Vec<Symbol>,
}Expand description
Contains maps for translation between internal and external symbols.
Fields§
§to_internal: Vec<Option<Symbol>>An array of internal symbols, indexed by external symbol ID.
to_external: Vec<Symbol>An array of external symbols, indexed by internal symbol ID.
Implementations§
Trait Implementations§
Source§impl Deserialize for Mapping
impl Deserialize for Mapping
Auto Trait Implementations§
impl Freeze for Mapping
impl RefUnwindSafe for Mapping
impl Send for Mapping
impl Sync for Mapping
impl Unpin for Mapping
impl UnsafeUnpin for Mapping
impl UnwindSafe for Mapping
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