pub enum LiteralSyntax {
Null,
Boolean(bool),
Number(Span),
String(Span),
}Variants§
Trait Implementations§
Source§impl Clone for LiteralSyntax
impl Clone for LiteralSyntax
Source§fn clone(&self) -> LiteralSyntax
fn clone(&self) -> LiteralSyntax
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 LiteralSyntax
impl Debug for LiteralSyntax
impl Eq for LiteralSyntax
Source§impl PartialEq for LiteralSyntax
impl PartialEq for LiteralSyntax
impl StructuralPartialEq for LiteralSyntax
Auto Trait Implementations§
impl Freeze for LiteralSyntax
impl RefUnwindSafe for LiteralSyntax
impl Send for LiteralSyntax
impl Sync for LiteralSyntax
impl Unpin for LiteralSyntax
impl UnsafeUnpin for LiteralSyntax
impl UnwindSafe for LiteralSyntax
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