pub struct Whitespace(/* private fields */);
Expand description
Represents a token with Kind::Whitespace. Use T![Whitespace] to refer to this.
Trait Implementations§
Source§impl Clone for Whitespace
impl Clone for Whitespace
Source§fn clone(&self) -> Whitespace
fn clone(&self) -> Whitespace
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 Whitespace
impl Debug for Whitespace
Source§impl Default for Whitespace
impl Default for Whitespace
Source§fn default() -> Whitespace
fn default() -> Whitespace
Returns the “default value” for a type. Read more
Source§impl From<Whitespace> for Cursor
impl From<Whitespace> for Cursor
Source§fn from(value: Whitespace) -> Self
fn from(value: Whitespace) -> Self
Converts to this type from the input type.
Source§impl From<Whitespace> for Token
impl From<Whitespace> for Token
Source§fn from(value: Whitespace) -> Self
fn from(value: Whitespace) -> Self
Converts to this type from the input type.
Source§impl Hash for Whitespace
impl Hash for Whitespace
Source§impl Ord for Whitespace
impl Ord for Whitespace
Source§fn cmp(&self, other: &Whitespace) -> Ordering
fn cmp(&self, other: &Whitespace) -> Ordering
1.21.0 · 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<'a> Parse<'a> for Whitespace
impl<'a> Parse<'a> for Whitespace
Source§impl PartialEq for Whitespace
impl PartialEq for Whitespace
Source§impl PartialOrd for Whitespace
impl PartialOrd for Whitespace
Source§impl<'a> Peek<'a> for Whitespace
impl<'a> Peek<'a> for Whitespace
Source§impl ToCursors for Whitespace
impl ToCursors for Whitespace
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for Whitespace
impl Eq for Whitespace
impl StructuralPartialEq for Whitespace
Auto Trait Implementations§
impl Freeze for Whitespace
impl RefUnwindSafe for Whitespace
impl Send for Whitespace
impl Sync for Whitespace
impl Unpin for Whitespace
impl UnwindSafe for Whitespace
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