Struct png::PixelDimensions [] [src]

pub struct PixelDimensions {
    pub xppu: u32,
    pub yppu: u32,
    pub unit: Unit,
}

Pixel dimensions information

Fields

xppu: u32

Pixels per unit, X axis

yppu: u32

Pixels per unit, Y axis

unit: Unit

Either Meter or Unspecified

Trait Implementations

impl Debug for PixelDimensions
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Copy for PixelDimensions
[src]

impl Clone for PixelDimensions
[src]

fn clone(&self) -> PixelDimensions

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more