Trait lightningcss::traits::IsCompatible
source · 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.