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.
Trait Implementations§
Source§impl Clone for NewWorkerResult
impl Clone for NewWorkerResult
Source§fn clone(&self) -> NewWorkerResult
fn clone(&self) -> NewWorkerResult
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 NewWorkerResult
impl Debug for NewWorkerResult
Source§impl PartialEq for NewWorkerResult
impl PartialEq for NewWorkerResult
impl Eq for NewWorkerResult
impl StructuralPartialEq for NewWorkerResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.