Struct goxlr_profile_loader::microphone::gate::Gate
source · [−]pub struct Gate { /* private fields */ }
Implementations
sourceimpl Gate
impl Gate
pub fn new() -> Self
pub fn parse_gate(
&mut self,
attributes: &[OwnedAttribute]
) -> Result<(), ParseError>
pub fn write_gate(&self, attributes: &mut HashMap<String, String>)
pub fn amount(&self) -> u8
pub fn enabled(&self) -> bool
pub fn threshold(&self) -> i8
pub fn attack(&self) -> u8
pub fn release(&self) -> u8
pub fn attenuation(&self) -> u8
pub fn set_amount(&mut self, amount: u8)
pub fn set_threshold(&mut self, threshold: i8)
pub fn set_attack(&mut self, attack: u8)
pub fn set_release(&mut self, release: u8)
pub fn set_enabled(&mut self, enabled: bool)
pub fn set_attenuation(&mut self, attenuation: u8)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Gate
impl Send for Gate
impl Sync for Gate
impl Unpin for Gate
impl UnwindSafe for Gate
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