pub enum DirectiveRule {
Generic,
Custom(for<'a> fn(Cow<'a, str>, &'a str, &ClauseRegistry) -> IResult<&'a str, Directive<'a>>),
}
Variants§
Generic
Custom(for<'a> fn(Cow<'a, str>, &'a str, &ClauseRegistry) -> IResult<&'a str, Directive<'a>>)
Trait Implementations§
Source§impl Clone for DirectiveRule
impl Clone for DirectiveRule
Source§fn clone(&self) -> DirectiveRule
fn clone(&self) -> DirectiveRule
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 moreimpl Copy for DirectiveRule
Auto Trait Implementations§
impl Freeze for DirectiveRule
impl RefUnwindSafe for DirectiveRule
impl Send for DirectiveRule
impl Sync for DirectiveRule
impl Unpin for DirectiveRule
impl UnwindSafe for DirectiveRule
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