Struct thindx::d3d::DisplayModeEx
source · [−]#[repr(C)]pub struct DisplayModeEx {
pub size: u32,
pub width: u32,
pub height: u32,
pub refresh_rate: u32,
pub format: Format,
pub scanline_ordering: ScanlineOrdering,
}
Expand description
Fields
size: u32
The size of this structure. This should always be set to size_of::<DisplayModeEx>()
.
width: u32
Screen width, in pixels.
height: u32
Screen height, in pixels.
refresh_rate: u32
Refresh rate, in refreshes per seconds (hz). The value of 0 indicates an adapter default.
format: Format
Surface format of the display mode / screen.
scanline_ordering: ScanlineOrdering
Indicates whether the scanline order is progressive or interlaced.
Trait Implementations
sourceimpl AsMut<D3DDISPLAYMODEEX> for DisplayModeEx
impl AsMut<D3DDISPLAYMODEEX> for DisplayModeEx
sourceimpl AsMut<DisplayModeEx> for D3DDISPLAYMODEEX
impl AsMut<DisplayModeEx> for D3DDISPLAYMODEEX
sourcefn as_mut(&mut self) -> &mut DisplayModeEx
fn as_mut(&mut self) -> &mut DisplayModeEx
Converts this type into a mutable reference of the (usually inferred) input type.
sourceimpl AsRef<D3DDISPLAYMODEEX> for DisplayModeEx
impl AsRef<D3DDISPLAYMODEEX> for DisplayModeEx
sourceimpl AsRef<DisplayModeEx> for D3DDISPLAYMODEEX
impl AsRef<DisplayModeEx> for D3DDISPLAYMODEEX
sourcefn as_ref(&self) -> &DisplayModeEx
fn as_ref(&self) -> &DisplayModeEx
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for DisplayModeEx
impl Clone for DisplayModeEx
sourcefn clone(&self) -> DisplayModeEx
fn clone(&self) -> DisplayModeEx
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DisplayModeEx
impl Debug for DisplayModeEx
sourceimpl Default for DisplayModeEx
impl Default for DisplayModeEx
sourceimpl Deref for DisplayModeEx
impl Deref for DisplayModeEx
sourceimpl DerefMut for DisplayModeEx
impl DerefMut for DisplayModeEx
sourceimpl From<D3DDISPLAYMODEEX> for DisplayModeEx
impl From<D3DDISPLAYMODEEX> for DisplayModeEx
sourceimpl From<DisplayModeEx> for D3DDISPLAYMODEEX
impl From<DisplayModeEx> for D3DDISPLAYMODEEX
sourcefn from(value: DisplayModeEx) -> Self
fn from(value: DisplayModeEx) -> Self
Converts to this type from the input type.
sourceimpl Zeroable for DisplayModeEx
impl Zeroable for DisplayModeEx
impl Copy for DisplayModeEx
impl Pod for DisplayModeEx
Auto Trait Implementations
impl RefUnwindSafe for DisplayModeEx
impl Send for DisplayModeEx
impl Sync for DisplayModeEx
impl Unpin for DisplayModeEx
impl UnwindSafe for DisplayModeEx
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more