pub trait InjectiveFunction<Domain: SetStructure, Range: SetStructure>: Function<Domain, Range> {
// Required method
fn try_preimage(&self, x: &Range::Set) -> Option<Domain::Set>;
}Required Methods§
fn try_preimage(&self, x: &Range::Set) -> Option<Domain::Set>
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.