pub struct StreamInfoSnapshot {
pub(crate) channels: u8,
pub(crate) format: SampleFormat,
pub(crate) frame_rate: u32,
buffer_bytes: usize,
pub(crate) period_bytes: usize,
direction: u8,
pub state: u32,
effects: Vec<StreamEffect>,
pub just_reset: bool,
}Fields§
§channels: u8§format: SampleFormat§frame_rate: u32§buffer_bytes: usize§period_bytes: usize§direction: u8§state: u32§effects: Vec<StreamEffect>§just_reset: boolTrait Implementations§
Source§impl Clone for StreamInfoSnapshot
impl Clone for StreamInfoSnapshot
Source§fn clone(&self) -> StreamInfoSnapshot
fn clone(&self) -> StreamInfoSnapshot
Returns a copy 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 moreSource§impl<'de> Deserialize<'de> for StreamInfoSnapshot
impl<'de> Deserialize<'de> for StreamInfoSnapshot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StreamInfoSnapshot
impl RefUnwindSafe for StreamInfoSnapshot
impl Send for StreamInfoSnapshot
impl Sync for StreamInfoSnapshot
impl Unpin for StreamInfoSnapshot
impl UnwindSafe for StreamInfoSnapshot
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