pub enum FrameSize {
Ms2_5,
Ms5,
Ms10,
Ms20,
Ms40,
Ms60,
}Expand description
Duration of one Opus frame (RFC 6716 §3.1, Table 2).
Variants§
Ms2_5
2.5 ms (CELT-only modes).
Ms5
5 ms (CELT-only modes).
Ms10
10 ms.
Ms20
20 ms.
Ms40
40 ms (SILK-only modes).
Ms60
60 ms (SILK-only modes).
Implementations§
Trait Implementations§
impl Copy for FrameSize
impl Eq for FrameSize
Source§impl Ord for FrameSize
impl Ord for FrameSize
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
Source§impl PartialOrd for FrameSize
impl PartialOrd for FrameSize
impl StructuralPartialEq for FrameSize
Auto Trait Implementations§
impl Freeze for FrameSize
impl RefUnwindSafe for FrameSize
impl Send for FrameSize
impl Sync for FrameSize
impl Unpin for FrameSize
impl UnsafeUnpin for FrameSize
impl UnwindSafe for FrameSize
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