Struct vtubestudio::data::ParameterValue
source · [−]Expand description
Used in InjectParameterDataRequest
.
Fields
id: String
The ID (name) of the parameter.
value: f64
The value of the parameter.
weight: Option<f64>
The weight of this parameter injection value compared to values provided by facial tracking.
This value should be between 0 and 1 (with 1 being the default).
Trait 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 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ParameterValue
impl Debug for ParameterValue
sourceimpl Default for ParameterValue
impl Default for ParameterValue
sourcefn default() -> ParameterValue
fn default() -> ParameterValue
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ParameterValue
impl<'de> Deserialize<'de> for ParameterValue
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<ParameterValue> for ParameterValue
impl PartialEq<ParameterValue> for ParameterValue
sourcefn eq(&self, other: &ParameterValue) -> bool
fn eq(&self, other: &ParameterValue) -> bool
sourceimpl Serialize for ParameterValue
impl Serialize for ParameterValue
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