pub struct PreflightNeed {
pub buffer_g: f64,
pub required_g: f64,
}Expand description
What a print needs from one spool, in grams: both figures a comparison with what the spool holds uses, or neither.
Fields§
§buffer_g: f64The margin asked for beyond that.
required_g: f64What the print needs from the spool, by the file’s analysis and the spool’s own diameter and density.
Trait Implementations§
Source§impl Clone for PreflightNeed
impl Clone for PreflightNeed
Source§impl Debug for PreflightNeed
impl Debug for PreflightNeed
Source§impl<'de> Deserialize<'de> for PreflightNeed
impl<'de> Deserialize<'de> for PreflightNeed
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PreflightNeed
impl PartialEq for PreflightNeed
Source§impl Serialize for PreflightNeed
impl Serialize for PreflightNeed
impl StructuralPartialEq for PreflightNeed
Auto Trait Implementations§
impl Freeze for PreflightNeed
impl RefUnwindSafe for PreflightNeed
impl Send for PreflightNeed
impl Sync for PreflightNeed
impl Unpin for PreflightNeed
impl UnsafeUnpin for PreflightNeed
impl UnwindSafe for PreflightNeed
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