Skip to main content

ToSelector

Trait ToSelector 

Source
pub trait ToSelector {
    // Required method
    fn to_selector(&self) -> Cow<'static, str>;
}

Required Methods§

Source

fn to_selector(&self) -> Cow<'static, str>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ToSelector for &'static str

Source§

fn to_selector(&self) -> Cow<'static, str>

Source§

impl ToSelector for Cow<'static, str>

Source§

fn to_selector(&self) -> Cow<'static, str>

Source§

impl ToSelector for Element

Source§

fn to_selector(&self) -> Cow<'static, str>

Source§

impl ToSelector for String

Source§

fn to_selector(&self) -> Cow<'static, str>

Implementors§