#[repr(C)]pub struct Print_PrinterCapability {Show 16 fields
pub supportedColorModes: *mut Print_ColorMode,
pub supportedColorModesCount: u32,
pub supportedDuplexModes: *mut Print_DuplexMode,
pub supportedDuplexModesCount: u32,
pub supportedPageSizes: *mut Print_PageSize,
pub supportedPageSizesCount: u32,
pub supportedMediaTypes: *mut c_char,
pub supportedQualities: *mut Print_Quality,
pub supportedQualitiesCount: u32,
pub supportedPaperSources: *mut c_char,
pub supportedCopies: u32,
pub supportedResolutions: *mut Print_Resolution,
pub supportedResolutionsCount: u32,
pub supportedOrientations: *mut Print_OrientationMode,
pub supportedOrientationsCount: u32,
pub advancedCapability: *mut c_char,
}Available on crate features
print and api-12 only.Expand description
Indicates printer capabilities.
Available since API-level: 12
Fields§
§supportedColorModes: *mut Print_ColorModeArray of supported color mode.
supportedColorModesCount: u32Number of supported color mode.
supportedDuplexModes: *mut Print_DuplexModeArray of supported duplex printing modes.
supportedDuplexModesCount: u32Number of supported duplex printing mode.
supportedPageSizes: *mut Print_PageSizeArray of supported print paper sizes.
supportedPageSizesCount: u32Number of supported print paper sizes.
supportedMediaTypes: *mut c_charSupported print media types in json string array format.
supportedQualities: *mut Print_QualityArray of supported print qulities.
supportedQualitiesCount: u32Number of supported print qulities.
supportedPaperSources: *mut c_charSupported paper sources in json string array format.
supportedCopies: u32Supported copies.
supportedResolutions: *mut Print_ResolutionArray of supported printer resolutions.
supportedResolutionsCount: u32Number of supported printer resolutions.
supportedOrientations: *mut Print_OrientationModeArray of supported orientation.
supportedOrientationsCount: u32Number of supported orientation.
advancedCapability: *mut c_charAdvanced capability in json format.
Trait Implementations§
Source§impl Clone for Print_PrinterCapability
impl Clone for Print_PrinterCapability
Source§fn clone(&self) -> Print_PrinterCapability
fn clone(&self) -> Print_PrinterCapability
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_PrinterCapability
impl Debug for Print_PrinterCapability
impl Copy for Print_PrinterCapability
Auto Trait Implementations§
impl Freeze for Print_PrinterCapability
impl RefUnwindSafe for Print_PrinterCapability
impl !Send for Print_PrinterCapability
impl !Sync for Print_PrinterCapability
impl Unpin for Print_PrinterCapability
impl UnsafeUnpin for Print_PrinterCapability
impl UnwindSafe for Print_PrinterCapability
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