pub struct SurfaceInfo {
pub min_extent: Extent2D,
pub max_extent: Extent2D,
pub current_extent: Extent2D,
pub image_count: u32,
pub present_mode: PresentModeKHR,
pub color_format: SurfaceFormatKHR,
pub pre_transform: SurfaceTransformFlagsKHR,
}Expand description
Return info about the created surface and its capabilities.
Fields§
§min_extent: Extent2D§max_extent: Extent2D§current_extent: Extent2D§image_count: u32§present_mode: PresentModeKHR§color_format: SurfaceFormatKHR§pre_transform: SurfaceTransformFlagsKHRAuto Trait Implementations§
impl Freeze for SurfaceInfo
impl RefUnwindSafe for SurfaceInfo
impl Send for SurfaceInfo
impl Sync for SurfaceInfo
impl Unpin for SurfaceInfo
impl UnwindSafe for SurfaceInfo
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