pub enum GoImportKind {
StandardLibrary,
ThirdParty,
Internal,
Relative,
Blank,
Dot,
Aliased,
}Expand description
Go import kind metadata.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for GoImportKind
impl Clone for GoImportKind
Source§fn clone(&self) -> GoImportKind
fn clone(&self) -> GoImportKind
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 moreSource§impl Debug for GoImportKind
impl Debug for GoImportKind
Source§impl Display for GoImportKind
impl Display for GoImportKind
Source§impl FromStr for GoImportKind
impl FromStr for GoImportKind
Source§impl Hash for GoImportKind
impl Hash for GoImportKind
Source§impl Ord for GoImportKind
impl Ord for GoImportKind
Source§fn cmp(&self, other: &GoImportKind) -> Ordering
fn cmp(&self, other: &GoImportKind) -> 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 GoImportKind
impl PartialEq for GoImportKind
Source§fn eq(&self, other: &GoImportKind) -> bool
fn eq(&self, other: &GoImportKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for GoImportKind
impl PartialOrd for GoImportKind
impl Copy for GoImportKind
impl Eq for GoImportKind
impl StructuralPartialEq for GoImportKind
Auto Trait Implementations§
impl Freeze for GoImportKind
impl RefUnwindSafe for GoImportKind
impl Send for GoImportKind
impl Sync for GoImportKind
impl Unpin for GoImportKind
impl UnsafeUnpin for GoImportKind
impl UnwindSafe for GoImportKind
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