pub struct CompiledRuleDef {
pub name: String,
pub entry: CombRef,
}Expand description
Compiled rule definition
Fields§
§name: StringRule name
entry: CombRefReference to the rule’s top-level combinator
Trait Implementations§
Source§impl Clone for CompiledRuleDef
impl Clone for CompiledRuleDef
Source§fn clone(&self) -> CompiledRuleDef
fn clone(&self) -> CompiledRuleDef
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CompiledRuleDef
impl RefUnwindSafe for CompiledRuleDef
impl Send for CompiledRuleDef
impl Sync for CompiledRuleDef
impl Unpin for CompiledRuleDef
impl UnsafeUnpin for CompiledRuleDef
impl UnwindSafe for CompiledRuleDef
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