Trait easy_imgui::MultiSelectStorage

source ·
pub trait MultiSelectStorage {
    // Required methods
    fn size(&self) -> Option<usize>;
    fn apply_requests(&mut self, ms: &mut MultiSelect);
}
Expand description

How the multi-select data will be stored.

There is a blank implementation for mutable references to a type that implements this trait, so that you can use a storage without consuming it. Or you can pass a temporary adaptor without getting a reference.

Required Methods§

source

fn size(&self) -> Option<usize>

source

fn apply_requests(&mut self, ms: &mut MultiSelect)

Implementations on Foreign Types§

source§

impl<T: MultiSelectStorage> MultiSelectStorage for &mut T

Use the storage without consuming it.

source§

fn size(&self) -> Option<usize>

source§

fn apply_requests(&mut self, ms: &mut MultiSelect)

Implementors§