pub struct AudiodevOssOptions {
pub dsp_policy: Option<u32>,
pub exclusive: Option<bool>,
pub in_: Option<AudiodevOssPerDirectionOptions>,
pub out: Option<AudiodevOssPerDirectionOptions>,
pub try_mmap: Option<bool>,
}
Fields§
§dsp_policy: Option<u32>
§exclusive: Option<bool>
§in_: Option<AudiodevOssPerDirectionOptions>
§out: Option<AudiodevOssPerDirectionOptions>
§try_mmap: Option<bool>
Trait Implementations§
Source§impl Clone for AudiodevOssOptions
impl Clone for AudiodevOssOptions
Source§fn clone(&self) -> AudiodevOssOptions
fn clone(&self) -> AudiodevOssOptions
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 AudiodevOssOptions
impl Debug for AudiodevOssOptions
Source§impl Default for AudiodevOssOptions
impl Default for AudiodevOssOptions
Source§fn default() -> AudiodevOssOptions
fn default() -> AudiodevOssOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AudiodevOssOptions
impl<'de> Deserialize<'de> for AudiodevOssOptions
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 AudiodevOssOptions
impl RefUnwindSafe for AudiodevOssOptions
impl Send for AudiodevOssOptions
impl Sync for AudiodevOssOptions
impl Unpin for AudiodevOssOptions
impl UnwindSafe for AudiodevOssOptions
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