Struct sierra::SurfaceCapabilities[][src]

pub struct SurfaceCapabilities {
    pub supported_families: Arc<[bool]>,
    pub min_image_count: u32,
    pub max_image_count: u32,
    pub current_extent: Extent2d,
    pub current_transform: SurfaceTransformFlags,
    pub min_image_extent: Extent2d,
    pub max_image_extent: Extent2d,
    pub supported_usage: ImageUsage,
    pub present_modes: Vec<PresentMode>,
    pub formats: Vec<Format>,
    pub supported_composite_alpha: CompositeAlphaFlags,
}

Fields

supported_families: Arc<[bool]>min_image_count: u32max_image_count: u32current_extent: Extent2dcurrent_transform: SurfaceTransformFlagsmin_image_extent: Extent2dmax_image_extent: Extent2dsupported_usage: ImageUsagepresent_modes: Vec<PresentMode>formats: Vec<Format>supported_composite_alpha: CompositeAlphaFlags

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

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.