Struct sv_parser::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) -> RefNode<'a>
fn from(x: &'a StringLiteral) -> RefNode<'a>
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) -> RefNodes<'a>
fn from(x: &'a StringLiteral) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<StringLiteral> for AnyNode
impl From<StringLiteral> for AnyNode
source§fn from(x: StringLiteral) -> AnyNode
fn from(x: StringLiteral) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a StringLiteral
impl<'a> IntoIterator for &'a 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 ==
.source§impl<'a> TryFrom<&'a StringLiteral> for Locate
impl<'a> TryFrom<&'a StringLiteral> for Locate
source§impl TryFrom<AnyNode> for StringLiteral
impl TryFrom<AnyNode> for StringLiteral
source§impl TryFrom<StringLiteral> for Locate
impl TryFrom<StringLiteral> for Locate
impl StructuralPartialEq for StringLiteral
Auto Trait Implementations§
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