pub struct StringValue { /* private fields */ }
Trait Implementations§
source§impl Clone for StringValue
impl Clone for StringValue
source§fn clone(&self) -> StringValue
fn clone(&self) -> StringValue
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 CstNode for StringValue
impl CstNode for StringValue
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn source_string(&self) -> String
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
source§impl Debug for StringValue
impl Debug for StringValue
source§impl From<&StringValue> for String
impl From<&StringValue> for String
source§fn from(val: &StringValue) -> Self
fn from(val: &StringValue) -> Self
Converts to this type from the input type.
source§impl From<StringValue> for String
impl From<StringValue> for String
source§fn from(val: StringValue) -> Self
fn from(val: StringValue) -> Self
Converts to this type from the input type.
source§impl From<StringValue> for Value
impl From<StringValue> for Value
source§fn from(node: StringValue) -> Value
fn from(node: StringValue) -> Value
Converts to this type from the input type.
source§impl Hash for StringValue
impl Hash for StringValue
source§impl PartialEq for StringValue
impl PartialEq for StringValue
impl Eq for StringValue
impl StructuralPartialEq for StringValue
Auto Trait Implementations§
impl Freeze for StringValue
impl !RefUnwindSafe for StringValue
impl !Send for StringValue
impl !Sync for StringValue
impl Unpin for StringValue
impl !UnwindSafe for StringValue
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)