Enum nessa::operations::Operator
source · pub enum Operator {
Unary {
id: usize,
representation: String,
prefix: bool,
precedence: usize,
operations: UnaryOperations,
},
Binary {
id: usize,
right_associative: bool,
representation: String,
precedence: usize,
operations: BinaryOperations,
},
Nary {
id: usize,
open_rep: String,
close_rep: String,
precedence: usize,
operations: NaryOperations,
},
}Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Operator
impl Send for Operator
impl Sync for Operator
impl Unpin for Operator
impl UnwindSafe for Operator
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