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 duplicate 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 Freeze for EnumerationNode
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