Struct cameleon_genapi::FloatNode
source · pub struct FloatNode { /* private fields */ }
Implementations§
source§impl FloatNode
impl FloatNode
pub fn value_kind(&self) -> &ValueKind<FloatId>
pub fn min_elem(&self) -> ImmOrPNode<FloatId>
pub fn max_elem(&self) -> ImmOrPNode<FloatId>
pub fn inc_elem(&self) -> Option<&ImmOrPNode<f64>>
pub fn unit_elem(&self) -> Option<&str>
pub fn representation_elem(&self) -> FloatRepresentation
pub fn display_notation_elem(&self) -> DisplayNotation
pub fn display_precision_elem(&self) -> i64
Trait Implementations§
source§impl IFloat for FloatNode
impl IFloat for FloatNode
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>
Auto Trait Implementations§
impl RefUnwindSafe for FloatNode
impl Send for FloatNode
impl Sync for FloatNode
impl Unpin for FloatNode
impl UnwindSafe for FloatNode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more