Enum audio_streams::StreamDirection
source · pub enum StreamDirection {
Playback,
Capture,
}
Expand description
Valid directions of an audio stream.
Variants§
Trait Implementations§
source§impl Clone for StreamDirection
impl Clone for StreamDirection
source§fn clone(&self) -> StreamDirection
fn clone(&self) -> StreamDirection
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 moresource§impl Debug for StreamDirection
impl Debug for StreamDirection
source§impl PartialEq for StreamDirection
impl PartialEq for StreamDirection
source§fn eq(&self, other: &StreamDirection) -> bool
fn eq(&self, other: &StreamDirection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for StreamDirection
impl Eq for StreamDirection
impl StructuralPartialEq for StreamDirection
Auto Trait Implementations§
impl RefUnwindSafe for StreamDirection
impl Send for StreamDirection
impl Sync for StreamDirection
impl Unpin for StreamDirection
impl UnwindSafe for StreamDirection
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