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§
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
Object Safety§
This trait is not object safe.