pub trait InspectWidgetPattern {
// Required method
fn matches(&self, info: &InspectorInfo) -> bool;
}Expand description
Query pattern for the WidgetInfoInspectorExt inspect methods.
Required Methods§
Sourcefn matches(&self, info: &InspectorInfo) -> bool
fn matches(&self, info: &InspectorInfo) -> bool
Returns true if the pattern includes the widget.
Implementations on Foreign Types§
Source§impl InspectWidgetPattern for &str
Matches if the WidgetType::path ends with the string.
impl InspectWidgetPattern for &str
Matches if the WidgetType::path ends with the string.