Enum ra_ap_syntax::ast::StructKind
source · [−]pub enum StructKind {
Record(RecordFieldList),
Tuple(TupleFieldList),
Unit,
}Variants
Record(RecordFieldList)
Tuple(TupleFieldList)
Unit
Trait Implementations
sourceimpl Clone for StructKind
impl Clone for StructKind
sourcefn clone(&self) -> StructKind
fn clone(&self) -> StructKind
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 more
sourceimpl Debug for StructKind
impl Debug for StructKind
sourceimpl PartialEq<StructKind> for StructKind
impl PartialEq<StructKind> for StructKind
sourcefn 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 ==. Read more
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
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.