pub struct SurfaceCapabilities {
pub supported_families: Arc<[bool]>,
pub min_image_count: NonZeroU32,
pub max_image_count: Option<NonZeroU32>,
pub current_extent: Extent2,
pub current_transform: SurfaceTransformFlags,
pub min_image_extent: Extent2,
pub max_image_extent: Extent2,
pub supported_usage: ImageUsage,
pub present_modes: Vec<PresentMode>,
pub formats: Vec<Format>,
pub supported_composite_alpha: CompositeAlphaFlags,
}
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.