Enum swc_ecma_visit::fields::WhileStmtField
source · pub enum WhileStmtField {
Span,
Test,
Body,
}
Expand description
This enum represents fields of WhileStmtField
Variants§
Implementations§
Trait Implementations§
source§impl Clone for WhileStmtField
impl Clone for WhileStmtField
source§fn clone(&self) -> WhileStmtField
fn clone(&self) -> WhileStmtField
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 WhileStmtField
impl Debug for WhileStmtField
source§impl<'de> Deserialize<'de> for WhileStmtField
impl<'de> Deserialize<'de> for WhileStmtField
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 WhileStmtField
impl Hash for WhileStmtField
source§impl Ord for WhileStmtField
impl Ord for WhileStmtField
source§fn cmp(&self, other: &WhileStmtField) -> Ordering
fn cmp(&self, other: &WhileStmtField) -> 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 WhileStmtField
impl PartialEq for WhileStmtField
source§fn eq(&self, other: &WhileStmtField) -> bool
fn eq(&self, other: &WhileStmtField) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for WhileStmtField
impl PartialOrd for WhileStmtField
source§fn partial_cmp(&self, other: &WhileStmtField) -> Option<Ordering>
fn partial_cmp(&self, other: &WhileStmtField) -> 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 WhileStmtField
impl Serialize for WhileStmtField
impl Copy for WhileStmtField
impl Eq for WhileStmtField
impl StructuralPartialEq for WhileStmtField
Auto Trait Implementations§
impl Freeze for WhileStmtField
impl RefUnwindSafe for WhileStmtField
impl Send for WhileStmtField
impl Sync for WhileStmtField
impl Unpin for WhileStmtField
impl UnwindSafe for WhileStmtField
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