#[repr(C)]pub struct Preferences {Show 55 fields
pub FontHeight: BYTE,
pub PrinterPort: UBYTE,
pub BaudRate: UWORD,
pub KeyRptSpeed: TimeVal_Type,
pub KeyRptDelay: TimeVal_Type,
pub DoubleClick: TimeVal_Type,
pub PointerMatrix: [UWORD; 36],
pub XOffset: BYTE,
pub YOffset: BYTE,
pub color17: UWORD,
pub color18: UWORD,
pub color19: UWORD,
pub PointerTicks: UWORD,
pub color0: UWORD,
pub color1: UWORD,
pub color2: UWORD,
pub color3: UWORD,
pub ViewXOffset: BYTE,
pub ViewYOffset: BYTE,
pub ViewInitX: WORD,
pub ViewInitY: WORD,
pub EnableCLI: BOOL,
pub PrinterType: UWORD,
pub PrinterFilename: [TEXT; 30],
pub PrintPitch: UWORD,
pub PrintQuality: UWORD,
pub PrintSpacing: UWORD,
pub PrintLeftMargin: UWORD,
pub PrintRightMargin: UWORD,
pub PrintImage: UWORD,
pub PrintAspect: UWORD,
pub PrintShade: UWORD,
pub PrintThreshold: WORD,
pub PaperSize: UWORD,
pub PaperLength: UWORD,
pub PaperType: UWORD,
pub SerRWBits: UBYTE,
pub SerStopBuf: UBYTE,
pub SerParShk: UBYTE,
pub LaceWB: UBYTE,
pub Pad: [UBYTE; 12],
pub PrtDevName: [TEXT; 16],
pub DefaultPrtUnit: UBYTE,
pub DefaultSerUnit: UBYTE,
pub RowSizeChange: BYTE,
pub ColumnSizeChange: BYTE,
pub PrintFlags: UWORD,
pub PrintMaxWidth: UWORD,
pub PrintMaxHeight: UWORD,
pub PrintDensity: UBYTE,
pub PrintXOffset: UBYTE,
pub wb_Width: UWORD,
pub wb_Height: UWORD,
pub wb_Depth: UBYTE,
pub ext_size: UBYTE,
}Fields§
§FontHeight: BYTE§PrinterPort: UBYTE§BaudRate: UWORD§KeyRptSpeed: TimeVal_Type§KeyRptDelay: TimeVal_Type§DoubleClick: TimeVal_Type§PointerMatrix: [UWORD; 36]§XOffset: BYTE§YOffset: BYTE§color17: UWORD§color18: UWORD§color19: UWORD§PointerTicks: UWORD§color0: UWORD§color1: UWORD§color2: UWORD§color3: UWORD§ViewXOffset: BYTE§ViewYOffset: BYTE§ViewInitX: WORD§ViewInitY: WORD§EnableCLI: BOOL§PrinterType: UWORD§PrinterFilename: [TEXT; 30]§PrintPitch: UWORD§PrintQuality: UWORD§PrintSpacing: UWORD§PrintLeftMargin: UWORD§PrintRightMargin: UWORD§PrintImage: UWORD§PrintAspect: UWORD§PrintShade: UWORD§PrintThreshold: WORD§PaperSize: UWORD§PaperLength: UWORD§PaperType: UWORD§SerRWBits: UBYTE§SerStopBuf: UBYTE§SerParShk: UBYTE§LaceWB: UBYTE§Pad: [UBYTE; 12]§PrtDevName: [TEXT; 16]§DefaultPrtUnit: UBYTE§DefaultSerUnit: UBYTE§RowSizeChange: BYTE§ColumnSizeChange: BYTE§PrintFlags: UWORD§PrintMaxWidth: UWORD§PrintMaxHeight: UWORD§PrintDensity: UBYTE§PrintXOffset: UBYTE§wb_Width: UWORD§wb_Height: UWORD§wb_Depth: UBYTE§ext_size: UBYTETrait Implementations§
Source§impl Clone for Preferences
impl Clone for Preferences
Source§fn clone(&self) -> Preferences
fn clone(&self) -> Preferences
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 Preferences
impl Debug for Preferences
impl Copy for Preferences
Auto Trait Implementations§
impl Freeze for Preferences
impl RefUnwindSafe for Preferences
impl Send for Preferences
impl Sync for Preferences
impl Unpin for Preferences
impl UnwindSafe for Preferences
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