pub trait LatticeFrom<Other> {
// Required method
fn lattice_from(other: Other) -> Self;
}
Expand description
Same as From
but for lattices.
This should only be implemented between different representations of the same lattice type. This should recursively convert nested lattice types, but not non-lattice (“scalar”) types.
Required Methods§
Sourcefn lattice_from(other: Other) -> Self
fn lattice_from(other: Other) -> Self
Convert from the Other
lattice into Self
.
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.