#[repr(C)]pub struct pa_sample_spec {
pub format: i32,
pub rate: u32,
pub channels: u8,
}
Fields§
§format: i32
§rate: u32
§channels: u8
Trait Implementations§
Source§impl Clone for pa_sample_spec
impl Clone for pa_sample_spec
Source§fn clone(&self) -> pa_sample_spec
fn clone(&self) -> pa_sample_spec
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 moreSource§impl Debug for pa_sample_spec
impl Debug for pa_sample_spec
impl Copy for pa_sample_spec
Auto Trait Implementations§
impl Freeze for pa_sample_spec
impl RefUnwindSafe for pa_sample_spec
impl Send for pa_sample_spec
impl Sync for pa_sample_spec
impl Unpin for pa_sample_spec
impl UnwindSafe for pa_sample_spec
Blanket Implementations§
Source§impl<T> ActionTrait for T
impl<T> ActionTrait for T
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