pub struct ValueSpec {
pub name: String,
pub kind: String,
pub default: Option<f64>,
}Fields§
§name: String§kind: Stringnumber, text or bool — the format’s word for its type.
default: Option<f64>What it is when a recipe doesn’t say.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ValueSpec
impl RefUnwindSafe for ValueSpec
impl Send for ValueSpec
impl Sync for ValueSpec
impl Unpin for ValueSpec
impl UnsafeUnpin for ValueSpec
impl UnwindSafe for ValueSpec
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