Enum minifier::js::ReservedChar
source · pub enum ReservedChar {
Show 29 variants
Comma,
OpenParenthese,
CloseParenthese,
OpenCurlyBrace,
CloseCurlyBrace,
OpenBracket,
CloseBracket,
Colon,
SemiColon,
Dot,
Quote,
DoubleQuote,
ExclamationMark,
QuestionMark,
Slash,
Modulo,
Star,
Minus,
Plus,
EqualSign,
Backslash,
Space,
Tab,
Backline,
LessThan,
SuperiorThan,
Pipe,
Ampersand,
BackTick,
}
Variants§
Comma
OpenParenthese
CloseParenthese
OpenCurlyBrace
CloseCurlyBrace
OpenBracket
CloseBracket
Colon
SemiColon
Dot
Quote
DoubleQuote
ExclamationMark
QuestionMark
Slash
Modulo
Star
Minus
Plus
EqualSign
Backslash
Space
Tab
Backline
LessThan
SuperiorThan
Pipe
Ampersand
BackTick
Implementations§
source§impl ReservedChar
impl ReservedChar
pub fn is_white_character(&self) -> bool
Trait Implementations§
source§impl Clone for ReservedChar
impl Clone for ReservedChar
source§fn clone(&self) -> ReservedChar
fn clone(&self) -> ReservedChar
Returns a copy 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 ReservedChar
impl Debug for ReservedChar
source§impl Display for ReservedChar
impl Display for ReservedChar
source§impl Hash for ReservedChar
impl Hash for ReservedChar
source§impl Ord for ReservedChar
impl Ord for ReservedChar
source§fn cmp(&self, other: &ReservedChar) -> Ordering
fn cmp(&self, other: &ReservedChar) -> 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 ReservedChar
impl PartialEq for ReservedChar
source§fn eq(&self, other: &ReservedChar) -> bool
fn eq(&self, other: &ReservedChar) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ReservedChar
impl PartialOrd for ReservedChar
source§fn partial_cmp(&self, other: &ReservedChar) -> Option<Ordering>
fn partial_cmp(&self, other: &ReservedChar) -> Option<Ordering>
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 moresource§impl TryFrom<ReservedChar> for Condition
impl TryFrom<ReservedChar> for Condition
source§impl TryFrom<ReservedChar> for Operation
impl TryFrom<ReservedChar> for Operation
source§impl TryFrom<char> for ReservedChar
impl TryFrom<char> for ReservedChar
impl Copy for ReservedChar
impl Eq for ReservedChar
impl StructuralEq for ReservedChar
impl StructuralPartialEq for ReservedChar
Auto Trait Implementations§
impl RefUnwindSafe for ReservedChar
impl Send for ReservedChar
impl Sync for ReservedChar
impl Unpin for ReservedChar
impl UnwindSafe for ReservedChar
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