pub struct TypeScriptGenerator;Expand description
Concrete generator implementation for the plain TypeScript target.
Implementations§
Trait Implementations§
Source§impl Clone for TypeScriptGenerator
impl Clone for TypeScriptGenerator
Source§fn clone(&self) -> TypeScriptGenerator
fn clone(&self) -> TypeScriptGenerator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TypeScriptGenerator
impl Debug for TypeScriptGenerator
Source§impl Default for TypeScriptGenerator
impl Default for TypeScriptGenerator
Source§fn default() -> TypeScriptGenerator
fn default() -> TypeScriptGenerator
Returns the “default value” for a type. Read more
Source§impl Generator for TypeScriptGenerator
impl Generator for TypeScriptGenerator
Source§fn generate(&self, ctx: &GenerationContext<'_>) -> GenerationResult
fn generate(&self, ctx: &GenerationContext<'_>) -> GenerationResult
Generate files in memory from the provided context.
impl Copy for TypeScriptGenerator
Auto Trait Implementations§
impl Freeze for TypeScriptGenerator
impl RefUnwindSafe for TypeScriptGenerator
impl Send for TypeScriptGenerator
impl Sync for TypeScriptGenerator
impl Unpin for TypeScriptGenerator
impl UnsafeUnpin for TypeScriptGenerator
impl UnwindSafe for TypeScriptGenerator
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