pub enum Adjustable {
Feedrate,
Flowrate,
ToolTarget {
tool: i64,
},
BedTarget,
Fan,
}Expand description
One thing an adjustment may change.
Serialized as a string rather than an object, because this is the key type
of the manifest’s, the envelope’s and the effective bounds’ maps, and a JSON
object key is a string. The spellings are feedrate, flowrate,
bed_target, fan, and tool_target:<number>.
Variants§
Feedrate
The feedrate factor.
Flowrate
The flowrate factor.
ToolTarget
One tool’s target temperature, carrying that tool’s number.
BedTarget
The bed’s target temperature.
Fan
The part-cooling fan.
Trait Implementations§
Source§impl Clone for Adjustable
impl Clone for Adjustable
Source§fn clone(&self) -> Adjustable
fn clone(&self) -> Adjustable
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 moreimpl Copy for Adjustable
Source§impl Debug for Adjustable
impl Debug for Adjustable
Source§impl<'de> Deserialize<'de> for Adjustable
impl<'de> Deserialize<'de> for Adjustable
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for Adjustable
impl Display for Adjustable
impl Eq for Adjustable
Source§impl FromStr for Adjustable
impl FromStr for Adjustable
Source§impl Hash for Adjustable
impl Hash for Adjustable
Source§impl JsonSchema for Adjustable
impl JsonSchema for Adjustable
Source§fn json_schema(_generator: &mut SchemaGenerator) -> Schema
fn json_schema(_generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Ord for Adjustable
impl Ord for Adjustable
Source§fn cmp(&self, other: &Adjustable) -> Ordering
fn cmp(&self, other: &Adjustable) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for Adjustable
impl PartialEq for Adjustable
Source§impl PartialOrd for Adjustable
impl PartialOrd for Adjustable
Source§impl Sample for Adjustable
impl Sample for Adjustable
Source§fn sample_full() -> Self
fn sample_full() -> Self
A value carrying every field the type declares.
Source§fn sample_minimal() -> Self
fn sample_minimal() -> Self
A value carrying every optional field absent.
Source§fn sample_alternates() -> Vec<Self>
fn sample_alternates() -> Vec<Self>
One value per further arm, for a type whose wire form is a union. Read more
Source§impl Serialize for Adjustable
impl Serialize for Adjustable
impl StructuralPartialEq for Adjustable
Auto Trait Implementations§
impl Freeze for Adjustable
impl RefUnwindSafe for Adjustable
impl Send for Adjustable
impl Sync for Adjustable
impl Unpin for Adjustable
impl UnsafeUnpin for Adjustable
impl UnwindSafe for Adjustable
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