pub struct NegatedField(/* private fields */);Implementations§
Source§impl NegatedField
impl NegatedField
pub fn cast(node: SyntaxNode) -> Option<Self>
pub fn can_cast(kind: SyntaxKind) -> bool
pub fn as_cst(&self) -> &SyntaxNode
pub fn text_range(&self) -> TextRange
Source§impl NegatedField
impl NegatedField
pub fn name(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl Clone for NegatedField
impl Clone for NegatedField
Source§fn clone(&self) -> NegatedField
fn clone(&self) -> NegatedField
Returns a duplicate 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 NegatedField
impl Debug for NegatedField
Source§impl Hash for NegatedField
impl Hash for NegatedField
Source§impl PartialEq for NegatedField
impl PartialEq for NegatedField
impl Eq for NegatedField
impl StructuralPartialEq for NegatedField
Auto Trait Implementations§
impl Freeze for NegatedField
impl !RefUnwindSafe for NegatedField
impl !Send for NegatedField
impl !Sync for NegatedField
impl Unpin for NegatedField
impl !UnwindSafe for NegatedField
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.