pub struct Head {
pub head_version: u32,
pub encoder_name: String,
pub created_unix_sec: u64,
pub display_width_px: u32,
pub display_height_px: u32,
pub build_width_um: u32,
pub build_depth_um: u32,
pub build_height_um: u32,
pub layer_height_um: u32,
pub total_layers: u32,
}Expand description
The HEAD chunk body.
Fields§
§head_version: u32Layout version. 1 for this specification.
encoder_name: StringUTF-8 encoder identity, e.g. DragonFruit 1.0.
created_unix_sec: u64Creation timestamp in Unix seconds.
display_width_px: u32Display width in pixels: the layer mask grid.
display_height_px: u32Display height in pixels: the layer mask grid.
build_width_um: u32Build plate X dimension in micrometers.
build_depth_um: u32Build plate Y dimension in micrometers.
build_height_um: u32Build plate Z dimension in micrometers.
layer_height_um: u32Default layer thickness in micrometers.
total_layers: u32Total layer count, which LTBL.layer_count must equal.
Implementations§
Trait Implementations§
impl Eq for Head
impl StructuralPartialEq for Head
Auto Trait Implementations§
impl Freeze for Head
impl RefUnwindSafe for Head
impl Send for Head
impl Sync for Head
impl Unpin for Head
impl UnsafeUnpin for Head
impl UnwindSafe for Head
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