Struct swc_ecma_ast::Module
source · [−]pub struct Module {
pub span: Span,
pub body: Vec<ModuleItem>,
pub shebang: Option<Atom>,
}
Fields
span: Span
body: Vec<ModuleItem>
shebang: Option<Atom>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Module
impl<'de> Deserialize<'de> for Module
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 Module
impl EqIgnoreSpan for Module
fn eq_ignore_span(&self, other: &Self) -> bool
impl Eq for Module
impl StructuralEq for Module
impl StructuralPartialEq for Module
Auto Trait Implementations
impl RefUnwindSafe for Module
impl Send for Module
impl Sync for Module
impl Unpin for Module
impl UnwindSafe for Module
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