[][src]Struct flag_algebra::SubClass

pub struct SubClass<F, A> {
    pub content: F,
    // some fields omitted
}

A wrapper type for flags from a sub-class of flags.

Fields

content: F

Flag wrapped.

Implementations

impl<A, E> SubClass<CGraph<E>, A>[src]

This should be properly implemented with a trait:

pub fn size(&self) -> usize[src]

pub fn is_edge(&self, u: usize, v: usize) -> bool[src]

pub fn edge(&self, u: usize, v: usize) -> u8[src]

impl<A, B, E> SubClass<Colored<CGraph<E>, A>, B>[src]

pub fn size(&self) -> usize[src]

pub fn is_edge(&self, u: usize, v: usize) -> bool[src]

pub fn edge(&self, u: usize, v: usize) -> u8[src]

impl<A> SubClass<Digraph, A>[src]

pub fn size(&self) -> usize[src]

Trait Implementations

impl<F, A> Canonize for SubClass<F, A> where
    F: Flag
[src]

impl<F: Flag, A> Clone for SubClass<F, A>[src]

impl<F: Flag, A> Debug for SubClass<F, A>[src]

impl<'de, F: Flag, A> Deserialize<'de> for SubClass<F, A>[src]

impl<F: Flag, A> Display for SubClass<F, A>[src]

impl<F, A> Draw for SubClass<F, A> where
    F: Draw
[src]

Inheritance

impl<F: Flag, A> Eq for SubClass<F, A>[src]

impl<F, A> Flag for SubClass<F, A> where
    A: SubFlag<F>,
    F: Flag
[src]

impl<F, A> From<F> for SubClass<F, A>[src]

impl<F: Flag, A> Ord for SubClass<F, A>[src]

impl<F: Flag, A> PartialEq<SubClass<F, A>> for SubClass<F, A>[src]

impl<F: Flag, A> PartialOrd<SubClass<F, A>> for SubClass<F, A>[src]

impl<F: Flag, A> Serialize for SubClass<F, A>[src]

Auto Trait Implementations

impl<F, A> RefUnwindSafe for SubClass<F, A> where
    A: RefUnwindSafe,
    F: RefUnwindSafe

impl<F, A> Send for SubClass<F, A> where
    A: Send,
    F: Send

impl<F, A> Sync for SubClass<F, A> where
    A: Sync,
    F: Sync

impl<F, A> Unpin for SubClass<F, A> where
    A: Unpin,
    F: Unpin

impl<F, A> UnwindSafe for SubClass<F, A> where
    A: UnwindSafe,
    F: UnwindSafe

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<F> Html for F where
    F: Draw
[src]

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

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

type Output = T

Should always be Self

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

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<V, T> VZip<V> for T where
    V: MultiLane<T>,