pub struct LayerFacts {
pub number: usize,
pub count: usize,
pub z_mm: f64,
pub expected_colour: Option<String>,
pub change: Option<ChangeFact>,
pub progress: LayerProgress,
}Expand description
What a check is told of the layer a job stands in: where it is among the file’s layers, the colour it should be laying, the planned change nearest it, and how far through the layer the job has sent.
Fields§
§number: usizeThe layer’s number, counting the file’s first as 1.
count: usizeHow many layers the file plans.
z_mm: f64The layer’s height, in millimetres.
expected_colour: Option<String>The colour the job should be laying, as #RRGGBB, when the file plans
a colour change and names the colour of the stretch the job is in;
none for a file planning no change, whose sliced colour says nothing
of the spool loaded.
change: Option<ChangeFact>The planned change just made before this layer, else the next one.
progress: LayerProgressHow far through the layer the job has sent.
Implementations§
Trait Implementations§
Source§impl Clone for LayerFacts
impl Clone for LayerFacts
Source§impl Debug for LayerFacts
impl Debug for LayerFacts
Source§impl PartialEq for LayerFacts
impl PartialEq for LayerFacts
impl StructuralPartialEq for LayerFacts
Auto Trait Implementations§
impl Forget for LayerFacts
impl Freeze for LayerFacts
impl Move for LayerFacts
impl RefUnwindSafe for LayerFacts
impl Send for LayerFactswhere
RawVecInner: Send,
impl Sync for LayerFactswhere
RawVecInner: Sync,
impl Unpin for LayerFacts
impl UnsafeUnpin for LayerFactswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ExtrusionKind>: UnsafeUnpin,
impl UnwindSafe for LayerFactswhere
RawVecInner: UnwindSafe,
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