[−]Enum dprint_swc_ecma_ast_view::BinaryOp
Variants
==
!=
===
!==
<
<=
>
>=
<<
>>
>>>
+
-
*
/
%
|
^
&
||
&&
in
instanceof
**
??
Implementations
impl BinaryOp
pub fn precedence(self) -> u8
impl BinaryOp
Trait Implementations
impl Clone for BinaryOp
pub fn clone(&self) -> BinaryOp
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for BinaryOp
impl Debug for BinaryOp
impl<'de> Deserialize<'de> for BinaryOp
pub fn deserialize<D>(
deserializer: D
) -> Result<BinaryOp, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
deserializer: D
) -> Result<BinaryOp, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
impl Display for BinaryOp
impl Eq for BinaryOp
impl EqIgnoreSpan for BinaryOp
pub fn eq_ignore_span(&self, other: &BinaryOp) -> bool
impl<V> FoldWith<V> for BinaryOp where
V: Fold,
V: Fold,
impl From<BinOpToken> for BinaryOp
impl FromStr for BinaryOp
type Err = ()
The associated error which can be returned from parsing.
pub fn from_str(s: &str) -> Result<BinaryOp, ()>
impl Hash for BinaryOp
pub fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
__H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for BinaryOp
pub fn cmp(&self, other: &BinaryOp) -> Ordering
#[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<BinaryOp> for BinaryOp
pub fn eq(&self, other: &BinaryOp) -> bool
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<BinaryOp> for BinaryOp
pub fn partial_cmp(&self, other: &BinaryOp) -> Option<Ordering>
#[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 BinaryOp
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
impl StructuralEq for BinaryOp
impl StructuralPartialEq for BinaryOp
impl<V> VisitAllWith<V> for BinaryOp where
V: VisitAll,
V: VisitAll,
pub fn visit_all_with(&self, _parent: &(dyn Node + 'static), v: &mut V)
pub fn visit_all_children_with(&self, _visitor: &mut V)
impl<V> VisitMutWith<V> for BinaryOp where
V: VisitMut,
V: VisitMut,
pub fn visit_mut_with(&mut self, v: &mut V)
pub fn visit_mut_children_with(&mut self, _visitor: &mut V)
impl<V> VisitWith<V> for BinaryOp where
V: Visit,
V: Visit,
pub fn visit_with(&self, _parent: &(dyn Node + 'static), v: &mut V)
pub fn visit_children_with(&self, _visitor: &mut V)
Auto Trait Implementations
impl RefUnwindSafe for BinaryOp
[src]
impl Send for BinaryOp
[src]
impl Sync for BinaryOp
[src]
impl Unpin for BinaryOp
[src]
impl UnwindSafe for BinaryOp
[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> Node for T where
T: Any + ?Sized,
T: Any + ?Sized,
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>,