zng_wgt

Trait IconNames

source
pub trait IconNames {
    // Required method
    fn names(self) -> impl Iterator<Item = Txt>;
}
Expand description

Adapter for ICONS queries.

Can be "name" or ["name", "fallback-name1"] names.

Required Methods§

source

fn names(self) -> impl Iterator<Item = Txt>

Iterate over names, from most wanted to least.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl IconNames for &'static str

source§

fn names(self) -> impl Iterator<Item = Txt>

source§

impl IconNames for &[&'static str]

source§

fn names(self) -> impl Iterator<Item = Txt>

source§

impl IconNames for &[Txt]

source§

fn names(self) -> impl Iterator<Item = Txt>

source§

impl IconNames for Txt

source§

fn names(self) -> impl Iterator<Item = Txt>

source§

impl IconNames for Vec<Txt>

source§

fn names(self) -> impl Iterator<Item = Txt>

source§

impl<const N: usize> IconNames for [&'static str; N]

source§

fn names(self) -> impl Iterator<Item = Txt>

Implementors§