pub struct ToolpathSegment {
pub from_mm: [f32; 2],
pub to_mm: [f32; 2],
pub kind: ExtrusionKind,
}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.
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