[][src]Struct flag_algebra::common::AntiSym

pub struct AntiSym<A>(_);

Relation R such that R(x,y) = -R(y,x) and R(x,x) does not hold.

Trait Implementations

impl<A> FlatMatrix for AntiSym<A> where
    A: Neg<Output = A> + Copy
[src]

type Item = A

Type of the entries of the matrix.

type LineIter = Chain<Range<usize>, Range<usize>>

Iterator on one line of the matrix.

fn possible_size(&self) -> usize
[src]

Give the number of line of the matrix

fn new(elem: Self::Item, n: usize) -> Self where
    Self::Item: Clone
[src]

Create a new matrix with n lines filled with elem.

fn resize(&mut self, n: usize, e: Self::Item) where
    Self::Item: Clone
[src]

Change the number of line in the matrix to n. If line are added, fill them with e. Read more

impl<A: PartialEq> PartialEq<AntiSym<A>> for AntiSym<A>
[src]

impl<A: Eq> Eq for AntiSym<A>
[src]

impl<A: PartialOrd> PartialOrd<AntiSym<A>> for AntiSym<A>
[src]

impl<A: Ord> Ord for AntiSym<A>
[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

impl<A: Clone> Clone for AntiSym<A>
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<A: Debug> Debug for AntiSym<A>
[src]

impl<A> Serialize for AntiSym<A> where
    A: Serialize
[src]

impl<'de, A> Deserialize<'de> for AntiSym<A> where
    A: Deserialize<'de>, 
[src]

Auto Trait Implementations

impl<A> Send for AntiSym<A> where
    A: Send

impl<A> Sync for AntiSym<A> where
    A: Sync

Blanket Implementations

impl<S> BinRelation for S where
    S: FlatMatrix + Debug + Clone + Ord,
    <S as FlatMatrix>::Item: Enum,
    <S as FlatMatrix>::Item: Ord,
    <S as FlatMatrix>::Item: Clone,
    <S as FlatMatrix>::Item: Copy,
    <S as FlatMatrix>::Item: Debug,
    <S as FlatMatrix>::Item: Default
[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T
[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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