Struct ra_ap_hir_def::layout::RustcEnumVariantIdx
source · pub struct RustcEnumVariantIdx(pub LocalEnumVariantId);
Tuple Fields§
§0: LocalEnumVariantId
Trait Implementations§
source§impl Clone for RustcEnumVariantIdx
impl Clone for RustcEnumVariantIdx
source§fn clone(&self) -> RustcEnumVariantIdx
fn clone(&self) -> RustcEnumVariantIdx
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 RustcEnumVariantIdx
impl Debug for RustcEnumVariantIdx
source§impl Hash for RustcEnumVariantIdx
impl Hash for RustcEnumVariantIdx
source§impl Idx for RustcEnumVariantIdx
impl Idx for RustcEnumVariantIdx
source§impl PartialEq<RustcEnumVariantIdx> for RustcEnumVariantIdx
impl PartialEq<RustcEnumVariantIdx> for RustcEnumVariantIdx
source§fn eq(&self, other: &RustcEnumVariantIdx) -> bool
fn eq(&self, other: &RustcEnumVariantIdx) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RustcEnumVariantIdx
impl Eq for RustcEnumVariantIdx
impl StructuralEq for RustcEnumVariantIdx
impl StructuralPartialEq for RustcEnumVariantIdx
Auto Trait Implementations§
impl RefUnwindSafe for RustcEnumVariantIdx
impl Send for RustcEnumVariantIdx
impl Sync for RustcEnumVariantIdx
impl Unpin for RustcEnumVariantIdx
impl UnwindSafe for RustcEnumVariantIdx
Blanket Implementations§
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.