#[non_exhaustive]pub struct ParameterFlags {
pub discrete: bool,
pub automatable: bool,
pub read_only: bool,
pub hidden: bool,
pub bypass: bool,
pub list: bool,
pub program_change: bool,
}Expand description
Native parameter properties. All flags default to false.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.discrete: boolThe parameter has discrete values; step_count describes the intervals.
automatable: boolThe plugin permits sample-timed automation for this parameter.
read_only: boolThe value is observable but host edits are prohibited.
The native parameter is marked hidden from ordinary host interfaces.
bypass: boolThis parameter controls native bypass.
list: boolThe native parameter represents a labeled list of choices.
program_change: boolThis parameter selects a native program.
Trait Implementations§
Source§impl Clone for ParameterFlags
impl Clone for ParameterFlags
impl Copy for ParameterFlags
Source§impl Debug for ParameterFlags
impl Debug for ParameterFlags
Source§impl Default for ParameterFlags
impl Default for ParameterFlags
impl Eq for ParameterFlags
Source§impl Hash for ParameterFlags
impl Hash for ParameterFlags
Source§impl PartialEq for ParameterFlags
impl PartialEq for ParameterFlags
impl StructuralPartialEq for ParameterFlags
Auto Trait Implementations§
impl Forget for ParameterFlags
impl Freeze for ParameterFlags
impl Move for ParameterFlags
impl RefUnwindSafe for ParameterFlags
impl Send for ParameterFlags
impl Sync for ParameterFlags
impl Unpin for ParameterFlags
impl UnsafeUnpin for ParameterFlags
impl UnwindSafe for ParameterFlags
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