Trait AttributeCompatibilityRule

Source
pub trait AttributeCompatibilityRule<T>
where T: Attribute,
{ // Required method fn check_capability(&self, check: &mut CompatibilityCheck<'_, T>); }

Required Methods§

Source

fn check_capability(&self, check: &mut CompatibilityCheck<'_, T>)

Check the capability of an attribute

Implementors§

Source§

impl<F, T> AttributeCompatibilityRule<T> for F
where F: for<'a> Fn(&'a mut CompatibilityCheck<'_, T>), T: Attribute,

Source§

impl<T> AttributeCompatibilityRule<T> for IsCompatible<T>
where T: Attribute,