pub enum DeviceDirection {
Input,
Output,
Duplex,
}Expand description
Direction supported by a cataloged stream device.
Variants§
Input
Device produces stream input.
Output
Device consumes stream output.
Duplex
Device supports input and output.
Trait Implementations§
Source§impl Clone for DeviceDirection
impl Clone for DeviceDirection
Source§fn clone(&self) -> DeviceDirection
fn clone(&self) -> DeviceDirection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DeviceDirection
Source§impl Debug for DeviceDirection
impl Debug for DeviceDirection
impl Eq for DeviceDirection
Source§impl PartialEq for DeviceDirection
impl PartialEq for DeviceDirection
Source§fn eq(&self, other: &DeviceDirection) -> bool
fn eq(&self, other: &DeviceDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeviceDirection
Auto Trait Implementations§
impl Freeze for DeviceDirection
impl RefUnwindSafe for DeviceDirection
impl Send for DeviceDirection
impl Sync for DeviceDirection
impl Unpin for DeviceDirection
impl UnsafeUnpin for DeviceDirection
impl UnwindSafe for DeviceDirection
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