pub enum ToolCustomFormat {
CustomFormatText,
CustomFormatGrammar {
grammar: ToolCustomFormatGrammarGrammar,
},
}
Variants§
CustomFormatText
Unconstrained text format. Always text
.
CustomFormatGrammar
Grammar format. Always grammar
.
Fields
§
grammar: ToolCustomFormatGrammarGrammar
Your chosen grammar.
Trait Implementations§
Source§impl Clone for ToolCustomFormat
impl Clone for ToolCustomFormat
Source§fn clone(&self) -> ToolCustomFormat
fn clone(&self) -> ToolCustomFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ToolCustomFormat
impl Debug for ToolCustomFormat
Auto Trait Implementations§
impl Freeze for ToolCustomFormat
impl RefUnwindSafe for ToolCustomFormat
impl Send for ToolCustomFormat
impl Sync for ToolCustomFormat
impl Unpin for ToolCustomFormat
impl UnwindSafe for ToolCustomFormat
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