[go: up one dir, main page]

FilterExt

Trait FilterExt 

Source
pub trait FilterExt: IsA<Filter> + 'static {
    // Provided methods
    fn changed(&self, change: FilterChange) { ... }
    fn strictness(&self) -> FilterMatch { ... }
    fn match_(&self, item: &impl IsA<Object>) -> bool { ... }
    fn connect_changed<F: Fn(&Self, FilterChange) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

fn changed(&self, change: FilterChange)

Source

fn strictness(&self) -> FilterMatch

Source

fn match_(&self, item: &impl IsA<Object>) -> bool

Source

fn connect_changed<F: Fn(&Self, FilterChange) + 'static>( &self, f: F, ) -> SignalHandlerId

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.

Implementors§

Source§

impl<O: IsA<Filter>> FilterExt for O