pub enum NotationKind {
Prefix,
Postfix,
Infixl,
Infixr,
Notation,
}Expand description
The kind of a notation declaration.
Variants§
Prefix
Prefix operator (e.g. !, -)
Postfix
Postfix operator (e.g. ! factorial)
Infixl
Left-associative infix operator (e.g. +, -)
Infixr
Right-associative infix operator (e.g. ->, ^)
Notation
General mixfix notation (e.g. if _ then _ else _)
Trait Implementations§
Source§impl Clone for NotationKind
impl Clone for NotationKind
Source§fn clone(&self) -> NotationKind
fn clone(&self) -> NotationKind
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 NotationKind
impl Debug for NotationKind
Source§impl Display for NotationKind
impl Display for NotationKind
Source§impl Hash for NotationKind
impl Hash for NotationKind
Source§impl PartialEq for NotationKind
impl PartialEq for NotationKind
impl Eq for NotationKind
impl StructuralPartialEq for NotationKind
Auto Trait Implementations§
impl Freeze for NotationKind
impl RefUnwindSafe for NotationKind
impl Send for NotationKind
impl Sync for NotationKind
impl Unpin for NotationKind
impl UnsafeUnpin for NotationKind
impl UnwindSafe for NotationKind
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