[−][src]Struct dxplr::dxgi::SwapChainDesc1
Fields
width: W
height: H
format: F
stereo: bool
sample_desc: SampleDesc
buffer_usage: BU
buffer_count: BC
scaling: Scaling
swap_effect: SE
alpha_mode: AlphaMode
flags: Option<SwapChainFlag>
Methods
impl SwapChainDesc1<(), (), (), (), (), ()>
[src]
impl<W, H, F, BU, BC, SE> SwapChainDesc1<W, H, F, BU, BC, SE>
[src]
pub fn width(self, width: u32) -> SwapChainDesc1<u32, H, F, BU, BC, SE>
[src]
pub fn height(self, height: u32) -> SwapChainDesc1<W, u32, F, BU, BC, SE>
[src]
pub fn format(self, format: Format) -> SwapChainDesc1<W, H, Format, BU, BC, SE>
[src]
pub fn stereo(self, stereo: bool) -> Self
[src]
pub fn sample_desc(self, desc: SampleDesc) -> Self
[src]
pub fn buffer_usage(
self,
buffer_usage: Usage
) -> SwapChainDesc1<W, H, F, Usage, BC, SE>
[src]
self,
buffer_usage: Usage
) -> SwapChainDesc1<W, H, F, Usage, BC, SE>
pub fn buffer_count(
self,
buffer_count: u32
) -> SwapChainDesc1<W, H, F, BU, u32, SE>
[src]
self,
buffer_count: u32
) -> SwapChainDesc1<W, H, F, BU, u32, SE>
pub fn scaling(self, scaling: Scaling) -> Self
[src]
pub fn swap_effect(
self,
swap_effect: SwapEffect
) -> SwapChainDesc1<W, H, F, BU, BC, SwapEffect>
[src]
self,
swap_effect: SwapEffect
) -> SwapChainDesc1<W, H, F, BU, BC, SwapEffect>
pub fn alpha_mode(self, alpha_mode: AlphaMode) -> Self
[src]
pub fn flags(self, flags: SwapChainFlag) -> Self
[src]
Trait Implementations
impl<W: Clone, H: Clone, F: Clone, BU: Clone, BC: Clone, SE: Clone> Clone for SwapChainDesc1<W, H, F, BU, BC, SE>
[src]
fn clone(&self) -> SwapChainDesc1<W, H, F, BU, BC, SE>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<W: Debug, H: Debug, F: Debug, BU: Debug, BC: Debug, SE: Debug> Debug for SwapChainDesc1<W, H, F, BU, BC, SE>
[src]
impl From<DXGI_SWAP_CHAIN_DESC1> for SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>
[src]
fn from(src: DXGI_SWAP_CHAIN_DESC1) -> Self
[src]
Auto Trait Implementations
impl<W, H, F, BU, BC, SE> RefUnwindSafe for SwapChainDesc1<W, H, F, BU, BC, SE> where
BC: RefUnwindSafe,
BU: RefUnwindSafe,
F: RefUnwindSafe,
H: RefUnwindSafe,
SE: RefUnwindSafe,
W: RefUnwindSafe,
BC: RefUnwindSafe,
BU: RefUnwindSafe,
F: RefUnwindSafe,
H: RefUnwindSafe,
SE: RefUnwindSafe,
W: RefUnwindSafe,
impl<W, H, F, BU, BC, SE> Send for SwapChainDesc1<W, H, F, BU, BC, SE> where
BC: Send,
BU: Send,
F: Send,
H: Send,
SE: Send,
W: Send,
BC: Send,
BU: Send,
F: Send,
H: Send,
SE: Send,
W: Send,
impl<W, H, F, BU, BC, SE> Sync for SwapChainDesc1<W, H, F, BU, BC, SE> where
BC: Sync,
BU: Sync,
F: Sync,
H: Sync,
SE: Sync,
W: Sync,
BC: Sync,
BU: Sync,
F: Sync,
H: Sync,
SE: Sync,
W: Sync,
impl<W, H, F, BU, BC, SE> Unpin for SwapChainDesc1<W, H, F, BU, BC, SE> where
BC: Unpin,
BU: Unpin,
F: Unpin,
H: Unpin,
SE: Unpin,
W: Unpin,
BC: Unpin,
BU: Unpin,
F: Unpin,
H: Unpin,
SE: Unpin,
W: Unpin,
impl<W, H, F, BU, BC, SE> UnwindSafe for SwapChainDesc1<W, H, F, BU, BC, SE> where
BC: UnwindSafe,
BU: UnwindSafe,
F: UnwindSafe,
H: UnwindSafe,
SE: UnwindSafe,
W: UnwindSafe,
BC: UnwindSafe,
BU: UnwindSafe,
F: UnwindSafe,
H: UnwindSafe,
SE: 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>,