pub struct LastPacketInfo {
pub desired_output_frames: Option<u64>,
}
Expand description
Options for processes the last packet in a resampler.
Fields§
§desired_output_frames: Option<u64>
The desired number of output frames that should be sent via the
on_output_packet
closure.
If this is None
, then the last packet sent may contain extra
padded zeros on the end.
Trait Implementations§
Source§impl Clone for LastPacketInfo
impl Clone for LastPacketInfo
Source§fn clone(&self) -> LastPacketInfo
fn clone(&self) -> LastPacketInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LastPacketInfo
impl Debug for LastPacketInfo
Source§impl PartialEq for LastPacketInfo
impl PartialEq for LastPacketInfo
impl Copy for LastPacketInfo
impl Eq for LastPacketInfo
impl StructuralPartialEq for LastPacketInfo
Auto Trait Implementations§
impl Freeze for LastPacketInfo
impl RefUnwindSafe for LastPacketInfo
impl Send for LastPacketInfo
impl Sync for LastPacketInfo
impl Unpin for LastPacketInfo
impl UnwindSafe for LastPacketInfo
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