#[non_exhaustive]pub struct ParserDirectives<'a> {
pub syntax: Option<ParserDirective<&'a str>>,
pub escape: Option<ParserDirective<char>>,
pub check: Option<ParserDirective<&'a str>>,
}Expand description
Parser directives.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.syntax: Option<ParserDirective<&'a str>>syntax parser directive.
escape: Option<ParserDirective<char>>escape parser directive.
check: Option<ParserDirective<&'a str>>check parser directive.
Trait Implementations§
Source§impl<'a> Debug for ParserDirectives<'a>
impl<'a> Debug for ParserDirectives<'a>
Auto Trait Implementations§
impl<'a> Freeze for ParserDirectives<'a>
impl<'a> RefUnwindSafe for ParserDirectives<'a>
impl<'a> Send for ParserDirectives<'a>
impl<'a> Sync for ParserDirectives<'a>
impl<'a> Unpin for ParserDirectives<'a>
impl<'a> UnwindSafe for ParserDirectives<'a>
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