pub enum DynamicPrattParserRule {
Prefix {
operator_function_name: String,
transformer_function_name: String,
},
PrefixOp {
operator: String,
transformer_function_name: String,
},
Postfix {
operator_function_name: String,
transformer_function_name: String,
},
PostfixOp {
operator: String,
transformer_function_name: String,
},
Infix {
operator_function_name: String,
transformer_function_name: String,
associativity: PrattParserAssociativity,
},
InfixOp {
operator: String,
transformer_function_name: String,
associativity: PrattParserAssociativity,
},
}
Variants§
Trait Implementations§
Source§impl Clone for DynamicPrattParserRule
impl Clone for DynamicPrattParserRule
Source§fn clone(&self) -> DynamicPrattParserRule
fn clone(&self) -> DynamicPrattParserRule
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for DynamicPrattParserRule
impl RefUnwindSafe for DynamicPrattParserRule
impl Send for DynamicPrattParserRule
impl Sync for DynamicPrattParserRule
impl Unpin for DynamicPrattParserRule
impl UnwindSafe for DynamicPrattParserRule
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