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