pub struct CompilationUnitComponentId {
pub repr: String,
}Expand description
An “opaque” identifier for a compilation unit component.
It is possible to inspect the repr field if the need arises,
but its precise format is an implementation detail and is subject to change.
CompilationUnitMetadata can be indexed by CompilationUnitComponentId.
Fields§
§repr: StringThe underlying string representation of the ID.
Trait Implementations§
Source§impl Clone for CompilationUnitComponentId
impl Clone for CompilationUnitComponentId
Source§fn clone(&self) -> CompilationUnitComponentId
fn clone(&self) -> CompilationUnitComponentId
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 moreSource§impl Debug for CompilationUnitComponentId
impl Debug for CompilationUnitComponentId
Source§impl<'de> Deserialize<'de> for CompilationUnitComponentId
impl<'de> Deserialize<'de> for CompilationUnitComponentId
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 CompilationUnitComponentId
impl Display for CompilationUnitComponentId
Source§impl From<String> for CompilationUnitComponentId
impl From<String> for CompilationUnitComponentId
Source§impl Hash for CompilationUnitComponentId
impl Hash for CompilationUnitComponentId
Source§impl<'a> Index<&'a CompilationUnitComponentId> for CompilationUnitMetadata
impl<'a> Index<&'a CompilationUnitComponentId> for CompilationUnitMetadata
Source§type Output = CompilationUnitComponentMetadata
type Output = CompilationUnitComponentMetadata
The returned type after indexing.
Source§impl Ord for CompilationUnitComponentId
impl Ord for CompilationUnitComponentId
Source§fn cmp(&self, other: &CompilationUnitComponentId) -> Ordering
fn cmp(&self, other: &CompilationUnitComponentId) -> 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 PartialOrd for CompilationUnitComponentId
impl PartialOrd for CompilationUnitComponentId
impl Eq for CompilationUnitComponentId
impl StructuralPartialEq for CompilationUnitComponentId
Auto Trait Implementations§
impl Freeze for CompilationUnitComponentId
impl RefUnwindSafe for CompilationUnitComponentId
impl Send for CompilationUnitComponentId
impl Sync for CompilationUnitComponentId
impl Unpin for CompilationUnitComponentId
impl UnwindSafe for CompilationUnitComponentId
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