pub struct Hash(/* private fields */);Expand description
Represents a token with Kind::Delim that has the char #. Use T![#] to
refer to this. Not to be conused with T![Hash] which represents a token with
Kind::Hash.
Implementations§
Source§impl Hash
impl Hash
pub fn associated_whitespace(&self) -> AssociatedWhitespaceRules
pub fn with_associated_whitespace( &self, rules: AssociatedWhitespaceRules, ) -> Self
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, _: &Self) -> bool
fn semantic_eq(&self, _: &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