Enum forth3::dictionary::DictLocation
source · pub enum DictLocation<T: 'static> {
Parent(NonNull<DictionaryEntry<T>>),
Current(NonNull<DictionaryEntry<T>>),
}
Expand description
Where a dictionary entry was found
Variants§
Parent(NonNull<DictionaryEntry<T>>)
The entry was found in the current (mutable) dictionary.
Current(NonNull<DictionaryEntry<T>>)
The entry was found in a parent (frozen) dictionary.
Implementations§
source§impl<T: 'static> DictLocation<T>
impl<T: 'static> DictLocation<T>
pub(crate) fn entry(&self) -> NonNull<DictionaryEntry<T>>
Auto Trait Implementations§
impl<T> Freeze for DictLocation<T>
impl<T> RefUnwindSafe for DictLocation<T>where
T: RefUnwindSafe,
impl<T> !Send for DictLocation<T>
impl<T> !Sync for DictLocation<T>
impl<T> Unpin for DictLocation<T>
impl<T> UnwindSafe for DictLocation<T>where
T: RefUnwindSafe,
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