#[repr(u8)]pub enum ImportKind {
Unknown = 0,
Import = 1,
Require = 2,
}Expand description
The runtime loading operation used by an import.
Variants§
Trait Implementations§
Source§impl Clone for ImportKind
impl Clone for ImportKind
impl Copy for ImportKind
Source§impl Debug for ImportKind
impl Debug for ImportKind
impl Eq for ImportKind
Source§impl Ord for ImportKind
impl Ord for ImportKind
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ImportKind
impl PartialEq for ImportKind
Source§impl PartialOrd for ImportKind
impl PartialOrd for ImportKind
impl StructuralPartialEq for ImportKind
Auto Trait Implementations§
impl Forget for ImportKind
impl Freeze for ImportKind
impl Move for ImportKind
impl RefUnwindSafe for ImportKind
impl Send for ImportKind
impl Sync for ImportKind
impl Unpin for ImportKind
impl UnsafeUnpin for ImportKind
impl UnwindSafe for ImportKind
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