pub struct Mapping {
pub forward: ForwardMapping,
pub reverse: ReverseMapping,
}Expand description
A mapping to re-order items in an Arena, ArenaSlice or ArenaStr.
Fields§
§forward: ForwardMappingForward mapping, to map interned handles.
reverse: ReverseMappingReverse mapping, to re-order the arena.
Implementations§
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