#[non_exhaustive]pub struct BNF;Trait Implementations§
Source§impl Format for BNF
impl Format for BNF
fn nonterminal_delimiter() -> Option<(char, char)>
fn production_separator() -> &'static str
fn alternative_separator() -> char
Source§fn production_start_char() -> Option<char>
fn production_start_char() -> Option<char>
If
Some(c), production boundaries can be detected by this character after whitespace
(e.g. BNF uses '<'), avoiding a full prod_lhs parse as lookahead.Auto Trait Implementations§
impl Freeze for BNF
impl RefUnwindSafe for BNF
impl Send for BNF
impl Sync for BNF
impl Unpin for BNF
impl UnwindSafe for BNF
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