Struct cameleon_genapi::IntegerNode
source · pub struct IntegerNode { /* private fields */ }
Implementations§
source§impl IntegerNode
impl IntegerNode
pub fn value_kind(&self) -> &ValueKind<IntegerId>
pub fn min_elem(&self) -> ImmOrPNode<IntegerId>
pub fn max_elem(&self) -> ImmOrPNode<IntegerId>
pub fn inc_elem(&self) -> ImmOrPNode<i64>
pub fn unit_elem(&self) -> Option<&str>
pub fn representation_elem(&self) -> IntegerRepresentation
pub fn p_selected(&self) -> &[NodeId]
Trait Implementations§
source§impl Clone for IntegerNode
impl Clone for IntegerNode
source§fn clone(&self) -> IntegerNode
fn clone(&self) -> IntegerNode
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 IntegerNode
impl Debug for IntegerNode
source§impl IInteger for IntegerNode
impl IInteger for IntegerNode
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, value: i64, 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<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, device: &mut impl Device, store: &impl NodeStore, cx: &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, value: i64, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<()>
fn set_max<T: ValueStore, U: CacheStore>( &self, value: i64, 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>
source§impl INode for IntegerNode
impl INode for IntegerNode
source§impl ISelector for IntegerNode
impl ISelector for IntegerNode
source§fn selecting_nodes(&self, _: &impl NodeStore) -> GenApiResult<&[NodeId]>
fn selecting_nodes(&self, _: &impl NodeStore) -> GenApiResult<&[NodeId]>
Return nodes which refer to the current node as a selector.
Auto Trait Implementations§
impl RefUnwindSafe for IntegerNode
impl Send for IntegerNode
impl Sync for IntegerNode
impl Unpin for IntegerNode
impl UnwindSafe for IntegerNode
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