pub struct Bgcode {
pub file_metadata: Option<FileMetadataBlock>,
pub printer_metadata: PrinterMetadataBlock,
pub thumbnails: Vec<ThumbnailBlock>,
pub print_metadata: PrintMetadataBlock,
pub slicer: SlicerBlock,
pub gcode: Vec<GCodeBlock>,
/* private fields */
}
Expand description
Structure of the binary file.
extension .bgcode
Fields§
§file_metadata: Option<FileMetadataBlock>
A file block.
printer_metadata: PrinterMetadataBlock
A file block.
thumbnails: Vec<ThumbnailBlock>
A colleciton of image blocks.
print_metadata: PrintMetadataBlock
A file block.
slicer: SlicerBlock
A file block.
gcode: Vec<GCodeBlock>
A collection of gcode blocks.
Trait Implementations§
impl Eq for Bgcode
impl StructuralPartialEq for Bgcode
Auto Trait Implementations§
impl Freeze for Bgcode
impl RefUnwindSafe for Bgcode
impl Send for Bgcode
impl Sync for Bgcode
impl Unpin for Bgcode
impl UnwindSafe for Bgcode
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