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