pub enum IndentToken {
Indent,
Dedent,
}Variants§
Trait Implementations§
Source§impl Clone for IndentToken
impl Clone for IndentToken
Source§fn clone(&self) -> IndentToken
fn clone(&self) -> IndentToken
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IndentToken
Source§impl Debug for IndentToken
impl Debug for IndentToken
Source§impl PartialEq for IndentToken
impl PartialEq for IndentToken
Source§fn eq(&self, other: &IndentToken) -> bool
fn eq(&self, other: &IndentToken) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IndentToken
Auto Trait Implementations§
impl Freeze for IndentToken
impl RefUnwindSafe for IndentToken
impl Send for IndentToken
impl Sync for IndentToken
impl Unpin for IndentToken
impl UnsafeUnpin for IndentToken
impl UnwindSafe for IndentToken
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