pub struct WindowSwapchainState {
pub window_id: u32,
pub width: u32,
pub height: u32,
pub dpr: f32,
pub frame_buffer: FrameBuffer,
pub presenter: SoftwareSurfacePresenter,
pub damage_tracker: DamageTracker,
pub total_presented_frames: u64,
}Expand description
State tracked per active window swapchain.
Fields§
§window_id: u32§width: u32§height: u32§dpr: f32§frame_buffer: FrameBuffer§presenter: SoftwareSurfacePresenter§damage_tracker: DamageTracker§total_presented_frames: u64Implementations§
Auto Trait Implementations§
impl Forget for WindowSwapchainState
impl Freeze for WindowSwapchainState
impl Move for WindowSwapchainState
impl RefUnwindSafe for WindowSwapchainState
impl Send for WindowSwapchainState
impl Sync for WindowSwapchainState
impl Unpin for WindowSwapchainState
impl UnsafeUnpin for WindowSwapchainState
impl UnwindSafe for WindowSwapchainState
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