Struct swc_ecma_ast::TsTypeParamDecl
source · [−]pub struct TsTypeParamDecl {
pub span: Span,
pub params: Vec<TsTypeParam>,
}
Fields
span: Span
params: Vec<TsTypeParam>
Trait Implementations
sourceimpl Clone for TsTypeParamDecl
impl Clone for TsTypeParamDecl
sourcefn clone(&self) -> TsTypeParamDecl
fn clone(&self) -> TsTypeParamDecl
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 TsTypeParamDecl
impl Debug for TsTypeParamDecl
sourceimpl<'de> Deserialize<'de> for TsTypeParamDecl
impl<'de> Deserialize<'de> for TsTypeParamDecl
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 TsTypeParamDecl
impl EqIgnoreSpan for TsTypeParamDecl
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl Hash for TsTypeParamDecl
impl Hash for TsTypeParamDecl
sourceimpl PartialEq<TsTypeParamDecl> for TsTypeParamDecl
impl PartialEq<TsTypeParamDecl> for TsTypeParamDecl
sourcefn eq(&self, other: &TsTypeParamDecl) -> bool
fn eq(&self, other: &TsTypeParamDecl) -> bool
sourceimpl Serialize for TsTypeParamDecl
impl Serialize for TsTypeParamDecl
sourceimpl Spanned for TsTypeParamDecl
impl Spanned for TsTypeParamDecl
impl Eq for TsTypeParamDecl
impl StructuralEq for TsTypeParamDecl
impl StructuralPartialEq for TsTypeParamDecl
Auto Trait Implementations
impl RefUnwindSafe for TsTypeParamDecl
impl Send for TsTypeParamDecl
impl Sync for TsTypeParamDecl
impl Unpin for TsTypeParamDecl
impl UnwindSafe for TsTypeParamDecl
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