pub type InstancelessDynClientOutputBundle = ClientOutputBundle<Box<dyn IOutput + Send + Sync + 'static>, Box<dyn IState + Send + Sync + 'static>>;
Aliased Type§
struct InstancelessDynClientOutputBundle {
pub(crate) outputs: Vec<ClientOutput<Box<dyn IOutput + Send + Sync>>>,
pub(crate) sm_gens: Vec<ClientOutputSM<Box<dyn IState + Send + Sync>>>,
}
Fields§
§outputs: Vec<ClientOutput<Box<dyn IOutput + Send + Sync>>>
§sm_gens: Vec<ClientOutputSM<Box<dyn IState + Send + Sync>>>
Implementations
Source§impl<O, S> ClientOutputBundle<O, S>
impl<O, S> ClientOutputBundle<O, S>
pub fn outputs(&self) -> &[ClientOutput<O>]
Source§impl<O, S> ClientOutputBundle<O, S>
impl<O, S> ClientOutputBundle<O, S>
pub fn new( outputs: Vec<ClientOutput<O>>, sm_gens: Vec<ClientOutputSM<S>>, ) -> Self
pub fn sms(&self) -> &[ClientOutputSM<S>]
pub fn with(self, other: Self) -> Self
pub fn into_instanceless(self) -> InstancelessDynClientOutputBundle
Trait Implementations§
Source§impl IntoDynInstance for InstancelessDynClientOutputBundle
impl IntoDynInstance for InstancelessDynClientOutputBundle
Source§type DynType = ClientOutputBundle
type DynType = ClientOutputBundle
The type erased version of the type implementing this trait
Source§fn into_dyn(self, module_instance_id: ModuleInstanceId) -> ClientOutputBundle
fn into_dyn(self, module_instance_id: ModuleInstanceId) -> ClientOutputBundle
Convert
self
into its type-erased equivalentSource§impl<O: Clone, S: Clone> Clone for ClientOutputBundle<O, S>
impl<O: Clone, S: Clone> Clone for ClientOutputBundle<O, S>
Source§fn clone(&self) -> ClientOutputBundle<O, S>
fn clone(&self) -> ClientOutputBundle<O, S>
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<I, S> IntoDynInstance for ClientOutputBundle<I, S>where
I: IntoDynInstance<DynType = DynOutput> + 'static,
S: IntoDynInstance<DynType = DynState> + 'static,
impl<I, S> IntoDynInstance for ClientOutputBundle<I, S>where
I: IntoDynInstance<DynType = DynOutput> + 'static,
S: IntoDynInstance<DynType = DynState> + 'static,
Source§type DynType = ClientOutputBundle
type DynType = ClientOutputBundle
The type erased version of the type implementing this trait
Source§fn into_dyn(self, module_instance_id: ModuleInstanceId) -> ClientOutputBundle
fn into_dyn(self, module_instance_id: ModuleInstanceId) -> ClientOutputBundle
Convert
self
into its type-erased equivalent