#[repr(transparent)]pub struct Print_DocumentFormat(pub c_uint);Available on crate features
print and api-12 only.Expand description
Indicates the MIME media type of the document.
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl Print_DocumentFormat
impl Print_DocumentFormat
Sourcepub const DOCUMENT_FORMAT_AUTO: Print_DocumentFormat
pub const DOCUMENT_FORMAT_AUTO: Print_DocumentFormat
MIME: application/octet-stream.
Sourcepub const DOCUMENT_FORMAT_JPEG: Print_DocumentFormat
pub const DOCUMENT_FORMAT_JPEG: Print_DocumentFormat
MIME: image/jpeg.
Sourcepub const DOCUMENT_FORMAT_PDF: Print_DocumentFormat
pub const DOCUMENT_FORMAT_PDF: Print_DocumentFormat
MIME: application/pdf.
Sourcepub const DOCUMENT_FORMAT_POSTSCRIPT: Print_DocumentFormat
pub const DOCUMENT_FORMAT_POSTSCRIPT: Print_DocumentFormat
MIME: application/postscript.
Sourcepub const DOCUMENT_FORMAT_TEXT: Print_DocumentFormat
pub const DOCUMENT_FORMAT_TEXT: Print_DocumentFormat
MIME: text/plain.
Trait Implementations§
Source§impl Clone for Print_DocumentFormat
impl Clone for Print_DocumentFormat
Source§fn clone(&self) -> Print_DocumentFormat
fn clone(&self) -> Print_DocumentFormat
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_DocumentFormat
impl Debug for Print_DocumentFormat
Source§impl Hash for Print_DocumentFormat
impl Hash for Print_DocumentFormat
Source§impl PartialEq for Print_DocumentFormat
impl PartialEq for Print_DocumentFormat
Source§fn eq(&self, other: &Print_DocumentFormat) -> bool
fn eq(&self, other: &Print_DocumentFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for Print_DocumentFormat
impl Eq for Print_DocumentFormat
impl StructuralPartialEq for Print_DocumentFormat
Auto Trait Implementations§
impl Freeze for Print_DocumentFormat
impl RefUnwindSafe for Print_DocumentFormat
impl Send for Print_DocumentFormat
impl Sync for Print_DocumentFormat
impl Unpin for Print_DocumentFormat
impl UnsafeUnpin for Print_DocumentFormat
impl UnwindSafe for Print_DocumentFormat
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