Struct rnix::ast::PathContent
source · pub struct PathContent(_);
Trait Implementations
sourceimpl AstToken for PathContent
impl AstToken for PathContent
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 PathContent
impl Clone for PathContent
sourcefn clone(&self) -> PathContent
fn clone(&self) -> PathContent
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 PathContent
impl Debug for PathContent
sourceimpl Display for PathContent
impl Display for PathContent
sourceimpl Hash for PathContent
impl Hash for PathContent
sourceimpl PartialEq<PathContent> for PathContent
impl PartialEq<PathContent> for PathContent
sourcefn eq(&self, other: &PathContent) -> bool
fn eq(&self, other: &PathContent) -> bool
impl Eq for PathContent
impl StructuralEq for PathContent
impl StructuralPartialEq for PathContent
Auto Trait Implementations
impl !RefUnwindSafe for PathContent
impl !Send for PathContent
impl !Sync for PathContent
impl Unpin for PathContent
impl !UnwindSafe for PathContent
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