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