pub struct TsClass {
pub name: String,
pub extends: Option<String>,
pub implements: Vec<String>,
pub fields: Vec<TsClassField>,
pub methods: Vec<TsClassMethod>,
pub type_params: Vec<String>,
pub is_exported: bool,
}Expand description
A TypeScript class declaration.
Fields§
§name: String§extends: Option<String>§implements: Vec<String>§fields: Vec<TsClassField>§methods: Vec<TsClassMethod>§type_params: Vec<String>§is_exported: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for TsClass
impl RefUnwindSafe for TsClass
impl Send for TsClass
impl Sync for TsClass
impl Unpin for TsClass
impl UnsafeUnpin for TsClass
impl UnwindSafe for TsClass
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more