Enum html_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 moresourceimpl 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
sourcefn cmp(&self, other: &ReservedChar) -> Ordering
fn cmp(&self, other: &ReservedChar) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<ReservedChar> for ReservedChar
impl PartialEq<ReservedChar> for ReservedChar
sourcefn eq(&self, other: &ReservedChar) -> bool
fn eq(&self, other: &ReservedChar) -> bool
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>
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 moresourceimpl 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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