Modelina
    Preparing search index...

    Interface RustOptions

    interface RustOptions {
        constraints: Constraints<RustOptions>;
        defaultPreset?: Partial<
            {
                enum: EnumPresetType<any>;
                newType: NewTypePresetType<any>;
                package: PackagePresetType<any>;
                struct: StructPresetType<any>;
                tuple: TuplePresetType<any>;
                union: UnionPresetType<any>;
            },
        >;
        dependencyManager?: | AbstractDependencyManager
        | (() => AbstractDependencyManager);
        indentation?: { size: number; type: IndentationTypes };
        presets?: Presets<
            Partial<
                {
                    enum: EnumPresetType<any>;
                    newType: NewTypePresetType<any>;
                    package: PackagePresetType<any>;
                    struct: StructPresetType<any>;
                    tuple: TuplePresetType<any>;
                    union: UnionPresetType<any>;
                },
            >,
        >;
        processorOptions?: ProcessorOptions;
        typeMapping: TypeMapping<RustOptions, RustDependencyManager>;
    }

    Hierarchy (View Summary)

    Index

    Properties

    constraints: Constraints<RustOptions>
    defaultPreset?: Partial<
        {
            enum: EnumPresetType<any>;
            newType: NewTypePresetType<any>;
            package: PackagePresetType<any>;
            struct: StructPresetType<any>;
            tuple: TuplePresetType<any>;
            union: UnionPresetType<any>;
        },
    >
    dependencyManager?:
        | AbstractDependencyManager
        | (() => AbstractDependencyManager)

    This dependency manager type serves two functions.

    1. It can be used to provide a factory for generate functions
    2. It can be used to provide a single instance of a dependency manager, to add all dependencies together

    This depends on context and where it's used.

    indentation?: { size: number; type: IndentationTypes }
    presets?: Presets<
        Partial<
            {
                enum: EnumPresetType<any>;
                newType: NewTypePresetType<any>;
                package: PackagePresetType<any>;
                struct: StructPresetType<any>;
                tuple: TuplePresetType<any>;
                union: UnionPresetType<any>;
            },
        >,
    >
    processorOptions?: ProcessorOptions
    typeMapping: TypeMapping<RustOptions, RustDependencyManager>