pub struct DragHandler(/* private fields */);Expand description
See _cef_drag_handler_t for more documentation.
Implementations§
Source§impl DragHandler
impl DragHandler
pub fn new<T>(interface: T) -> Selfwhere
T: WrapDragHandler,
Trait Implementations§
Source§impl Clone for DragHandler
impl Clone for DragHandler
Source§fn clone(&self) -> DragHandler
fn clone(&self) -> DragHandler
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 ConvertParam<*mut _cef_drag_handler_t> for &DragHandler
impl ConvertParam<*mut _cef_drag_handler_t> for &DragHandler
fn into_raw(self) -> *mut _cef_drag_handler_t
Source§impl ConvertParam<*mut _cef_drag_handler_t> for &mut DragHandler
impl ConvertParam<*mut _cef_drag_handler_t> for &mut DragHandler
fn into_raw(self) -> *mut _cef_drag_handler_t
Source§impl ConvertReturnValue<DragHandler> for *mut _cef_drag_handler_t
impl ConvertReturnValue<DragHandler> for *mut _cef_drag_handler_t
fn wrap_result(self) -> DragHandler
Source§impl Default for DragHandler
impl Default for DragHandler
Source§impl From<DragHandler> for *mut _cef_drag_handler_t
impl From<DragHandler> for *mut _cef_drag_handler_t
Source§fn from(value: DragHandler) -> Self
fn from(value: DragHandler) -> Self
Converts to this type from the input type.
Source§impl ImplDragHandler for DragHandler
impl ImplDragHandler for DragHandler
fn on_drag_enter( &self, browser: Option<&mut impl ImplBrowser>, drag_data: Option<&mut impl ImplDragData>, mask: DragOperationsMask, ) -> c_int
fn on_draggable_regions_changed( &self, browser: Option<&mut impl ImplBrowser>, frame: Option<&mut impl ImplFrame>, regions_count: usize, regions: Option<&DraggableRegion>, )
fn get_raw(&self) -> *mut _cef_drag_handler_t
fn init_methods(object: &mut _cef_drag_handler_t)
Source§impl Rc for DragHandler
impl Rc for DragHandler
Source§fn as_base(&self) -> &_cef_base_ref_counted_t
fn as_base(&self) -> &_cef_base_ref_counted_t
Get the reference of cef_base_ref_counted_t.
Source§unsafe fn release(&self) -> bool
unsafe fn release(&self) -> bool
Decrease reference count by 1 and release the value if the count meets 0.
Reuturn
True if it is released. Read moreSource§fn has_one_ref(&self) -> bool
fn has_one_ref(&self) -> bool
True if the reference count is exactly 1.Source§fn has_at_least_one_ref(&self) -> bool
fn has_at_least_one_ref(&self) -> bool
True if the reference count is larger than 0.Auto Trait Implementations§
impl Freeze for DragHandler
impl RefUnwindSafe for DragHandler
impl Send for DragHandler
impl Sync for DragHandler
impl Unpin for DragHandler
impl UnwindSafe for DragHandler
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