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: WeightDrainPolicyHow to drain into a WeightMap when into_map is true.
into_map: boolIf true, return a drained WeightMap; if false, return the live loader.