#[repr(C)]pub struct _cef_screen_info_t {
pub size: usize,
pub device_scale_factor: f32,
pub depth: c_int,
pub depth_per_component: c_int,
pub is_monochrome: c_int,
pub rect: cef_rect_t,
pub available_rect: cef_rect_t,
}Expand description
Screen information used when window rendering is disabled. This structure is passed as a parameter to CefRenderHandler::GetScreenInfo and should be filled in by the client.
Fields§
§size: usizeSize of this structure.
device_scale_factor: f32Device scale factor. Specifies the ratio between physical and logical pixels.
depth: c_intThe screen depth in bits per pixel.
depth_per_component: c_intThe bits per color component. This assumes that the colors are balanced equally.
is_monochrome: c_intThis can be true for black and white printers.
rect: cef_rect_tThe |rect| and |available_rect| properties are used to determine the available surface for rendering popup views.
available_rect: cef_rect_tThe |rect| and |available_rect| properties are used to determine the available surface for rendering popup views.
Trait Implementations§
Source§impl Clone for _cef_screen_info_t
impl Clone for _cef_screen_info_t
Source§fn clone(&self) -> _cef_screen_info_t
fn clone(&self) -> _cef_screen_info_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for _cef_screen_info_t
impl Debug for _cef_screen_info_t
impl Copy for _cef_screen_info_t
Auto Trait Implementations§
impl Freeze for _cef_screen_info_t
impl RefUnwindSafe for _cef_screen_info_t
impl Send for _cef_screen_info_t
impl Sync for _cef_screen_info_t
impl Unpin for _cef_screen_info_t
impl UnwindSafe for _cef_screen_info_t
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more