Enum swc_estree_ast::Immutable
source · pub enum Immutable {
Literal(Literal),
JSXAttribute(JSXAttribute),
JSXClosingElement(JSXClosingElement),
JSXElement(JSXElement),
JSXExpressionContainer(JSXExpressionContainer),
JSXSpreadChild(JSXSpreadChild),
JSXOpeningElement(JSXOpeningElement),
JSXText(JSXText),
JSXFragment(JSXFragment),
JSXOpeningFragment(JSXOpeningFragment),
JSXClosingFragment(JSXClosingFragment),
}
Variants§
Literal(Literal)
JSXAttribute(JSXAttribute)
JSXClosingElement(JSXClosingElement)
JSXElement(JSXElement)
JSXExpressionContainer(JSXExpressionContainer)
JSXSpreadChild(JSXSpreadChild)
JSXOpeningElement(JSXOpeningElement)
JSXText(JSXText)
JSXFragment(JSXFragment)
JSXOpeningFragment(JSXOpeningFragment)
JSXClosingFragment(JSXClosingFragment)
Trait Implementations§
source§impl<'de> Deserialize<'de> for Immutable
impl<'de> Deserialize<'de> for Immutable
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 PartialEq for Immutable
impl PartialEq for Immutable
impl StructuralPartialEq for Immutable
Auto Trait Implementations§
impl RefUnwindSafe for Immutable
impl Send for Immutable
impl Sync for Immutable
impl Unpin for Immutable
impl UnwindSafe for Immutable
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