Trait font_types::Compatible
source · [−]pub trait Compatible: Sized {
fn compatible(&self, other: Self) -> bool;
}
Expand description
Version compatibility
Required Methods
sourcefn compatible(&self, other: Self) -> bool
fn compatible(&self, other: Self) -> bool
return true
if this version is field-compatible with other
.
This is kind of poorly defined, but basically means ‘same major version, greater than or equal minor version’.