pub struct RuleMod {
pub c: Option<ConditionFn>,
}Expand description
How a directive integrates with one existing grammar rule.
Fields§
§c: Option<ConditionFn>An optional condition that must hold for the directive to match within this rule.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RuleMod
impl !UnwindSafe for RuleMod
impl Forget for RuleMod
impl Freeze for RuleMod
impl Move for RuleMod
impl Send for RuleMod
impl Sync for RuleMod
impl Unpin for RuleMod
impl UnsafeUnpin for RuleMod
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