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