pub enum ParameterValue {
Float {
value: f32,
},
}Expand description
A runtime typed parameter value
Variants
Float
Fields
value: f32Trait Implementations
sourceimpl Clone for ParameterValue
impl Clone for ParameterValue
sourcefn clone(&self) -> ParameterValue
fn clone(&self) -> ParameterValue
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ParameterValue
impl Debug for ParameterValue
sourceimpl From<f32> for ParameterValue
impl From<f32> for ParameterValue
sourceimpl PartialEq<ParameterValue> for ParameterValue
impl PartialEq<ParameterValue> for ParameterValue
sourcefn eq(&self, other: &ParameterValue) -> bool
fn eq(&self, other: &ParameterValue) -> bool
sourceimpl TryFrom<ParameterValue> for f32
impl TryFrom<ParameterValue> for f32
impl StructuralPartialEq for ParameterValue
Auto Trait Implementations
impl RefUnwindSafe for ParameterValue
impl Send for ParameterValue
impl Sync for ParameterValue
impl Unpin for ParameterValue
impl UnwindSafe for ParameterValue
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