Struct cameleon_genapi::EnumerationNode
source · pub struct EnumerationNode { /* private fields */ }Implementations
sourceimpl 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
sourceimpl Clone for EnumerationNode
impl Clone for EnumerationNode
sourcefn clone(&self) -> EnumerationNode
fn clone(&self) -> EnumerationNode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for EnumerationNode
impl Debug for EnumerationNode
sourceimpl 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>
sourceimpl INode for EnumerationNode
impl INode for EnumerationNode
sourceimpl ISelector for EnumerationNode
impl ISelector for EnumerationNode
sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more