pub trait FilterImpl: ObjectImpl + ObjectSubclass<Type: IsA<Filter>> {
// Provided methods
fn strictness(&self) -> FilterMatch { ... }
fn match_(&self, item: &Object) -> bool { ... }
}
Provided Methods§
Sourcefn strictness(&self) -> FilterMatch
fn strictness(&self) -> FilterMatch
Gets the known strictness of a filter.
If the strictness is not known, [enum@Gtk.FilterMatch.some] is returned.
This value may change after emission of the changed
signal.
This function is meant purely for optimization purposes. Filters can
choose to omit implementing it, but FilterListModel
uses it.
§Returns
the strictness of @self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.