pub struct Header {
pub binary: bool,
pub units: f64,
pub version: f32,
pub aligned: bool,
pub layers: Option<usize>,
}Expand description
Contains all available CLI header information
Fields§
§binary: boolTrue if the CLI file stores data in a binary format
units: f64How many millimeters each coordinate unit represents
version: f32CLI version
aligned: boolTrue if the binary file is aligned
layers: Option<usize>The header can optionally declare the number of layers in the file`
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
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