Trait icu_provider_adapters::filter::Filterable

source ·
pub trait Filterable: Sized {
    // Required method
    fn filterable(
        self,
        filter_name: &'static str,
    ) -> RequestFilterDataProvider<Self, fn(_: DataRequest<'_>) -> bool>;
}
Expand description

A blanket-implemented trait exposing the Self::filterable() function.

For more details, see icu_provider_adapters::filter.

Required Methods§

source

fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<Self, fn(_: DataRequest<'_>) -> bool>

Creates a filterable data provider with the given name for debugging.

For more details, see icu_provider_adapters::filter.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> Filterable for T
where T: Sized,