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