pub enum FunctionCode {
DCode(DCode),
GCode(GCode),
MCode(MCode),
}
Variants§
Trait Implementations§
Source§impl Clone for FunctionCode
impl Clone for FunctionCode
Source§fn clone(&self) -> FunctionCode
fn clone(&self) -> FunctionCode
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 FunctionCode
impl Debug for FunctionCode
Source§impl From<DCode> for FunctionCode
impl From<DCode> for FunctionCode
Source§impl From<FunctionCode> for Command
impl From<FunctionCode> for Command
Source§fn from(val: FunctionCode) -> Self
fn from(val: FunctionCode) -> Self
Converts to this type from the input type.
Source§impl From<GCode> for FunctionCode
impl From<GCode> for FunctionCode
Source§impl From<MCode> for FunctionCode
impl From<MCode> for FunctionCode
Source§impl<W: Write> GerberCode<W> for FunctionCode
impl<W: Write> GerberCode<W> for FunctionCode
Source§impl PartialEq for FunctionCode
impl PartialEq for FunctionCode
impl StructuralPartialEq for FunctionCode
Auto Trait Implementations§
impl Freeze for FunctionCode
impl RefUnwindSafe for FunctionCode
impl Send for FunctionCode
impl Sync for FunctionCode
impl Unpin for FunctionCode
impl UnwindSafe for FunctionCode
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