Enum swc_ecma_visit::fields::CalleeField
source · pub enum CalleeField {
Super,
Import,
Expr,
}
Expand description
This enum represents fields of CalleeField
Variants§
Implementations§
Trait Implementations§
source§impl Clone for CalleeField
impl Clone for CalleeField
source§fn clone(&self) -> CalleeField
fn clone(&self) -> CalleeField
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 CalleeField
impl Debug for CalleeField
source§impl<'de> Deserialize<'de> for CalleeField
impl<'de> Deserialize<'de> for CalleeField
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for CalleeField
impl Hash for CalleeField
source§impl Ord for CalleeField
impl Ord for CalleeField
source§fn cmp(&self, other: &CalleeField) -> Ordering
fn cmp(&self, other: &CalleeField) -> 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 CalleeField
impl PartialEq for CalleeField
source§fn eq(&self, other: &CalleeField) -> bool
fn eq(&self, other: &CalleeField) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CalleeField
impl PartialOrd for CalleeField
source§fn partial_cmp(&self, other: &CalleeField) -> Option<Ordering>
fn partial_cmp(&self, other: &CalleeField) -> Option<Ordering>
1.0.0 · source§fn 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 moresource§impl Serialize for CalleeField
impl Serialize for CalleeField
impl Copy for CalleeField
impl Eq for CalleeField
impl StructuralEq for CalleeField
impl StructuralPartialEq for CalleeField
Auto Trait Implementations§
impl RefUnwindSafe for CalleeField
impl Send for CalleeField
impl Sync for CalleeField
impl Unpin for CalleeField
impl UnwindSafe for CalleeField
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