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