Enum cameleon_genapi::interface::IFloatKind
source · pub enum IFloatKind<'a> {
Float(&'a FloatNode),
FloatReg(&'a FloatRegNode),
Converter(&'a ConverterNode),
SwissKnife(&'a SwissKnifeNode),
}Variants
Float(&'a FloatNode)
FloatReg(&'a FloatRegNode)
Converter(&'a ConverterNode)
SwissKnife(&'a SwissKnifeNode)
Trait Implementations
sourceimpl<'a> Clone for IFloatKind<'a>
impl<'a> Clone for IFloatKind<'a>
sourcefn clone(&self) -> IFloatKind<'a>
fn clone(&self) -> IFloatKind<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl<'a> Debug for IFloatKind<'a>
impl<'a> Debug for IFloatKind<'a>
sourceimpl<'a> IFloat for IFloatKind<'a>
impl<'a> IFloat for IFloatKind<'a>
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>
impl<'a> Copy for IFloatKind<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for IFloatKind<'a>
impl<'a> Send for IFloatKind<'a>
impl<'a> Sync for IFloatKind<'a>
impl<'a> Unpin for IFloatKind<'a>
impl<'a> UnwindSafe for IFloatKind<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more