Enum GoTestPackageMode
pub enum GoTestPackageMode {
Package,
ExternalPackage,
}Expand description
Go test package mode metadata.
Variants§
Implementations§
§impl GoTestPackageMode
impl GoTestPackageMode
Trait Implementations§
§impl Clone for GoTestPackageMode
impl Clone for GoTestPackageMode
§fn clone(&self) -> GoTestPackageMode
fn clone(&self) -> GoTestPackageMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for GoTestPackageMode
impl Debug for GoTestPackageMode
§impl Display for GoTestPackageMode
impl Display for GoTestPackageMode
§impl FromStr for GoTestPackageMode
impl FromStr for GoTestPackageMode
§type Err = GoTestError
type Err = GoTestError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<GoTestPackageMode, <GoTestPackageMode as FromStr>::Err>
fn from_str( value: &str, ) -> Result<GoTestPackageMode, <GoTestPackageMode as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for GoTestPackageMode
impl Hash for GoTestPackageMode
§impl Ord for GoTestPackageMode
impl Ord for GoTestPackageMode
§fn cmp(&self, other: &GoTestPackageMode) -> Ordering
fn cmp(&self, other: &GoTestPackageMode) -> Ordering
1.21.0 · 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
§impl PartialEq for GoTestPackageMode
impl PartialEq for GoTestPackageMode
§impl PartialOrd for GoTestPackageMode
impl PartialOrd for GoTestPackageMode
impl Copy for GoTestPackageMode
impl Eq for GoTestPackageMode
impl StructuralPartialEq for GoTestPackageMode
Auto Trait Implementations§
impl Freeze for GoTestPackageMode
impl RefUnwindSafe for GoTestPackageMode
impl Send for GoTestPackageMode
impl Sync for GoTestPackageMode
impl Unpin for GoTestPackageMode
impl UnsafeUnpin for GoTestPackageMode
impl UnwindSafe for GoTestPackageMode
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