[−][src]Struct dxplr::dxgi::SwapChainDesc
Fields
buffer_desc: B
sample_desc: SampleDesc
buffer_usage: U
buffer_count: C
output_window: O
windowed: W
swap_effect: S
flags: Option<SwapChainFlag>
Implementations
impl SwapChainDesc<(), (), (), (), (), ()>
[src]
impl<B, U, C, O, W, S> SwapChainDesc<B, U, C, O, W, S>
[src]
pub fn buffer_desc(
self,
buffer_desc: ModeDesc<u32, u32, Rational, Format>
) -> SwapChainDesc<ModeDesc<u32, u32, Rational, Format>, U, C, O, W, S>
[src]
self,
buffer_desc: ModeDesc<u32, u32, Rational, Format>
) -> SwapChainDesc<ModeDesc<u32, u32, Rational, Format>, U, C, O, W, S>
pub fn sample_desc(self, sample_desc: SampleDesc) -> Self
[src]
pub fn buffer_usage(
self,
buffer_usage: Usage
) -> SwapChainDesc<B, Usage, C, O, W, S>
[src]
self,
buffer_usage: Usage
) -> SwapChainDesc<B, Usage, C, O, W, S>
pub fn buffer_count(
self,
buffer_count: u32
) -> SwapChainDesc<B, U, u32, O, W, S>
[src]
self,
buffer_count: u32
) -> SwapChainDesc<B, U, u32, O, W, S>
pub fn output_window(
self,
output_window: &impl WindowHandle
) -> SwapChainDesc<B, U, C, *const c_void, W, S>
[src]
self,
output_window: &impl WindowHandle
) -> SwapChainDesc<B, U, C, *const c_void, W, S>
pub fn windowed(self, windowed: bool) -> SwapChainDesc<B, U, C, O, bool, S>
[src]
pub fn swap_effect(
self,
swap_effect: SwapEffect
) -> SwapChainDesc<B, U, C, O, W, SwapEffect>
[src]
self,
swap_effect: SwapEffect
) -> SwapChainDesc<B, U, C, O, W, SwapEffect>
pub fn flags(self, flags: SwapChainFlag) -> Self
[src]
Trait Implementations
impl<B: Clone, U: Clone, C: Clone, O: Clone, W: Clone, S: Clone> Clone for SwapChainDesc<B, U, C, O, W, S>
[src]
pub fn clone(&self) -> SwapChainDesc<B, U, C, O, W, S>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<B: Debug, U: Debug, C: Debug, O: Debug, W: Debug, S: Debug> Debug for SwapChainDesc<B, U, C, O, W, S>
[src]
impl From<DXGI_SWAP_CHAIN_DESC> for SwapChainDesc<ModeDesc<u32, u32, Rational, Format>, Usage, u32, *const c_void, bool, SwapEffect>
[src]
pub fn from(
src: DXGI_SWAP_CHAIN_DESC
) -> SwapChainDesc<ModeDesc<u32, u32, Rational, Format>, Usage, u32, *const c_void, bool, SwapEffect>
[src]
src: DXGI_SWAP_CHAIN_DESC
) -> SwapChainDesc<ModeDesc<u32, u32, Rational, Format>, Usage, u32, *const c_void, bool, SwapEffect>
Auto Trait Implementations
impl<B, U, C, O, W, S> RefUnwindSafe for SwapChainDesc<B, U, C, O, W, S> where
B: RefUnwindSafe,
C: RefUnwindSafe,
O: RefUnwindSafe,
S: RefUnwindSafe,
U: RefUnwindSafe,
W: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
O: RefUnwindSafe,
S: RefUnwindSafe,
U: RefUnwindSafe,
W: RefUnwindSafe,
impl<B, U, C, O, W, S> Send for SwapChainDesc<B, U, C, O, W, S> where
B: Send,
C: Send,
O: Send,
S: Send,
U: Send,
W: Send,
B: Send,
C: Send,
O: Send,
S: Send,
U: Send,
W: Send,
impl<B, U, C, O, W, S> Sync for SwapChainDesc<B, U, C, O, W, S> where
B: Sync,
C: Sync,
O: Sync,
S: Sync,
U: Sync,
W: Sync,
B: Sync,
C: Sync,
O: Sync,
S: Sync,
U: Sync,
W: Sync,
impl<B, U, C, O, W, S> Unpin for SwapChainDesc<B, U, C, O, W, S> where
B: Unpin,
C: Unpin,
O: Unpin,
S: Unpin,
U: Unpin,
W: Unpin,
B: Unpin,
C: Unpin,
O: Unpin,
S: Unpin,
U: Unpin,
W: Unpin,
impl<B, U, C, O, W, S> UnwindSafe for SwapChainDesc<B, U, C, O, W, S> where
B: UnwindSafe,
C: UnwindSafe,
O: UnwindSafe,
S: UnwindSafe,
U: UnwindSafe,
W: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
O: UnwindSafe,
S: UnwindSafe,
U: 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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,