Sets

Struct Sets 

Source
pub struct Sets<R, S, T, U, V>
where R: IntoIterator<Item = S>, S: IntoIterator<Item = T>, U: IntoIterator<Item = V>,
{ /* private fields */ }

Implementations§

Source§

impl<R, S, T, U, V> Sets<R, S, T, U, V>
where R: IntoIterator<Item = S>, S: IntoIterator<Item = T>, U: IntoIterator<Item = V>, for<'a> &'a R: IntoIterator<Item = &'a S>, for<'a> &'a S: IntoIterator<Item = &'a T>, T: Copy + Ord,

Source

pub fn members(&self) -> &R

Trait Implementations§

Source§

impl<S, T, V> From<(Vec<V>, Vec<S>)> for Sets<Vec<S>, S, T, Vec<V>, V>
where S: IntoIterator<Item = T>,

Source§

fn from((sets, members): (Vec<V>, Vec<S>)) -> Self

Converts to this type from the input type.
Source§

impl<S, T> From<Sets<Vec<S>, S, T, Vec<usize>, usize>> for (Vec<usize>, Vec<S>)
where S: IntoIterator<Item = T>,

Source§

fn from(sets: Sets<Vec<S>, S, T, Vec<usize>, usize>) -> Self

Converts to this type from the input type.
Source§

impl<S, T> From<Vec<S>> for Sets<Vec<S>, S, T, Vec<usize>, usize>
where S: IntoIterator<Item = T>,

Source§

fn from(data: Vec<S>) -> Self

Converts to this type from the input type.
Source§

impl<R, S, U, V> InverseSets<Vec<Vec<V>>, Vec<V>, V, Vec<usize>, usize, Vec<usize>> for Sets<R, S, usize, U, V>
where R: IntoIterator<Item = S>, S: IntoIterator<Item = usize>, U: IntoIterator<Item = V>, for<'a> &'a R: IntoIterator<Item = &'a S>, for<'a> &'a S: IntoIterator<Item = &'a usize>, for<'a> &'a U: IntoIterator<Item = &'a V>, V: Copy,

Source§

fn inverse( &self, ) -> (Sets<Vec<Vec<V>>, Vec<V>, V, Vec<usize>, usize>, Vec<usize>)

Auto Trait Implementations§

§

impl<R, S, T, U, V> Freeze for Sets<R, S, T, U, V>
where R: Freeze, U: Freeze,

§

impl<R, S, T, U, V> RefUnwindSafe for Sets<R, S, T, U, V>

§

impl<R, S, T, U, V> Send for Sets<R, S, T, U, V>
where R: Send, U: Send,

§

impl<R, S, T, U, V> Sync for Sets<R, S, T, U, V>
where R: Sync, U: Sync,

§

impl<R, S, T, U, V> Unpin for Sets<R, S, T, U, V>
where R: Unpin, U: Unpin,

§

impl<R, S, T, U, V> UnwindSafe for Sets<R, S, T, U, V>
where R: UnwindSafe, U: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.