pub struct LimiterType {Show 17 fields
pub name: Option<String>,
pub color: Option<String>,
pub comment: Option<String>,
pub id: Option<String>,
pub device_id: Option<String>,
pub device_name: String,
pub device_role: DeviceRoleType,
pub device_vendor: Option<String>,
pub loaded: Option<bool>,
pub parameters: Option<DeviceParametersElementType>,
pub enabled: Option<BoolParameterType>,
pub state: Option<FileReferenceType>,
pub attack: Option<RealParameterType>,
pub input_gain: Option<RealParameterType>,
pub output_gain: Option<RealParameterType>,
pub release: Option<RealParameterType>,
pub threshold: Option<RealParameterType>,
}Fields§
§name: Option<String>§color: Option<String>§comment: Option<String>§id: Option<String>§device_id: Option<String>§device_name: String§device_role: DeviceRoleType§device_vendor: Option<String>§loaded: Option<bool>§parameters: Option<DeviceParametersElementType>§enabled: Option<BoolParameterType>§state: Option<FileReferenceType>§attack: Option<RealParameterType>§input_gain: Option<RealParameterType>§output_gain: Option<RealParameterType>§release: Option<RealParameterType>§threshold: Option<RealParameterType>Trait Implementations§
impl BuiltinDeviceTrait for LimiterType
Source§impl Clone for LimiterType
impl Clone for LimiterType
Source§fn clone(&self) -> LimiterType
fn clone(&self) -> LimiterType
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 moreSource§impl Debug for LimiterType
impl Debug for LimiterType
Source§impl<'de> Deserialize<'de> for LimiterType
impl<'de> Deserialize<'de> for LimiterType
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
Source§impl DeviceTrait for LimiterType
impl DeviceTrait for LimiterType
fn get_parameters(&self) -> Option<&DeviceParametersElementType>
fn get_enabled(&self) -> Option<&BoolParameterType>
fn get_state(&self) -> Option<&FileReferenceType>
fn get_device_id(&self) -> Option<&str>
fn get_device_name(&self) -> &str
fn get_device_role(&self) -> &DeviceRoleType
fn get_device_vendor(&self) -> Option<&str>
fn get_loaded(&self) -> Option<bool>
Source§impl NameableTrait for LimiterType
impl NameableTrait for LimiterType
Source§impl PartialEq for LimiterType
impl PartialEq for LimiterType
Source§fn eq(&self, other: &LimiterType) -> bool
fn eq(&self, other: &LimiterType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl ReferenceableTrait for LimiterType
impl ReferenceableTrait for LimiterType
Source§impl Serialize for LimiterType
impl Serialize for LimiterType
impl StructuralPartialEq for LimiterType
Auto Trait Implementations§
impl Freeze for LimiterType
impl RefUnwindSafe for LimiterType
impl Send for LimiterType
impl Sync for LimiterType
impl Unpin for LimiterType
impl UnsafeUnpin for LimiterType
impl UnwindSafe for LimiterType
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