pub struct RoundedPidValue {
pub value: f32,
pub display: String,
}Expand description
A controller value and its canonical text; parsing display as f32 yields value.
Fields§
§value: f32§display: StringTrait Implementations§
Source§impl Clone for RoundedPidValue
impl Clone for RoundedPidValue
Source§fn clone(&self) -> RoundedPidValue
fn clone(&self) -> RoundedPidValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for RoundedPidValue
impl ComposeSchema for RoundedPidValue
Source§impl Debug for RoundedPidValue
impl Debug for RoundedPidValue
Source§impl<'de> Deserialize<'de> for RoundedPidValue
impl<'de> Deserialize<'de> for RoundedPidValue
Source§fn 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
Source§impl PartialEq for RoundedPidValue
impl PartialEq for RoundedPidValue
Source§impl Serialize for RoundedPidValue
impl Serialize for RoundedPidValue
impl StructuralPartialEq for RoundedPidValue
Auto Trait Implementations§
impl Freeze for RoundedPidValue
impl RefUnwindSafe for RoundedPidValue
impl Send for RoundedPidValue
impl Sync for RoundedPidValue
impl Unpin for RoundedPidValue
impl UnsafeUnpin for RoundedPidValue
impl UnwindSafe for RoundedPidValue
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