pub enum ImportNamedSpecifierField {
Span,
Local,
Imported,
IsTypeOnly,
}
Expand description
This enum represents fields of ImportNamedSpecifierField
Variants§
Span
This represents span
Local
This represents local
Imported
This represents imported
IsTypeOnly
This represents is_type_only
Implementations§
Trait Implementations§
source§impl Clone for ImportNamedSpecifierField
impl Clone for ImportNamedSpecifierField
source§fn clone(&self) -> ImportNamedSpecifierField
fn clone(&self) -> ImportNamedSpecifierField
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 moresource§impl Debug for ImportNamedSpecifierField
impl Debug for ImportNamedSpecifierField
source§impl<'de> Deserialize<'de> for ImportNamedSpecifierField
impl<'de> Deserialize<'de> for ImportNamedSpecifierField
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for ImportNamedSpecifierField
impl Hash for ImportNamedSpecifierField
source§impl Ord for ImportNamedSpecifierField
impl Ord for ImportNamedSpecifierField
source§fn cmp(&self, other: &ImportNamedSpecifierField) -> Ordering
fn cmp(&self, other: &ImportNamedSpecifierField) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ImportNamedSpecifierField
impl PartialEq for ImportNamedSpecifierField
source§fn eq(&self, other: &ImportNamedSpecifierField) -> bool
fn eq(&self, other: &ImportNamedSpecifierField) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ImportNamedSpecifierField
impl PartialOrd for ImportNamedSpecifierField
source§fn partial_cmp(&self, other: &ImportNamedSpecifierField) -> Option<Ordering>
fn partial_cmp(&self, other: &ImportNamedSpecifierField) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ImportNamedSpecifierField
impl Eq for ImportNamedSpecifierField
impl StructuralPartialEq for ImportNamedSpecifierField
Auto Trait Implementations§
impl Freeze for ImportNamedSpecifierField
impl RefUnwindSafe for ImportNamedSpecifierField
impl Send for ImportNamedSpecifierField
impl Sync for ImportNamedSpecifierField
impl Unpin for ImportNamedSpecifierField
impl UnwindSafe for ImportNamedSpecifierField
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