Struct wgpu_core::present::Presentation
source · pub(crate) struct Presentation {
pub(crate) device_id: Stored<DeviceId>,
pub(crate) config: SurfaceConfiguration<Vec<TextureFormat>>,
pub(crate) num_frames: u32,
pub(crate) acquired_texture: Option<Stored<TextureId>>,
}
Fields§
§device_id: Stored<DeviceId>
§config: SurfaceConfiguration<Vec<TextureFormat>>
§num_frames: u32
§acquired_texture: Option<Stored<TextureId>>
Implementations§
Trait Implementations§
Auto Trait Implementations§
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