pub enum GrammarDialect {
JsonSchema,
Gbnf,
SExpr,
}Expand description
The concrete grammar dialect requested by a renderer.
Variants§
Trait Implementations§
Source§impl Clone for GrammarDialect
impl Clone for GrammarDialect
Source§fn clone(&self) -> GrammarDialect
fn clone(&self) -> GrammarDialect
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GrammarDialect
Source§impl Debug for GrammarDialect
impl Debug for GrammarDialect
impl Eq for GrammarDialect
Source§impl PartialEq for GrammarDialect
impl PartialEq for GrammarDialect
impl StructuralPartialEq for GrammarDialect
Auto Trait Implementations§
impl Freeze for GrammarDialect
impl RefUnwindSafe for GrammarDialect
impl Send for GrammarDialect
impl Sync for GrammarDialect
impl Unpin for GrammarDialect
impl UnsafeUnpin for GrammarDialect
impl UnwindSafe for GrammarDialect
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