Struct rue_parser::ImportItem
source · pub struct ImportItem(/* private fields */);
Implementations§
source§impl ImportItem
impl ImportItem
pub fn path(&self) -> Option<ImportPath>
Trait Implementations§
source§impl AstNode for ImportItem
impl AstNode for ImportItem
fn cast(node: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
source§impl Clone for ImportItem
impl Clone for ImportItem
source§fn clone(&self) -> ImportItem
fn clone(&self) -> ImportItem
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 moreAuto Trait Implementations§
impl Freeze for ImportItem
impl !RefUnwindSafe for ImportItem
impl !Send for ImportItem
impl !Sync for ImportItem
impl Unpin for ImportItem
impl !UnwindSafe for ImportItem
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
)