pub trait IFloat {
Show 14 methods // Required methods fn value<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<f64>; fn set_value<T: ValueStore, U: CacheStore>( &self, value: f64, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<()>; fn min<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<f64>; fn max<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<f64>; fn inc_mode(&self, store: &impl NodeStore) -> Option<IncrementMode>; fn inc<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<Option<f64>>; fn representation(&self, store: &impl NodeStore) -> FloatRepresentation; fn unit(&self, store: &impl NodeStore) -> Option<&str>; fn display_notation(&self, store: &impl NodeStore) -> DisplayNotation; fn display_precision(&self, store: &impl NodeStore) -> i64; fn set_min<T: ValueStore, U: CacheStore>( &self, value: f64, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<()>; fn set_max<T: ValueStore, U: CacheStore>( &self, value: f64, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<()>; fn is_readable<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<bool>; fn is_writable<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<bool>;
}

Required Methods§

source

fn value<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<f64>

source

fn set_value<T: ValueStore, U: CacheStore>( &self, value: f64, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<()>

source

fn min<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<f64>

source

fn max<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<f64>

source

fn inc_mode(&self, store: &impl NodeStore) -> Option<IncrementMode>

source

fn inc<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<Option<f64>>

source

fn representation(&self, store: &impl NodeStore) -> FloatRepresentation

source

fn unit(&self, store: &impl NodeStore) -> Option<&str>

source

fn display_notation(&self, store: &impl NodeStore) -> DisplayNotation

source

fn display_precision(&self, store: &impl NodeStore) -> i64

source

fn set_min<T: ValueStore, U: CacheStore>( &self, value: f64, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<()>

source

fn set_max<T: ValueStore, U: CacheStore>( &self, value: f64, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<()>

source

fn is_readable<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<bool>

source

fn is_writable<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<bool>

Implementors§