Struct cameleon_genapi::ConverterNode
source · pub struct ConverterNode { /* private fields */ }Implementations
sourceimpl ConverterNode
impl ConverterNode
pub fn p_variables(&self) -> &[NamedValue<NodeId>]
pub fn constants(&self) -> &[NamedValue<f64>]
pub fn expressions(&self) -> &[NamedValue<Expr>]
pub fn formula_to(&self) -> &Formula
pub fn formula_from(&self) -> &Formula
pub fn p_value(&self) -> NodeId
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
pub fn slope(&self) -> Slope
pub fn is_linear(&self) -> bool
Trait Implementations
sourceimpl Clone for ConverterNode
impl Clone for ConverterNode
sourcefn clone(&self) -> ConverterNode
fn clone(&self) -> ConverterNode
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 Debug for ConverterNode
impl Debug for ConverterNode
sourceimpl IFloat for ConverterNode
impl IFloat for ConverterNode
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,
_: &mut impl Device,
_: &impl NodeStore,
_: &mut ValueCtxt<T, U>
) -> GenApiResult<f64>
fn max<T: ValueStore, U: CacheStore>(
&self,
_: &mut impl Device,
_: &impl NodeStore,
_: &mut ValueCtxt<T, U>
) -> GenApiResult<f64>
fn inc_mode(&self, _: &impl NodeStore) -> Option<IncrementMode>
fn inc<T: ValueStore, U: CacheStore>(
&self,
_: &mut impl Device,
_: &impl NodeStore,
_: &mut ValueCtxt<T, U>
) -> GenApiResult<Option<f64>>
fn representation(&self, _: &impl NodeStore) -> FloatRepresentation
fn unit(&self, _: &impl NodeStore) -> Option<&str>
fn display_notation(&self, _: &impl NodeStore) -> DisplayNotation
fn display_precision(&self, _: &impl NodeStore) -> i64
fn set_min<T: ValueStore, U: CacheStore>(
&self,
_: f64,
_: &mut impl Device,
store: &impl NodeStore,
_: &mut ValueCtxt<T, U>
) -> GenApiResult<()>
fn set_max<T: ValueStore, U: CacheStore>(
&self,
_: f64,
_: &mut impl Device,
store: &impl NodeStore,
_: &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 ConverterNode
impl Send for ConverterNode
impl Sync for ConverterNode
impl Unpin for ConverterNode
impl UnwindSafe for ConverterNode
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