Trait moonshine_kind::GetInstanceCommands

source ·
pub trait GetInstanceCommands<T: Kind> {
    // Required method
    fn instance(&mut self, instance: Instance<T>) -> InstanceCommands<'_, T>;
}
Expand description

Extension trait to access InstanceCommands<T> from Commands.

See InstanceCommands for more information.

Required Methods§

source

fn instance(&mut self, instance: Instance<T>) -> InstanceCommands<'_, T>

Returns the InstanceCommands<T> for an Instance<T>.

Implementations on Foreign Types§

source§

impl<T: Kind> GetInstanceCommands<T> for Commands<'_, '_>

source§

fn instance(&mut self, instance: Instance<T>) -> InstanceCommands<'_, T>

Implementors§