pub struct RandomTwoBlockSpec {
pub group: FiniteGroupSpec,
pub support_a_weight: usize,
pub support_b_weight: usize,
pub seed: u64,
pub algorithm_version: u32,
}Fields§
§group: FiniteGroupSpec§support_a_weight: usize§support_b_weight: usize§seed: u64§algorithm_version: u32Implementations§
Trait Implementations§
Source§impl Clone for RandomTwoBlockSpec
impl Clone for RandomTwoBlockSpec
Source§fn clone(&self) -> RandomTwoBlockSpec
fn clone(&self) -> RandomTwoBlockSpec
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 Debug for RandomTwoBlockSpec
impl Debug for RandomTwoBlockSpec
impl Eq for RandomTwoBlockSpec
Source§impl PartialEq for RandomTwoBlockSpec
impl PartialEq for RandomTwoBlockSpec
impl StructuralPartialEq for RandomTwoBlockSpec
Auto Trait Implementations§
impl Freeze for RandomTwoBlockSpec
impl RefUnwindSafe for RandomTwoBlockSpec
impl Send for RandomTwoBlockSpec
impl Sync for RandomTwoBlockSpec
impl Unpin for RandomTwoBlockSpec
impl UnsafeUnpin for RandomTwoBlockSpec
impl UnwindSafe for RandomTwoBlockSpec
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