Struct resast::decl::NormalImportSpec
source · [−]Fields
local: Ident<'a>
imported: Ident<'a>
Trait Implementations
sourceimpl<'a> Clone for NormalImportSpec<'a>
impl<'a> Clone for NormalImportSpec<'a>
sourcefn clone(&self) -> NormalImportSpec<'a>
fn clone(&self) -> NormalImportSpec<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for NormalImportSpec<'a>
impl<'a> Debug for NormalImportSpec<'a>
sourceimpl<'a> From<NormalImportSpec<'a>> for NormalImportSpec<'a>
impl<'a> From<NormalImportSpec<'a>> for NormalImportSpec<'a>
sourcefn from(other: NormalImportSpec<'a>) -> Self
fn from(other: NormalImportSpec<'a>) -> Self
Converts to this type from the input type.
sourceimpl<'a> PartialEq<NormalImportSpec<'a>> for NormalImportSpec<'a>
impl<'a> PartialEq<NormalImportSpec<'a>> for NormalImportSpec<'a>
sourcefn eq(&self, other: &NormalImportSpec<'a>) -> bool
fn eq(&self, other: &NormalImportSpec<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl<'a> StructuralPartialEq for NormalImportSpec<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for NormalImportSpec<'a>
impl<'a> Send for NormalImportSpec<'a>
impl<'a> Sync for NormalImportSpec<'a>
impl<'a> Unpin for NormalImportSpec<'a>
impl<'a> UnwindSafe for NormalImportSpec<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more