pub struct Netlist {Show 15 fields
pub axes: Vec<AxisNode>,
pub motors: Vec<MotorNode>,
pub sections: Vec<SectionNode>,
pub bodies: Vec<BodyNode>,
pub guides: Vec<GuideNode>,
pub idlers: Vec<IdlerNode>,
pub frame: Option<FrameNode>,
pub spans: Vec<SpanNode>,
pub lean: Option<LeanNode>,
pub gantry: Option<GantryNode>,
pub tcp: Option<TcpNode>,
pub refs: Vec<String>,
pub values: Vec<(&'static str, String)>,
pub linkage: Option<LinkageNode>,
pub scissor: Option<ScissorNode>,
}Expand description
The [machine] part, read and checked; indices point into the node lists, motors in their order of the file.
Fields§
§axes: Vec<AxisNode>§motors: Vec<MotorNode>§sections: Vec<SectionNode>§bodies: Vec<BodyNode>§guides: Vec<GuideNode>§idlers: Vec<IdlerNode>§frame: Option<FrameNode>§spans: Vec<SpanNode>§lean: Option<LeanNode>§gantry: Option<GantryNode>§tcp: Option<TcpNode>§refs: Vec<String>Every dotted path a number field named: these keys of the file are in use.
values: Vec<(&'static str, String)>The value tables of screws, racks, linear motors and strain wave gears: the registered one-axis machines’ table each is laid out as (“screw”, …), and its path in the file.
linkage: Option<LinkageNode>The linkage of a file that has one, planar (crate::linkage) or spatial (crate::spatial); its netlist has no
belts, bodies or guides.
scissor: Option<ScissorNode>The scissor lift of a file that has one (crate::scissor); its netlist has one axis and one motor.
Implementations§
Auto Trait Implementations§
impl Freeze for Netlist
impl RefUnwindSafe for Netlist
impl Send for Netlist
impl Sync for Netlist
impl Unpin for Netlist
impl UnsafeUnpin for Netlist
impl UnwindSafe for Netlist
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