Struct MEMDConfig
#[non_exhaustive]pub struct MEMDConfig {
pub num_directions: usize,
pub max_imfs: usize,
pub sifting_tolerance: f64,
pub sifting_tolerance_strict: f64,
pub sifting_fraction: f64,
pub max_sifting_iterations: usize,
pub direction_strategy: DirectionStrategy,
pub random_seed: Option<u64>,
pub end_effect_strategy: EndEffectStrategy,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
num_directions: usize§max_imfs: usize§sifting_tolerance: f64§sifting_tolerance_strict: f64§sifting_fraction: f64§max_sifting_iterations: usize§direction_strategy: DirectionStrategy§random_seed: Option<u64>§end_effect_strategy: EndEffectStrategyImplementations§
§impl MEMDConfig
impl MEMDConfig
pub fn with_num_directions(self, num_directions: usize) -> Self
pub fn with_num_directions(self, num_directions: usize) -> Self
pub fn with_max_imfs(self, max_imfs: usize) -> Self
pub fn with_max_imfs(self, max_imfs: usize) -> Self
pub fn with_sifting_tolerance(self, sifting_tolerance: f64) -> Self
pub fn with_sifting_tolerance(self, sifting_tolerance: f64) -> Self
pub fn with_sifting_tolerance_strict(
self,
sifting_tolerance_strict: f64,
) -> Self
pub fn with_sifting_tolerance_strict( self, sifting_tolerance_strict: f64, ) -> Self
pub fn with_sifting_fraction(self, sifting_fraction: f64) -> Self
pub fn with_sifting_fraction(self, sifting_fraction: f64) -> Self
pub fn with_max_sifting_iterations(self, max_sifting_iterations: usize) -> Self
pub fn with_max_sifting_iterations(self, max_sifting_iterations: usize) -> Self
pub fn with_direction_strategy(
self,
direction_strategy: DirectionStrategy,
) -> Self
pub fn with_direction_strategy( self, direction_strategy: DirectionStrategy, ) -> Self
pub fn with_end_effect_strategy(
self,
end_effect_strategy: EndEffectStrategy,
) -> Self
pub fn with_end_effect_strategy( self, end_effect_strategy: EndEffectStrategy, ) -> Self
Trait Implementations§
§impl Clone for MEMDConfig
impl Clone for MEMDConfig
§fn clone(&self) -> MEMDConfig
fn clone(&self) -> MEMDConfig
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
§impl Default for MEMDConfig
impl Default for MEMDConfig
Auto Trait Implementations§
impl Freeze for MEMDConfig
impl RefUnwindSafe for MEMDConfig
impl Send for MEMDConfig
impl Sync for MEMDConfig
impl Unpin for MEMDConfig
impl UnwindSafe for MEMDConfig
Blanket Implementations§
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)