pub enum AstNotationKind {
Prefix,
Postfix,
Infixl,
Infixr,
Notation,
}Expand description
Kind of notation declaration in the AST.
Variants§
Prefix
Prefix operator (e.g., -x)
Postfix
Postfix operator (e.g., x!)
Infixl
Left-associative infix operator
Infixr
Right-associative infix operator
Notation
General notation
Trait Implementations§
Source§impl Clone for AstNotationKind
impl Clone for AstNotationKind
Source§fn clone(&self) -> AstNotationKind
fn clone(&self) -> AstNotationKind
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 AstNotationKind
impl Debug for AstNotationKind
Source§impl Display for AstNotationKind
impl Display for AstNotationKind
Source§impl PartialEq for AstNotationKind
impl PartialEq for AstNotationKind
impl Eq for AstNotationKind
impl StructuralPartialEq for AstNotationKind
Auto Trait Implementations§
impl Freeze for AstNotationKind
impl RefUnwindSafe for AstNotationKind
impl Send for AstNotationKind
impl Sync for AstNotationKind
impl Unpin for AstNotationKind
impl UnsafeUnpin for AstNotationKind
impl UnwindSafe for AstNotationKind
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