pub enum ImportKindTag {
Use,
Import,
Reexport,
Dynamic,
}Expand description
Source-level import form. Resolution to repository paths happens later.
Variants§
Trait Implementations§
Source§impl Clone for ImportKindTag
impl Clone for ImportKindTag
Source§fn clone(&self) -> ImportKindTag
fn clone(&self) -> ImportKindTag
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ImportKindTag
Source§impl Debug for ImportKindTag
impl Debug for ImportKindTag
Source§impl<'de> Deserialize<'de> for ImportKindTag
impl<'de> Deserialize<'de> for ImportKindTag
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
impl Eq for ImportKindTag
Source§impl Hash for ImportKindTag
impl Hash for ImportKindTag
Source§impl Ord for ImportKindTag
impl Ord for ImportKindTag
Source§fn cmp(&self, other: &ImportKindTag) -> Ordering
fn cmp(&self, other: &ImportKindTag) -> Ordering
1.21.0 (const: unstable) · 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 ImportKindTag
impl PartialEq for ImportKindTag
Source§impl PartialOrd for ImportKindTag
impl PartialOrd for ImportKindTag
Source§impl Serialize for ImportKindTag
impl Serialize for ImportKindTag
impl StructuralPartialEq for ImportKindTag
Auto Trait Implementations§
impl Freeze for ImportKindTag
impl RefUnwindSafe for ImportKindTag
impl Send for ImportKindTag
impl Sync for ImportKindTag
impl Unpin for ImportKindTag
impl UnsafeUnpin for ImportKindTag
impl UnwindSafe for ImportKindTag
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