pub struct ControllerParameter {
pub name: String,
pub kind: ControllerParameterKind,
pub default: f64,
}Fields§
§name: String§kind: ControllerParameterKind§default: f64Finite. Int is integral; Bool/Trigger are exactly 0 or 1. Never rounded or clamped.
Trait Implementations§
Source§impl Clone for ControllerParameter
impl Clone for ControllerParameter
Source§impl Debug for ControllerParameter
impl Debug for ControllerParameter
Source§impl<'de> Deserialize<'de> for ControllerParameter
impl<'de> Deserialize<'de> for ControllerParameter
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 PartialEq for ControllerParameter
impl PartialEq for ControllerParameter
Source§impl Serialize for ControllerParameter
impl Serialize for ControllerParameter
impl StructuralPartialEq for ControllerParameter
Auto Trait Implementations§
impl Forget for ControllerParameter
impl Freeze for ControllerParameter
impl RefUnwindSafe for ControllerParameter
impl Send for ControllerParameter
impl Sync for ControllerParameter
impl Unpin for ControllerParameter
impl UnsafeUnpin for ControllerParameter
impl UnwindSafe for ControllerParameter
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