pub struct Hash(/* private fields */);Expand description
Represents a token with Kind::Hash. Use T![Hash] to refer to this.
Implementations§
Trait Implementations§
impl Copy for Hash
impl Eq for Hash
Source§impl Ord for Hash
impl Ord for Hash
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 Hash
impl PartialOrd for Hash
Source§impl SemanticEq for Hash
impl SemanticEq for Hash
Source§fn semantic_eq(&self, s: &Self) -> bool
fn semantic_eq(&self, s: &Self) -> bool
Returns
true if self and other are semantically equal.impl StructuralPartialEq for Hash
Source§impl ToCursors for Hash
impl ToCursors for Hash
fn to_cursors(&self, s: &mut impl CursorSink)
Auto Trait Implementations§
impl Freeze for Hash
impl RefUnwindSafe for Hash
impl Send for Hash
impl Sync for Hash
impl Unpin for Hash
impl UnsafeUnpin for Hash
impl UnwindSafe for Hash
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