Struct winsafe::DXGI_GAMMA_CONTROL_CAPABILITIES
source · #[repr(C)]pub struct DXGI_GAMMA_CONTROL_CAPABILITIES {
pub MaxConvertedValue: f32,
pub MinConvertedValue: f32,
pub NumGammaControlPoints: u32,
pub ControlPointPositions: [f32; 1025],
/* private fields */
}
Available on crate feature
dxgi
only.Expand description
DXGI_GAMMA_CONTROL_CAPABILITIES
struct.
Fields§
§MaxConvertedValue: f32
§MinConvertedValue: f32
§NumGammaControlPoints: u32
§ControlPointPositions: [f32; 1025]
Implementations§
source§impl DXGI_GAMMA_CONTROL_CAPABILITIES
impl DXGI_GAMMA_CONTROL_CAPABILITIES
sourcepub const fn ScaleAndOffsetSupported(&self) -> bool
pub const fn ScaleAndOffsetSupported(&self) -> bool
Returns the bool field.
sourcepub fn set_ScaleAndOffsetSupported(&mut self, val: bool)
pub fn set_ScaleAndOffsetSupported(&mut self, val: bool)
Sets the bool field.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DXGI_GAMMA_CONTROL_CAPABILITIES
impl RefUnwindSafe for DXGI_GAMMA_CONTROL_CAPABILITIES
impl Send for DXGI_GAMMA_CONTROL_CAPABILITIES
impl Sync for DXGI_GAMMA_CONTROL_CAPABILITIES
impl Unpin for DXGI_GAMMA_CONTROL_CAPABILITIES
impl UnwindSafe for DXGI_GAMMA_CONTROL_CAPABILITIES
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