Struct windows::Graphics::Printing::PrintMediaSize

#[repr(transparent)]
pub struct PrintMediaSize(pub i32);

Tuple Fields§

§0: i32

Implementations§

§

impl PrintMediaSize

pub const Default: Self = _

pub const NotAvailable: Self = _

pub const PrinterCustom: Self = _

pub const BusinessCard: Self = _

pub const CreditCard: Self = _

pub const IsoA0: Self = _

pub const IsoA1: Self = _

pub const IsoA10: Self = _

pub const IsoA2: Self = _

pub const IsoA3: Self = _

pub const IsoA3Extra: Self = _

pub const IsoA3Rotated: Self = _

pub const IsoA4: Self = _

pub const IsoA4Extra: Self = _

pub const IsoA4Rotated: Self = _

pub const IsoA5: Self = _

pub const IsoA5Extra: Self = _

pub const IsoA5Rotated: Self = _

pub const IsoA6: Self = _

pub const IsoA6Rotated: Self = _

pub const IsoA7: Self = _

pub const IsoA8: Self = _

pub const IsoA9: Self = _

pub const IsoB0: Self = _

pub const IsoB1: Self = _

pub const IsoB10: Self = _

pub const IsoB2: Self = _

pub const IsoB3: Self = _

pub const IsoB4: Self = _

pub const IsoB4Envelope: Self = _

pub const IsoB5Envelope: Self = _

pub const IsoB5Extra: Self = _

pub const IsoB7: Self = _

pub const IsoB8: Self = _

pub const IsoB9: Self = _

pub const IsoC0: Self = _

pub const IsoC1: Self = _

pub const IsoC10: Self = _

pub const IsoC2: Self = _

pub const IsoC3: Self = _

pub const IsoC3Envelope: Self = _

pub const IsoC4: Self = _

pub const IsoC4Envelope: Self = _

pub const IsoC5: Self = _

pub const IsoC5Envelope: Self = _

pub const IsoC6: Self = _

pub const IsoC6C5Envelope: Self = _

pub const IsoC6Envelope: Self = _

pub const IsoC7: Self = _

pub const IsoC8: Self = _

pub const IsoC9: Self = _

pub const IsoDLEnvelope: Self = _

pub const IsoDLEnvelopeRotated: Self = _

pub const IsoSRA3: Self = _

pub const Japan2LPhoto: Self = _

pub const JapanChou3Envelope: Self = _

pub const JapanChou3EnvelopeRotated: Self = _

pub const JapanChou4Envelope: Self = _

pub const JapanChou4EnvelopeRotated: Self = _

pub const JapanDoubleHagakiPostcard: Self = _

pub const JapanDoubleHagakiPostcardRotated: Self = _

pub const JapanHagakiPostcard: Self = _

pub const JapanHagakiPostcardRotated: Self = _

pub const JapanKaku2Envelope: Self = _

pub const JapanKaku2EnvelopeRotated: Self = _

pub const JapanKaku3Envelope: Self = _

pub const JapanKaku3EnvelopeRotated: Self = _

pub const JapanLPhoto: Self = _

pub const JapanQuadrupleHagakiPostcard: Self = _

pub const JapanYou1Envelope: Self = _

pub const JapanYou2Envelope: Self = _

pub const JapanYou3Envelope: Self = _

pub const JapanYou4Envelope: Self = _

pub const JapanYou4EnvelopeRotated: Self = _

pub const JapanYou6Envelope: Self = _

pub const JapanYou6EnvelopeRotated: Self = _

pub const JisB0: Self = _

pub const JisB1: Self = _

pub const JisB10: Self = _

pub const JisB2: Self = _

pub const JisB3: Self = _

pub const JisB4: Self = _

pub const JisB4Rotated: Self = _

pub const JisB5: Self = _

pub const JisB5Rotated: Self = _

pub const JisB6: Self = _

pub const JisB6Rotated: Self = _

pub const JisB7: Self = _

pub const JisB8: Self = _

pub const JisB9: Self = _

pub const NorthAmerica10x11: Self = _

pub const NorthAmerica10x12: Self = _

pub const NorthAmerica10x14: Self = _

pub const NorthAmerica11x17: Self = _

pub const NorthAmerica14x17: Self = _

pub const NorthAmerica4x6: Self = _

pub const NorthAmerica4x8: Self = _

pub const NorthAmerica5x7: Self = _

pub const NorthAmerica8x10: Self = _

pub const NorthAmerica9x11: Self = _

pub const NorthAmericaArchitectureASheet: Self = _

pub const NorthAmericaArchitectureBSheet: Self = _

pub const NorthAmericaArchitectureCSheet: Self = _

pub const NorthAmericaArchitectureDSheet: Self = _

pub const NorthAmericaArchitectureESheet: Self = _

pub const NorthAmericaCSheet: Self = _

pub const NorthAmericaDSheet: Self = _

pub const NorthAmericaESheet: Self = _

pub const NorthAmericaExecutive: Self = _

pub const NorthAmericaGermanLegalFanfold: Self = _

pub const NorthAmericaGermanStandardFanfold: Self = _

pub const NorthAmericaLegal: Self = _

pub const NorthAmericaLegalExtra: Self = _

pub const NorthAmericaLetter: Self = _

pub const NorthAmericaLetterExtra: Self = _

pub const NorthAmericaLetterPlus: Self = _

pub const NorthAmericaLetterRotated: Self = _

pub const NorthAmericaMonarchEnvelope: Self = _

pub const NorthAmericaNote: Self = _

pub const NorthAmericaNumber10Envelope: Self = _

pub const NorthAmericaNumber10EnvelopeRotated: Self = _

pub const NorthAmericaNumber11Envelope: Self = _

pub const NorthAmericaNumber12Envelope: Self = _

pub const NorthAmericaNumber14Envelope: Self = _

pub const NorthAmericaNumber9Envelope: Self = _

pub const NorthAmericaPersonalEnvelope: Self = _

pub const NorthAmericaQuarto: Self = _

pub const NorthAmericaStatement: Self = _

pub const NorthAmericaSuperA: Self = _

pub const NorthAmericaSuperB: Self = _

pub const NorthAmericaTabloid: Self = _

pub const NorthAmericaTabloidExtra: Self = _

pub const OtherMetricA3Plus: Self = _

pub const OtherMetricA4Plus: Self = _

pub const OtherMetricFolio: Self = _

pub const OtherMetricInviteEnvelope: Self = _

pub const OtherMetricItalianEnvelope: Self = _

pub const Prc10Envelope: Self = _

pub const Prc10EnvelopeRotated: Self = _

pub const Prc16K: Self = _

pub const Prc16KRotated: Self = _

pub const Prc1Envelope: Self = _

pub const Prc1EnvelopeRotated: Self = _

pub const Prc2Envelope: Self = _

pub const Prc2EnvelopeRotated: Self = _

pub const Prc32K: Self = _

pub const Prc32KBig: Self = _

pub const Prc32KRotated: Self = _

pub const Prc3Envelope: Self = _

pub const Prc3EnvelopeRotated: Self = _

pub const Prc4Envelope: Self = _

pub const Prc4EnvelopeRotated: Self = _

pub const Prc5Envelope: Self = _

pub const Prc5EnvelopeRotated: Self = _

pub const Prc6Envelope: Self = _

pub const Prc6EnvelopeRotated: Self = _

pub const Prc7Envelope: Self = _

pub const Prc7EnvelopeRotated: Self = _

pub const Prc8Envelope: Self = _

pub const Prc8EnvelopeRotated: Self = _

pub const Prc9Envelope: Self = _

pub const Prc9EnvelopeRotated: Self = _

pub const Roll04Inch: Self = _

pub const Roll06Inch: Self = _

pub const Roll08Inch: Self = _

pub const Roll12Inch: Self = _

pub const Roll15Inch: Self = _

pub const Roll18Inch: Self = _

pub const Roll22Inch: Self = _

pub const Roll24Inch: Self = _

pub const Roll30Inch: Self = _

pub const Roll36Inch: Self = _

pub const Roll54Inch: Self = _

Trait Implementations§

§

impl Clone for PrintMediaSize

§

fn clone(&self) -> PrintMediaSize

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for PrintMediaSize

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl Default for PrintMediaSize

§

fn default() -> PrintMediaSize

Returns the “default value” for a type. Read more
§

impl PartialEq for PrintMediaSize

§

fn eq(&self, other: &PrintMediaSize) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for PrintMediaSize

§

impl Eq for PrintMediaSize

§

impl StructuralPartialEq for PrintMediaSize

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> CloneToUninit for T
where T: Copy,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T, U> Param<T, CopyType> for U
where T: TypeKind<TypeKind = CopyType> + Clone, U: TypeKind<TypeKind = CopyType> + Clone + CanInto<T>,

§

unsafe fn param(self) -> ParamValue<T>

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.