#[repr(C)]pub struct Print_DefaultValue {
pub defaultColorMode: Print_ColorMode,
pub defaultDuplexMode: Print_DuplexMode,
pub defaultMediaType: *mut c_char,
pub defaultPageSizeId: *mut c_char,
pub defaultMargin: Print_Margin,
pub defaultPaperSource: *mut c_char,
pub defaultPrintQuality: Print_Quality,
pub defaultCopies: u32,
pub defaultResolution: Print_Resolution,
pub defaultOrientation: Print_OrientationMode,
pub otherDefaultValues: *mut c_char,
}Available on crate features
print and api-12 only.Expand description
Indicates current properties
Available since API-level: 12
Fields§
§defaultColorMode: Print_ColorModeDefault color mode.
defaultDuplexMode: Print_DuplexModeDefault duplex mode.
defaultMediaType: *mut c_charDefault media type.
defaultPageSizeId: *mut c_charDefault page size id.
defaultMargin: Print_MarginDefault margin.
defaultPaperSource: *mut c_charDefault paper source.
defaultPrintQuality: Print_QualityDefault print quality
defaultCopies: u32Default copies.
defaultResolution: Print_ResolutionDefault printer resolution.
defaultOrientation: Print_OrientationModeDefault orientation.
otherDefaultValues: *mut c_charOther default values in json format.
Trait Implementations§
Source§impl Clone for Print_DefaultValue
impl Clone for Print_DefaultValue
Source§fn clone(&self) -> Print_DefaultValue
fn clone(&self) -> Print_DefaultValue
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_DefaultValue
impl Debug for Print_DefaultValue
impl Copy for Print_DefaultValue
Auto Trait Implementations§
impl Freeze for Print_DefaultValue
impl RefUnwindSafe for Print_DefaultValue
impl !Send for Print_DefaultValue
impl !Sync for Print_DefaultValue
impl Unpin for Print_DefaultValue
impl UnsafeUnpin for Print_DefaultValue
impl UnwindSafe for Print_DefaultValue
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