#[repr(C, packed(2))]pub struct PrinterTxtPrefs {
pub pt_Reserved: [LONG; 4],
pub pt_Driver: [TEXT; 30],
pub pt_Port: UBYTE,
pub pt_PaperType: UWORD,
pub pt_PaperSize: UWORD,
pub pt_PaperLength: UWORD,
pub pt_Pitch: UWORD,
pub pt_Spacing: UWORD,
pub pt_LeftMargin: UWORD,
pub pt_RightMargin: UWORD,
pub pt_Quality: UWORD,
}Fields§
§pt_Reserved: [LONG; 4]§pt_Driver: [TEXT; 30]§pt_Port: UBYTE§pt_PaperType: UWORD§pt_PaperSize: UWORD§pt_PaperLength: UWORD§pt_Pitch: UWORD§pt_Spacing: UWORD§pt_LeftMargin: UWORD§pt_RightMargin: UWORD§pt_Quality: UWORDTrait Implementations§
Source§impl Clone for PrinterTxtPrefs
impl Clone for PrinterTxtPrefs
Source§fn clone(&self) -> PrinterTxtPrefs
fn clone(&self) -> PrinterTxtPrefs
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 PrinterTxtPrefs
impl Debug for PrinterTxtPrefs
impl Copy for PrinterTxtPrefs
Auto Trait Implementations§
impl Freeze for PrinterTxtPrefs
impl RefUnwindSafe for PrinterTxtPrefs
impl Send for PrinterTxtPrefs
impl Sync for PrinterTxtPrefs
impl Unpin for PrinterTxtPrefs
impl UnwindSafe for PrinterTxtPrefs
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