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
impl Copy for StreamDirection
impl Eq for StreamDirection
impl StructuralPartialEq for StreamDirection
Auto Trait Implementations§
impl Freeze for StreamDirection
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