Struct ash::vk::SurfaceCapabilities2EXT
source · [−]#[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
sourceimpl SurfaceCapabilities2EXT
impl SurfaceCapabilities2EXT
pub fn builder<'a>() -> SurfaceCapabilities2EXTBuilder<'a>
Trait Implementations
sourceimpl Clone for SurfaceCapabilities2EXT
impl Clone for SurfaceCapabilities2EXT
sourcefn clone(&self) -> SurfaceCapabilities2EXT
fn clone(&self) -> SurfaceCapabilities2EXT
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SurfaceCapabilities2EXT
impl Debug for SurfaceCapabilities2EXT
sourceimpl Default for SurfaceCapabilities2EXT
impl Default for SurfaceCapabilities2EXT
impl Copy for SurfaceCapabilities2EXT
Auto Trait Implementations
impl RefUnwindSafe for SurfaceCapabilities2EXT
impl !Send for SurfaceCapabilities2EXT
impl !Sync for SurfaceCapabilities2EXT
impl Unpin for SurfaceCapabilities2EXT
impl UnwindSafe for SurfaceCapabilities2EXT
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more