Enum swc_ecma_ast::TsThisTypeOrIdent [−][src]
pub enum TsThisTypeOrIdent {
TsThisType(TsThisType),
Ident(Ident),
}
Variants
TsThisType(TsThisType)
Tuple Fields of TsThisType
0: TsThisType
Ident(Ident)
Tuple Fields of Ident
0: Ident
Implementations
Returns true
if self
is of variant TsThisType
.
Unwraps the value, yielding the content of TsThisType
.
Panics
Panics if the value is not TsThisType
, with a panic message including the content of self
.
Returns Some
if self
is of variant TsThisType
, 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 TsThisTypeOrIdent
impl Send for TsThisTypeOrIdent
impl Sync for TsThisTypeOrIdent
impl Unpin for TsThisTypeOrIdent
impl UnwindSafe for TsThisTypeOrIdent
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