Trait zng_app::widget::inspector::InspectWidgetPattern

source ·
pub trait InspectWidgetPattern {
    // Required method
    fn matches(&self, info: &InspectorInfo) -> bool;
}
Expand description

Query pattern for the WidgetInfoInspectorExt inspect methods.

Required Methods§

source

fn matches(&self, info: &InspectorInfo) -> bool

Returns true if the pattern includes the widget.

Implementations on Foreign Types§

source§

impl InspectWidgetPattern for TypeId

source§

fn matches(&self, info: &InspectorInfo) -> bool

source§

impl<'s> InspectWidgetPattern for &'s str

Matches if the WidgetType::path ends with the string.

source§

fn matches(&self, info: &InspectorInfo) -> bool

Implementors§