pub struct FrameOutcome {
pub samples_per_channel: usize,
pub status: FrameDecodeStatus,
}Expand description
The result of decoding one Opus frame: how many per-channel samples it contributed and why.
Fields§
§samples_per_channel: usizePer-channel 48 kHz sample count this frame contributed.
status: FrameDecodeStatusProvenance of the samples (real audio vs silence and why).
Trait Implementations§
Source§impl Clone for FrameOutcome
impl Clone for FrameOutcome
Source§fn clone(&self) -> FrameOutcome
fn clone(&self) -> FrameOutcome
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 FrameOutcome
Source§impl Debug for FrameOutcome
impl Debug for FrameOutcome
impl Eq for FrameOutcome
Source§impl PartialEq for FrameOutcome
impl PartialEq for FrameOutcome
Source§fn eq(&self, other: &FrameOutcome) -> bool
fn eq(&self, other: &FrameOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FrameOutcome
Auto Trait Implementations§
impl Freeze for FrameOutcome
impl RefUnwindSafe for FrameOutcome
impl Send for FrameOutcome
impl Sync for FrameOutcome
impl Unpin for FrameOutcome
impl UnsafeUnpin for FrameOutcome
impl UnwindSafe for FrameOutcome
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