pub struct AudioParameters {
pub size: usize,
pub channel_layout: ChannelLayout,
pub sample_rate: c_int,
pub frames_per_buffer: c_int,
}Expand description
See _cef_audio_parameters_t for more documentation.
Fields§
§size: usize§channel_layout: ChannelLayout§sample_rate: c_int§frames_per_buffer: c_intTrait Implementations§
Source§impl Clone for AudioParameters
impl Clone for AudioParameters
Source§fn clone(&self) -> AudioParameters
fn clone(&self) -> AudioParameters
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 AudioParameters
impl Debug for AudioParameters
Source§impl Default for AudioParameters
impl Default for AudioParameters
Source§impl From<AudioParameters> for _cef_audio_parameters_t
impl From<AudioParameters> for _cef_audio_parameters_t
Source§fn from(value: AudioParameters) -> Self
fn from(value: AudioParameters) -> Self
Converts to this type from the input type.
Source§impl From<_cef_audio_parameters_t> for AudioParameters
impl From<_cef_audio_parameters_t> for AudioParameters
Source§fn from(value: _cef_audio_parameters_t) -> Self
fn from(value: _cef_audio_parameters_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AudioParameters
impl RefUnwindSafe for AudioParameters
impl Send for AudioParameters
impl Sync for AudioParameters
impl Unpin for AudioParameters
impl UnwindSafe for AudioParameters
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