pub struct BreadFile {
pub scene: Scene,
pub settings: Option<Vec<u8>>,
pub supports: Vec<SupportEntry>,
pub hollows: Vec<HollowEntry>,
pub thumbnail: Option<Vec<u8>>,
pub support_previews: Vec<SupportPreview>,
pub surface: Vec<SurfaceEntry>,
}Expand description
What a .bread file holds.
Fields§
§scene: SceneThe scene and its meshes.
settings: Option<Vec<u8>>The project settings document, carried without being read.
supports: Vec<SupportEntry>Supports kept as data. Their support leaves show an empty mesh.
hollows: Vec<HollowEntry>How hollowed models were made. Their leaves show the hollow.
thumbnail: Option<Vec<u8>>A small picture of the file: a PNG, at most 512 x 512 and best 256 x 256, in sRGB. It is carried without being read: the PNG is neither checked nor decoded.
support_previews: Vec<SupportPreview>The mesh of the supports, for readers that do not rebuild them from
their documents. Each preview names the support leaf of an entry of
supports. A program that edits the supports writes new previews, or
none.
surface: Vec<SurfaceEntry>What was painted on the faces of leaves: one mask per leaf and kind, each document carried without being read.
Trait Implementations§
impl StructuralPartialEq for BreadFile
Auto Trait Implementations§
impl Forget for BreadFile
impl Freeze for BreadFile
impl Move for BreadFile
impl RefUnwindSafe for BreadFile
impl Send for BreadFile
impl Sync for BreadFile
impl Unpin for BreadFile
impl UnsafeUnpin for BreadFile
impl UnwindSafe for BreadFile
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