pub enum EcmaVersion {
ES5,
ES2015,
ES2016,
ES2017,
ES2018,
ES2019,
ES2020,
ES2021,
}
Variants§
Trait Implementations§
Source§impl Clone for EcmaVersion
impl Clone for EcmaVersion
Source§fn clone(&self) -> EcmaVersion
fn clone(&self) -> EcmaVersion
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 EcmaVersion
impl Debug for EcmaVersion
Source§impl Hash for EcmaVersion
impl Hash for EcmaVersion
Source§impl Ord for EcmaVersion
impl Ord for EcmaVersion
Source§fn cmp(&self, other: &EcmaVersion) -> Ordering
fn cmp(&self, other: &EcmaVersion) -> 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 EcmaVersion
impl PartialEq for EcmaVersion
Source§impl PartialOrd for EcmaVersion
impl PartialOrd for EcmaVersion
impl Copy for EcmaVersion
impl Eq for EcmaVersion
impl StructuralPartialEq for EcmaVersion
Auto Trait Implementations§
impl Freeze for EcmaVersion
impl RefUnwindSafe for EcmaVersion
impl Send for EcmaVersion
impl Sync for EcmaVersion
impl Unpin for EcmaVersion
impl UnwindSafe for EcmaVersion
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