Struct sv_parser_syntaxtree::expressions::strings::StringLiteral
source · pub struct StringLiteral {
pub nodes: (Locate, Vec<WhiteSpace>),
}
Fields§
§nodes: (Locate, Vec<WhiteSpace>)
Trait 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<'a> From<&'a StringLiteral> for RefNode<'a>
impl<'a> From<&'a StringLiteral> for RefNode<'a>
source§fn from(x: &'a StringLiteral) -> Self
fn from(x: &'a StringLiteral) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a StringLiteral> for RefNodes<'a>
impl<'a> From<&'a StringLiteral> for RefNodes<'a>
source§fn from(x: &'a StringLiteral) -> Self
fn from(x: &'a StringLiteral) -> Self
Converts to this type from the input type.
source§impl From<StringLiteral> for AnyNode
impl From<StringLiteral> for AnyNode
source§fn from(x: StringLiteral) -> Self
fn from(x: StringLiteral) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a StringLiteral
impl<'a> IntoIterator for &'a 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 ==
.