pub struct ChangeFact {
pub just_made: bool,
pub number: u32,
pub colour_change: bool,
pub layer: u32,
pub z_mm: f64,
pub colour: Option<String>,
}Expand description
A planned change as a check is told of it.
Fields§
§just_made: boolWhether it was made just before this layer, rather than still ahead.
number: u32Its number among the file’s changes, counting from 1 in file order.
colour_change: boolWhether it is a colour change rather than a planned pause.
layer: u32The first layer printed after it, counting the first as 1.
z_mm: f64That layer’s height, in millimetres.
colour: Option<String>The colour loaded at it, as #RRGGBB, when the file names one.
Implementations§
Trait Implementations§
Source§impl Clone for ChangeFact
impl Clone for ChangeFact
Source§impl Debug for ChangeFact
impl Debug for ChangeFact
Source§impl PartialEq for ChangeFact
impl PartialEq for ChangeFact
impl StructuralPartialEq for ChangeFact
Auto Trait Implementations§
impl Forget for ChangeFact
impl Freeze for ChangeFact
impl Move for ChangeFact
impl RefUnwindSafe for ChangeFact
impl Send for ChangeFactwhere
RawVecInner: Send,
impl Sync for ChangeFactwhere
RawVecInner: Sync,
impl Unpin for ChangeFact
impl UnsafeUnpin for ChangeFact
impl UnwindSafe for ChangeFactwhere
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