pub enum DxgiDuplicationFormat {
Rgba16F,
Rgb10A2,
Rgb10XrA2,
Rgba8,
Rgba8Srgb,
Bgra8,
Bgra8Srgb,
}Expand description
Supported DXGI formats for duplication.
Variantsยง
Rgba16F
16-bit float RGBA format.
Rgb10A2
10-bit RGB with 2-bit alpha format.
Rgb10XrA2
10-bit RGB with 2-bit alpha format (biased).
Rgba8
8-bit RGBA format.
Rgba8Srgb
8-bit RGBA format (sRGB).
Bgra8
8-bit BGRA format.
Bgra8Srgb
8-bit BGRA format (sRGB).
Trait Implementationsยง
Sourceยงimpl Clone for DxgiDuplicationFormat
impl Clone for DxgiDuplicationFormat
Sourceยงfn clone(&self) -> DxgiDuplicationFormat
fn clone(&self) -> DxgiDuplicationFormat
Returns a duplicate 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 DxgiDuplicationFormat
impl Debug for DxgiDuplicationFormat
Sourceยงimpl PartialEq for DxgiDuplicationFormat
impl PartialEq for DxgiDuplicationFormat
impl Copy for DxgiDuplicationFormat
impl Eq for DxgiDuplicationFormat
impl StructuralPartialEq for DxgiDuplicationFormat
Auto Trait Implementationsยง
impl Freeze for DxgiDuplicationFormat
impl RefUnwindSafe for DxgiDuplicationFormat
impl Send for DxgiDuplicationFormat
impl Sync for DxgiDuplicationFormat
impl Unpin for DxgiDuplicationFormat
impl UnsafeUnpin for DxgiDuplicationFormat
impl UnwindSafe for DxgiDuplicationFormat
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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