FavoriteAssociateSignature

Trait FavoriteAssociateSignature 

Source
pub trait FavoriteAssociateSignature: TryReciprocalSignature + EqSignature {
    // Required method
    fn factor_fav_assoc(&self, a: &Self::Set) -> (Self::Set, Self::Set);

    // Provided methods
    fn fav_assoc(&self, a: &Self::Set) -> Self::Set { ... }
    fn is_fav_assoc(&self, a: &Self::Set) -> bool { ... }
}

Required Methods§

Source

fn factor_fav_assoc(&self, a: &Self::Set) -> (Self::Set, Self::Set)

Provided Methods§

Source

fn fav_assoc(&self, a: &Self::Set) -> Self::Set

Source

fn is_fav_assoc(&self, a: &Self::Set) -> bool

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl FavoriteAssociateSignature for IntegerCanonicalStructure

Source§

fn factor_fav_assoc(&self, a: &Self::Set) -> (Self::Set, Self::Set)

Source§

impl FavoriteAssociateSignature for NaturalCanonicalStructure

Source§

fn factor_fav_assoc(&self, a: &Self::Set) -> (Self::Set, Self::Set)

Implementors§