#[repr(C)]pub struct BelaChannelGain {
pub channel: c_int,
pub gain: f32,
}Fields§
§channel: c_int< Channel number. Negative value means all the channels
gain: f32< Gain in dB.
Trait Implementations§
Source§impl Clone for BelaChannelGain
impl Clone for BelaChannelGain
Source§fn clone(&self) -> BelaChannelGain
fn clone(&self) -> BelaChannelGain
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BelaChannelGain
Source§impl Debug for BelaChannelGain
impl Debug for BelaChannelGain
Source§impl Default for BelaChannelGain
impl Default for BelaChannelGain
Source§fn default() -> BelaChannelGain
fn default() -> BelaChannelGain
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BelaChannelGain
impl RefUnwindSafe for BelaChannelGain
impl Send for BelaChannelGain
impl Sync for BelaChannelGain
impl Unpin for BelaChannelGain
impl UnsafeUnpin for BelaChannelGain
impl UnwindSafe for BelaChannelGain
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