pub struct SendDirectX<T>(pub T);展开描述
一个用于跨线程发送 DirectX 设备的包装器。
元组字段§
§0: T实现§
源代码§impl<T> SendDirectX<T>
impl<T> SendDirectX<T>
trait 实现§
impl<T> Send for SendDirectX<T>
自动 trait 实现§
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 实现§
源代码§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
源代码§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. 阅读更多
源代码§impl<T> IntoEither for T
impl<T> IntoEither for T
源代码§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. 阅读更多源代码§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. 阅读更多