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 duplicate of the value. Read more
1.0.0 (const: unstable) · 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
impl Eq 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
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PathContent
Auto Trait Implementations§
impl !RefUnwindSafe for PathContent
impl !Send for PathContent
impl !Sync for PathContent
impl !UnwindSafe for PathContent
impl Freeze for PathContent
impl Unpin for PathContent
impl UnsafeUnpin 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