Struct nextest_metadata::RustNonTestBinaryKind
source · pub struct RustNonTestBinaryKind(pub Cow<'static, str>);
Expand description
Information about the kind of a Rust non-test binary.
This is part of RustNonTestBinarySummary
, and is used to determine runtime environment
variables.
Tuple Fields§
§0: Cow<'static, str>
Implementations§
source§impl RustNonTestBinaryKind
impl RustNonTestBinaryKind
sourcepub fn new(kind: impl Into<Cow<'static, str>>) -> Self
pub fn new(kind: impl Into<Cow<'static, str>>) -> Self
Creates a new RustNonTestBinaryKind
from a string.
sourcepub const fn new_const(kind: &'static str) -> Self
pub const fn new_const(kind: &'static str) -> Self
Creates a new RustNonTestBinaryKind
from a static string.
Trait Implementations§
source§impl Clone for RustNonTestBinaryKind
impl Clone for RustNonTestBinaryKind
source§fn clone(&self) -> RustNonTestBinaryKind
fn clone(&self) -> RustNonTestBinaryKind
Returns a copy 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 moresource§impl Debug for RustNonTestBinaryKind
impl Debug for RustNonTestBinaryKind
source§impl<'de> Deserialize<'de> for RustNonTestBinaryKind
impl<'de> Deserialize<'de> for RustNonTestBinaryKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for RustNonTestBinaryKind
impl Display for RustNonTestBinaryKind
source§impl Hash for RustNonTestBinaryKind
impl Hash for RustNonTestBinaryKind
source§impl Ord for RustNonTestBinaryKind
impl Ord for RustNonTestBinaryKind
source§fn cmp(&self, other: &RustNonTestBinaryKind) -> Ordering
fn cmp(&self, other: &RustNonTestBinaryKind) -> 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
source§impl PartialEq<RustNonTestBinaryKind> for RustNonTestBinaryKind
impl PartialEq<RustNonTestBinaryKind> for RustNonTestBinaryKind
source§fn eq(&self, other: &RustNonTestBinaryKind) -> bool
fn eq(&self, other: &RustNonTestBinaryKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<RustNonTestBinaryKind> for RustNonTestBinaryKind
impl PartialOrd<RustNonTestBinaryKind> for RustNonTestBinaryKind
source§fn partial_cmp(&self, other: &RustNonTestBinaryKind) -> Option<Ordering>
fn partial_cmp(&self, other: &RustNonTestBinaryKind) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more