Skip to main content

LoadOpts

Type Alias LoadOpts 

Source
pub type LoadOpts<'a> = LoadWeightsOptions<'a>;
Expand description

Alias for LoadWeightsOptions.

Aliased Type§

pub struct LoadOpts<'a> {
    pub resolve: ResolveWeightsOptions<'a>,
    pub drain: WeightDrainPolicy,
    pub into_map: bool,
}

Fields§

§resolve: ResolveWeightsOptions<'a>§drain: WeightDrainPolicy

How to drain into a WeightMap when into_map is true.

§into_map: bool

If true, return a drained WeightMap; if false, return the live loader.