Trait libadwaita::subclass::prelude::SelectionModelImpl

source ·
pub trait SelectionModelImpl: ListModelImpl {
    // Provided methods
    fn selection_in_range(&self, position: u32, n_items: u32) -> Bitset { ... }
    fn is_selected(&self, position: u32) -> bool { ... }
    fn select_all(&self) -> bool { ... }
    fn select_item(&self, position: u32, unselect_rest: bool) -> bool { ... }
    fn select_range(
        &self,
        position: u32,
        n_items: u32,
        unselect_rest: bool,
    ) -> bool { ... }
    fn set_selection(&self, selected: &Bitset, mask: &Bitset) -> bool { ... }
    fn unselect_all(&self) -> bool { ... }
    fn unselect_item(&self, position: u32) -> bool { ... }
    fn unselect_range(&self, position: u32, n_items: u32) -> bool { ... }
}

Provided Methods§

source

fn selection_in_range(&self, position: u32, n_items: u32) -> Bitset

source

fn is_selected(&self, position: u32) -> bool

source

fn select_all(&self) -> bool

source

fn select_item(&self, position: u32, unselect_rest: bool) -> bool

source

fn select_range(&self, position: u32, n_items: u32, unselect_rest: bool) -> bool

source

fn set_selection(&self, selected: &Bitset, mask: &Bitset) -> bool

source

fn unselect_all(&self) -> bool

source

fn unselect_item(&self, position: u32) -> bool

source

fn unselect_range(&self, position: u32, n_items: u32) -> bool

Object Safety§

This trait is not object safe.

Implementors§