pub struct WindowTargets<R: Resources> {
pub color: RenderTargetView<R, ColorFormat>,
pub depth: DepthStencilView<R, DepthFormat>,
pub aspect_ratio: f32,
}
Fields§
§color: RenderTargetView<R, ColorFormat>
§depth: DepthStencilView<R, DepthFormat>
§aspect_ratio: f32
Auto Trait Implementations§
impl<R> Freeze for WindowTargets<R>
impl<R> RefUnwindSafe for WindowTargets<R>where
<R as Resources>::RenderTargetView: RefUnwindSafe,
<R as Resources>::DepthStencilView: RefUnwindSafe,
<R as Resources>::Texture: RefUnwindSafe,
impl<R> Send for WindowTargets<R>
impl<R> Sync for WindowTargets<R>
impl<R> Unpin for WindowTargets<R>
impl<R> UnwindSafe for WindowTargets<R>where
<R as Resources>::RenderTargetView: RefUnwindSafe,
<R as Resources>::DepthStencilView: RefUnwindSafe,
<R as Resources>::Texture: RefUnwindSafe,
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