[−][src]Struct dxplr::dxgi::ModeDesc
Fields
width: W
height: H
refresh_rate: R
format: F
scanline_ordering: ModeScanlineOrder
scaling: ModeScaling
Methods
impl ModeDesc<(), (), (), ()>
[src]
impl<W, H, R, F> ModeDesc<W, H, R, F>
[src]
pub fn width(self, width: u32) -> ModeDesc<u32, H, R, F>
[src]
pub fn height(self, height: u32) -> ModeDesc<W, u32, R, F>
[src]
pub fn refresh_rate(self, refresh_rate: Rational) -> ModeDesc<W, H, Rational, F>
[src]
pub fn format(self, format: Format) -> ModeDesc<W, H, R, Format>
[src]
pub fn scanline_ordering(self, scanline_ordering: ModeScanlineOrder) -> Self
[src]
pub fn scaling(self, scaling: ModeScaling) -> Self
[src]
Trait Implementations
impl<W: Clone, H: Clone, R: Clone, F: Clone> Clone for ModeDesc<W, H, R, F>
[src]
impl<W: Debug, H: Debug, R: Debug, F: Debug> Debug for ModeDesc<W, H, R, F>
[src]
impl From<DXGI_MODE_DESC> for ModeDesc<u32, u32, Rational, Format>
[src]
Auto Trait Implementations
impl<W, H, R, F> RefUnwindSafe for ModeDesc<W, H, R, F> where
F: RefUnwindSafe,
H: RefUnwindSafe,
R: RefUnwindSafe,
W: RefUnwindSafe,
F: RefUnwindSafe,
H: RefUnwindSafe,
R: RefUnwindSafe,
W: RefUnwindSafe,
impl<W, H, R, F> Send for ModeDesc<W, H, R, F> where
F: Send,
H: Send,
R: Send,
W: Send,
F: Send,
H: Send,
R: Send,
W: Send,
impl<W, H, R, F> Sync for ModeDesc<W, H, R, F> where
F: Sync,
H: Sync,
R: Sync,
W: Sync,
F: Sync,
H: Sync,
R: Sync,
W: Sync,
impl<W, H, R, F> Unpin for ModeDesc<W, H, R, F> where
F: Unpin,
H: Unpin,
R: Unpin,
W: Unpin,
F: Unpin,
H: Unpin,
R: Unpin,
W: Unpin,
impl<W, H, R, F> UnwindSafe for ModeDesc<W, H, R, F> where
F: UnwindSafe,
H: UnwindSafe,
R: UnwindSafe,
W: UnwindSafe,
F: UnwindSafe,
H: UnwindSafe,
R: UnwindSafe,
W: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,