pub struct ManagerBuilder { /* private fields */ }Expand description
Builder for creating a Manager with a fluent API.
Implementations§
Source§impl ManagerBuilder
impl ManagerBuilder
Sourcepub fn with_config(self, config: Config) -> Self
pub fn with_config(self, config: Config) -> Self
Set the patchbay configuration.
Sourcepub fn with_update_rate(self, hz: f64) -> Self
pub fn with_update_rate(self, hz: f64) -> Self
Set the update rate in Hz.
Sourcepub fn with_command_queue(self, queue: Arc<MpscQueue<SetParameter>>) -> Self
pub fn with_command_queue(self, queue: Arc<MpscQueue<SetParameter>>) -> Self
Set the command queue.
Sourcepub fn with_event_channel(self, tx: Sender<Event>) -> Self
pub fn with_event_channel(self, tx: Sender<Event>) -> Self
Set the event notification channel.
Sourcepub fn with_stats(self, enabled: bool) -> Self
pub fn with_stats(self, enabled: bool) -> Self
Enable or disable statistics collection.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ManagerBuilder
impl RefUnwindSafe for ManagerBuilder
impl Send for ManagerBuilder
impl Sync for ManagerBuilder
impl Unpin for ManagerBuilder
impl UnsafeUnpin for ManagerBuilder
impl UnwindSafe for ManagerBuilder
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