Struct docs::ast::StringLiteral
source · pub struct StringLiteral {
pub token: Token,
pub value: String,
}Fields§
§token: Token§value: StringTrait Implementations§
source§impl Clone for StringLiteral
impl Clone for StringLiteral
source§fn clone(&self) -> StringLiteral
fn clone(&self) -> StringLiteral
Returns a copy 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 StringLiteral
impl Debug for StringLiteral
source§impl Nodetrait for StringLiteral
impl Nodetrait for StringLiteral
source§impl PartialEq for StringLiteral
impl PartialEq for StringLiteral
source§fn eq(&self, other: &StringLiteral) -> bool
fn eq(&self, other: &StringLiteral) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StringLiteral
Auto Trait Implementations§
impl Freeze for StringLiteral
impl RefUnwindSafe for StringLiteral
impl Send for StringLiteral
impl Sync for StringLiteral
impl Unpin for StringLiteral
impl UnwindSafe for StringLiteral
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