pub enum PunctKind {
Show 18 variants
Semicolon,
Colon,
ForwardSlash,
Comma,
Star,
Add,
Sub,
LessThan,
GreaterThan,
Equals,
Dot,
Bang,
Percent,
Ampersand,
Caret,
Pipe,
Underscore,
Sharp,
}
Variants§
Semicolon
Colon
ForwardSlash
Comma
Star
Add
Sub
LessThan
GreaterThan
Equals
Dot
Bang
Percent
Ampersand
Caret
Pipe
Underscore
Sharp
Implementations§
Trait Implementations§
source§impl Ord for PunctKind
impl Ord for PunctKind
source§impl PartialEq<PunctKind> for PunctKind
impl PartialEq<PunctKind> for PunctKind
source§impl PartialOrd<PunctKind> for PunctKind
impl PartialOrd<PunctKind> for PunctKind
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for PunctKind
impl Eq for PunctKind
impl StructuralEq for PunctKind
impl StructuralPartialEq for PunctKind
Auto Trait Implementations§
impl RefUnwindSafe for PunctKind
impl Send for PunctKind
impl Sync for PunctKind
impl Unpin for PunctKind
impl UnwindSafe for PunctKind
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more