pub enum ParameterValue {
Float {
value: f32,
},
}
Expand description
A runtime typed parameter value
Variants§
Trait Implementations§
Source§impl Clone for ParameterValue
impl Clone for ParameterValue
Source§fn clone(&self) -> ParameterValue
fn clone(&self) -> ParameterValue
Returns a copy 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 ParameterValue
impl Debug for ParameterValue
Source§impl From<f32> for ParameterValue
impl From<f32> for ParameterValue
Source§impl PartialEq for ParameterValue
impl PartialEq for ParameterValue
Source§impl TryFrom<ParameterValue> for f32
impl TryFrom<ParameterValue> for f32
impl StructuralPartialEq for ParameterValue
Auto Trait Implementations§
impl Freeze for ParameterValue
impl RefUnwindSafe for ParameterValue
impl Send for ParameterValue
impl Sync for ParameterValue
impl Unpin for ParameterValue
impl UnwindSafe for ParameterValue
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