Struct nextest_metadata::RustBinaryIdComponents
source · pub struct RustBinaryIdComponents<'a> {
pub package_name: &'a str,
pub binary_name_and_kind: RustBinaryIdNameAndKind<'a>,
}
Expand description
The components of a RustBinaryId
.
This defines the canonical sort order for a RustBinaryId
.
Returned by RustBinaryId::components
.
Fields§
§package_name: &'a str
The name of the package.
binary_name_and_kind: RustBinaryIdNameAndKind<'a>
The kind and binary name, if specified.
Trait Implementations§
source§impl<'a> Clone for RustBinaryIdComponents<'a>
impl<'a> Clone for RustBinaryIdComponents<'a>
source§fn clone(&self) -> RustBinaryIdComponents<'a>
fn clone(&self) -> RustBinaryIdComponents<'a>
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<'a> Debug for RustBinaryIdComponents<'a>
impl<'a> Debug for RustBinaryIdComponents<'a>
source§impl<'a> Ord for RustBinaryIdComponents<'a>
impl<'a> Ord for RustBinaryIdComponents<'a>
source§fn cmp(&self, other: &RustBinaryIdComponents<'a>) -> Ordering
fn cmp(&self, other: &RustBinaryIdComponents<'a>) -> 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<'a> PartialEq<RustBinaryIdComponents<'a>> for RustBinaryIdComponents<'a>
impl<'a> PartialEq<RustBinaryIdComponents<'a>> for RustBinaryIdComponents<'a>
source§fn eq(&self, other: &RustBinaryIdComponents<'a>) -> bool
fn eq(&self, other: &RustBinaryIdComponents<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> PartialOrd<RustBinaryIdComponents<'a>> for RustBinaryIdComponents<'a>
impl<'a> PartialOrd<RustBinaryIdComponents<'a>> for RustBinaryIdComponents<'a>
source§fn partial_cmp(&self, other: &RustBinaryIdComponents<'a>) -> Option<Ordering>
fn partial_cmp(&self, other: &RustBinaryIdComponents<'a>) -> 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