Struct swc_ecma_ast::TsTplLitType
source · [−]pub struct TsTplLitType {
pub span: Span,
pub types: Vec<Box<TsType>>,
pub quasis: Vec<TplElement>,
}
Fields
span: Span
types: Vec<Box<TsType>>
quasis: Vec<TplElement>
Trait Implementations
sourceimpl Clone for TsTplLitType
impl Clone for TsTplLitType
sourcefn clone(&self) -> TsTplLitType
fn clone(&self) -> TsTplLitType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TsTplLitType
impl Debug for TsTplLitType
sourceimpl<'de> Deserialize<'de> for TsTplLitType
impl<'de> Deserialize<'de> for TsTplLitType
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 EqIgnoreSpan for TsTplLitType
impl EqIgnoreSpan for TsTplLitType
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<TsTplLitType> for TsLit
impl From<TsTplLitType> for TsLit
sourcefn from(v: TsTplLitType) -> Self
fn from(v: TsTplLitType) -> Self
Converts to this type from the input type.
sourceimpl Hash for TsTplLitType
impl Hash for TsTplLitType
sourceimpl PartialEq<TsTplLitType> for TsTplLitType
impl PartialEq<TsTplLitType> for TsTplLitType
sourcefn eq(&self, other: &TsTplLitType) -> bool
fn eq(&self, other: &TsTplLitType) -> bool
sourceimpl Serialize for TsTplLitType
impl Serialize for TsTplLitType
sourceimpl Spanned for TsTplLitType
impl Spanned for TsTplLitType
impl Eq for TsTplLitType
impl StructuralEq for TsTplLitType
impl StructuralPartialEq for TsTplLitType
Auto Trait Implementations
impl RefUnwindSafe for TsTplLitType
impl Send for TsTplLitType
impl Sync for TsTplLitType
impl Unpin for TsTplLitType
impl UnwindSafe for TsTplLitType
Blanket Implementations
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