pub struct EffectQueueConfig {
pub enabled: bool,
pub scheduler: SchedulerConfig,
}Expand description
Configuration for effect queue scheduling.
Fields§
§enabled: boolWhether effect queue scheduling is enabled.
scheduler: SchedulerConfigScheduler configuration (Smith’s rule by default).
Implementations§
Source§impl EffectQueueConfig
impl EffectQueueConfig
Sourcepub fn with_enabled(self, enabled: bool) -> Self
pub fn with_enabled(self, enabled: bool) -> Self
Enable effect queue scheduling with the provided scheduler config.
Sourcepub fn with_scheduler(self, scheduler: SchedulerConfig) -> Self
pub fn with_scheduler(self, scheduler: SchedulerConfig) -> Self
Override the scheduler configuration.
Trait Implementations§
Source§impl Clone for EffectQueueConfig
impl Clone for EffectQueueConfig
Source§fn clone(&self) -> EffectQueueConfig
fn clone(&self) -> EffectQueueConfig
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 EffectQueueConfig
impl Debug for EffectQueueConfig
Auto Trait Implementations§
impl Freeze for EffectQueueConfig
impl RefUnwindSafe for EffectQueueConfig
impl Send for EffectQueueConfig
impl Sync for EffectQueueConfig
impl Unpin for EffectQueueConfig
impl UnsafeUnpin for EffectQueueConfig
impl UnwindSafe for EffectQueueConfig
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