pub enum TerminalAtom {
Any,
Symbol,
String,
Number,
Bool,
Nil,
List,
Map,
Exact(Expr),
}Expand description
Abstract terminal atoms that concrete renderers map to their own syntax.
Variants§
Any
Any value accepted by the target surface.
Symbol
A symbol token.
String
A string token.
Number
A number token.
Bool
A boolean token.
Nil
The nil/null token.
List
An array/list form.
Map
A map/object form.
Exact(Expr)
One exact expression literal.
Trait Implementations§
Source§impl Clone for TerminalAtom
impl Clone for TerminalAtom
Source§fn clone(&self) -> TerminalAtom
fn clone(&self) -> TerminalAtom
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TerminalAtom
impl Debug for TerminalAtom
impl Eq for TerminalAtom
Source§impl PartialEq for TerminalAtom
impl PartialEq for TerminalAtom
impl StructuralPartialEq for TerminalAtom
Auto Trait Implementations§
impl Freeze for TerminalAtom
impl RefUnwindSafe for TerminalAtom
impl Send for TerminalAtom
impl Sync for TerminalAtom
impl Unpin for TerminalAtom
impl UnsafeUnpin for TerminalAtom
impl UnwindSafe for TerminalAtom
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