#[repr(C)]pub struct WGPUSurfaceConfiguration {
pub nextInChain: *mut WGPUChainedStruct,
pub device: WGPUDevice,
pub format: WGPUTextureFormat,
pub usage: WGPUTextureUsage,
pub width: u32,
pub height: u32,
pub viewFormatCount: usize,
pub viewFormats: *const WGPUTextureFormat,
pub alphaMode: WGPUCompositeAlphaMode,
pub presentMode: WGPUPresentMode,
}Fields§
§nextInChain: *mut WGPUChainedStruct§device: WGPUDevice§format: WGPUTextureFormat§usage: WGPUTextureUsage§width: u32§height: u32§viewFormatCount: usize§viewFormats: *const WGPUTextureFormat§alphaMode: WGPUCompositeAlphaMode§presentMode: WGPUPresentModeTrait Implementations§
Auto Trait Implementations§
impl Freeze for WGPUSurfaceConfiguration
impl RefUnwindSafe for WGPUSurfaceConfiguration
impl !Send for WGPUSurfaceConfiguration
impl !Sync for WGPUSurfaceConfiguration
impl Unpin for WGPUSurfaceConfiguration
impl UnwindSafe for WGPUSurfaceConfiguration
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