style::selector_map

Trait SelectorMapEntry

Source
pub trait SelectorMapEntry: Sized + Clone {
    // Required method
    fn selector(&self) -> SelectorIter<'_, SelectorImpl>;
}
Expand description

A trait to abstract over a given selector map entry.

Required Methods§

Source

fn selector(&self) -> SelectorIter<'_, SelectorImpl>

Gets the selector we should use to index in the selector map.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§