[][src]Trait fluidlite::IsSettings

pub trait IsSettings {
    fn pick<S, T: ?Sized>(&self, name: S) -> Option<Setting<T>>
    where
        S: Into<Vec<u8>>,
        T: IsSetting
;
fn str_<S>(&self, name: S) -> Option<Setting<str>>
    where
        S: Into<Vec<u8>>
;
fn num<S>(&self, name: S) -> Option<Setting<f64>>
    where
        S: Into<Vec<u8>>
;
fn int<S>(&self, name: S) -> Option<Setting<i32>>
    where
        S: Into<Vec<u8>>
; }

The settings interface

Required methods

fn pick<S, T: ?Sized>(&self, name: S) -> Option<Setting<T>> where
    S: Into<Vec<u8>>,
    T: IsSetting

fn str_<S>(&self, name: S) -> Option<Setting<str>> where
    S: Into<Vec<u8>>, 

fn num<S>(&self, name: S) -> Option<Setting<f64>> where
    S: Into<Vec<u8>>, 

fn int<S>(&self, name: S) -> Option<Setting<i32>> where
    S: Into<Vec<u8>>, 

Loading content...

Implementors

impl<X> IsSettings for X where
    X: HasHandle<Handle = fluid_settings_t>, 
[src]

Loading content...