pub struct PatchbayConfig {
pub update_rate_hz: f64,
pub command_queue_size: usize,
pub collect_stats: bool,
pub log_events: bool,
}Expand description
Конфигурация патчбэя
Fields§
§update_rate_hz: f64Частота обновления автоматов (Гц)
command_queue_size: usizeРазмер очереди команд
collect_stats: boolСобирать ли статистику
log_events: boolЛогировать ли события
Trait Implementations§
Source§impl Clone for PatchbayConfig
impl Clone for PatchbayConfig
Source§fn clone(&self) -> PatchbayConfig
fn clone(&self) -> PatchbayConfig
Returns a duplicate 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 Debug for PatchbayConfig
impl Debug for PatchbayConfig
Auto Trait Implementations§
impl Freeze for PatchbayConfig
impl RefUnwindSafe for PatchbayConfig
impl Send for PatchbayConfig
impl Sync for PatchbayConfig
impl Unpin for PatchbayConfig
impl UnsafeUnpin for PatchbayConfig
impl UnwindSafe for PatchbayConfig
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