Struct cameleon_genapi::IntSwissKnifeNode
source · pub struct IntSwissKnifeNode { /* private fields */ }
Implementations§
source§impl IntSwissKnifeNode
impl IntSwissKnifeNode
pub fn p_variables(&self) -> &[NamedValue<NodeId>]
pub fn constants(&self) -> &[NamedValue<i64>]
pub fn expressions(&self) -> &[NamedValue<Expr>]
pub fn formula(&self) -> &Formula
pub fn unit_elem(&self) -> Option<&str>
pub fn representation_elem(&self) -> IntegerRepresentation
Trait Implementations§
source§impl Clone for IntSwissKnifeNode
impl Clone for IntSwissKnifeNode
source§fn clone(&self) -> IntSwissKnifeNode
fn clone(&self) -> IntSwissKnifeNode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for IntSwissKnifeNode
impl Debug for IntSwissKnifeNode
source§impl IInteger for IntSwissKnifeNode
impl IInteger for IntSwissKnifeNode
fn value<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<i64>
fn set_value<T: ValueStore, U: CacheStore>( &self, _: i64, _: &mut impl Device, store: &impl NodeStore, _: &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<i64>
fn max<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<i64>
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<i64>>
source§fn valid_value_set(&self, _: &impl NodeStore) -> &[i64]
fn valid_value_set(&self, _: &impl NodeStore) -> &[i64]
NOTE:
ValidValueSet
is not supported in GenApiSchema Version 1.1
yet.fn representation(&self, _: &impl NodeStore) -> IntegerRepresentation
fn unit(&self, _: &impl NodeStore) -> Option<&str>
fn set_min<T: ValueStore, U: CacheStore>( &self, _: i64, _: &mut impl Device, store: &impl NodeStore, _: &mut ValueCtxt<T, U> ) -> GenApiResult<()>
fn set_max<T: ValueStore, U: CacheStore>( &self, _: i64, _: &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, _: &mut impl Device, _: &impl NodeStore, _: &mut ValueCtxt<T, U> ) -> GenApiResult<bool>
Auto Trait Implementations§
impl RefUnwindSafe for IntSwissKnifeNode
impl Send for IntSwissKnifeNode
impl Sync for IntSwissKnifeNode
impl Unpin for IntSwissKnifeNode
impl UnwindSafe for IntSwissKnifeNode
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