Struct rnix::ast::PathContent
source · pub struct PathContent(/* private fields */);
Trait Implementations§
source§impl AstToken for PathContent
impl AstToken for PathContent
fn can_cast(kind: SyntaxKind) -> bool
source§fn 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.
fn syntax(&self) -> &SyntaxToken
source§impl Clone for PathContent
impl Clone for PathContent
source§fn clone(&self) -> PathContent
fn clone(&self) -> PathContent
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 Debug for PathContent
impl Debug for PathContent
source§impl Display for PathContent
impl Display for PathContent
source§impl Hash for PathContent
impl Hash for PathContent
source§impl PartialEq for PathContent
impl PartialEq for PathContent
source§fn eq(&self, other: &PathContent) -> bool
fn eq(&self, other: &PathContent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PathContent
impl StructuralPartialEq for PathContent
Auto Trait Implementations§
impl Freeze for PathContent
impl !RefUnwindSafe for PathContent
impl !Send for PathContent
impl !Sync for PathContent
impl Unpin for PathContent
impl !UnwindSafe for PathContent
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)