[−][src]Enum swc_ecma_ast::UnaryOp
Variants
-
+
!
~
typeof
void
delete
Implementations
impl UnaryOp
[src]
Trait Implementations
impl Clone for UnaryOp
[src]
impl Copy for UnaryOp
[src]
impl Debug for UnaryOp
[src]
impl<'de> Deserialize<'de> for UnaryOp
[src]
pub fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl Display for UnaryOp
[src]
impl Eq for UnaryOp
[src]
impl EqIgnoreSpan for UnaryOp
[src]
pub fn eq_ignore_span(&self, other: &Self) -> bool
[src]
impl FromStr for UnaryOp
[src]
type Err = ()
The associated error which can be returned from parsing.
pub fn from_str(s: &str) -> Result<Self, ()>
[src]
impl Hash for UnaryOp
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for UnaryOp
[src]
pub fn cmp(&self, other: &UnaryOp) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<UnaryOp> for UnaryOp
[src]
pub fn eq(&self, other: &UnaryOp) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<UnaryOp> for UnaryOp
[src]
pub fn partial_cmp(&self, other: &UnaryOp) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for UnaryOp
[src]
impl StructuralEq for UnaryOp
[src]
impl StructuralPartialEq for UnaryOp
[src]
Auto Trait Implementations
impl RefUnwindSafe for UnaryOp
[src]
impl Send for UnaryOp
[src]
impl Sync for UnaryOp
[src]
impl Unpin for UnaryOp
[src]
impl UnwindSafe for UnaryOp
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Send for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Sync for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,