pub struct Word<Target> { /* private fields */ }Implementations§
Source§impl<Target> Word<Target>
impl<Target> Word<Target>
pub fn new( action: fn(&mut Target), compilation_semantics: fn(&mut Target, usize), nfa: usize, dfa: usize, ) -> Word<Target>
pub fn is_immediate(&self) -> bool
pub fn set_immediate(&mut self, flag: bool)
pub fn is_compile_only(&self) -> bool
pub fn set_compile_only(&mut self, flag: bool)
pub fn nfa(&self) -> usize
pub fn dfa(&self) -> usize
pub fn action(&self) -> fn(&mut Target)
Auto Trait Implementations§
impl<Target> Freeze for Word<Target>
impl<Target> RefUnwindSafe for Word<Target>
impl<Target> Send for Word<Target>
impl<Target> Sync for Word<Target>
impl<Target> Unpin for Word<Target>
impl<Target> UnwindSafe for Word<Target>
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