pub struct Swapchain {
surface: Surface,
wl_window: Option<*mut c_void>,
framebuffer: Framebuffer,
renderbuffer: Renderbuffer,
extent: Extent3d,
format: TextureFormat,
format_desc: TextureFormatDesc,
sample_type: TextureSampleType,
}
Fields§
§surface: Surface
§wl_window: Option<*mut c_void>
§framebuffer: Framebuffer
§renderbuffer: Renderbuffer
§extent: Extent3d
Extent because the window lies
format: TextureFormat
§format_desc: TextureFormatDesc
§sample_type: TextureSampleType
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Swapchain
impl RefUnwindSafe for Swapchain
impl !Send for Swapchain
impl !Sync for Swapchain
impl Unpin for Swapchain
impl UnwindSafe for Swapchain
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