Trait cameleon_genapi::store::ValueStore[][src]

pub trait ValueStore {
    fn value_opt<T>(&self, id: T) -> Option<&ValueData>
    where
        T: Into<ValueId>
;
fn update<T, U>(&mut self, id: T, value: U) -> Option<ValueData>
    where
        T: Into<ValueId>,
        U: Into<ValueData>
; fn value(&self, id: impl Into<ValueId>) -> &ValueData { ... }
fn integer_value(&self, id: IntegerId) -> Option<i64> { ... }
fn float_value(&self, id: FloatId) -> Option<f64> { ... }
fn str_value(&self, id: StringId) -> Option<&String> { ... } }

Required methods

Provided methods

Implementations on Foreign Types

Implementors