pub enum LeaderType {
Dotted(Ident),
Solid(Ident),
Space(Ident),
String(String),
}Variants§
Trait Implementations§
Source§impl Clone for LeaderType
impl Clone for LeaderType
Source§fn clone(&self) -> LeaderType
fn clone(&self) -> LeaderType
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 LeaderType
impl Debug for LeaderType
Source§impl From<LeaderType> for Cursor
impl From<LeaderType> for Cursor
Source§fn from(value: LeaderType) -> Cursor
fn from(value: LeaderType) -> Cursor
Converts to this type from the input type.
Source§impl From<LeaderType> for Token
impl From<LeaderType> for Token
Source§fn from(value: LeaderType) -> Token
fn from(value: LeaderType) -> Token
Converts to this type from the input type.
Source§impl Hash for LeaderType
impl Hash for LeaderType
Source§impl Ord for LeaderType
impl Ord for LeaderType
Source§fn cmp(&self, other: &LeaderType) -> Ordering
fn cmp(&self, other: &LeaderType) -> 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 LeaderType
impl<'a> Parse<'a> for LeaderType
Source§impl PartialEq for LeaderType
impl PartialEq for LeaderType
Source§impl PartialOrd for LeaderType
impl PartialOrd for LeaderType
Source§impl<'a> Peek<'a> for LeaderType
impl<'a> Peek<'a> for LeaderType
Source§impl SemanticEq for LeaderType
impl SemanticEq for LeaderType
Source§fn semantic_eq(&self, other: &Self) -> bool
fn semantic_eq(&self, other: &Self) -> bool
Returns
true if self and other are semantically equal.Source§impl ToCursors for LeaderType
impl ToCursors for LeaderType
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for LeaderType
impl Eq for LeaderType
impl StructuralPartialEq for LeaderType
Auto Trait Implementations§
impl Freeze for LeaderType
impl RefUnwindSafe for LeaderType
impl Send for LeaderType
impl Sync for LeaderType
impl Unpin for LeaderType
impl UnwindSafe for LeaderType
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