pub struct SlicePlateInfo {
pub id: u32,
pub prediction: Option<u32>,
pub weight: Option<f32>,
pub filaments: Vec<SliceFilamentUsage>,
pub warnings: Vec<SlicerWarning>,
pub objects: Vec<SliceObjectInfo>,
}Expand description
Slicing results for a single plate.
Fields§
§id: u32Plate index (1-based).
prediction: Option<u32>Estimated print time in seconds.
weight: Option<f32>Estimated total filament weight in grams.
filaments: Vec<SliceFilamentUsage>Per-filament usage statistics.
warnings: Vec<SlicerWarning>Slicer warnings for this plate.
objects: Vec<SliceObjectInfo>Objects included on this plate.
Trait Implementations§
Source§impl Clone for SlicePlateInfo
impl Clone for SlicePlateInfo
Source§fn clone(&self) -> SlicePlateInfo
fn clone(&self) -> SlicePlateInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SlicePlateInfo
impl Debug for SlicePlateInfo
Source§impl Default for SlicePlateInfo
impl Default for SlicePlateInfo
Source§fn default() -> SlicePlateInfo
fn default() -> SlicePlateInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SlicePlateInfo
impl RefUnwindSafe for SlicePlateInfo
impl Send for SlicePlateInfo
impl Sync for SlicePlateInfo
impl Unpin for SlicePlateInfo
impl UnsafeUnpin for SlicePlateInfo
impl UnwindSafe for SlicePlateInfo
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more