ImplDisplay

Trait ImplDisplay 

Source
pub trait ImplDisplay:
    Clone
    + Sized
    + Rc {
    // Required methods
    fn id(&self) -> i64;
    fn device_scale_factor(&self) -> f32;
    fn convert_point_to_pixels(&self, point: Option<&mut Point>);
    fn convert_point_from_pixels(&self, point: Option<&mut Point>);
    fn bounds(&self) -> Rect;
    fn work_area(&self) -> Rect;
    fn rotation(&self) -> c_int;
    fn get_raw(&self) -> *mut _cef_display_t;
}

Required Methods§

Source

fn id(&self) -> i64

See _cef_display_t::get_id for more documentation.

Source

fn device_scale_factor(&self) -> f32

See _cef_display_t::get_device_scale_factor for more documentation.

Source

fn convert_point_to_pixels(&self, point: Option<&mut Point>)

See _cef_display_t::convert_point_to_pixels for more documentation.

Source

fn convert_point_from_pixels(&self, point: Option<&mut Point>)

See _cef_display_t::convert_point_from_pixels for more documentation.

Source

fn bounds(&self) -> Rect

See _cef_display_t::get_bounds for more documentation.

Source

fn work_area(&self) -> Rect

See _cef_display_t::get_work_area for more documentation.

Source

fn rotation(&self) -> c_int

See _cef_display_t::get_rotation for more documentation.

Source

fn get_raw(&self) -> *mut _cef_display_t

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§