Struct forth3::dictionary::DictionaryEntry
source · #[repr(C)]pub struct DictionaryEntry<T: 'static> {
pub hdr: EntryHeader<T>,
pub func: fn(_: &mut Forth<T>) -> Result<(), Error>,
pub(crate) link: Option<NonNull<DictionaryEntry<T>>>,
pub(crate) parameter_field: [Word; 0],
}
Fields§
§hdr: EntryHeader<T>
§func: fn(_: &mut Forth<T>) -> Result<(), Error>
§link: Option<NonNull<DictionaryEntry<T>>>
Link field, points back to the previous entry
parameter_field: [Word; 0]
data OR an array of compiled code. the first word is the “p(arameter)fa” or “c(ode)fa”
Implementations§
Auto Trait Implementations§
impl<T> Freeze for DictionaryEntry<T>
impl<T> RefUnwindSafe for DictionaryEntry<T>where
T: RefUnwindSafe,
impl<T> !Send for DictionaryEntry<T>
impl<T> !Sync for DictionaryEntry<T>
impl<T> Unpin for DictionaryEntry<T>where
T: Unpin,
impl<T> UnwindSafe for DictionaryEntry<T>where
T: UnwindSafe + 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