pub trait IsCompatible {
// Required method
fn is_compatible(&self, browsers: Browsers) -> bool;
}Expand description
A trait for values that can check if they are compatible with browser targets.
Required Methods§
Sourcefn is_compatible(&self, browsers: Browsers) -> bool
fn is_compatible(&self, browsers: Browsers) -> bool
Returns whether the value is compatible with all of the given browser targets.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".