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 for RustBinaryIdComponents<'a>
impl<'a> PartialEq for RustBinaryIdComponents<'a>
source§impl<'a> PartialOrd for RustBinaryIdComponents<'a>
impl<'a> PartialOrd for RustBinaryIdComponents<'a>
impl<'a> Copy for RustBinaryIdComponents<'a>
impl<'a> Eq for RustBinaryIdComponents<'a>
impl<'a> StructuralPartialEq for RustBinaryIdComponents<'a>
Auto Trait Implementations§
impl<'a> Freeze for RustBinaryIdComponents<'a>
impl<'a> RefUnwindSafe for RustBinaryIdComponents<'a>
impl<'a> Send for RustBinaryIdComponents<'a>
impl<'a> Sync for RustBinaryIdComponents<'a>
impl<'a> Unpin for RustBinaryIdComponents<'a>
impl<'a> UnwindSafe for RustBinaryIdComponents<'a>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)