#[non_exhaustive]pub enum RealtimeFrameSlot {
Text,
Audio(usize),
}Expand description
Canonical stream slot in a text-plus-audio realtime schedule.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for RealtimeFrameSlot
impl Clone for RealtimeFrameSlot
Source§fn clone(&self) -> RealtimeFrameSlot
fn clone(&self) -> RealtimeFrameSlot
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 RealtimeFrameSlot
Source§impl Debug for RealtimeFrameSlot
impl Debug for RealtimeFrameSlot
impl Eq for RealtimeFrameSlot
Source§impl Hash for RealtimeFrameSlot
impl Hash for RealtimeFrameSlot
Source§impl Ord for RealtimeFrameSlot
impl Ord for RealtimeFrameSlot
Source§fn cmp(&self, other: &RealtimeFrameSlot) -> Ordering
fn cmp(&self, other: &RealtimeFrameSlot) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for RealtimeFrameSlot
impl PartialEq for RealtimeFrameSlot
Source§impl PartialOrd for RealtimeFrameSlot
impl PartialOrd for RealtimeFrameSlot
impl StructuralPartialEq for RealtimeFrameSlot
Auto Trait Implementations§
impl Freeze for RealtimeFrameSlot
impl RefUnwindSafe for RealtimeFrameSlot
impl Send for RealtimeFrameSlot
impl Sync for RealtimeFrameSlot
impl Unpin for RealtimeFrameSlot
impl UnsafeUnpin for RealtimeFrameSlot
impl UnwindSafe for RealtimeFrameSlot
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