pub struct Parameters {
pub color: Option<String>,
pub material: Option<Material>,
pub title: Option<String>,
pub designation: Option<String>,
pub values: Vec<Parameter>,
}Expand description
A program’s parameters and properties, as an editor lists and edits them
together: the part’s colour and material, what it is called and ordered
as (crate::parameters::steps::PartProperties), and the values it is designed
with (crate::parameters::steps::DefineParameters), in order.
Fields§
§color: Option<String>The part’s colour, #rrggbb; none for the viewer’s own.
material: Option<Material>What the part is made of; none for a part whose material is not given, which has a volume and a centroid but no mass.
title: Option<String>What the part is, in words — ISO 4762 socket head cap screw —
where it is listed: a bill of materials, a drawing’s. None for a
part known by its file’s name.
designation: Option<String>What the part is ordered as, before the values it is built with
(see [Parameters::designate]): a norm — ISO 4762, for ISO 4762 M4x12 — or a catalogue or part number. None for a part that is
made rather than bought.
values: Vec<Parameter>Implementations§
Source§impl Parameters
impl Parameters
Trait Implementations§
Source§impl Clone for Parameters
impl Clone for Parameters
Source§fn clone(&self) -> Parameters
fn clone(&self) -> Parameters
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more