Struct rnix::ast::StrContent
source · pub struct StrContent(_);
Trait Implementations
sourceimpl AstToken for StrContent
impl AstToken for StrContent
fn can_cast(kind: SyntaxKind) -> bool
sourcefn cast(from: SyntaxToken) -> Option<Self>
fn cast(from: SyntaxToken) -> Option<Self>
Cast an untyped token into this strongly-typed token. This will return
None if the type was not correct. Read more
fn syntax(&self) -> &SyntaxToken
sourceimpl Clone for StrContent
impl Clone for StrContent
sourcefn clone(&self) -> StrContent
fn clone(&self) -> StrContent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for StrContent
impl Debug for StrContent
sourceimpl Display for StrContent
impl Display for StrContent
sourceimpl Hash for StrContent
impl Hash for StrContent
sourceimpl PartialEq<StrContent> for StrContent
impl PartialEq<StrContent> for StrContent
sourcefn eq(&self, other: &StrContent) -> bool
fn eq(&self, other: &StrContent) -> bool
impl Eq for StrContent
impl StructuralEq for StrContent
impl StructuralPartialEq for StrContent
Auto Trait Implementations
impl !RefUnwindSafe for StrContent
impl !Send for StrContent
impl !Sync for StrContent
impl Unpin for StrContent
impl !UnwindSafe for StrContent
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