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 StructuralEq for FieldKind
impl StructuralPartialEq for FieldKind
Auto Trait Implementations§
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.