pub trait SetSignature: Signature {
type Set: Clone + Debug + Send + Sync;
// Required method
fn is_element(&self, x: &Self::Set) -> Result<(), String>;
}Expand description
Instances of a type implementing this trait represent
a set of elements of type Self::Set with some
structure, for example, the structure of a ring.
Required Associated Types§
Required Methods§
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.