pub struct Parameter {
pub key: String,
pub name: Option<String>,
pub label: String,
pub dim: Dim,
pub pointer: String,
pub scale: f64,
pub integer: bool,
}Expand description
A number of a feature that a formula may set.
Fields§
§key: StringWhat its formula is kept under.
name: Option<String>What formulas call it; None when they cannot refer to it.
label: String§dim: Dim§pointer: StringA JSON pointer into the feature’s data.
scale: f64What the data holds for one millimetre or degree.
integer: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for Parameter
impl<'de> Deserialize<'de> for Parameter
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
impl StructuralPartialEq for Parameter
Auto Trait Implementations§
impl Forget for Parameter
impl Freeze for Parameter
impl Move for Parameter
impl RefUnwindSafe for Parameter
impl Send for Parameter
impl Sync for Parameter
impl Unpin for Parameter
impl UnsafeUnpin for Parameter
impl UnwindSafe for Parameter
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