Struct swc_ecma_ast::TsFnType
source · [−]pub struct TsFnType {
pub span: Span,
pub params: Vec<TsFnParam>,
pub type_params: Option<Box<TsTypeParamDecl>>,
pub type_ann: Box<TsTypeAnn>,
}
Fields
span: Span
params: Vec<TsFnParam>
type_params: Option<Box<TsTypeParamDecl>>
type_ann: Box<TsTypeAnn>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for TsFnType
impl<'de> Deserialize<'de> for TsFnType
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 TsFnType
impl EqIgnoreSpan for TsFnType
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<TsFnType> for TsFnOrConstructorType
impl From<TsFnType> for TsFnOrConstructorType
impl Eq for TsFnType
impl StructuralEq for TsFnType
impl StructuralPartialEq for TsFnType
Auto Trait Implementations
impl RefUnwindSafe for TsFnType
impl Send for TsFnType
impl Sync for TsFnType
impl Unpin for TsFnType
impl UnwindSafe for TsFnType
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