pub struct ToolpathSegment {
pub from_mm: [f32; 2],
pub to_mm: [f32; 2],
pub kind: ExtrusionKind,
pub width_mm: f32,
pub ends_at: u64,
}Expand description
One extrusion move, or one chord of an arc, of a layer.
Fields§
§from_mm: [f32; 2]Where it starts, in bed millimetres.
to_mm: [f32; 2]Where it ends.
kind: ExtrusionKindWhat it lays.
width_mm: f32The extrusion width the slicer laid it at, from the last ;WIDTH:
before it, in millimetres; 0 when the file states none.
ends_at: u64The file offset just past the line laying it: a job whose file position has reached this has sent it to the printer.
Implementations§
Trait Implementations§
Source§impl Clone for ToolpathSegment
impl Clone for ToolpathSegment
impl Copy for ToolpathSegment
Source§impl Debug for ToolpathSegment
impl Debug for ToolpathSegment
Source§impl PartialEq for ToolpathSegment
impl PartialEq for ToolpathSegment
impl StructuralPartialEq for ToolpathSegment
Auto Trait Implementations§
impl Forget for ToolpathSegment
impl Freeze for ToolpathSegment
impl Move for ToolpathSegment
impl RefUnwindSafe for ToolpathSegment
impl Send for ToolpathSegment
impl Sync for ToolpathSegment
impl Unpin for ToolpathSegment
impl UnsafeUnpin for ToolpathSegment
impl UnwindSafe for ToolpathSegment
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