Struct swc_ecma_ast::TplElement
source · [−]Fields
span: Span
tail: bool
cooked: Option<Atom>
This value is never used by swc_ecma_codegen
, and this fact is
considered as a public API.
If you are going to use codegen right after creating a TplElement, you don’t have to worry about this value.
raw: Atom
Trait Implementations
sourceimpl Clone for TplElement
impl Clone for TplElement
sourcefn clone(&self) -> TplElement
fn clone(&self) -> TplElement
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TplElement
impl Debug for TplElement
sourceimpl<'de> Deserialize<'de> for TplElement
impl<'de> Deserialize<'de> for TplElement
sourcefn 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
sourceimpl EqIgnoreSpan for TplElement
impl EqIgnoreSpan for TplElement
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl Hash for TplElement
impl Hash for TplElement
sourceimpl PartialEq<TplElement> for TplElement
impl PartialEq<TplElement> for TplElement
sourcefn eq(&self, other: &TplElement) -> bool
fn eq(&self, other: &TplElement) -> bool
sourceimpl Serialize for TplElement
impl Serialize for TplElement
sourceimpl Spanned for TplElement
impl Spanned for TplElement
sourceimpl Take for TplElement
impl Take for TplElement
impl Eq for TplElement
impl StructuralEq for TplElement
impl StructuralPartialEq for TplElement
Auto Trait Implementations
impl RefUnwindSafe for TplElement
impl Send for TplElement
impl Sync for TplElement
impl Unpin for TplElement
impl UnwindSafe for TplElement
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more