Struct tree_sitter_graph::ast::StringConstant
source · [−]pub struct StringConstant {
pub value: String,
}Expand description
A string constant
Fields
value: StringTrait Implementations
sourceimpl Debug for StringConstant
impl Debug for StringConstant
sourceimpl Display for StringConstant
impl Display for StringConstant
sourceimpl From<StringConstant> for Expression
impl From<StringConstant> for Expression
sourcefn from(expr: StringConstant) -> Expression
fn from(expr: StringConstant) -> Expression
Converts to this type from the input type.
sourceimpl PartialEq<StringConstant> for StringConstant
impl PartialEq<StringConstant> for StringConstant
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &StringConstant) -> bool
fn ne(&self, other: &StringConstant) -> bool
This method tests for !=.
impl Eq for StringConstant
impl StructuralEq for StringConstant
impl StructuralPartialEq for StringConstant
Auto Trait Implementations
impl RefUnwindSafe for StringConstant
impl Send for StringConstant
impl Sync for StringConstant
impl Unpin for StringConstant
impl UnwindSafe for StringConstant
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more