pub struct NodeClientGenerator;Expand description
TypeScript/Node code generator.
Implementations§
Source§impl NodeClientGenerator
impl NodeClientGenerator
Sourcepub fn build_scaffold_options(
ir: &IrSpec,
config: &GeneratorConfig,
react: bool,
) -> Option<ScaffoldOptions>
pub fn build_scaffold_options( ir: &IrSpec, config: &GeneratorConfig, react: bool, ) -> Option<ScaffoldOptions>
Build scaffold options from a GeneratorConfig.
Trait Implementations§
Source§impl CodeGenerator for NodeClientGenerator
impl CodeGenerator for NodeClientGenerator
fn id(&self) -> GeneratorId
fn generate( &self, ir: &IrSpec, config: &GeneratorConfig, ) -> Result<Vec<GeneratedFile>, GeneratorError>
Auto Trait Implementations§
impl Freeze for NodeClientGenerator
impl RefUnwindSafe for NodeClientGenerator
impl Send for NodeClientGenerator
impl Sync for NodeClientGenerator
impl Unpin for NodeClientGenerator
impl UnsafeUnpin for NodeClientGenerator
impl UnwindSafe for NodeClientGenerator
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