Struct x11::xlib::AspectRatio [] [src]

pub struct AspectRatio {
    pub x: c_int,
    pub y: c_int,
}

Fields

x: c_int y: c_int

Trait Implementations

impl PartialEq for AspectRatio
[src]

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

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

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

This method tests for !=.

impl Copy for AspectRatio
[src]

impl Clone for AspectRatio
[src]

fn clone(&self) -> AspectRatio

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