pub enum TrackSendDirection {
Receive,
Send,
}Expand description
Defines whether you are referring to a send or a receive.
Variants§
Receive
You are referring to a receive (a send from the other track’s perspective).
Send
Refers to a track send (a receive from the other track’s perspective).
Trait Implementations§
Source§impl Clone for TrackSendDirection
impl Clone for TrackSendDirection
Source§fn clone(&self) -> TrackSendDirection
fn clone(&self) -> TrackSendDirection
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 TrackSendDirection
Source§impl Debug for TrackSendDirection
impl Debug for TrackSendDirection
impl Eq for TrackSendDirection
Source§impl From<TrackSendDirection> for TrackSendCategory
impl From<TrackSendDirection> for TrackSendCategory
Source§fn from(v: TrackSendDirection) -> TrackSendCategory
fn from(v: TrackSendDirection) -> TrackSendCategory
Converts to this type from the input type.
Source§impl Hash for TrackSendDirection
impl Hash for TrackSendDirection
Source§impl PartialEq for TrackSendDirection
impl PartialEq for TrackSendDirection
Source§fn eq(&self, other: &TrackSendDirection) -> bool
fn eq(&self, other: &TrackSendDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TrackSendDirection
Auto Trait Implementations§
impl Freeze for TrackSendDirection
impl RefUnwindSafe for TrackSendDirection
impl Send for TrackSendDirection
impl Sync for TrackSendDirection
impl Unpin for TrackSendDirection
impl UnsafeUnpin for TrackSendDirection
impl UnwindSafe for TrackSendDirection
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