#[repr(C)]pub struct SurfaceCapabilities2EXT {Show 13 fields
pub s_type: StructureType,
pub p_next: *mut c_void,
pub min_image_count: u32,
pub max_image_count: u32,
pub current_extent: Extent2D,
pub min_image_extent: Extent2D,
pub max_image_extent: Extent2D,
pub max_image_array_layers: u32,
pub supported_transforms: SurfaceTransformFlagsKHR,
pub current_transform: SurfaceTransformFlagsKHR,
pub supported_composite_alpha: CompositeAlphaFlagsKHR,
pub supported_usage_flags: ImageUsageFlags,
pub supported_surface_counters: SurfaceCounterFlagsEXT,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§min_image_count: u32
§max_image_count: u32
§current_extent: Extent2D
§min_image_extent: Extent2D
§max_image_extent: Extent2D
§max_image_array_layers: u32
§supported_transforms: SurfaceTransformFlagsKHR
§current_transform: SurfaceTransformFlagsKHR
§supported_composite_alpha: CompositeAlphaFlagsKHR
§supported_usage_flags: ImageUsageFlags
§supported_surface_counters: SurfaceCounterFlagsEXT
Implementations§
Source§impl SurfaceCapabilities2EXT
impl SurfaceCapabilities2EXT
pub fn builder<'a>() -> SurfaceCapabilities2EXTBuilder<'a>
Trait Implementations§
Source§impl Clone for SurfaceCapabilities2EXT
impl Clone for SurfaceCapabilities2EXT
Source§fn clone(&self) -> SurfaceCapabilities2EXT
fn clone(&self) -> SurfaceCapabilities2EXT
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SurfaceCapabilities2EXT
impl Debug for SurfaceCapabilities2EXT
Source§impl Default for SurfaceCapabilities2EXT
impl Default for SurfaceCapabilities2EXT
Source§impl TaggedStructure for SurfaceCapabilities2EXT
impl TaggedStructure for SurfaceCapabilities2EXT
const STRUCTURE_TYPE: StructureType = StructureType::SURFACE_CAPABILITIES_2_EXT
impl Copy for SurfaceCapabilities2EXT
Auto Trait Implementations§
impl Freeze for SurfaceCapabilities2EXT
impl RefUnwindSafe for SurfaceCapabilities2EXT
impl !Send for SurfaceCapabilities2EXT
impl !Sync for SurfaceCapabilities2EXT
impl Unpin for SurfaceCapabilities2EXT
impl UnwindSafe for SurfaceCapabilities2EXT
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)