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
sourceimpl ReservedChar
impl ReservedChar
pub fn is_white_character(&self) -> bool
Trait Implementations
sourceimpl Clone for ReservedChar
impl Clone for ReservedChar
sourcefn clone(&self) -> ReservedChar
fn clone(&self) -> ReservedChar
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ReservedChar
impl Debug for ReservedChar
sourceimpl Display for ReservedChar
impl Display for ReservedChar
sourceimpl Hash for ReservedChar
impl Hash for ReservedChar
sourceimpl Ord for ReservedChar
impl Ord for ReservedChar
sourceimpl PartialEq<ReservedChar> for ReservedChar
impl PartialEq<ReservedChar> for ReservedChar
sourceimpl PartialOrd<ReservedChar> for ReservedChar
impl PartialOrd<ReservedChar> for ReservedChar
sourcefn partial_cmp(&self, other: &ReservedChar) -> Option<Ordering>
fn partial_cmp(&self, other: &ReservedChar) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
sourceimpl TryFrom<ReservedChar> for Condition
impl TryFrom<ReservedChar> for Condition
sourceimpl TryFrom<ReservedChar> for Operation
impl TryFrom<ReservedChar> for Operation
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more