pub trait Refinable {
// Required method
fn is_refinement_of(sup: &Self, sub: &Self) -> bool;
}Expand description
Allows checking if one value is a “partial” version of another.
Required Methods§
Sourcefn is_refinement_of(sup: &Self, sub: &Self) -> bool
fn is_refinement_of(sup: &Self, sub: &Self) -> bool
Returns true if sub contains a subset of the information in sup.
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.