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