pub struct SetPartition {
pub n: usize,
pub blocks: Vec<HashSet<usize>>,
}Expand description
Set partition into disjoint non-empty blocks.
Fields§
§n: usize§blocks: Vec<HashSet<usize>>Implementations§
Trait Implementations§
Source§impl Clone for SetPartition
impl Clone for SetPartition
Source§fn clone(&self) -> SetPartition
fn clone(&self) -> SetPartition
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 moreAuto Trait Implementations§
impl Freeze for SetPartition
impl RefUnwindSafe for SetPartition
impl Send for SetPartition
impl Sync for SetPartition
impl Unpin for SetPartition
impl UnsafeUnpin for SetPartition
impl UnwindSafe for SetPartition
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