#[repr(C)]
pub struct RUScreenFuncs {
Show 19 fields pub name: extern "C" fn(self_c: *const RUBase) -> *const c_char, pub manufacturer: extern "C" fn(self_c: *const RUBase) -> *const c_char, pub model: extern "C" fn(self_c: *const RUBase) -> *const c_char, pub serial_number: extern "C" fn(self_c: *const RUBase) -> *const c_char, pub depth: extern "C" fn(self_c: *const RUBase) -> i32, pub physical_dots_per_inch_x: extern "C" fn(self_c: *const RUBase) -> f32, pub physical_dots_per_inch_y: extern "C" fn(self_c: *const RUBase) -> f32, pub physical_dots_per_inch: extern "C" fn(self_c: *const RUBase) -> f32, pub logical_dots_per_inch_x: extern "C" fn(self_c: *const RUBase) -> f32, pub logical_dots_per_inch_y: extern "C" fn(self_c: *const RUBase) -> f32, pub logical_dots_per_inch: extern "C" fn(self_c: *const RUBase) -> f32, pub device_pixel_ratio: extern "C" fn(self_c: *const RUBase) -> f32, pub available_size: extern "C" fn(self_c: *const RUBase) -> RUSize, pub virtual_size: extern "C" fn(self_c: *const RUBase) -> RUSize, pub available_virtual_size: extern "C" fn(self_c: *const RUBase) -> RUSize, pub primary_orientation: extern "C" fn(self_c: *const RUBase) -> i32, pub angle_between: extern "C" fn(self_c: *const RUBase, a: i32, b: i32) -> i32, pub is_landscape: extern "C" fn(self_c: *const RUBase, orientation: i32) -> bool, pub refresh_rate: extern "C" fn(self_c: *const RUBase) -> f32,
}

Fields

name: extern "C" fn(self_c: *const RUBase) -> *const c_charmanufacturer: extern "C" fn(self_c: *const RUBase) -> *const c_charmodel: extern "C" fn(self_c: *const RUBase) -> *const c_charserial_number: extern "C" fn(self_c: *const RUBase) -> *const c_chardepth: extern "C" fn(self_c: *const RUBase) -> i32physical_dots_per_inch_x: extern "C" fn(self_c: *const RUBase) -> f32physical_dots_per_inch_y: extern "C" fn(self_c: *const RUBase) -> f32physical_dots_per_inch: extern "C" fn(self_c: *const RUBase) -> f32logical_dots_per_inch_x: extern "C" fn(self_c: *const RUBase) -> f32logical_dots_per_inch_y: extern "C" fn(self_c: *const RUBase) -> f32logical_dots_per_inch: extern "C" fn(self_c: *const RUBase) -> f32device_pixel_ratio: extern "C" fn(self_c: *const RUBase) -> f32available_size: extern "C" fn(self_c: *const RUBase) -> RUSizevirtual_size: extern "C" fn(self_c: *const RUBase) -> RUSizeavailable_virtual_size: extern "C" fn(self_c: *const RUBase) -> RUSizeprimary_orientation: extern "C" fn(self_c: *const RUBase) -> i32angle_between: extern "C" fn(self_c: *const RUBase, a: i32, b: i32) -> i32is_landscape: extern "C" fn(self_c: *const RUBase, orientation: i32) -> boolrefresh_rate: extern "C" fn(self_c: *const RUBase) -> f32

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.