Struct ra_ap_hir::db::InternedGeneratorId
source · pub struct InternedGeneratorId(_);
Trait Implementations§
source§impl Clone for InternedGeneratorId
impl Clone for InternedGeneratorId
source§fn clone(&self) -> InternedGeneratorId
fn clone(&self) -> InternedGeneratorId
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 Debug for InternedGeneratorId
impl Debug for InternedGeneratorId
source§impl From<GeneratorId<Interner>> for InternedGeneratorId
impl From<GeneratorId<Interner>> for InternedGeneratorId
source§fn from(id: GeneratorId<Interner>) -> InternedGeneratorId
fn from(id: GeneratorId<Interner>) -> InternedGeneratorId
Converts to this type from the input type.
source§impl Hash for InternedGeneratorId
impl Hash for InternedGeneratorId
source§impl InternKey for InternedGeneratorId
impl InternKey for InternedGeneratorId
source§fn from_intern_id(v: InternId) -> InternedGeneratorId
fn from_intern_id(v: InternId) -> InternedGeneratorId
Create an instance of the intern-key from a
u32
value.source§fn as_intern_id(&self) -> InternId
fn as_intern_id(&self) -> InternId
Extract the
u32
with which the intern-key was created.source§impl PartialEq<InternedGeneratorId> for InternedGeneratorId
impl PartialEq<InternedGeneratorId> for InternedGeneratorId
source§fn eq(&self, other: &InternedGeneratorId) -> bool
fn eq(&self, other: &InternedGeneratorId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for InternedGeneratorId
impl Eq for InternedGeneratorId
impl StructuralEq for InternedGeneratorId
impl StructuralPartialEq for InternedGeneratorId
Auto Trait Implementations§
impl RefUnwindSafe for InternedGeneratorId
impl Send for InternedGeneratorId
impl Sync for InternedGeneratorId
impl Unpin for InternedGeneratorId
impl UnwindSafe for InternedGeneratorId
Blanket Implementations§
§impl<T> Cast for T
impl<T> Cast for T
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.