Enum swc_ecma_ast::MemberPropResolver
source · pub enum MemberPropResolver {
Ident(Resolver<Ident>),
PrivateName(Resolver<PrivateName>),
Computed(Resolver<ComputedPropName>),
}
Expand description
The resolver for an archived MemberProp
Variants§
Ident(Resolver<Ident>)
The resolver for MemberProp::Ident
Tuple Fields
§
0: Resolver<Ident>
The resolver for MemberProp::Ident::0
PrivateName(Resolver<PrivateName>)
The resolver for MemberProp::PrivateName
Tuple Fields
§
0: Resolver<PrivateName>
The resolver for MemberProp::PrivateName::0
Computed(Resolver<ComputedPropName>)
The resolver for MemberProp::Computed
Tuple Fields
§
0: Resolver<ComputedPropName>
The resolver for MemberProp::Computed::0
Auto Trait Implementations§
impl Freeze for MemberPropResolver
impl RefUnwindSafe for MemberPropResolver
impl Send for MemberPropResolver
impl Sync for MemberPropResolver
impl Unpin for MemberPropResolver
impl UnwindSafe for MemberPropResolver
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn 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.
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.