Trait sourceview5::prelude::SorterExt

source ·
pub trait SorterExt: IsA<Sorter> + Sealed + 'static {
    // Provided methods
    fn changed(&self, change: SorterChange) { ... }
    fn compare(
        &self,
        item1: &impl IsA<Object>,
        item2: &impl IsA<Object>,
    ) -> Ordering { ... }
    fn order(&self) -> SorterOrder { ... }
    fn connect_changed<F>(&self, f: F) -> SignalHandlerId
       where F: Fn(&Self, SorterChange) + 'static { ... }
}

Provided Methods§

source

fn changed(&self, change: SorterChange)

source

fn compare( &self, item1: &impl IsA<Object>, item2: &impl IsA<Object>, ) -> Ordering

source

fn order(&self) -> SorterOrder

source

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

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<O> SorterExt for O
where O: IsA<Sorter>,