pub enum SoundCoreParamValue {
Float(f32),
Bool(bool),
U32(u32),
I32(i32),
None,
}Expand description
Captures the value of a parameter.
Variants§
Float(f32)
A floating point value
Bool(bool)
A boolean value
U32(u32)
An unsigned integer value
I32(i32)
A signed integer value
None
No value
Trait Implementations§
Source§impl Clone for SoundCoreParamValue
impl Clone for SoundCoreParamValue
Source§fn clone(&self) -> SoundCoreParamValue
fn clone(&self) -> SoundCoreParamValue
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 SoundCoreParamValue
impl Debug for SoundCoreParamValue
impl Copy for SoundCoreParamValue
Auto Trait Implementations§
impl Freeze for SoundCoreParamValue
impl RefUnwindSafe for SoundCoreParamValue
impl Send for SoundCoreParamValue
impl Sync for SoundCoreParamValue
impl Unpin for SoundCoreParamValue
impl UnwindSafe for SoundCoreParamValue
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