cef_dll_sys

Struct _cef_render_handler_t

Source
#[repr(C)]
pub struct _cef_render_handler_t {
Show 16 fields pub base: cef_base_ref_counted_t, pub get_accessibility_handler: Option<unsafe extern "C" fn(self_: *mut _cef_render_handler_t) -> *mut _cef_accessibility_handler_t>, pub get_root_screen_rect: Option<unsafe extern "C" fn(self_: *mut _cef_render_handler_t, browser: *mut _cef_browser_t, rect: *mut cef_rect_t) -> c_int>, pub get_view_rect: Option<unsafe extern "C" fn(self_: *mut _cef_render_handler_t, browser: *mut _cef_browser_t, rect: *mut cef_rect_t)>, pub get_screen_point: Option<unsafe extern "C" fn(self_: *mut _cef_render_handler_t, browser: *mut _cef_browser_t, viewX: c_int, viewY: c_int, screenX: *mut c_int, screenY: *mut c_int) -> c_int>, pub get_screen_info: Option<unsafe extern "C" fn(self_: *mut _cef_render_handler_t, browser: *mut _cef_browser_t, screen_info: *mut _cef_screen_info_t) -> c_int>, pub on_popup_show: Option<unsafe extern "C" fn(self_: *mut _cef_render_handler_t, browser: *mut _cef_browser_t, show: c_int)>, pub on_popup_size: Option<unsafe extern "C" fn(self_: *mut _cef_render_handler_t, browser: *mut _cef_browser_t, rect: *const cef_rect_t)>, pub on_paint: Option<unsafe extern "C" fn(self_: *mut _cef_render_handler_t, browser: *mut _cef_browser_t, type_: cef_paint_element_type_t, dirtyRectsCount: usize, dirtyRects: *const cef_rect_t, buffer: *const c_void, width: c_int, height: c_int)>, pub on_accelerated_paint: Option<unsafe extern "C" fn(self_: *mut _cef_render_handler_t, browser: *mut _cef_browser_t, type_: cef_paint_element_type_t, dirtyRectsCount: usize, dirtyRects: *const cef_rect_t, shared_handle: *mut c_void)>, pub start_dragging: Option<unsafe extern "C" fn(self_: *mut _cef_render_handler_t, browser: *mut _cef_browser_t, drag_data: *mut _cef_drag_data_t, allowed_ops: cef_drag_operations_mask_t, x: c_int, y: c_int) -> c_int>, pub update_drag_cursor: Option<unsafe extern "C" fn(self_: *mut _cef_render_handler_t, browser: *mut _cef_browser_t, operation: cef_drag_operations_mask_t)>, pub on_scroll_offset_changed: Option<unsafe extern "C" fn(self_: *mut _cef_render_handler_t, browser: *mut _cef_browser_t, x: f64, y: f64)>, pub on_ime_composition_range_changed: Option<unsafe extern "C" fn(self_: *mut _cef_render_handler_t, browser: *mut _cef_browser_t, selected_range: *const cef_range_t, character_boundsCount: usize, character_bounds: *const cef_rect_t)>, pub on_text_selection_changed: Option<unsafe extern "C" fn(self_: *mut _cef_render_handler_t, browser: *mut _cef_browser_t, selected_text: *const cef_string_t, selected_range: *const cef_range_t)>, pub on_virtual_keyboard_requested: Option<unsafe extern "C" fn(self_: *mut _cef_render_handler_t, browser: *mut _cef_browser_t, input_mode: cef_text_input_mode_t)>,
}

Fields§

§base: cef_base_ref_counted_t§get_accessibility_handler: Option<unsafe extern "C" fn(self_: *mut _cef_render_handler_t) -> *mut _cef_accessibility_handler_t>§get_root_screen_rect: Option<unsafe extern "C" fn(self_: *mut _cef_render_handler_t, browser: *mut _cef_browser_t, rect: *mut cef_rect_t) -> c_int>§get_view_rect: Option<unsafe extern "C" fn(self_: *mut _cef_render_handler_t, browser: *mut _cef_browser_t, rect: *mut cef_rect_t)>§get_screen_point: Option<unsafe extern "C" fn(self_: *mut _cef_render_handler_t, browser: *mut _cef_browser_t, viewX: c_int, viewY: c_int, screenX: *mut c_int, screenY: *mut c_int) -> c_int>§get_screen_info: Option<unsafe extern "C" fn(self_: *mut _cef_render_handler_t, browser: *mut _cef_browser_t, screen_info: *mut _cef_screen_info_t) -> c_int>§on_popup_show: Option<unsafe extern "C" fn(self_: *mut _cef_render_handler_t, browser: *mut _cef_browser_t, show: c_int)>§on_popup_size: Option<unsafe extern "C" fn(self_: *mut _cef_render_handler_t, browser: *mut _cef_browser_t, rect: *const cef_rect_t)>§on_paint: Option<unsafe extern "C" fn(self_: *mut _cef_render_handler_t, browser: *mut _cef_browser_t, type_: cef_paint_element_type_t, dirtyRectsCount: usize, dirtyRects: *const cef_rect_t, buffer: *const c_void, width: c_int, height: c_int)>§on_accelerated_paint: Option<unsafe extern "C" fn(self_: *mut _cef_render_handler_t, browser: *mut _cef_browser_t, type_: cef_paint_element_type_t, dirtyRectsCount: usize, dirtyRects: *const cef_rect_t, shared_handle: *mut c_void)>§start_dragging: Option<unsafe extern "C" fn(self_: *mut _cef_render_handler_t, browser: *mut _cef_browser_t, drag_data: *mut _cef_drag_data_t, allowed_ops: cef_drag_operations_mask_t, x: c_int, y: c_int) -> c_int>§update_drag_cursor: Option<unsafe extern "C" fn(self_: *mut _cef_render_handler_t, browser: *mut _cef_browser_t, operation: cef_drag_operations_mask_t)>§on_scroll_offset_changed: Option<unsafe extern "C" fn(self_: *mut _cef_render_handler_t, browser: *mut _cef_browser_t, x: f64, y: f64)>§on_ime_composition_range_changed: Option<unsafe extern "C" fn(self_: *mut _cef_render_handler_t, browser: *mut _cef_browser_t, selected_range: *const cef_range_t, character_boundsCount: usize, character_bounds: *const cef_rect_t)>§on_text_selection_changed: Option<unsafe extern "C" fn(self_: *mut _cef_render_handler_t, browser: *mut _cef_browser_t, selected_text: *const cef_string_t, selected_range: *const cef_range_t)>§on_virtual_keyboard_requested: Option<unsafe extern "C" fn(self_: *mut _cef_render_handler_t, browser: *mut _cef_browser_t, input_mode: cef_text_input_mode_t)>

Trait Implementations§

Source§

impl Clone for _cef_render_handler_t

Source§

fn clone(&self) -> _cef_render_handler_t

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for _cef_render_handler_t

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for _cef_render_handler_t

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.