Struct hapi_rs::parameter::FloatParameter
source · pub struct FloatParameter { /* private fields */ }
Trait Implementations
sourceimpl Debug for FloatParameter
impl Debug for FloatParameter
sourceimpl ParmBaseTrait for FloatParameter
impl ParmBaseTrait for FloatParameter
type ValueType = f32
sourcefn set_value<T>(&self, val: T) -> Result<()>where
T: AsRef<[Self::ValueType]>,
fn set_value<T>(&self, val: T) -> Result<()>where
T: AsRef<[Self::ValueType]>,
Set parameter value
fn name(&self) -> Result<String>
If parameter is a menu type, return a vec of menu items
sourcefn expression(&self, index: i32) -> Result<Option<String>>
fn expression(&self, index: i32) -> Result<Option<String>>
Returns a parameter expression string
sourcefn has_expression(&self, index: i32) -> Result<bool>
fn has_expression(&self, index: i32) -> Result<bool>
Checks if parameter has an expression
Auto Trait Implementations
impl !RefUnwindSafe for FloatParameter
impl Send for FloatParameter
impl Sync for FloatParameter
impl Unpin for FloatParameter
impl !UnwindSafe for FloatParameter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more