pub struct ImportSpec<'tree> {
pub span: Span,
pub name: Option<ImportSpecName<'tree>>,
pub path: ImportSpecPath<'tree>,
}Fields§
§span: Span§name: Option<ImportSpecName<'tree>>§path: ImportSpecPath<'tree>Trait Implementations§
Source§impl<'tree> Clone for ImportSpec<'tree>
impl<'tree> Clone for ImportSpec<'tree>
Source§fn clone(&self) -> ImportSpec<'tree>
fn clone(&self) -> ImportSpec<'tree>
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<'tree> Debug for ImportSpec<'tree>
impl<'tree> Debug for ImportSpec<'tree>
Source§impl<'tree> FromNode<'tree> for ImportSpec<'tree>
impl<'tree> FromNode<'tree> for ImportSpec<'tree>
Source§impl<'tree> PartialEq for ImportSpec<'tree>
impl<'tree> PartialEq for ImportSpec<'tree>
Source§impl Spanned for ImportSpec<'_>
impl Spanned for ImportSpec<'_>
impl<'tree> Eq for ImportSpec<'tree>
impl<'tree> StructuralPartialEq for ImportSpec<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for ImportSpec<'tree>
impl<'tree> RefUnwindSafe for ImportSpec<'tree>
impl<'tree> Send for ImportSpec<'tree>
impl<'tree> Sync for ImportSpec<'tree>
impl<'tree> Unpin for ImportSpec<'tree>
impl<'tree> UnsafeUnpin for ImportSpec<'tree>
impl<'tree> UnwindSafe for ImportSpec<'tree>
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