pub struct Engine {
pub shared: EngineShared,
}Expand description
Simple combined engine for tests and the TUI.
Fields§
Implementations§
Source§impl Engine
impl Engine
pub fn new(config: EngineConfig) -> Self
Sourcepub fn with_command_tx(config: EngineConfig, tx: Sender<MixerCommand>) -> Self
pub fn with_command_tx(config: EngineConfig, tx: Sender<MixerCommand>) -> Self
Create an engine wired to a mixer command channel.
Methods from Deref<Target = EngineShared>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Engine
impl RefUnwindSafe for Engine
impl Send for Engine
impl Sync for Engine
impl Unpin for Engine
impl UnsafeUnpin for Engine
impl UnwindSafe for Engine
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