Trait lattices::LatticeFrom
source · 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
.
Object Safety§
This trait is not object safe.