Trait muse_channel::WithNewChannel
source · pub trait WithNewChannel: Sized {
// Required method
fn with_new_channel_named(
self,
name: impl Into<SymbolRef>,
guard: &mut CollectionGuard<'_>,
) -> Self;
// Provided method
fn with_new_channel(self, guard: &mut CollectionGuard<'_>) -> Self { ... }
}Expand description
Registers a new_channel Muse function in self.
Required Methods§
sourcefn with_new_channel_named(
self,
name: impl Into<SymbolRef>,
guard: &mut CollectionGuard<'_>,
) -> Self
fn with_new_channel_named( self, name: impl Into<SymbolRef>, guard: &mut CollectionGuard<'_>, ) -> Self
Registers new_channel_function() in self as name.
Provided Methods§
sourcefn with_new_channel(self, guard: &mut CollectionGuard<'_>) -> Self
fn with_new_channel(self, guard: &mut CollectionGuard<'_>) -> Self
Registers a new_channel Muse function in self.
Object Safety§
This trait is not object safe.