pub struct Eq(/* private fields */);Expand description
Represents a token with Kind::Delim that has the char =. Use T![=] to
refer to this.
Implementations§
Source§impl Eq
impl Eq
pub fn associated_whitespace(&self) -> AssociatedWhitespaceRules
pub fn with_associated_whitespace( &self, rules: AssociatedWhitespaceRules, ) -> Self
Trait Implementations§
impl Copy for Eq
impl Eq for Eq
Source§impl Ord for Eq
impl Ord for Eq
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Eq
impl PartialOrd for Eq
Source§impl SemanticEq for Eq
impl SemanticEq for Eq
Source§fn semantic_eq(&self, _: &Self) -> bool
fn semantic_eq(&self, _: &Self) -> bool
Returns
true if self and other are semantically equal.impl StructuralPartialEq for Eq
Source§impl ToCursors for Eq
impl ToCursors for Eq
fn to_cursors(&self, s: &mut impl CursorSink)
Auto Trait Implementations§
impl Freeze for Eq
impl RefUnwindSafe for Eq
impl Send for Eq
impl Sync for Eq
impl Unpin for Eq
impl UnsafeUnpin for Eq
impl UnwindSafe for Eq
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