gio::subclass::prelude

Trait ListModelImpl

source
pub trait ListModelImpl: ObjectImpl + ObjectSubclass<Type: IsA<ListModel>> {
    // Required methods
    fn item_type(&self) -> Type;
    fn n_items(&self) -> u32;
    fn item(&self, position: u32) -> Option<Object>;
}

Required Methods§

source

fn item_type(&self) -> Type

source

fn n_items(&self) -> u32

source

fn item(&self, position: u32) -> Option<Object>

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§