pub struct Not {
pub rule: Rule,
pub debug_id: DebugId,
}Expand description
Stores information about not.
Fields§
§rule: RuleThe not rule.
debug_id: DebugIdA debug id to track down the rule generating an error.
Implementations§
Source§impl Not
impl Not
Sourcepub fn parse(
&self,
tokens: &mut Vec<Range<MetaData>>,
state: &TokenizerState,
read_token: &ReadToken<'_>,
refs: &[Rule],
indent_settings: &mut IndentSettings,
) -> ParseResult<TokenizerState>
pub fn parse( &self, tokens: &mut Vec<Range<MetaData>>, state: &TokenizerState, read_token: &ReadToken<'_>, refs: &[Rule], indent_settings: &mut IndentSettings, ) -> ParseResult<TokenizerState>
Parse not. Fails if sub rule succeeds.
Trait Implementations§
impl StructuralPartialEq for Not
Auto Trait Implementations§
impl Freeze for Not
impl RefUnwindSafe for Not
impl Send for Not
impl Sync for Not
impl Unpin for Not
impl UnwindSafe for Not
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