Struct swc_ecma_ast::StaticBlock
source · [−]Fields
span: Span
body: BlockStmt
Trait Implementations
sourceimpl Clone for StaticBlock
impl Clone for StaticBlock
sourcefn clone(&self) -> StaticBlock
fn clone(&self) -> StaticBlock
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 StaticBlock
impl Debug for StaticBlock
sourceimpl<'de> Deserialize<'de> for StaticBlock
impl<'de> Deserialize<'de> for StaticBlock
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 StaticBlock
impl EqIgnoreSpan for StaticBlock
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<StaticBlock> for ClassMember
impl From<StaticBlock> for ClassMember
sourcefn from(v: StaticBlock) -> Self
fn from(v: StaticBlock) -> Self
Converts to this type from the input type.
sourceimpl Hash for StaticBlock
impl Hash for StaticBlock
sourceimpl PartialEq<StaticBlock> for StaticBlock
impl PartialEq<StaticBlock> for StaticBlock
sourcefn eq(&self, other: &StaticBlock) -> bool
fn eq(&self, other: &StaticBlock) -> bool
sourceimpl Serialize for StaticBlock
impl Serialize for StaticBlock
sourceimpl Spanned for StaticBlock
impl Spanned for StaticBlock
sourceimpl Take for StaticBlock
impl Take for StaticBlock
impl Eq for StaticBlock
impl StructuralEq for StaticBlock
impl StructuralPartialEq for StaticBlock
Auto Trait Implementations
impl RefUnwindSafe for StaticBlock
impl Send for StaticBlock
impl Sync for StaticBlock
impl Unpin for StaticBlock
impl UnwindSafe for StaticBlock
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