pub struct Context<Flags> {
pub flags: Flags,
pub device: ID3D11Device,
pub device_context: ID3D11DeviceContext,
}Expand description
A struct representing the context of the capture handler.
Fieldsยง
ยงflags: FlagsThe flags that are retrieved from the settings.
device: ID3D11DeviceThe Direct3D device.
device_context: ID3D11DeviceContextThe Direct3D device context.
Auto Trait Implementationsยง
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> UnwindSafe for Context<Flags>where
Flags: 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