pub enum RandomConfig {
Normal(RandomNormalConfig),
Uniform(RandomUniformConfig),
}Expand description
Enum config that can hold either RandomNormal or RandomUniform config
Variants§
Normal(RandomNormalConfig)
Uniform(RandomUniformConfig)
Trait Implementations§
Source§impl Clone for RandomConfig
impl Clone for RandomConfig
Auto Trait Implementations§
impl Freeze for RandomConfig
impl RefUnwindSafe for RandomConfig
impl Send for RandomConfig
impl Sync for RandomConfig
impl Unpin for RandomConfig
impl UnsafeUnpin for RandomConfig
impl UnwindSafe for RandomConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more