Struct solang_parser::pt::StringLiteral
source · pub struct StringLiteral {
pub loc: Loc,
pub unicode: bool,
pub string: String,
}Fields§
§loc: Loc§unicode: bool§string: 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 PartialEq<StringLiteral> for StringLiteral
impl PartialEq<StringLiteral> 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 ==.