pub enum ProjectionKind {
StructField {
name: Ident,
},
TupleField {
index: usize,
index_span: Span,
},
}
Variants
StructField
Fields
name: Ident
TupleField
Trait Implementations
sourceimpl Clone for ProjectionKind
impl Clone for ProjectionKind
sourcefn clone(&self) -> ProjectionKind
fn clone(&self) -> ProjectionKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ProjectionKind
impl Debug for ProjectionKind
sourceimpl PartialEq<ProjectionKind> for ProjectionKind
impl PartialEq<ProjectionKind> for ProjectionKind
sourcefn eq(&self, other: &ProjectionKind) -> bool
fn eq(&self, other: &ProjectionKind) -> bool
impl Eq for ProjectionKind
impl StructuralEq for ProjectionKind
impl StructuralPartialEq for ProjectionKind
Auto Trait Implementations
impl RefUnwindSafe for ProjectionKind
impl Send for ProjectionKind
impl Sync for ProjectionKind
impl Unpin for ProjectionKind
impl UnwindSafe for ProjectionKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.