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§
Sourcefn id(&self) -> i64
fn id(&self) -> i64
See _cef_display_t::get_id for more documentation.
Sourcefn device_scale_factor(&self) -> f32
fn device_scale_factor(&self) -> f32
See _cef_display_t::get_device_scale_factor for more documentation.
Sourcefn convert_point_to_pixels(&self, point: Option<&mut Point>)
fn convert_point_to_pixels(&self, point: Option<&mut Point>)
See _cef_display_t::convert_point_to_pixels for more documentation.
Sourcefn convert_point_from_pixels(&self, point: Option<&mut Point>)
fn convert_point_from_pixels(&self, point: Option<&mut Point>)
See _cef_display_t::convert_point_from_pixels for more documentation.
Sourcefn bounds(&self) -> Rect
fn bounds(&self) -> Rect
See _cef_display_t::get_bounds for more documentation.
Sourcefn work_area(&self) -> Rect
fn work_area(&self) -> Rect
See _cef_display_t::get_work_area for more documentation.
Sourcefn rotation(&self) -> c_int
fn rotation(&self) -> c_int
See _cef_display_t::get_rotation for more documentation.
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.