[][src]Struct swc_ecma_ast::PrivateProp

pub struct PrivateProp {
    pub span: Span,
    pub key: PrivateName,
    pub value: Option<Box<Expr>>,
    pub type_ann: Option<TsTypeAnn>,
    pub is_static: bool,
    pub decorators: Vec<Decorator>,
    pub computed: bool,
    pub accessibility: Option<Accessibility>,
    pub is_abstract: bool,
    pub is_optional: bool,
    pub readonly: bool,
    pub definite: bool,


span: Spankey: PrivateNamevalue: Option<Box<Expr>>type_ann: Option<TsTypeAnn>is_static: booldecorators: Vec<Decorator>computed: boolaccessibility: Option<Accessibility>

Typescript extension.

is_abstract: bool

Typescript extension.

is_optional: boolreadonly: booldefinite: bool

Trait Implementations

impl AstNode for PrivateProp[src]

impl Clone for PrivateProp[src]

impl Debug for PrivateProp[src]

impl<'de> Deserialize<'de> for PrivateProp[src]

impl From<PrivateProp> for ClassMember[src]

impl PartialEq<PrivateProp> for PrivateProp[src]

impl Serialize for PrivateProp[src]

impl Spanned for PrivateProp[src]

impl StructuralPartialEq for PrivateProp[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 

impl<T> Erased for T

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.