pub enum PosVal {
A(f64),
B(f64),
C(f64),
E(f64),
F(f64),
S(f64),
U(f64),
V(f64),
X(f64),
Y(f64),
Z(f64),
W(f64),
}
Expand description
Parameters for Command::G0
and Command::G1
Variants§
A(f64)
Axis A
B(f64)
Axis B
C(f64)
Axis C
E(f64)
Extruder
F(f64)
sets the federate for all subsequent moved.
S(f64)
Sets the laser power for the move
U(f64)
Axis U
V(f64)
Axis V
X(f64)
Axis X
Y(f64)
Axis Y
Z(f64)
Axis Z
W(f64)
Axis W
Trait Implementations§
Source§impl Hash for PosVal
Hash is used to determine if an entry should be added to the Sets
impl Hash for PosVal
Hash is used to determine if an entry should be added to the Sets
malformed commands with duplicate parameters will be rejected here.
G1 X95.110 X96.233 E2.07708
By ignoring the f64 in hashing the parsed Command will only have one X value.
Source§impl PartialEq for PosVal
Bit wise comparison cant’ compare directly [NAN and inf]
impl PartialEq for PosVal
Bit wise comparison cant’ compare directly [NAN and inf]
N.B. Equality is not used in production code - assertion testing only.
impl Eq for PosVal
Auto Trait Implementations§
impl Freeze for PosVal
impl RefUnwindSafe for PosVal
impl Send for PosVal
impl Sync for PosVal
impl Unpin for PosVal
impl UnwindSafe for PosVal
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