pub struct PathPattern { /* private fields */ }Implementations§
Source§impl PathPattern
impl PathPattern
pub fn path_factor(&self) -> Option<PathFactor>
pub fn path_factors(&self) -> AstChildren<PathFactor> ⓘ
Trait Implementations§
Source§impl AstNode for PathPattern
impl AstNode for PathPattern
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Source§impl Clone for PathPattern
impl Clone for PathPattern
Source§fn clone(&self) -> PathPattern
fn clone(&self) -> PathPattern
Returns a duplicate 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 PathPattern
impl Debug for PathPattern
Source§impl Hash for PathPattern
impl Hash for PathPattern
Source§impl PartialEq for PathPattern
impl PartialEq for PathPattern
impl Eq for PathPattern
impl StructuralPartialEq for PathPattern
Auto Trait Implementations§
impl Freeze for PathPattern
impl !RefUnwindSafe for PathPattern
impl !Send for PathPattern
impl !Sync for PathPattern
impl Unpin for PathPattern
impl UnsafeUnpin for PathPattern
impl !UnwindSafe for PathPattern
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