Struct rustc_data_structures::sync::worker_local::RegistryId
source · struct RegistryId(*const RegistryData);
Expand description
A pointer to the RegistryData
which uniquely identifies a registry.
This identifier can be reused if the registry gets freed.
Tuple Fields§
§0: *const RegistryData
Trait Implementations§
source§impl Clone for RegistryId
impl Clone for RegistryId
source§fn clone(&self) -> RegistryId
fn clone(&self) -> RegistryId
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 PartialEq<RegistryId> for RegistryId
impl PartialEq<RegistryId> for RegistryId
source§fn eq(&self, other: &RegistryId) -> bool
fn eq(&self, other: &RegistryId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RegistryId
impl StructuralPartialEq for RegistryId
Auto Trait Implementations§
impl !RefUnwindSafe for RegistryId
impl !Send for RegistryId
impl !Sync for RegistryId
impl Unpin for RegistryId
impl !UnwindSafe for RegistryId
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
impl<'a, T> Captures<'a> for Twhere T: ?Sized,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes