Struct goxlr_profile_loader::microphone::compressor::Compressor
source · [−]pub struct Compressor { /* private fields */ }
Implementations
sourceimpl Compressor
impl Compressor
pub fn new() -> Self
pub fn parse_compressor(
&mut self,
attributes: &[OwnedAttribute]
) -> Result<(), ParseError>
pub fn write_compressor(&self, attributes: &mut HashMap<String, String>)
pub fn threshold(&self) -> i8
pub fn ratio(&self) -> u8
pub fn attack(&self) -> u8
pub fn release(&self) -> u8
pub fn makeup(&self) -> u8
pub fn set_threshold(&mut self, threshold: i8)
pub fn set_ratio(&mut self, ratio: u8)
pub fn set_attack(&mut self, attack: u8)
pub fn set_release(&mut self, release: u8)
pub fn set_makeup_gain(&mut self, makeup_gain: u8)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Compressor
impl Send for Compressor
impl Sync for Compressor
impl Unpin for Compressor
impl UnwindSafe for Compressor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more