pub enum IEnumerationKind<'a> {
Enumeration(&'a EnumerationNode),
}
Variants§
Enumeration(&'a EnumerationNode)
Trait Implementations§
source§impl<'a> Clone for IEnumerationKind<'a>
impl<'a> Clone for IEnumerationKind<'a>
source§fn clone(&self) -> IEnumerationKind<'a>
fn clone(&self) -> IEnumerationKind<'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 IEnumerationKind<'a>
impl<'a> Debug for IEnumerationKind<'a>
source§impl<'a> IEnumeration for IEnumerationKind<'a>
impl<'a> IEnumeration for IEnumerationKind<'a>
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, store: &impl NodeStore) -> &[NodeId]
source§fn entry_by_symbolic(
&self,
name: &str,
store: &impl NodeStore
) -> Option<NodeId>
fn entry_by_symbolic( &self, name: &str, store: &impl NodeStore ) -> Option<NodeId>
Get
NodeId
of enum entry which has specified symbolic name.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>
impl<'a> Copy for IEnumerationKind<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for IEnumerationKind<'a>
impl<'a> Send for IEnumerationKind<'a>
impl<'a> Sync for IEnumerationKind<'a>
impl<'a> Unpin for IEnumerationKind<'a>
impl<'a> UnwindSafe for IEnumerationKind<'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