#[repr(C)]pub struct Print_PrintAttributes {
pub pageRange: Print_Range,
pub pageSize: Print_PageSize,
pub pageMargin: Print_Margin,
pub copyNumber: u32,
pub duplexMode: u32,
pub colorMode: u32,
pub isSequential: bool,
pub isLandscape: bool,
pub hasOption: bool,
pub options: [c_char; 256],
}Available on crate features
print and api-12 and api-13 only.Expand description
Indicates print attributes structure.
Available since API-level: 13
Fields§
§pageRange: Print_RangePrint ranges.
pageSize: Print_PageSizePrint page size.
pageMargin: Print_MarginPrint margin.
copyNumber: u32Copy numbers.
duplexMode: u32Duplex mode.
colorMode: u32color mode.
isSequential: boolPrint sequential.
isLandscape: boolPrint orient.
hasOption: boolPrint option flag.
options: [c_char; 256]Print options.
Trait Implementations§
Source§impl Clone for Print_PrintAttributes
impl Clone for Print_PrintAttributes
Source§fn clone(&self) -> Print_PrintAttributes
fn clone(&self) -> Print_PrintAttributes
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_PrintAttributes
impl Debug for Print_PrintAttributes
impl Copy for Print_PrintAttributes
Auto Trait Implementations§
impl Freeze for Print_PrintAttributes
impl RefUnwindSafe for Print_PrintAttributes
impl !Send for Print_PrintAttributes
impl !Sync for Print_PrintAttributes
impl Unpin for Print_PrintAttributes
impl UnsafeUnpin for Print_PrintAttributes
impl UnwindSafe for Print_PrintAttributes
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