Trait zng_app::widget::inspector::InspectPropertyPattern
source · pub trait InspectPropertyPattern {
// Required method
fn matches(&self, args: &dyn PropertyArgs, captured: bool) -> bool;
}
Expand description
Query pattern for the WidgetInfoInspectorExt
inspect methods.
Required Methods§
sourcefn matches(&self, args: &dyn PropertyArgs, captured: bool) -> bool
fn matches(&self, args: &dyn PropertyArgs, captured: bool) -> bool
Returns true
if the pattern includes the property.
Implementations on Foreign Types§
source§impl<'s> InspectPropertyPattern for &'s str
impl<'s> InspectPropertyPattern for &'s str
Matches if the PropertyInfo::name
exactly.