Enum ra_ap_hir::StructKind
source · pub enum StructKind {
Tuple,
Record,
Unit,
}
Variants§
Trait Implementations§
source§impl Clone for StructKind
impl Clone for StructKind
source§fn clone(&self) -> StructKind
fn clone(&self) -> StructKind
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 StructKind
impl Debug for StructKind
source§impl PartialEq<StructKind> for StructKind
impl PartialEq<StructKind> for StructKind
source§fn eq(&self, other: &StructKind) -> bool
fn eq(&self, other: &StructKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for StructKind
impl Eq for StructKind
impl StructuralEq for StructKind
impl StructuralPartialEq for StructKind
Auto Trait Implementations§
impl RefUnwindSafe for StructKind
impl Send for StructKind
impl Sync for StructKind
impl Unpin for StructKind
impl UnwindSafe for StructKind
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.