pub struct PrintStartParams {
pub file: String,
pub plate: u32,
pub use_ams: bool,
pub ams_map: Vec<i32>,
pub bed_type: String,
pub timelapse: bool,
}Expand description
Resolved parameters for a print start: the path is already an on-printer path
and the AMS map is already parsed. Render the wire command with
build_command.
Fields§
§file: StringOn-printer path, e.g. /cache/x.gcode.3mf — becomes ftp://<path>.
plate: u32§use_ams: bool§ams_map: Vec<i32>§bed_type: String§timelapse: boolImplementations§
Trait Implementations§
Source§impl Clone for PrintStartParams
impl Clone for PrintStartParams
Source§fn clone(&self) -> PrintStartParams
fn clone(&self) -> PrintStartParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PrintStartParams
impl Debug for PrintStartParams
impl Eq for PrintStartParams
Source§impl PartialEq for PrintStartParams
impl PartialEq for PrintStartParams
Source§fn eq(&self, other: &PrintStartParams) -> bool
fn eq(&self, other: &PrintStartParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PrintStartParams
Auto Trait Implementations§
impl Freeze for PrintStartParams
impl RefUnwindSafe for PrintStartParams
impl Send for PrintStartParams
impl Sync for PrintStartParams
impl Unpin for PrintStartParams
impl UnsafeUnpin for PrintStartParams
impl UnwindSafe for PrintStartParams
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.