Trait SectionModelExt

Source
pub trait SectionModelExt:
    IsA<SectionModel>
    + Sealed
    + 'static {
    // Provided methods
    fn section(&self, position: u32) -> (u32, u32) { ... }
    fn sections_changed(&self, position: u32, n_items: u32) { ... }
    fn connect_sections_changed<F>(&self, f: F) -> SignalHandlerId
       where F: Fn(&Self, u32, u32) + 'static { ... }
}

Provided Methods§

Source

fn section(&self, position: u32) -> (u32, u32)

Source

fn sections_changed(&self, position: u32, n_items: u32)

Source

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

Available on crate feature v4_12 only.

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> SectionModelExt for O
where O: IsA<SectionModel>,