pub struct ImportPath(/* private fields */);
Implementations§
Source§impl ImportPath
impl ImportPath
pub fn idents(&self) -> Vec<SyntaxToken> ⓘ
pub fn group(&self) -> Option<ImportGroup>
Trait Implementations§
Source§impl AstNode for ImportPath
impl AstNode for ImportPath
fn cast(node: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
Source§impl Clone for ImportPath
impl Clone for ImportPath
Source§fn clone(&self) -> ImportPath
fn clone(&self) -> ImportPath
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 moreAuto Trait Implementations§
impl Freeze for ImportPath
impl !RefUnwindSafe for ImportPath
impl !Send for ImportPath
impl !Sync for ImportPath
impl Unpin for ImportPath
impl !UnwindSafe for ImportPath
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