pub struct Str(_);
Implementations
sourceimpl Str
impl Str
pub const KIND: SyntaxKind = NODE_STRING
sourceimpl Str
impl Str
pub fn parts(&self) -> impl Iterator<Item = InterpolPart<StrContent>>
pub fn normalized_parts(&self) -> Vec<InterpolPart<String>>
Trait Implementations
sourceimpl AstNode for Str
impl AstNode for Str
type Language = NixLanguage
fn can_cast(kind: SyntaxKind) -> bool
fn cast(from: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
impl Eq for Str
impl StructuralEq for Str
impl StructuralPartialEq for Str
Auto Trait Implementations
impl !RefUnwindSafe for Str
impl !Send for Str
impl !Sync for Str
impl Unpin for Str
impl !UnwindSafe for Str
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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