pub struct RandomWindowUpperBoundOptions {
pub iterations: usize,
pub restarts: usize,
pub seed: u64,
pub target_weight: Option<usize>,
}Fields§
§iterations: usize§restarts: usize§seed: u64§target_weight: Option<usize>Implementations§
Trait Implementations§
Source§impl Clone for RandomWindowUpperBoundOptions
impl Clone for RandomWindowUpperBoundOptions
Source§fn clone(&self) -> RandomWindowUpperBoundOptions
fn clone(&self) -> RandomWindowUpperBoundOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for RandomWindowUpperBoundOptions
impl<'de> Deserialize<'de> for RandomWindowUpperBoundOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RandomWindowUpperBoundOptions
impl StructuralPartialEq for RandomWindowUpperBoundOptions
Auto Trait Implementations§
impl Freeze for RandomWindowUpperBoundOptions
impl RefUnwindSafe for RandomWindowUpperBoundOptions
impl Send for RandomWindowUpperBoundOptions
impl Sync for RandomWindowUpperBoundOptions
impl Unpin for RandomWindowUpperBoundOptions
impl UnsafeUnpin for RandomWindowUpperBoundOptions
impl UnwindSafe for RandomWindowUpperBoundOptions
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