pub struct PercolationConfig {
pub fill_probability: f64,
pub keep_largest: bool,
}Fields§
§fill_probability: f64§keep_largest: boolTrait Implementations§
Source§impl Clone for PercolationConfig
impl Clone for PercolationConfig
Source§fn clone(&self) -> PercolationConfig
fn clone(&self) -> PercolationConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PercolationConfig
impl Debug for PercolationConfig
Auto Trait Implementations§
impl Freeze for PercolationConfig
impl RefUnwindSafe for PercolationConfig
impl Send for PercolationConfig
impl Sync for PercolationConfig
impl Unpin for PercolationConfig
impl UnwindSafe for PercolationConfig
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