#[repr(C)]pub struct Print_PrintJob {Show 17 fields
pub jobName: *mut c_char,
pub fdList: *mut u32,
pub fdListCount: u32,
pub printerId: *mut c_char,
pub copyNumber: u32,
pub paperSource: *mut c_char,
pub mediaType: *mut c_char,
pub pageSizeId: *mut c_char,
pub colorMode: Print_ColorMode,
pub duplexMode: Print_DuplexMode,
pub resolution: Print_Resolution,
pub printMargin: Print_Margin,
pub borderless: bool,
pub orientationMode: Print_OrientationMode,
pub printQuality: Print_Quality,
pub documentFormat: Print_DocumentFormat,
pub advancedOptions: *mut c_char,
}Available on crate features
print and api-12 only.Expand description
Indicates PrintJob Structure.
Available since API-level: 12
Fields§
§jobName: *mut c_charJob name.
fdList: *mut u32Array of file descriptors to print.
fdListCount: u32Number of file descriptors to print.
printerId: *mut c_charPrinter id.
copyNumber: u32Number of copies printed.
paperSource: *mut c_charPaper source.
mediaType: *mut c_charMedia type.
pageSizeId: *mut c_charPaper size id.
colorMode: Print_ColorModeColor mode.
duplexMode: Print_DuplexModeDuplex source.
resolution: Print_ResolutionPrint resolution in dpi.
printMargin: Print_MarginPrint margin.
borderless: boolBorderless.
orientationMode: Print_OrientationModeOrientation mode.
printQuality: Print_QualityPrint quality.
documentFormat: Print_DocumentFormatDocument format.
advancedOptions: *mut c_charAdvanced options in json format.
Trait Implementations§
Source§impl Clone for Print_PrintJob
impl Clone for Print_PrintJob
Source§fn clone(&self) -> Print_PrintJob
fn clone(&self) -> Print_PrintJob
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Print_PrintJob
impl Debug for Print_PrintJob
impl Copy for Print_PrintJob
Auto Trait Implementations§
impl Freeze for Print_PrintJob
impl RefUnwindSafe for Print_PrintJob
impl !Send for Print_PrintJob
impl !Sync for Print_PrintJob
impl Unpin for Print_PrintJob
impl UnsafeUnpin for Print_PrintJob
impl UnwindSafe for Print_PrintJob
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