pub enum PortDir {
Input,
Output,
}Available on crate feature
topology only.Expand description
Serializable mirror of audio_core_bsd::PortDirection.
Variants§
Input
The port consumes audio from an upstream node.
Output
The port produces audio for a downstream node.
Trait Implementations§
impl Copy for PortDir
Source§impl<'de> Deserialize<'de> for PortDir
impl<'de> Deserialize<'de> for PortDir
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PortDir
impl StructuralPartialEq for PortDir
Auto Trait Implementations§
impl Freeze for PortDir
impl RefUnwindSafe for PortDir
impl Send for PortDir
impl Sync for PortDir
impl Unpin for PortDir
impl UnsafeUnpin for PortDir
impl UnwindSafe for PortDir
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