Struct swc_ecma_ast::Param
source · [−]Fields
span: Span
decorators: Vec<Decorator>
pat: Pat
Trait Implementations
sourceimpl Archive for Param
impl Archive for Param
sourceimpl<'de> Deserialize<'de> for Param
impl<'de> Deserialize<'de> for Param
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<__D: Fallible + ?Sized> Deserialize<Param, __D> for Archived<Param>where
__D: SharedDeserializeRegistry,
impl<__D: Fallible + ?Sized> Deserialize<Param, __D> for Archived<Param>where
__D: SharedDeserializeRegistry,
sourceimpl EqIgnoreSpan for Param
impl EqIgnoreSpan for Param
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<(Atom<JsWordStaticSet>, SyntaxContext)> for Param
impl From<(Atom<JsWordStaticSet>, SyntaxContext)> for Param
sourceimpl From<BindingIdent> for Param
impl From<BindingIdent> for Param
sourcefn from(src: BindingIdent) -> Param
fn from(src: BindingIdent) -> Param
Converts to this type from the input type.
sourceimpl From<Param> for ParamOrTsParamProp
impl From<Param> for ParamOrTsParamProp
sourceimpl<__S: Fallible + ?Sized> Serialize<__S> for Paramwhere
__S: Serializer + ScratchSpace + SharedSerializeRegistry,
impl<__S: Fallible + ?Sized> Serialize<__S> for Paramwhere
__S: Serializer + ScratchSpace + SharedSerializeRegistry,
impl Eq for Param
impl StructuralEq for Param
impl StructuralPartialEq for Param
Auto Trait Implementations
impl RefUnwindSafe for Param
impl Send for Param
impl Sync for Param
impl Unpin for Param
impl UnwindSafe for Param
Blanket Implementations
sourceimpl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
sourcefn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
sourceimpl<T> ArchiveUnsized for Twhere
T: Archive,
impl<T> ArchiveUnsized for Twhere
T: Archive,
type Archived = <T as Archive>::Archived
type Archived = <T as Archive>::Archived
The archived counterpart of this type. Unlike
Archive
, it may be unsized. Read moretype MetadataResolver = ()
type MetadataResolver = ()
The resolver for the metadata of this type. Read more
sourceunsafe fn resolve_metadata(
&self,
usize,
<T as ArchiveUnsized>::MetadataResolver,
*mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata
)
unsafe fn resolve_metadata(
&self,
usize,
<T as ArchiveUnsized>::MetadataResolver,
*mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata
)
Creates the archived version of the metadata for this value at the given position and writes
it to the given output. Read more
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