Struct swc_ecma_ast::TsIndexSignature
source · [−]pub struct TsIndexSignature {
pub params: Vec<TsFnParam>,
pub type_ann: Option<Box<TsTypeAnn>>,
pub readonly: bool,
pub is_static: bool,
pub span: Span,
}
Fields
params: Vec<TsFnParam>
type_ann: Option<Box<TsTypeAnn>>
readonly: bool
is_static: bool
span: Span
Trait Implementations
sourceimpl Clone for TsIndexSignature
impl Clone for TsIndexSignature
sourcefn clone(&self) -> TsIndexSignature
fn clone(&self) -> TsIndexSignature
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 TsIndexSignature
impl Debug for TsIndexSignature
sourceimpl<'de> Deserialize<'de> for TsIndexSignature
impl<'de> Deserialize<'de> for TsIndexSignature
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 TsIndexSignature
impl EqIgnoreSpan for TsIndexSignature
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<TsIndexSignature> for ClassMember
impl From<TsIndexSignature> for ClassMember
sourcefn from(v: TsIndexSignature) -> Self
fn from(v: TsIndexSignature) -> Self
Converts to this type from the input type.
sourceimpl From<TsIndexSignature> for TsTypeElement
impl From<TsIndexSignature> for TsTypeElement
sourcefn from(v: TsIndexSignature) -> Self
fn from(v: TsIndexSignature) -> Self
Converts to this type from the input type.
sourceimpl Hash for TsIndexSignature
impl Hash for TsIndexSignature
sourceimpl PartialEq<TsIndexSignature> for TsIndexSignature
impl PartialEq<TsIndexSignature> for TsIndexSignature
sourcefn eq(&self, other: &TsIndexSignature) -> bool
fn eq(&self, other: &TsIndexSignature) -> bool
sourceimpl Serialize for TsIndexSignature
impl Serialize for TsIndexSignature
sourceimpl Spanned for TsIndexSignature
impl Spanned for TsIndexSignature
impl Eq for TsIndexSignature
impl StructuralEq for TsIndexSignature
impl StructuralPartialEq for TsIndexSignature
Auto Trait Implementations
impl RefUnwindSafe for TsIndexSignature
impl Send for TsIndexSignature
impl Sync for TsIndexSignature
impl Unpin for TsIndexSignature
impl UnwindSafe for TsIndexSignature
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