pub struct DispatcherQueueController(/* private fields */);Expand description
Owns a dispatcher queue on the current thread.
Keep it alive and pump the thread’s message loop while using a
Compositor created on that thread.
Implementations§
Source§impl DispatcherQueueController
impl DispatcherQueueController
Sourcepub fn create_on_current_thread() -> Result<Self>
pub fn create_on_current_thread() -> Result<Self>
Creates a dispatcher queue on the current thread. Fails if the thread already has one.
Auto Trait Implementations§
impl Freeze for DispatcherQueueController
impl RefUnwindSafe for DispatcherQueueController
impl Send for DispatcherQueueController
impl Sync for DispatcherQueueController
impl Unpin for DispatcherQueueController
impl UnsafeUnpin for DispatcherQueueController
impl UnwindSafe for DispatcherQueueController
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