[−][src]Struct flag_algebra::SubClass
A wrapper type for flags from a sub-class of flags.
Fields
content: F
Flag wrapped.
Trait Implementations
impl<F, A> Flag for SubClass<F, A> where
A: SubFlag<F>,
F: Flag,
[src]
A: SubFlag<F>,
F: Flag,
fn name() -> String
[src]
fn superflags(&self) -> Vec<Self>
[src]
fn induce(&self, p: &[usize]) -> Self
[src]
fn all_flags(n: usize) -> Vec<Self>
[src]
fn generate_next(previous: &[Self]) -> Vec<Self>
[src]
Return the list of flags of size self.size() + 1
that contain self
as an induced subflag reduced modulo isomorphism. Read more
fn generate(n: usize) -> Vec<Self>
[src]
Return the list of flags of size n
reduced modulo isomorphism.
fn generate_typed_up(type_flag: &Self, g_vec: &[Self]) -> Vec<Self>
[src]
Return the list of flags of g_vec
that can be rooted on the flag type_flag
. Each different way to root this flag give a different flag in the result. Read more
fn generate_typed(type_flag: &Self, size: usize) -> Vec<Self>
[src]
Return the list of flag of size size
rooted on type_flag
reduced modulo (typed) isomorphism. Read more
fn select_type(&self, eta: &[usize]) -> Self
[src]
Reorder self so that the eta.len()
first vertices are the values of eta
in the corresonding order. Read more
impl<F: Flag, A> PartialOrd<SubClass<F, A>> for SubClass<F, A>
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl<F: Flag, A> PartialEq<SubClass<F, A>> for SubClass<F, A>
[src]
fn eq(&self, other: &Self) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl<F: Flag, A> Ord for SubClass<F, A>
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
fn clamp(self, min: Self, max: Self) -> Self
[src]
clamp
)Restrict a value to a certain interval. Read more
impl<F: Flag, A> Eq for SubClass<F, A>
[src]
impl<F, A> From<F> for SubClass<F, A>
[src]
impl<F: Flag, A> Clone for SubClass<F, A>
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<F: Flag, A> Debug for SubClass<F, A>
[src]
impl<F: Flag, A> Display for SubClass<F, A>
[src]
impl<F: Flag, A> Serialize for SubClass<F, A>
[src]
impl<'de, F: Flag, A> Deserialize<'de> for SubClass<F, A>
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl<F, A> Canonize for SubClass<F, A> where
F: Flag,
[src]
F: Flag,
Auto Trait Implementations
impl<F, A> Send for SubClass<F, A> where
A: Send,
F: Send,
A: Send,
F: Send,
impl<F, A> Unpin for SubClass<F, A> where
A: Unpin,
F: Unpin,
A: Unpin,
F: Unpin,
impl<F, A> Sync for SubClass<F, A> where
A: Sync,
F: Sync,
A: Sync,
F: Sync,
impl<F, A> UnwindSafe for SubClass<F, A> where
A: UnwindSafe,
F: UnwindSafe,
A: UnwindSafe,
F: UnwindSafe,
impl<F, A> RefUnwindSafe for SubClass<F, A> where
A: RefUnwindSafe,
F: RefUnwindSafe,
A: RefUnwindSafe,
F: RefUnwindSafe,
Blanket Implementations
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn is_in_subset(&self) -> bool
unsafe fn to_subset_unchecked(&self) -> SS
fn from_subset(element: &SS) -> SP
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,