TryRightInverseSignature

Trait TryRightInverseSignature 

Source
pub trait TryRightInverseSignature: IdentitySignature + CompositionSignature {
    // Required method
    fn try_right_inverse(&self, a: &Self::Set) -> Option<Self::Set>;
}
Expand description

When the solution to compose(a, x) = e for x given a is unique whenever it exists.

Required Methods§

Source

fn try_right_inverse(&self, a: &Self::Set) -> Option<Self::Set>

Return x such that compose(a, x) = e or None if no such x exists.

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.

Implementors§