pub struct NewWorkerResult {
pub worker_id: WorkerID,
pub old_worker_id: Option<WorkerID>,
pub was_playing_sequence: bool,
}Expand description
The result of calling AudioNodePool::new_worker.
Fields§
§worker_id: WorkerIDThe new ID of the worker assigned to play this sequence.
old_worker_id: Option<WorkerID>The ID that was previously assigned to this worker.
was_playing_sequence: boolIf this is true, then this worker was already playing a sequence, and that
sequence has been stopped.
Auto Trait Implementations§
impl Freeze for NewWorkerResult
impl RefUnwindSafe for NewWorkerResult
impl Send for NewWorkerResult
impl Sync for NewWorkerResult
impl Unpin for NewWorkerResult
impl UnwindSafe for NewWorkerResult
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