Enum comfy_wgpu::kira::OutputDestination
pub enum OutputDestination {
Track(TrackId),
Emitter(EmitterId),
}Expand description
Where a source of audio should be routed to.
Variants§
Implementations§
§impl OutputDestination
impl OutputDestination
pub const MAIN_TRACK: OutputDestination = _
pub const MAIN_TRACK: OutputDestination = _
Route audio to the main mixer track.
Trait Implementations§
§impl Clone for OutputDestination
impl Clone for OutputDestination
§fn clone(&self) -> OutputDestination
fn clone(&self) -> OutputDestination
Returns a copy 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 more§impl Debug for OutputDestination
impl Debug for OutputDestination
§impl Default for OutputDestination
impl Default for OutputDestination
§fn default() -> OutputDestination
fn default() -> OutputDestination
Returns the “default value” for a type. Read more
§impl From<&EmitterHandle> for OutputDestination
impl From<&EmitterHandle> for OutputDestination
§fn from(handle: &EmitterHandle) -> OutputDestination
fn from(handle: &EmitterHandle) -> OutputDestination
Converts to this type from the input type.
§impl From<&TrackHandle> for OutputDestination
impl From<&TrackHandle> for OutputDestination
§fn from(handle: &TrackHandle) -> OutputDestination
fn from(handle: &TrackHandle) -> OutputDestination
Converts to this type from the input type.
§impl From<EmitterId> for OutputDestination
impl From<EmitterId> for OutputDestination
§fn from(v: EmitterId) -> OutputDestination
fn from(v: EmitterId) -> OutputDestination
Converts to this type from the input type.
§impl From<SubTrackId> for OutputDestination
impl From<SubTrackId> for OutputDestination
§fn from(id: SubTrackId) -> OutputDestination
fn from(id: SubTrackId) -> OutputDestination
Converts to this type from the input type.
§impl From<TrackId> for OutputDestination
impl From<TrackId> for OutputDestination
§fn from(v: TrackId) -> OutputDestination
fn from(v: TrackId) -> OutputDestination
Converts to this type from the input type.
§impl Hash for OutputDestination
impl Hash for OutputDestination
§impl PartialEq<OutputDestination> for OutputDestination
impl PartialEq<OutputDestination> for OutputDestination
§fn eq(&self, other: &OutputDestination) -> bool
fn eq(&self, other: &OutputDestination) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for OutputDestination
impl Eq for OutputDestination
impl StructuralEq for OutputDestination
impl StructuralPartialEq for OutputDestination
Auto Trait Implementations§
impl RefUnwindSafe for OutputDestination
impl Send for OutputDestination
impl Sync for OutputDestination
impl Unpin for OutputDestination
impl UnwindSafe for OutputDestination
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.