Struct ra_ap_hir::db::InternedConstParamId
source · pub struct InternedConstParamId(/* private fields */);
Trait Implementations§
source§impl Clone for InternedConstParamId
impl Clone for InternedConstParamId
source§fn clone(&self) -> InternedConstParamId
fn clone(&self) -> InternedConstParamId
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 InternedConstParamId
impl Debug for InternedConstParamId
source§impl Hash for InternedConstParamId
impl Hash for InternedConstParamId
source§impl InternKey for InternedConstParamId
impl InternKey for InternedConstParamId
source§fn from_intern_id(v: InternId) -> InternedConstParamId
fn from_intern_id(v: InternId) -> InternedConstParamId
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 for InternedConstParamId
impl PartialEq for InternedConstParamId
source§fn eq(&self, other: &InternedConstParamId) -> bool
fn eq(&self, other: &InternedConstParamId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for InternedConstParamId
impl Eq for InternedConstParamId
impl StructuralPartialEq for InternedConstParamId
Auto Trait Implementations§
impl Freeze for InternedConstParamId
impl RefUnwindSafe for InternedConstParamId
impl Send for InternedConstParamId
impl Sync for InternedConstParamId
impl Unpin for InternedConstParamId
impl UnwindSafe for InternedConstParamId
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> Cast for T
impl<T> Cast for T
source§fn cast<U>(self, interner: <U as HasInterner>::Interner) -> Uwhere
Self: CastTo<U>,
U: HasInterner,
fn cast<U>(self, interner: <U as HasInterner>::Interner) -> Uwhere
Self: CastTo<U>,
U: HasInterner,
Cast a value to type
U
using CastTo
.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.