pub enum NotationTokenKind {
Literal(String),
Hole,
NamedHole(String),
}Expand description
A notation token kind for pattern matching.
Variants§
Literal(String)
A literal symbol to match exactly
Hole
A hole that matches any expression
NamedHole(String)
A named hole
Trait Implementations§
Source§impl Clone for NotationTokenKind
impl Clone for NotationTokenKind
Source§fn clone(&self) -> NotationTokenKind
fn clone(&self) -> NotationTokenKind
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 NotationTokenKind
impl Debug for NotationTokenKind
Source§impl PartialEq for NotationTokenKind
impl PartialEq for NotationTokenKind
impl Eq for NotationTokenKind
impl StructuralPartialEq for NotationTokenKind
Auto Trait Implementations§
impl Freeze for NotationTokenKind
impl RefUnwindSafe for NotationTokenKind
impl Send for NotationTokenKind
impl Sync for NotationTokenKind
impl Unpin for NotationTokenKind
impl UnsafeUnpin for NotationTokenKind
impl UnwindSafe for NotationTokenKind
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