[][src]Struct flag_algebra::iterators::Choose

pub struct Choose { /* fields omitted */ }

Iterator on subsets of [n] with k elements represented by an increasing array.

Methods

impl Choose[src]

pub fn new(n: usize, k: usize) -> Self[src]

Subsets of [n] with k elements.

pub fn with_fixed_part(n: usize, k: usize, fixed: usize) -> Self[src]

Subsets of [n] with k elements that contain [fixed].

Trait Implementations

impl StreamingIterator<[usize]> for Choose[src]

impl Clone for Choose[src]

impl Debug for Choose[src]

Auto Trait Implementations

impl Send for Choose

impl Sync for Choose

impl Unpin for Choose

impl UnwindSafe for Choose

impl RefUnwindSafe for Choose

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,