Struct imagefmt::Info [] [src]

pub struct Info {
    pub w: usize,
    pub h: usize,
    pub c: ColType,
}

Holds basic info about an image.

Fields

w: usize h: usize c: ColType

Trait Implementations

impl PartialEq for Info
[src]

fn eq(&self, __arg_0: &Info) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Info) -> bool

This method tests for !=.

impl Eq for Info
[src]

impl Debug for Info
[src]

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

Formats the value using the given formatter.

impl Copy for Info
[src]

impl Clone for Info
[src]

fn clone(&self) -> Info

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