pub struct EventUserData<R: Runtime> {
pub app: AppHandle<R>,
pub free_fn: unsafe extern "C" fn(*mut c_char),
pub window_label: String,
}Fields§
§app: AppHandle<R>§free_fn: unsafe extern "C" fn(*mut c_char)§window_label: StringTrait Implementations§
Source§impl<R: Clone + Runtime> Clone for EventUserData<R>
impl<R: Clone + Runtime> Clone for EventUserData<R>
Source§fn clone(&self) -> EventUserData<R>
fn clone(&self) -> EventUserData<R>
Returns a duplicate 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 moreAuto Trait Implementations§
impl<R> Freeze for EventUserData<R>
impl<R> !RefUnwindSafe for EventUserData<R>
impl<R> Send for EventUserData<R>
impl<R> Sync for EventUserData<R>
impl<R> Unpin for EventUserData<R>
impl<R> !UnwindSafe for EventUserData<R>
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