Struct cameleon_genapi::EnumerationNode
source · pub struct EnumerationNode { /* private fields */ }
Implementations§
source§impl EnumerationNode
impl EnumerationNode
pub fn value_elem(&self) -> ImmOrPNode<IntegerId>
pub fn p_selected(&self) -> &[NodeId]
pub fn polling_time(&self) -> Option<u64>
Trait Implementations§
source§impl Clone for EnumerationNode
impl Clone for EnumerationNode
source§fn clone(&self) -> EnumerationNode
fn clone(&self) -> EnumerationNode
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 EnumerationNode
impl Debug for EnumerationNode
source§impl IEnumeration for EnumerationNode
impl IEnumeration for EnumerationNode
fn current_value<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<i64>
fn current_entry<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<NodeId>
fn entries(&self, _: &impl NodeStore) -> &[NodeId]
fn set_entry_by_symbolic<T: ValueStore, U: CacheStore>( &self, name: &str, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<()>
fn set_entry_by_value<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 EnumerationNode
impl INode for EnumerationNode
source§impl ISelector for EnumerationNode
impl ISelector for EnumerationNode
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 EnumerationNode
impl Send for EnumerationNode
impl Sync for EnumerationNode
impl Unpin for EnumerationNode
impl UnwindSafe for EnumerationNode
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