#[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
impl Clone for _cef_render_handler_t
Source§fn clone(&self) -> _cef_render_handler_t
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)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for _cef_render_handler_t
impl Debug for _cef_render_handler_t
impl Copy for _cef_render_handler_t
Auto Trait Implementations§
impl Freeze for _cef_render_handler_t
impl RefUnwindSafe for _cef_render_handler_t
impl Send for _cef_render_handler_t
impl Sync for _cef_render_handler_t
impl Unpin for _cef_render_handler_t
impl UnwindSafe for _cef_render_handler_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