pub struct SendDirectX<T>(pub T);Expand description
A wrapper to send a DirectX device across threads.
Tuple Fieldsยง
ยง0: TImplementationsยง
Sourceยงimpl<T> SendDirectX<T>
impl<T> SendDirectX<T>
Trait Implementationsยง
impl<T> Send for SendDirectX<T>
Auto Trait Implementationsยง
impl<T> Freeze for SendDirectX<T>where
T: Freeze,
impl<T> RefUnwindSafe for SendDirectX<T>where
T: RefUnwindSafe,
impl<T> Sync for SendDirectX<T>where
T: Sync,
impl<T> Unpin for SendDirectX<T>where
T: Unpin,
impl<T> UnsafeUnpin for SendDirectX<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for SendDirectX<T>where
T: 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
Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more