pub struct ProgramInput {
pub name: String,
pub number: Option<u32>,
pub units: Units,
pub machine: Option<Machine>,
pub setups: Vec<SetupInput>,
pub tool_change_seconds: f64,
pub protected: BTreeMap<SetupId, MeshSnapshot>,
}Expand description
What the document hands to assembly.
Fields§
§name: StringProgram name (file stem, header comment).
number: Option<u32>Program number (O1001); the first setup’s program info is the fallback.
units: Units§machine: Option<Machine>§setups: Vec<SetupInput>§tool_change_seconds: f64Seconds charged per tool change in the time estimate.
protected: BTreeMap<SetupId, MeshSnapshot>The complete protected mesh of each setup (part, fixtures, clamps) in
that setup’s linked-path coordinates: what lane C18’s polish hook
certifies smoothed arcs against. Only read for operations whose
Operation::polish enables something; such an operation in a setup
without a mesh is refused.
Trait Implementations§
Source§impl Clone for ProgramInput
impl Clone for ProgramInput
Source§impl Debug for ProgramInput
impl Debug for ProgramInput
Source§impl Default for ProgramInput
impl Default for ProgramInput
Source§impl<'de> Deserialize<'de> for ProgramInput
impl<'de> Deserialize<'de> for ProgramInput
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 ProgramInput
impl PartialEq for ProgramInput
Source§impl Serialize for ProgramInput
impl Serialize for ProgramInput
impl StructuralPartialEq for ProgramInput
Auto Trait Implementations§
impl Freeze for ProgramInput
impl RefUnwindSafe for ProgramInput
impl Send for ProgramInput
impl Sync for ProgramInput
impl Unpin for ProgramInput
impl UnsafeUnpin for ProgramInput
impl UnwindSafe for ProgramInput
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