pub struct ParameterFlags {
pub can_automate: bool,
pub is_readonly: bool,
pub is_bypass: bool,
pub is_list: bool,
pub is_hidden: bool,
}Expand description
Flags controlling parameter behavior.
Fields§
§can_automate: boolParameter can be automated by the host.
is_readonly: boolParameter is read-only (display only).
is_bypass: boolParameter is the bypass switch.
is_list: boolParameter should be displayed as a dropdown list (for enums). When true, host shows text labels from getParameterStringByValue().
Parameter is hidden from the DAW’s parameter list. Used for internal parameters like MIDI CC emulation.
Trait Implementations§
Source§impl Clone for ParameterFlags
impl Clone for ParameterFlags
Source§fn clone(&self) -> ParameterFlags
fn clone(&self) -> ParameterFlags
Returns a duplicate of the value. Read more
1.0.0 · 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 ParameterFlags
impl Debug for ParameterFlags
Source§impl Default for ParameterFlags
impl Default for ParameterFlags
Source§impl PartialEq for ParameterFlags
impl PartialEq for ParameterFlags
impl Copy for ParameterFlags
impl Eq for ParameterFlags
impl StructuralPartialEq for ParameterFlags
Auto Trait Implementations§
impl Freeze for ParameterFlags
impl RefUnwindSafe for ParameterFlags
impl Send for ParameterFlags
impl Sync for ParameterFlags
impl Unpin 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