pub struct Context<Flags> {
pub flags: Flags,
pub device: ID3D11Device,
pub device_context: ID3D11DeviceContext,
}展开描述
提供给捕获处理器的上下文。
字段§
§flags: Flags从设置中检索的标志。
device: ID3D11DeviceDirect3D 设备。
device_context: ID3D11DeviceContextDirect3D 设备上下文。
自动 trait 实现§
impl<Flags> Freeze for Context<Flags>where
Flags: Freeze,
impl<Flags> RefUnwindSafe for Context<Flags>where
Flags: RefUnwindSafe,
impl<Flags> Send for Context<Flags>where
Flags: Send,
impl<Flags> Sync for Context<Flags>where
Flags: Sync,
impl<Flags> Unpin for Context<Flags>where
Flags: Unpin,
impl<Flags> UnsafeUnpin for Context<Flags>where
Flags: UnsafeUnpin,
impl<Flags> UnwindSafe for Context<Flags>where
Flags: 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
从拥有的值可变地借用。 阅读更多
源代码§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. 阅读更多