Skip to main content

IdealCheck

Trait IdealCheck 

Source
pub trait IdealCheck<T> {
    // Required method
    fn contains(&self, value: &T) -> Result<bool, IdealCheckError>;
}
Expand description

A trait for ideals that implement membership check for an algebraic structure T.

Required Methods§

Source

fn contains(&self, value: &T) -> Result<bool, IdealCheckError>

Returns true if an element of the type belongs to this ideal.

Implementors§