[][src]Struct flag_algebra::flags::Colored

pub struct Colored<F, N> {
    pub content: F,
    pub color: Vec<u8>,
    // some fields omitted
}

A type for colored flags

Fields

content: Fcolor: Vec<u8>

Trait Implementations

impl<F, N> Flag for Colored<F, N> where
    F: Flag,
    N: Unsigned + Clone + Eq + Ord + Debug + Serialize + DeserializeOwned
[src]

fn induce(&self, set: &[usize]) -> Self[src]

Returns the subflag induced by the vertices in the slice set.

impl<F: Clone, N: Clone> Clone for Colored<F, N>[src]

impl<F: Eq, N: Eq> Eq for Colored<F, N>[src]

impl<F: Ord, N: Ord> Ord for Colored<F, N>[src]

impl<F: PartialEq, N: PartialEq> PartialEq<Colored<F, N>> for Colored<F, N>[src]

impl<F: PartialOrd, N: PartialOrd> PartialOrd<Colored<F, N>> for Colored<F, N>[src]

impl<F: Flag, N> Display for Colored<F, N>[src]

impl<F: Debug, N: Debug> Debug for Colored<F, N>[src]

impl<F: Hash, N: Hash> Hash for Colored<F, N>[src]

impl<F, N> StructuralPartialEq for Colored<F, N>[src]

impl<F, N> StructuralEq for Colored<F, N>[src]

impl<F, N> Serialize for Colored<F, N> where
    F: Serialize
[src]

impl<'de, F, N> Deserialize<'de> for Colored<F, N> where
    F: Deserialize<'de>, 
[src]

impl<F, N> Canonize for Colored<F, N> where
    F: Flag,
    N: Unsigned + Clone + Eq + Ord + Debug + Serialize + DeserializeOwned
[src]

Auto Trait Implementations

impl<F, N> Send for Colored<F, N> where
    F: Send,
    N: Send

impl<F, N> Sync for Colored<F, N> where
    F: Sync,
    N: Sync

impl<F, N> Unpin for Colored<F, N> where
    F: Unpin,
    N: Unpin

impl<F, N> UnwindSafe for Colored<F, N> where
    F: UnwindSafe,
    N: UnwindSafe

impl<F, N> RefUnwindSafe for Colored<F, N> where
    F: RefUnwindSafe,
    N: RefUnwindSafe

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> ToString for T where
    T: Display + ?Sized
[src]

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

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>,