[][src]Trait fui::feeders::Feeder

pub trait Feeder: 'static {
    fn query(
        &self,
        text: &str,
        position: usize,
        items_count: usize
    ) -> Vec<String>; }

Makes data querable.

Required methods

fn query(&self, text: &str, position: usize, items_count: usize) -> Vec<String>

Returns data filtered by text, position limited to items_count.

Loading content...

Implementations on Foreign Types

impl<T: Display + 'static> Feeder for Vec<T>[src]

impl Feeder for Rc<dyn Feeder>[src]

Loading content...

Implementors

impl Feeder for DirItems[src]

impl Feeder for DummyFeeder[src]

Loading content...