pub struct DiagnosticId(/* private fields */);Expand description
The common module records and containers. These explicit facade exports keep ordinary callers out of the component crate paths.
Implementations§
Trait Implementations§
Source§impl Clone for DiagnosticId
impl Clone for DiagnosticId
Source§fn clone(&self) -> DiagnosticId
fn clone(&self) -> DiagnosticId
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 DiagnosticId
impl Debug for DiagnosticId
Source§impl<'de> Deserialize<'de> for DiagnosticId
impl<'de> Deserialize<'de> for DiagnosticId
Source§fn deserialize<D>(
deserializer: D,
) -> Result<DiagnosticId, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<DiagnosticId, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for DiagnosticId
impl Display for DiagnosticId
impl Eq for DiagnosticId
Source§impl Hash for DiagnosticId
impl Hash for DiagnosticId
Source§impl Ord for DiagnosticId
impl Ord for DiagnosticId
Source§fn cmp(&self, other: &DiagnosticId) -> Ordering
fn cmp(&self, other: &DiagnosticId) -> 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 DiagnosticId
impl PartialEq for DiagnosticId
Source§fn eq(&self, other: &DiagnosticId) -> bool
fn eq(&self, other: &DiagnosticId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for DiagnosticId
impl PartialOrd for DiagnosticId
Source§impl Serialize for DiagnosticId
impl Serialize for DiagnosticId
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for DiagnosticId
Auto Trait Implementations§
impl Freeze for DiagnosticId
impl RefUnwindSafe for DiagnosticId
impl Send for DiagnosticId
impl Sync for DiagnosticId
impl Unpin for DiagnosticId
impl UnsafeUnpin for DiagnosticId
impl UnwindSafe for DiagnosticId
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more