pub struct TsParam {
pub name: String,
pub ty: TsType,
pub optional: bool,
pub rest: bool,
}Expand description
A TypeScript function parameter.
Fields§
§name: String§ty: TsType§optional: bool§rest: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for TsParam
impl RefUnwindSafe for TsParam
impl Send for TsParam
impl Sync for TsParam
impl Unpin for TsParam
impl UnsafeUnpin for TsParam
impl UnwindSafe for TsParam
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