Struct hapi_rs::parameter::IntParameter
source · pub struct IntParameter { /* private fields */ }
Implementations
sourceimpl IntParameter
impl IntParameter
Emulates a button press action
Trait Implementations
sourceimpl Debug for IntParameter
impl Debug for IntParameter
sourceimpl ParmBaseTrait for IntParameter
impl ParmBaseTrait for IntParameter
type ValueType = i32
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 IntParameter
impl Send for IntParameter
impl Sync for IntParameter
impl Unpin for IntParameter
impl !UnwindSafe for IntParameter
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