Struct tree_sitter_graph::ast::StringConstant
source · pub struct StringConstant {
pub value: String,
}
Expand description
A string constant
Fields§
§value: String
Trait Implementations§
source§impl Debug for StringConstant
impl Debug for StringConstant
source§impl Display for StringConstant
impl Display for StringConstant
source§impl From<StringConstant> for Expression
impl From<StringConstant> for Expression
source§fn from(expr: StringConstant) -> Expression
fn from(expr: StringConstant) -> Expression
Converts to this type from the input type.
source§impl PartialEq for StringConstant
impl PartialEq for StringConstant
source§fn eq(&self, other: &StringConstant) -> bool
fn eq(&self, other: &StringConstant) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for StringConstant
impl StructuralPartialEq for StringConstant
Auto Trait Implementations§
impl Freeze for StringConstant
impl RefUnwindSafe for StringConstant
impl Send for StringConstant
impl Sync for StringConstant
impl Unpin for StringConstant
impl UnwindSafe for StringConstant
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