pub struct CorrectiveWindowMoveTask {
state: Arc<AppState>,
hwnd: u64,
x: i32,
y: i32,
w: i32,
h: i32,
cef_object: *mut RcImpl<_cef_task_t, Self>,
}Fields§
§state: Arc<AppState>§hwnd: u64§x: i32§y: i32§w: i32§h: i32§cef_object: *mut RcImpl<_cef_task_t, Self>Implementations§
Trait Implementations§
Source§impl Clone for CorrectiveWindowMoveTask
impl Clone for CorrectiveWindowMoveTask
Source§impl ImplTask for CorrectiveWindowMoveTask
impl ImplTask for CorrectiveWindowMoveTask
Source§impl Rc for CorrectiveWindowMoveTask
impl Rc for CorrectiveWindowMoveTask
§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 CorrectiveWindowMoveTask
impl !RefUnwindSafe for CorrectiveWindowMoveTask
impl !Send for CorrectiveWindowMoveTask
impl !Sync for CorrectiveWindowMoveTask
impl Unpin for CorrectiveWindowMoveTask
impl !UnwindSafe for CorrectiveWindowMoveTask
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.