Struct async_winit::ThreadUnsafe
source · pub struct ThreadUnsafe { /* private fields */ }
Expand description
Use thread-unsafe primitives.
Trait Implementations§
source§impl Clone for ThreadUnsafe
impl Clone for ThreadUnsafe
source§fn clone(&self) -> ThreadUnsafe
fn clone(&self) -> ThreadUnsafe
Returns a copy 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 moresource§impl Debug for ThreadUnsafe
impl Debug for ThreadUnsafe
source§impl Hash for ThreadUnsafe
impl Hash for ThreadUnsafe
source§impl Ord for ThreadUnsafe
impl Ord for ThreadUnsafe
source§fn cmp(&self, other: &ThreadUnsafe) -> Ordering
fn cmp(&self, other: &ThreadUnsafe) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<ThreadUnsafe> for ThreadUnsafe
impl PartialEq<ThreadUnsafe> for ThreadUnsafe
source§fn eq(&self, other: &ThreadUnsafe) -> bool
fn eq(&self, other: &ThreadUnsafe) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ThreadUnsafe> for ThreadUnsafe
impl PartialOrd<ThreadUnsafe> for ThreadUnsafe
source§fn partial_cmp(&self, other: &ThreadUnsafe) -> Option<Ordering>
fn partial_cmp(&self, other: &ThreadUnsafe) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ThreadUnsafe
impl Eq for ThreadUnsafe
impl StructuralEq for ThreadUnsafe
impl StructuralPartialEq for ThreadUnsafe
impl ThreadSafety for ThreadUnsafe
Auto Trait Implementations§
impl RefUnwindSafe for ThreadUnsafe
impl Send for ThreadUnsafe
impl Sync for ThreadUnsafe
impl Unpin for ThreadUnsafe
impl UnwindSafe for ThreadUnsafe
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