pub enum CirruLexItem {
Open,
Close,
Indent(u8),
Str(String),
}Expand description
internal control item during lexing
Variants§
Trait Implementations§
Source§impl Clone for CirruLexItem
impl Clone for CirruLexItem
Source§fn clone(&self) -> CirruLexItem
fn clone(&self) -> CirruLexItem
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 CirruLexItem
impl Debug for CirruLexItem
Source§impl From<&str> for CirruLexItem
impl From<&str> for CirruLexItem
Source§impl From<u8> for CirruLexItem
impl From<u8> for CirruLexItem
Source§impl Ord for CirruLexItem
impl Ord for CirruLexItem
Source§fn cmp(&self, other: &CirruLexItem) -> Ordering
fn cmp(&self, other: &CirruLexItem) -> 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 PartialEq for CirruLexItem
impl PartialEq for CirruLexItem
Source§impl PartialOrd for CirruLexItem
impl PartialOrd for CirruLexItem
impl Eq for CirruLexItem
impl StructuralPartialEq for CirruLexItem
Auto Trait Implementations§
impl Freeze for CirruLexItem
impl RefUnwindSafe for CirruLexItem
impl Send for CirruLexItem
impl Sync for CirruLexItem
impl Unpin for CirruLexItem
impl UnwindSafe for CirruLexItem
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