pub enum GoFileKind {
Source,
Test,
Generated,
BuildTagged,
Cgo,
ModuleConfig,
WorkspaceConfig,
}Expand description
Go file kind metadata.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for GoFileKind
impl Clone for GoFileKind
Source§fn clone(&self) -> GoFileKind
fn clone(&self) -> GoFileKind
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 GoFileKind
impl Debug for GoFileKind
Source§impl Display for GoFileKind
impl Display for GoFileKind
Source§impl FromStr for GoFileKind
impl FromStr for GoFileKind
Source§impl Hash for GoFileKind
impl Hash for GoFileKind
Source§impl Ord for GoFileKind
impl Ord for GoFileKind
Source§fn cmp(&self, other: &GoFileKind) -> Ordering
fn cmp(&self, other: &GoFileKind) -> 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 GoFileKind
impl PartialEq for GoFileKind
Source§fn eq(&self, other: &GoFileKind) -> bool
fn eq(&self, other: &GoFileKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for GoFileKind
impl PartialOrd for GoFileKind
impl Copy for GoFileKind
impl Eq for GoFileKind
impl StructuralPartialEq for GoFileKind
Auto Trait Implementations§
impl Freeze for GoFileKind
impl RefUnwindSafe for GoFileKind
impl Send for GoFileKind
impl Sync for GoFileKind
impl Unpin for GoFileKind
impl UnsafeUnpin for GoFileKind
impl UnwindSafe for GoFileKind
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