pub enum PrinterCommand {
ReportPosition,
}Expand description
A command a printer may be sent: a closed vocabulary, each variant rendered by the adapter to its own line.
Variants§
ReportPosition
Report where the print head is. The answer arrives on the push channel.
Trait Implementations§
Source§impl Clone for PrinterCommand
impl Clone for PrinterCommand
impl Copy for PrinterCommand
Source§impl Debug for PrinterCommand
impl Debug for PrinterCommand
impl Eq for PrinterCommand
Source§impl PartialEq for PrinterCommand
impl PartialEq for PrinterCommand
impl StructuralPartialEq for PrinterCommand
Auto Trait Implementations§
impl Freeze for PrinterCommand
impl RefUnwindSafe for PrinterCommand
impl Send for PrinterCommand
impl Sync for PrinterCommand
impl Unpin for PrinterCommand
impl UnsafeUnpin for PrinterCommand
impl UnwindSafe for PrinterCommand
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