pub struct PrintInfo {
pub kind: Option<MediaKind>,
pub width: Option<u8>,
pub length: Option<u8>,
pub raster_no: u32,
pub recover: bool,
}Expand description
Print information command
Fields§
§kind: Option<MediaKind>Media kind
width: Option<u8>Tape width in mm
length: Option<u8>Tape length, always set to 0
raster_no: u32Raster number (??)
recover: boolEnable print recovery
Trait Implementations§
impl StructuralPartialEq for PrintInfo
Auto Trait Implementations§
impl Freeze for PrintInfo
impl RefUnwindSafe for PrintInfo
impl Send for PrintInfo
impl Sync for PrintInfo
impl Unpin for PrintInfo
impl UnwindSafe for PrintInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more