Enum ra_ap_syntax::ast::FieldKind
source · pub enum FieldKind {
Name(NameRef),
Index(SyntaxToken),
}
Variants§
Name(NameRef)
Index(SyntaxToken)
Trait Implementations§
source§impl PartialEq for FieldKind
impl PartialEq for FieldKind
impl Eq for FieldKind
impl StructuralPartialEq for FieldKind
Auto Trait Implementations§
impl Freeze for FieldKind
impl !RefUnwindSafe for FieldKind
impl !Send for FieldKind
impl !Sync for FieldKind
impl Unpin for FieldKind
impl !UnwindSafe for FieldKind
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<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.