Api

Trait Api 

Source
pub trait Api {
    // Provided methods
    fn get_width(&self) -> unsafe extern "C" fn() -> c_int { ... }
    fn get_height(&self) -> unsafe extern "C" fn() -> c_int { ... }
    fn set_refresh_rate(&self) -> unsafe extern "C" fn(rate: c_float) { ... }
    fn set_inverted(&self) -> unsafe extern "C" fn(flag: c_int) { ... }
    fn set_scale(&self) -> unsafe extern "C" fn(s: c_uint) { ... }
    fn set_mosaic(&self) -> unsafe extern "C" fn(x: c_uint, y: c_uint) { ... }
    fn set_flipped(&self) -> unsafe extern "C" fn(x: c_int, y: c_int) { ... }
    fn set_offset(&self) -> unsafe extern "C" fn(x: c_int, y: c_int) { ... }
}

Provided Methods§

Source

fn get_width(&self) -> unsafe extern "C" fn() -> c_int

Source

fn get_height(&self) -> unsafe extern "C" fn() -> c_int

Source

fn set_refresh_rate(&self) -> unsafe extern "C" fn(rate: c_float)

Source

fn set_inverted(&self) -> unsafe extern "C" fn(flag: c_int)

Source

fn set_scale(&self) -> unsafe extern "C" fn(s: c_uint)

Source

fn set_mosaic(&self) -> unsafe extern "C" fn(x: c_uint, y: c_uint)

Source

fn set_flipped(&self) -> unsafe extern "C" fn(x: c_int, y: c_int)

Source

fn set_offset(&self) -> unsafe extern "C" fn(x: c_int, y: c_int)

Implementors§