struct AgentMuxDragHandler {
inner: Arc<Mutex<AgentMuxHandler>>,
cef_object: *mut RcImpl<_cef_drag_handler_t, Self>,
}Fields§
§inner: Arc<Mutex<AgentMuxHandler>>§cef_object: *mut RcImpl<_cef_drag_handler_t, Self>Implementations§
Source§impl AgentMuxDragHandler
impl AgentMuxDragHandler
pub fn new(inner: Arc<Mutex<AgentMuxHandler>>) -> DragHandler
Trait Implementations§
Source§impl Clone for AgentMuxDragHandler
impl Clone for AgentMuxDragHandler
Source§impl ImplDragHandler for AgentMuxDragHandler
impl ImplDragHandler for AgentMuxDragHandler
Source§fn on_draggable_regions_changed(
&self,
browser: Option<&mut Browser>,
_frame: Option<&mut Frame>,
regions: Option<&[DraggableRegion]>,
)
fn on_draggable_regions_changed( &self, browser: Option<&mut Browser>, _frame: Option<&mut Frame>, regions: Option<&[DraggableRegion]>, )
See [
_cef_drag_handler_t::on_draggable_regions_changed] for more documentation.fn get_raw(&self) -> *mut _cef_drag_handler_t
§fn on_drag_enter(
&self,
browser: Option<&mut Browser>,
drag_data: Option<&mut DragData>,
mask: DragOperationsMask,
) -> i32
fn on_drag_enter( &self, browser: Option<&mut Browser>, drag_data: Option<&mut DragData>, mask: DragOperationsMask, ) -> i32
See [
_cef_drag_handler_t::on_drag_enter] for more documentation.fn init_methods(object: &mut _cef_drag_handler_t)
Source§impl Rc for AgentMuxDragHandler
impl Rc for AgentMuxDragHandler
§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 more§fn has_one_ref(&self) -> bool
fn has_one_ref(&self) -> bool
True if the reference count is exactly 1.§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 AgentMuxDragHandler
impl !RefUnwindSafe for AgentMuxDragHandler
impl !Send for AgentMuxDragHandler
impl !Sync for AgentMuxDragHandler
impl Unpin for AgentMuxDragHandler
impl !UnwindSafe for AgentMuxDragHandler
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, U> ConvertReturnValue<U> for Twhere
T: Into<U>,
impl<T, U> ConvertReturnValue<U> for Twhere
T: Into<U>,
fn wrap_result(self) -> U
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.