#[repr(transparent)]pub struct ICScannerDocumentType(pub NSUInteger);Available on crate feature
ICScannerFunctionalUnits only.Expand description
Document size types. Corresponds to “ICAP_SUPPORTEDSIZES” used by the Image Catpure scanner modules. Also refer to TWAIN 1.9 Specification, page 9-483.
See also Apple’s documentation
Tuple Fields§
§0: NSUIntegerImplementations§
Source§impl ICScannerDocumentType
impl ICScannerDocumentType
pub const TypeDefault: Self
pub const TypeA4: Self
pub const TypeB5: Self
pub const TypeUSLetter: Self
pub const TypeUSLegal: Self
pub const TypeA5: Self
pub const TypeISOB4: Self
pub const TypeISOB6: Self
pub const TypeUSLedger: Self
pub const TypeUSExecutive: Self
pub const TypeA3: Self
pub const TypeISOB3: Self
pub const TypeA6: Self
pub const TypeC4: Self
pub const TypeC5: Self
pub const TypeC6: Self
pub const Type4A0: Self
pub const Type2A0: Self
pub const TypeA0: Self
pub const TypeA1: Self
pub const TypeA2: Self
pub const TypeA7: Self
pub const TypeA8: Self
pub const TypeA9: Self
pub const Type10: Self
pub const TypeISOB0: Self
pub const TypeISOB1: Self
pub const TypeISOB2: Self
pub const TypeISOB5: Self
pub const TypeISOB7: Self
pub const TypeISOB8: Self
pub const TypeISOB9: Self
pub const TypeISOB10: Self
pub const TypeJISB0: Self
pub const TypeJISB1: Self
pub const TypeJISB2: Self
pub const TypeJISB3: Self
pub const TypeJISB4: Self
pub const TypeJISB6: Self
pub const TypeJISB7: Self
pub const TypeJISB8: Self
pub const TypeJISB9: Self
pub const TypeJISB10: Self
pub const TypeC0: Self
pub const TypeC1: Self
pub const TypeC2: Self
pub const TypeC3: Self
pub const TypeC7: Self
pub const TypeC8: Self
pub const TypeC9: Self
pub const TypeC10: Self
pub const TypeUSStatement: Self
pub const TypeBusinessCard: Self
pub const TypeE: Self
pub const Type3R: Self
pub const Type4R: Self
pub const Type5R: Self
pub const Type6R: Self
pub const Type8R: Self
pub const TypeS8R: Self
pub const Type10R: Self
pub const TypeS10R: Self
pub const Type11R: Self
pub const Type12R: Self
pub const TypeS12R: Self
pub const Type110: Self
pub const TypeAPSH: Self
pub const TypeAPSC: Self
pub const TypeAPSP: Self
pub const Type135: Self
pub const TypeMF: Self
pub const TypeLF: Self
Trait Implementations§
Source§impl Clone for ICScannerDocumentType
impl Clone for ICScannerDocumentType
Source§fn clone(&self) -> ICScannerDocumentType
fn clone(&self) -> ICScannerDocumentType
Returns a duplicate of the value. Read more
1.0.0 · 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 ICScannerDocumentType
impl Debug for ICScannerDocumentType
Source§impl Encode for ICScannerDocumentType
impl Encode for ICScannerDocumentType
Source§impl Hash for ICScannerDocumentType
impl Hash for ICScannerDocumentType
Source§impl Ord for ICScannerDocumentType
impl Ord for ICScannerDocumentType
Source§fn cmp(&self, other: &ICScannerDocumentType) -> Ordering
fn cmp(&self, other: &ICScannerDocumentType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ICScannerDocumentType
impl PartialEq for ICScannerDocumentType
Source§impl PartialOrd for ICScannerDocumentType
impl PartialOrd for ICScannerDocumentType
Source§impl RefEncode for ICScannerDocumentType
impl RefEncode for ICScannerDocumentType
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for ICScannerDocumentType
impl Eq for ICScannerDocumentType
impl StructuralPartialEq for ICScannerDocumentType
Auto Trait Implementations§
impl Freeze for ICScannerDocumentType
impl RefUnwindSafe for ICScannerDocumentType
impl Send for ICScannerDocumentType
impl Sync for ICScannerDocumentType
impl Unpin for ICScannerDocumentType
impl UnwindSafe for ICScannerDocumentType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.