rs::outputs

Type Alias PixelSize

Source
pub type PixelSize = Size<u32>;

Aliased Type§

struct PixelSize {
    pub width: u32,
    pub height: u32,
}

Fields§

§width: u32§height: u32

Trait Implementations

Source§

impl<Unit: Clone> Clone for Size<Unit>

Source§

fn clone(&self) -> Size<Unit>

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
Source§

impl<Unit: Debug> Debug for Size<Unit>

Source§

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

Formats the value using the given formatter. Read more
Source§

impl<Unit: Copy> Copy for Size<Unit>