Trait SelectValue

Source
pub trait SelectValue:
    Sized
    + Clone
    + PartialEq {
    // Required method
    fn marker(&self) -> &str;

    // Provided method
    fn next(&mut self) { ... }
}

Required Methods§

Source

fn marker(&self) -> &str

Returns a displayable marker for the value

Provided Methods§

Source

fn next(&mut self)

Transforms the value on interaction

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.

Implementations on Foreign Types§

Source§

impl SelectValue for &str

Source§

fn marker(&self) -> &str

Source§

impl SelectValue for bool

Source§

fn next(&mut self)

Source§

fn marker(&self) -> &str

Source§

impl SelectValue for ()

Source§

fn marker(&self) -> &str

Implementors§