Enum cameleon_genapi::interface::ICommandKind
source · pub enum ICommandKind<'a> {
Command(&'a CommandNode),
}
Variants§
Command(&'a CommandNode)
Trait Implementations§
source§impl<'a> Clone for ICommandKind<'a>
impl<'a> Clone for ICommandKind<'a>
source§fn clone(&self) -> ICommandKind<'a>
fn clone(&self) -> ICommandKind<'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 ICommandKind<'a>
impl<'a> Debug for ICommandKind<'a>
source§impl<'a> ICommand for ICommandKind<'a>
impl<'a> ICommand for ICommandKind<'a>
fn execute<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<()>
fn is_done<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 ICommandKind<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ICommandKind<'a>
impl<'a> Send for ICommandKind<'a>
impl<'a> Sync for ICommandKind<'a>
impl<'a> Unpin for ICommandKind<'a>
impl<'a> UnwindSafe for ICommandKind<'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