Enum cameleon_genapi::interface::IIntegerKind
source · pub enum IIntegerKind<'a> {
Integer(&'a IntegerNode),
IntReg(&'a IntRegNode),
MaskedIntReg(&'a MaskedIntRegNode),
IntConverter(&'a IntConverterNode),
IntSwissKnife(&'a IntSwissKnifeNode),
}
Variants§
Integer(&'a IntegerNode)
IntReg(&'a IntRegNode)
MaskedIntReg(&'a MaskedIntRegNode)
IntConverter(&'a IntConverterNode)
IntSwissKnife(&'a IntSwissKnifeNode)
Trait Implementations§
source§impl<'a> Clone for IIntegerKind<'a>
impl<'a> Clone for IIntegerKind<'a>
source§fn clone(&self) -> IIntegerKind<'a>
fn clone(&self) -> IIntegerKind<'a>
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<'a> Debug for IIntegerKind<'a>
impl<'a> Debug for IIntegerKind<'a>
source§impl<'a> IInteger for IIntegerKind<'a>
impl<'a> IInteger for IIntegerKind<'a>
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, 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<i64>>
source§fn valid_value_set(&self, store: &impl NodeStore) -> &[i64]
fn valid_value_set(&self, store: &impl NodeStore) -> &[i64]
NOTE:
ValidValueSet
is not supported in GenApiSchema Version 1.1
yet.fn representation(&self, store: &impl NodeStore) -> IntegerRepresentation
fn unit(&self, store: &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>
impl<'a> Copy for IIntegerKind<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for IIntegerKind<'a>
impl<'a> Send for IIntegerKind<'a>
impl<'a> Sync for IIntegerKind<'a>
impl<'a> Unpin for IIntegerKind<'a>
impl<'a> UnwindSafe for IIntegerKind<'a>
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