pub struct QueueProxyData<I: Proxy, U, State> {
pub udata: U,
/* private fields */
}Expand description
The ObjectData implementation used by Wayland proxies, integrating with Dispatch
Fields§
§udata: UThe user data associated with this object
Trait Implementations§
Source§impl<I: Proxy + 'static, State: 'static, U> ObjectData for QueueProxyData<I, U, State>
impl<I: Proxy + 'static, State: 'static, U> ObjectData for QueueProxyData<I, U, State>
Source§fn event(
self: Arc<Self>,
_: &Backend,
msg: Message<ObjectId, OwnedFd>,
) -> Option<Arc<dyn ObjectData>>
fn event( self: Arc<Self>, _: &Backend, msg: Message<ObjectId, OwnedFd>, ) -> Option<Arc<dyn ObjectData>>
Dispatch an event for the associated object Read more
Source§fn destroyed(&self, _: ObjectId)
fn destroyed(&self, _: ObjectId)
Notification that the object has been destroyed and is no longer active
Source§fn data_as_any(&self) -> &dyn Any
fn data_as_any(&self) -> &dyn Any
Helper for accessing user data Read more
Auto Trait Implementations§
impl<I, U, State> Freeze for QueueProxyData<I, U, State>where
U: Freeze,
impl<I, U, State> RefUnwindSafe for QueueProxyData<I, U, State>where
U: RefUnwindSafe,
impl<I, U, State> Send for QueueProxyData<I, U, State>where
U: Send,
impl<I, U, State> Sync for QueueProxyData<I, U, State>where
U: Sync,
impl<I, U, State> Unpin for QueueProxyData<I, U, State>where
U: Unpin,
impl<I, U, State> UnsafeUnpin for QueueProxyData<I, U, State>where
U: UnsafeUnpin,
impl<I, U, State> UnwindSafe for QueueProxyData<I, U, State>where
U: UnwindSafe,
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