Enum swc_ecma_ast::TsEntityName [−][src]
pub enum TsEntityName {
TsQualifiedName(Box<TsQualifiedName>),
Ident(Ident),
}
Variants
TsQualifiedName(Box<TsQualifiedName>)
Tuple Fields of TsQualifiedName
0: Box<TsQualifiedName>
Ident(Ident)
Tuple Fields of Ident
0: Ident
Implementations
Returns true
if self
is of variant TsQualifiedName
.
Unwraps the value, yielding the content of TsQualifiedName
.
Panics
Panics if the value is not TsQualifiedName
, with a panic message including the content of self
.
Returns Some
if self
is of variant TsQualifiedName
, and None
otherwise.
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Performs the conversion.
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 TsEntityName
impl Send for TsEntityName
impl Sync for TsEntityName
impl Unpin for TsEntityName
impl UnwindSafe for TsEntityName
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