Enum swc_ecma_ast::ParamOrTsParamProp [−][src]
pub enum ParamOrTsParamProp {
TsParamProp(TsParamProp),
Param(Param),
}
Variants
TsParamProp(TsParamProp)
Tuple Fields
0: TsParamProp
Param(Param)
Tuple Fields
0: Param
Implementations
Returns true
if self
is of variant TsParamProp
.
Unwraps the value, yielding the content of TsParamProp
.
Panics
Panics if the value is not TsParamProp
, with a panic message including the content of self
.
Returns Some
if self
is of variant TsParamProp
, and None
otherwise.
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ParamOrTsParamProp
impl Send for ParamOrTsParamProp
impl Sync for ParamOrTsParamProp
impl Unpin for ParamOrTsParamProp
impl UnwindSafe for ParamOrTsParamProp
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more