Struct elipdotter::query::parse::Options
source · pub struct Options { /* private fields */ }
Expand description
Options to parse
. Here, you can add your own formatting rules, on top of the default
rules.
Implementations§
source§impl Options
impl Options
sourcepub fn new() -> Self
pub fn new() -> Self
Crates a new, empty, set of options.
The order of Self::insert
matters a lot.
Self::populate_and_space
should definitely be last.
See crate::literal_rule!
for an example.
pub fn insert<R: 'static + Rule>(self, rule: R) -> Self
pub fn populate_literals(self) -> Self
pub fn populate_not(self) -> Self
pub fn populate_and_space(self) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl !RefUnwindSafe for Options
impl !Send for Options
impl !Sync for Options
impl Unpin for Options
impl !UnwindSafe for Options
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