Optional
options: { Optional
constraints?: { enumKey?: EnumKeyConstraint<RustOptions> | undefined; enumValue?: EnumValueConstraint<RustOptions> | undefined; modelName?: ModelNameConstraint<...> | undefined; propertyKey?: PropertyKeyConstraint<...> | undefined; constant?: ConstantConstraint<...> | undefined; }Optional
defaultOptional
dependencyThis dependency manager type serves two functions.
This depends on context and where it's used.
Optional
indentation?: { type?: IndentationTypes | undefined; size?: number | undefined; }Optional
presets?: (undefined | ({ struct?: { field?: ((args: PresetArgs<StructRenderer, any, ConstrainedObjectModel> & StructFieldArgs) => string | Promise<...>) | undefined; fieldMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string | Promise<...>) | undefined; structMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string | Promise<.....) | ({ preset?: { struct?: { field?: ((args: PresetArgs<StructRenderer, any, ConstrainedObjectModel> & StructFieldArgs) => string | Promise<...>) | undefined; fieldMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string | Promise<...>) | undefined; structMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string |...))[]Optional
processorOptional
typeReadonly
languageReadonly
optionsStatic
defaultOptional
constraints?: { enumKey?: EnumKeyConstraint<RustOptions> | undefined; enumValue?: EnumValueConstraint<RustOptions> | undefined; modelName?: ModelNameConstraint<...> | undefined; propertyKey?: PropertyKeyConstraint<...> | undefined; constant?: ConstantConstraint<...> | undefined; }Optional
defaultOptional
dependencyThis dependency manager type serves two functions.
This depends on context and where it's used.
Optional
indentation?: { type?: IndentationTypes | undefined; size?: number | undefined; }Optional
presets?: (undefined | ({ struct?: { field?: ((args: PresetArgs<StructRenderer, any, ConstrainedObjectModel> & StructFieldArgs) => string | Promise<...>) | undefined; fieldMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string | Promise<...>) | undefined; structMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string | Promise<.....) | ({ preset?: { struct?: { field?: ((args: PresetArgs<StructRenderer, any, ConstrainedObjectModel> & StructFieldArgs) => string | Promise<...>) | undefined; fieldMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string | Promise<...>) | undefined; structMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string |...))[]Optional
processorOptional
typeGenerates a scattered model where dependencies and rendered results are separated.
Generates the full output of a model, instead of a scattered model.
OutputModels result is no longer the model itself, but including package, package dependencies and model dependencies.
Optional
options: { Optional
constraints?: { enumKey?: EnumKeyConstraint<RustOptions> | undefined; enumValue?: EnumValueConstraint<RustOptions> | undefined; modelName?: ModelNameConstraint<...> | undefined; propertyKey?: PropertyKeyConstraint<...> | undefined; constant?: ConstantConstraint<...> | undefined; }Optional
defaultOptional
dependencyThis dependency manager type serves two functions.
This depends on context and where it's used.
Optional
indentation?: { type?: IndentationTypes | undefined; size?: number | undefined; }Optional
presets?: (undefined | ({ struct?: { field?: ((args: PresetArgs<StructRenderer, any, ConstrainedObjectModel> & StructFieldArgs) => string | Promise<...>) | undefined; fieldMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string | Promise<...>) | undefined; structMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string | Promise<.....) | ({ preset?: { struct?: { field?: ((args: PresetArgs<StructRenderer, any, ConstrainedObjectModel> & StructFieldArgs) => string | Promise<...>) | undefined; fieldMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string | Promise<...>) | undefined; structMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string |...))[]Optional
processorOptional
typeWrapper to get an instance of the dependency manager
Protected
getThis function returns an instance of the dependency manager which is either a factory or an instance.
Protected
getProtected
processProcess any of the input formats to the appropriate InputMetaModel type and split out the meta models based on the requirements of the generators
Render a complete model result where the model code, library and model dependencies are all bundled appropriately.
Optional
options: { Optional
constraints?: { enumKey?: EnumKeyConstraint<RustOptions> | undefined; enumValue?: EnumValueConstraint<RustOptions> | undefined; modelName?: ModelNameConstraint<...> | undefined; propertyKey?: PropertyKeyConstraint<...> | undefined; constant?: ConstantConstraint<...> | undefined; }Optional
defaultOptional
dependencyThis dependency manager type serves two functions.
This depends on context and where it's used.
Optional
indentation?: { type?: IndentationTypes | undefined; size?: number | undefined; }Optional
presets?: (undefined | ({ struct?: { field?: ((args: PresetArgs<StructRenderer, any, ConstrainedObjectModel> & StructFieldArgs) => string | Promise<...>) | undefined; fieldMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string | Promise<...>) | undefined; structMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string | Promise<.....) | ({ preset?: { struct?: { field?: ((args: PresetArgs<StructRenderer, any, ConstrainedObjectModel> & StructFieldArgs) => string | Promise<...>) | undefined; fieldMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string | Promise<...>) | undefined; structMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string |...))[]Optional
processorOptional
typeOptional
options: { Optional
constraints?: { enumKey?: EnumKeyConstraint<RustOptions> | undefined; enumValue?: EnumValueConstraint<RustOptions> | undefined; modelName?: ModelNameConstraint<...> | undefined; propertyKey?: PropertyKeyConstraint<...> | undefined; constant?: ConstantConstraint<...> | undefined; }Optional
defaultOptional
dependencyThis dependency manager type serves two functions.
This depends on context and where it's used.
Optional
indentation?: { type?: IndentationTypes | undefined; size?: number | undefined; }Optional
presets?: (undefined | ({ struct?: { field?: ((args: PresetArgs<StructRenderer, any, ConstrainedObjectModel> & StructFieldArgs) => string | Promise<...>) | undefined; fieldMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string | Promise<...>) | undefined; structMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string | Promise<.....) | ({ preset?: { struct?: { field?: ((args: PresetArgs<StructRenderer, any, ConstrainedObjectModel> & StructFieldArgs) => string | Promise<...>) | undefined; fieldMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string | Promise<...>) | undefined; structMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string |...))[]Optional
processorOptional
typeOptional
options: { Optional
constraints?: { enumKey?: EnumKeyConstraint<RustOptions> | undefined; enumValue?: EnumValueConstraint<RustOptions> | undefined; modelName?: ModelNameConstraint<...> | undefined; propertyKey?: PropertyKeyConstraint<...> | undefined; constant?: ConstantConstraint<...> | undefined; }Optional
defaultOptional
dependencyThis dependency manager type serves two functions.
This depends on context and where it's used.
Optional
indentation?: { type?: IndentationTypes | undefined; size?: number | undefined; }Optional
presets?: (undefined | ({ struct?: { field?: ((args: PresetArgs<StructRenderer, any, ConstrainedObjectModel> & StructFieldArgs) => string | Promise<...>) | undefined; fieldMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string | Promise<...>) | undefined; structMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string | Promise<.....) | ({ preset?: { struct?: { field?: ((args: PresetArgs<StructRenderer, any, ConstrainedObjectModel> & StructFieldArgs) => string | Promise<...>) | undefined; fieldMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string | Promise<...>) | undefined; structMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string |...))[]Optional
processorOptional
typeOptional
options: { Optional
constraints?: { enumKey?: EnumKeyConstraint<RustOptions> | undefined; enumValue?: EnumValueConstraint<RustOptions> | undefined; modelName?: ModelNameConstraint<...> | undefined; propertyKey?: PropertyKeyConstraint<...> | undefined; constant?: ConstantConstraint<...> | undefined; }Optional
defaultOptional
dependencyThis dependency manager type serves two functions.
This depends on context and where it's used.
Optional
indentation?: { type?: IndentationTypes | undefined; size?: number | undefined; }Optional
presets?: (undefined | ({ struct?: { field?: ((args: PresetArgs<StructRenderer, any, ConstrainedObjectModel> & StructFieldArgs) => string | Promise<...>) | undefined; fieldMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string | Promise<...>) | undefined; structMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string | Promise<.....) | ({ preset?: { struct?: { field?: ((args: PresetArgs<StructRenderer, any, ConstrainedObjectModel> & StructFieldArgs) => string | Promise<...>) | undefined; fieldMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string | Promise<...>) | undefined; structMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string |...))[]Optional
processorOptional
typeOptional
options: { Optional
constraints?: { enumKey?: EnumKeyConstraint<RustOptions> | undefined; enumValue?: EnumValueConstraint<RustOptions> | undefined; modelName?: ModelNameConstraint<...> | undefined; propertyKey?: PropertyKeyConstraint<...> | undefined; constant?: ConstantConstraint<...> | undefined; }Optional
defaultOptional
dependencyThis dependency manager type serves two functions.
This depends on context and where it's used.
Optional
indentation?: { type?: IndentationTypes | undefined; size?: number | undefined; }Optional
presets?: (undefined | ({ struct?: { field?: ((args: PresetArgs<StructRenderer, any, ConstrainedObjectModel> & StructFieldArgs) => string | Promise<...>) | undefined; fieldMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string | Promise<...>) | undefined; structMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string | Promise<.....) | ({ preset?: { struct?: { field?: ((args: PresetArgs<StructRenderer, any, ConstrainedObjectModel> & StructFieldArgs) => string | Promise<...>) | undefined; fieldMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string | Promise<...>) | undefined; structMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string |...))[]Optional
processorOptional
typeOptional
options: { Optional
constraints?: { enumKey?: EnumKeyConstraint<RustOptions> | undefined; enumValue?: EnumValueConstraint<RustOptions> | undefined; modelName?: ModelNameConstraint<...> | undefined; propertyKey?: PropertyKeyConstraint<...> | undefined; constant?: ConstantConstraint<...> | undefined; }Optional
defaultOptional
dependencyThis dependency manager type serves two functions.
This depends on context and where it's used.
Optional
indentation?: { type?: IndentationTypes | undefined; size?: number | undefined; }Optional
presets?: (undefined | ({ struct?: { field?: ((args: PresetArgs<StructRenderer, any, ConstrainedObjectModel> & StructFieldArgs) => string | Promise<...>) | undefined; fieldMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string | Promise<...>) | undefined; structMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string | Promise<.....) | ({ preset?: { struct?: { field?: ((args: PresetArgs<StructRenderer, any, ConstrainedObjectModel> & StructFieldArgs) => string | Promise<...>) | undefined; fieldMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string | Promise<...>) | undefined; structMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string |...))[]Optional
processorOptional
typeStatic
getReturns the Rust options by merging custom options with default ones.
Optional
options: { Optional
package?: { packageName?: string | undefined; packageVersion?: string | undefined; authors?: (string | undefined)[] | undefined; homepage?: string | undefined; repository?: string | undefined; license?: string | undefined; description?: string | undefined; edition?: string | undefined; packageFeatures?: (RustPackageFeatures |...Optional
supportStatic
getReturns the Rust options by merging custom options with default ones.
Optional
options: { Optional
constraints?: { enumKey?: EnumKeyConstraint<RustOptions> | undefined; enumValue?: EnumValueConstraint<RustOptions> | undefined; modelName?: ModelNameConstraint<...> | undefined; propertyKey?: PropertyKeyConstraint<...> | undefined; constant?: ConstantConstraint<...> | undefined; }Optional
defaultOptional
dependencyThis dependency manager type serves two functions.
This depends on context and where it's used.
Optional
indentation?: { type?: IndentationTypes | undefined; size?: number | undefined; }Optional
presets?: (undefined | ({ struct?: { field?: ((args: PresetArgs<StructRenderer, any, ConstrainedObjectModel> & StructFieldArgs) => string | Promise<...>) | undefined; fieldMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string | Promise<...>) | undefined; structMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string | Promise<.....) | ({ preset?: { struct?: { field?: ((args: PresetArgs<StructRenderer, any, ConstrainedObjectModel> & StructFieldArgs) => string | Promise<...>) | undefined; fieldMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string | Promise<...>) | undefined; structMacro?: ((args: PresetArgs<...> & StructFieldArgs) => string |...))[]Optional
processorOptional
typeGenerated using TypeDoc
Generator for Rust