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 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<'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> Freeze for ICommandKind<'a>
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