Struct wgpu_core::present::Presentation
source · pub(crate) struct Presentation {
pub(crate) device: Arc<Device>,
pub(crate) config: SurfaceConfiguration<Vec<TextureFormat>>,
pub(crate) acquired_texture: Option<Arc<Texture>>,
}
Fields§
§device: Arc<Device>
§config: SurfaceConfiguration<Vec<TextureFormat>>
§acquired_texture: Option<Arc<Texture>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Presentation
impl !RefUnwindSafe for Presentation
impl Send for Presentation
impl Sync for Presentation
impl Unpin for Presentation
impl !UnwindSafe for Presentation
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