Struct kodept_ast::StringLiteral
source · pub struct StringLiteral {
pub value: String,
/* private fields */
}Fields§
§value: StringTrait Implementations§
source§impl Debug for StringLiteral
impl Debug for StringLiteral
source§impl From<StringLiteral> for GenericASTNode
impl From<StringLiteral> for GenericASTNode
source§fn from(original: StringLiteral) -> GenericASTNode
fn from(original: StringLiteral) -> GenericASTNode
Converts to this type from the input type.
source§impl Identifiable for StringLiteral
impl Identifiable for 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<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime GenericASTNode> for &'__deriveMoreLifetime StringLiteral
impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime GenericASTNode> for &'__deriveMoreLifetime StringLiteral
source§impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut GenericASTNode> for &'__deriveMoreLifetime mut StringLiteral
impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut GenericASTNode> for &'__deriveMoreLifetime mut StringLiteral
source§impl TryFrom<GenericASTNode> for StringLiteral
impl TryFrom<GenericASTNode> for StringLiteral
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