pub enum TransformHint {
Select(HashMap<&'static str, TransformHint>),
Execute(Vec<TransformHintPart>),
SelectOrExecute(HashMap<&'static str, TransformHint>, Vec<TransformHintPart>),
}Expand description
The hint for TokenTransformer to produce CommandFragment well.
Variants§
Select(HashMap<&'static str, TransformHint>)
It should select a command specified in a map.
Execute(Vec<TransformHintPart>)
It should execute command with arguments format hint specified.
SelectOrExecute(HashMap<&'static str, TransformHint>, Vec<TransformHintPart>)
It should select a command specified in a map or execute the command with arguments format hint specified.
Trait Implementations§
Source§impl Clone for TransformHint
impl Clone for TransformHint
Source§fn clone(&self) -> TransformHint
fn clone(&self) -> TransformHint
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 TransformHint
impl Debug for TransformHint
Source§impl PartialEq for TransformHint
impl PartialEq for TransformHint
impl Eq for TransformHint
impl StructuralPartialEq for TransformHint
Auto Trait Implementations§
impl Freeze for TransformHint
impl RefUnwindSafe for TransformHint
impl Send for TransformHint
impl Sync for TransformHint
impl Unpin for TransformHint
impl UnwindSafe for TransformHint
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