PrimAlg

Struct PrimAlg 

Source
pub struct PrimAlg<A, B, C, D, E, F>(pub A, pub B, pub C, pub D, pub E, pub F);

Tuple Fields§

§0: A§1: B§2: C§3: D§4: E§5: F

Implementations§

Source§

impl<A, B, C, D, E, F> PrimAlg<A, B, C, D, E, F>

Source

pub fn graph<N>(self, zero: N) -> PrimAlg<N, B, C, D, E, F>

Source

pub fn weight<N>(self, one: N) -> PrimAlg<A, N, C, D, E, F>

Source

pub fn color<N>(self, two: N) -> PrimAlg<A, B, N, D, E, F>

Source

pub fn parent<N>(self, three: N) -> PrimAlg<A, B, C, N, E, F>

Source

pub fn queue<N>(self, four: N) -> PrimAlg<A, B, C, D, N, F>

Source

pub fn _marker<N>(self, five: N) -> PrimAlg<A, B, C, D, E, N>

Trait Implementations§

Source§

impl<'a, G, W, C, P, Q, T> IntoIterator for PrimAlg<&'a G, W, C, P, Q, PhantomData<T>>

Source§

type Item = <G as WithEdge>::Edge

The type of the elements being iterated over.
Source§

type IntoIter = Iter<'a, G, W, <C as ParamDerefMut>::Output, <P as ParamDerefMut>::Output, <Q as ParamDerefMut>::Output, T>

Which kind of iterator are we turning this into?
Source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more

Auto Trait Implementations§

§

impl<A, B, C, D, E, F> Freeze for PrimAlg<A, B, C, D, E, F>
where A: Freeze, B: Freeze, C: Freeze, D: Freeze, E: Freeze, F: Freeze,

§

impl<A, B, C, D, E, F> RefUnwindSafe for PrimAlg<A, B, C, D, E, F>

§

impl<A, B, C, D, E, F> Send for PrimAlg<A, B, C, D, E, F>
where A: Send, B: Send, C: Send, D: Send, E: Send, F: Send,

§

impl<A, B, C, D, E, F> Sync for PrimAlg<A, B, C, D, E, F>
where A: Sync, B: Sync, C: Sync, D: Sync, E: Sync, F: Sync,

§

impl<A, B, C, D, E, F> Unpin for PrimAlg<A, B, C, D, E, F>
where A: Unpin, B: Unpin, C: Unpin, D: Unpin, E: Unpin, F: Unpin,

§

impl<A, B, C, D, E, F> UnwindSafe for PrimAlg<A, B, C, D, E, F>

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> IntoOwned<T> for T

Source§

fn into_owned(self) -> T

Source§

impl<G> Sets for G

Source§

fn vertices_complement<I>(&self, vertices: I) -> VerticesComplement<'_, Self>

Source§

fn edges_complement<I>(&self, edges: I) -> EdgesComplement<'_, Self>
where Self: EdgeList + WithEdgeProp<bool>, I: IntoIterator, I::Item: IntoOwned<Edge<Self>>,

Source§

fn independent_vertex_set_from_iter<I>( &self, vertices: I, ) -> IndependentVertexSetFromIter<'_, Self, I::IntoIter>

Source§

fn is_independent_vertex_set<I>(&self, vertices: I) -> bool

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.