pub struct Parser { /* private fields */ }Expand description
Parser struct used to track parsing state and options.
Implementations§
Source§impl Parser
impl Parser
pub fn new(input: &str) -> Result<Self, ParseError>
Sourcepub fn parse(&mut self) -> Result<BooleanExpr, ParseError>
pub fn parse(&mut self) -> Result<BooleanExpr, ParseError>
Parse the entry point: BooleanExpression
Auto Trait Implementations§
impl Freeze for Parser
impl RefUnwindSafe for Parser
impl Send for Parser
impl Sync for Parser
impl Unpin for Parser
impl UnsafeUnpin for Parser
impl UnwindSafe for Parser
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