pub struct ControlParam {
pub name: &'static str,
pub kind: ControlParamKind,
}Expand description
A controllable parameter declared by a component.
Fields§
§name: &'static strParameter name, must match ControlDef.property from the DSL.
kind: ControlParamKindWhat kind of control target this maps to.
Trait Implementations§
Source§impl Clone for ControlParam
impl Clone for ControlParam
Source§fn clone(&self) -> ControlParam
fn clone(&self) -> ControlParam
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 ControlParam
impl Debug for ControlParam
Source§impl PartialEq for ControlParam
impl PartialEq for ControlParam
Source§fn eq(&self, other: &ControlParam) -> bool
fn eq(&self, other: &ControlParam) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ControlParam
Auto Trait Implementations§
impl Freeze for ControlParam
impl RefUnwindSafe for ControlParam
impl Send for ControlParam
impl Sync for ControlParam
impl Unpin for ControlParam
impl UnsafeUnpin for ControlParam
impl UnwindSafe for ControlParam
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