Enum swc::config::JscTarget [−][src]
pub enum JscTarget { Es3, Es5, Es2015, Es2016, Es2017, Es2018, Es2019, Es2020, }
Variants
Implementations
Trait Implementations
impl<'de> Deserialize<'de> for EsVersion
[src]
impl<'de> Deserialize<'de> for EsVersion
[src]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<EsVersion, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<EsVersion, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl PartialOrd<EsVersion> for EsVersion
[src]
impl PartialOrd<EsVersion> for EsVersion
[src]pub fn partial_cmp(&self, other: &EsVersion) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl Serialize for EsVersion
[src]
impl Serialize for EsVersion
[src]pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl StructuralEq for EsVersion
[src]
impl StructuralEq for EsVersion
[src]impl StructuralPartialEq for EsVersion
[src]
impl StructuralPartialEq for EsVersion
[src]Auto Trait Implementations
impl RefUnwindSafe for EsVersion
impl RefUnwindSafe for EsVersion
impl UnwindSafe for EsVersion
impl UnwindSafe for EsVersion
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self