Trait lifeguard::OptionSetter [] [src]

pub trait OptionSetter<T> {
    fn set_option(self, T) -> T;
}

Implementing this trait allows structs to act as configuration parameters in the builder API.

Required Methods

fn set_option(self, T) -> T

Implementors