Skip to main content

ToSelectorArguments

Trait ToSelectorArguments 

Source
pub trait ToSelectorArguments {
    // Required method
    fn to_selector_arguments(self) -> Box<dyn Iterator<Item = SelectorArgument>>;
}
Expand description

Trait used for things that can be converted to selector arguments.

Required Methods§

Source

fn to_selector_arguments(self) -> Box<dyn Iterator<Item = SelectorArgument>>

Converts this to selector arguments.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl ToSelectorArguments for &str

Source§

fn to_selector_arguments(self) -> Box<dyn Iterator<Item = SelectorArgument>>

Source§

impl ToSelectorArguments for Selector

Source§

fn to_selector_arguments(self) -> Box<dyn Iterator<Item = SelectorArgument>>

Source§

impl ToSelectorArguments for String

Source§

fn to_selector_arguments(self) -> Box<dyn Iterator<Item = SelectorArgument>>

Implementors§