pub struct AudioStreamContext {
pub timestamp: f64,
pub sample_rate: u32,
}Fields§
§timestamp: f64Timestamp of the current stream position in seconds.
sample_rate: u32Sample rate in Hz.
Trait Implementations§
Source§impl Clone for AudioStreamContext
impl Clone for AudioStreamContext
Source§fn clone(&self) -> AudioStreamContext
fn clone(&self) -> AudioStreamContext
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AudioStreamContext
impl RefUnwindSafe for AudioStreamContext
impl Send for AudioStreamContext
impl Sync for AudioStreamContext
impl Unpin for AudioStreamContext
impl UnwindSafe for AudioStreamContext
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