#[repr(u8)]pub enum NonTerminalAction {
FreeUnaccessed = 0,
Retain = 1,
}Variants§
FreeUnaccessed = 0
If a non-terminal entry has no accessed information, unmap and free it. If it has accessed information, just remove the flag.
Retain = 1
Retain both the non-terminal mappings and any accessed information.
Trait Implementations§
Source§impl Clone for NonTerminalAction
impl Clone for NonTerminalAction
Source§fn clone(&self) -> NonTerminalAction
fn clone(&self) -> NonTerminalAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NonTerminalAction
impl Debug for NonTerminalAction
Source§impl PartialEq for NonTerminalAction
impl PartialEq for NonTerminalAction
impl Copy for NonTerminalAction
impl Eq for NonTerminalAction
impl StructuralPartialEq for NonTerminalAction
Auto Trait Implementations§
impl Freeze for NonTerminalAction
impl RefUnwindSafe for NonTerminalAction
impl Send for NonTerminalAction
impl Sync for NonTerminalAction
impl Unpin for NonTerminalAction
impl UnsafeUnpin for NonTerminalAction
impl UnwindSafe for NonTerminalAction
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§impl<T> Init<T> for T
impl<T> Init<T> for T
§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
§impl<T> PinInit<T> for T
impl<T> PinInit<T> for T
§unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
Initializes
slot. Read more