Realm

vk · Structs · D13

16 public declarations with native signatures and source-owned contracts.

StRustExperimental

Stvk::DisplayNativeHdrSurfaceCapabilitiesAMD

pub struct DisplayNativeHdrSurfaceCapabilitiesAMD<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub local_dimming_support: Bool32, /* private fields */ }
Native structure VkDisplayNativeHdrSurfaceCapabilitiesAMD.

Contract

Native structure VkDisplayNativeHdrSurfaceCapabilitiesAMD.

Khronos reference: VkDisplayNativeHdrSurfaceCapabilitiesAMD

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

local_dimming_support

Field
local_dimming_support: Bool32

Native field localDimmingSupport.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_local_dimming_support

Method
pub fn set_local_dimming_support(self, value: Bool32) -> Self

Set native field localDimmingSupport without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::DisplayPlaneAlphaFlagBitsKHR

Contract

Open integer representation of VkDisplayPlaneAlphaFlagBitsKHR.

Khronos reference: VkDisplayPlaneAlphaFlagBitsKHR

Fields

0

Field
0: u32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: u32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> u32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

Output

Method
type Output = DisplayPlaneAlphaFlagBitsKHR
The resulting type after applying the & operator.

Output-1

Method
type Output = DisplayPlaneAlphaFlagBitsKHR
The resulting type after applying the | operator.

Output-2

Method
type Output = DisplayPlaneAlphaFlagBitsKHR
The resulting type after applying the ^ operator.

clone

Method
fn clone(&self) -> DisplayPlaneAlphaFlagBitsKHR
Returns a duplicate of the value. Read more

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> DisplayPlaneAlphaFlagBitsKHR
Returns the “default value” for a type. Read more

Output-3

Method
type Output = DisplayPlaneAlphaFlagBitsKHR
The resulting type after applying the ! operator.

eq

Method
fn eq(&self, other: &DisplayPlaneAlphaFlagBitsKHR) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::DisplayPlaneCapabilities2KHR

pub struct DisplayPlaneCapabilities2KHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub capabilities: DisplayPlaneCapabilitiesKHR, /* private fields */ }
Native structure VkDisplayPlaneCapabilities2KHR.

Contract

Native structure VkDisplayPlaneCapabilities2KHR.

Khronos reference: VkDisplayPlaneCapabilities2KHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

capabilities

Field
capabilities: DisplayPlaneCapabilitiesKHR

Native field capabilities.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_capabilities

Method
pub fn set_capabilities(self, value: DisplayPlaneCapabilitiesKHR) -> Self

Set native field capabilities without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::DisplayPlaneCapabilitiesKHR

#[repr(C)]pub struct DisplayPlaneCapabilitiesKHR { pub supported_alpha: DisplayPlaneAlphaFlagsKHR, pub min_src_position: Offset2D, pub max_src_position: Offset2D, pub min_src_extent: Extent2D, pub max_src_extent: Extent2D, pub min_dst_position: Offset2D, pub max_dst_position: Offset2D, pub min_dst_extent: Extent2D, pub max_dst_extent: Extent2D, }
Native structure VkDisplayPlaneCapabilitiesKHR.

Contract

Native structure VkDisplayPlaneCapabilitiesKHR.

Khronos reference: VkDisplayPlaneCapabilitiesKHR

Fields

supported_alpha

Field
supported_alpha: DisplayPlaneAlphaFlagsKHR

Native field supportedAlpha.

min_src_position

Field
min_src_position: Offset2D

Native field minSrcPosition.

max_src_position

Field
max_src_position: Offset2D

Native field maxSrcPosition.

min_src_extent

Field
min_src_extent: Extent2D

Native field minSrcExtent.

max_src_extent

Field
max_src_extent: Extent2D

Native field maxSrcExtent.

min_dst_position

Field
min_dst_position: Offset2D

Native field minDstPosition.

max_dst_position

Field
max_dst_position: Offset2D

Native field maxDstPosition.

min_dst_extent

Field
min_dst_extent: Extent2D

Native field minDstExtent.

max_dst_extent

Field
max_dst_extent: Extent2D

Native field maxDstExtent.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_supported_alpha

Method
pub fn set_supported_alpha(self, value: DisplayPlaneAlphaFlagsKHR) -> Self

Set native field supportedAlpha without native effects.

set_min_src_position

Method
pub fn set_min_src_position(self, value: Offset2D) -> Self

Set native field minSrcPosition without native effects.

set_max_src_position

Method
pub fn set_max_src_position(self, value: Offset2D) -> Self

Set native field maxSrcPosition without native effects.

set_min_src_extent

Method
pub fn set_min_src_extent(self, value: Extent2D) -> Self

Set native field minSrcExtent without native effects.

set_max_src_extent

Method
pub fn set_max_src_extent(self, value: Extent2D) -> Self

Set native field maxSrcExtent without native effects.

set_min_dst_position

Method
pub fn set_min_dst_position(self, value: Offset2D) -> Self

Set native field minDstPosition without native effects.

set_max_dst_position

Method
pub fn set_max_dst_position(self, value: Offset2D) -> Self

Set native field maxDstPosition without native effects.

set_min_dst_extent

Method
pub fn set_min_dst_extent(self, value: Extent2D) -> Self

Set native field minDstExtent without native effects.

set_max_dst_extent

Method
pub fn set_max_dst_extent(self, value: Extent2D) -> Self

Set native field maxDstExtent without native effects.

clone

Method
fn clone(&self) -> DisplayPlaneCapabilitiesKHR
Returns a duplicate of the value. Read more

Stvk::DisplayPlaneInfo2KHR

pub struct DisplayPlaneInfo2KHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub mode: DisplayModeKHR, pub plane_index: u32, /* private fields */ }
Native structure VkDisplayPlaneInfo2KHR.

Contract

Native structure VkDisplayPlaneInfo2KHR.

Khronos reference: VkDisplayPlaneInfo2KHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

mode

Field
mode: DisplayModeKHR

Native field mode.

plane_index

Field
plane_index: u32

Native field planeIndex.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_mode

Method
pub fn set_mode(self, value: DisplayModeKHR) -> Self

Set native field mode without native effects.

set_plane_index

Method
pub fn set_plane_index(self, value: u32) -> Self

Set native field planeIndex without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::DisplayPlaneProperties2KHR

pub struct DisplayPlaneProperties2KHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub display_plane_properties: DisplayPlanePropertiesKHR, /* private fields */ }
Native structure VkDisplayPlaneProperties2KHR.

Contract

Native structure VkDisplayPlaneProperties2KHR.

Khronos reference: VkDisplayPlaneProperties2KHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

display_plane_properties

Field
display_plane_properties: DisplayPlanePropertiesKHR

Native field displayPlaneProperties.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_display_plane_properties

Method
pub fn set_display_plane_properties( self, value: DisplayPlanePropertiesKHR, ) -> Self

Set native field displayPlaneProperties without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::DisplayPlanePropertiesKHR

Contract

Native structure VkDisplayPlanePropertiesKHR.

Khronos reference: VkDisplayPlanePropertiesKHR

Fields

current_display

Field
current_display: DisplayKHR

Native field currentDisplay.

current_stack_index

Field
current_stack_index: u32

Native field currentStackIndex.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_current_display

Method
pub fn set_current_display(self, value: DisplayKHR) -> Self

Set native field currentDisplay without native effects.

set_current_stack_index

Method
pub fn set_current_stack_index(self, value: u32) -> Self

Set native field currentStackIndex without native effects.

clone

Method
fn clone(&self) -> DisplayPlanePropertiesKHR
Returns a duplicate of the value. Read more

Stvk::DisplayPowerInfoEXT

pub struct DisplayPowerInfoEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub power_state: DisplayPowerStateEXT, /* private fields */ }
Native structure VkDisplayPowerInfoEXT.

Contract

Native structure VkDisplayPowerInfoEXT.

Khronos reference: VkDisplayPowerInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

power_state

Field
power_state: DisplayPowerStateEXT

Native field powerState.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_power_state

Method
pub fn set_power_state(self, value: DisplayPowerStateEXT) -> Self

Set native field powerState without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::DisplayPowerStateEXT

Contract

Open integer representation of VkDisplayPowerStateEXT.

Khronos reference: VkDisplayPowerStateEXT

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

clone

Method
fn clone(&self) -> DisplayPowerStateEXT
Returns a duplicate of the value. Read more

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> DisplayPowerStateEXT
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &DisplayPowerStateEXT) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::DisplayPresentInfoKHR

pub struct DisplayPresentInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub src_rect: Rect2D, pub dst_rect: Rect2D, pub persistent: Bool32, /* private fields */ }
Native structure VkDisplayPresentInfoKHR.

Contract

Native structure VkDisplayPresentInfoKHR.

Khronos reference: VkDisplayPresentInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

src_rect

Field
src_rect: Rect2D

Native field srcRect.

dst_rect

Field
dst_rect: Rect2D

Native field dstRect.

persistent

Field
persistent: Bool32

Native field persistent.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_src_rect

Method
pub fn set_src_rect(self, value: Rect2D) -> Self

Set native field srcRect without native effects.

set_dst_rect

Method
pub fn set_dst_rect(self, value: Rect2D) -> Self

Set native field dstRect without native effects.

set_persistent

Method
pub fn set_persistent(self, value: Bool32) -> Self

Set native field persistent without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::DisplayProperties2KHR

pub struct DisplayProperties2KHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub display_properties: DisplayPropertiesKHR<'a>, /* private fields */ }
Native structure VkDisplayProperties2KHR.

Contract

Native structure VkDisplayProperties2KHR.

Khronos reference: VkDisplayProperties2KHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

display_properties

Field
display_properties: DisplayPropertiesKHR<'a>

Native field displayProperties.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_display_properties

Method
pub fn set_display_properties(self, value: DisplayPropertiesKHR<'a>) -> Self

Set native field displayProperties without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::DisplayPropertiesKHR

pub struct DisplayPropertiesKHR<'a> { pub display: DisplayKHR, pub display_name: *const c_char, pub physical_dimensions: Extent2D, pub physical_resolution: Extent2D, pub supported_transforms: SurfaceTransformFlagsKHR, pub plane_reorder_possible: Bool32, pub persistent_content: Bool32, /* private fields */ }
Native structure VkDisplayPropertiesKHR.

Contract

Native structure VkDisplayPropertiesKHR.

Khronos reference: VkDisplayPropertiesKHR

Fields

display

Field
display: DisplayKHR

Native field display.

display_name

Field
display_name: *const c_char

Native field displayName.

physical_dimensions

Field
physical_dimensions: Extent2D

Native field physicalDimensions.

physical_resolution

Field
physical_resolution: Extent2D

Native field physicalResolution.

supported_transforms

Field
supported_transforms: SurfaceTransformFlagsKHR

Native field supportedTransforms.

plane_reorder_possible

Field
plane_reorder_possible: Bool32

Native field planeReorderPossible.

persistent_content

Field
persistent_content: Bool32

Native field persistentContent.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_display

Method
pub fn set_display(self, value: DisplayKHR) -> Self

Set native field display without native effects.

set_display_name

Method
pub fn set_display_name(self, value: &'a CStr) -> Self

Set native field displayName without native effects.

set_physical_dimensions

Method
pub fn set_physical_dimensions(self, value: Extent2D) -> Self

Set native field physicalDimensions without native effects.

set_physical_resolution

Method
pub fn set_physical_resolution(self, value: Extent2D) -> Self

Set native field physicalResolution without native effects.

set_supported_transforms

Method
pub fn set_supported_transforms(self, value: SurfaceTransformFlagsKHR) -> Self

Set native field supportedTransforms without native effects.

set_plane_reorder_possible

Method
pub fn set_plane_reorder_possible(self, value: Bool32) -> Self

Set native field planeReorderPossible without native effects.

set_persistent_content

Method
pub fn set_persistent_content(self, value: Bool32) -> Self

Set native field persistentContent without native effects.

clone

Method
fn clone(&self) -> DisplayPropertiesKHR<'a>
Returns a duplicate of the value. Read more

Stvk::DisplaySurfaceCreateFlagsKHR

Contract

Open integer representation of VkDisplaySurfaceCreateFlagsKHR.

Khronos reference: VkDisplaySurfaceCreateFlagsKHR

Fields

0

Field
0: u32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: u32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> u32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

Output

Method
type Output = DisplaySurfaceCreateFlagsKHR
The resulting type after applying the & operator.

Output-1

Method
type Output = DisplaySurfaceCreateFlagsKHR
The resulting type after applying the | operator.

Output-2

Method
type Output = DisplaySurfaceCreateFlagsKHR
The resulting type after applying the ^ operator.

clone

Method
fn clone(&self) -> DisplaySurfaceCreateFlagsKHR
Returns a duplicate of the value. Read more

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> DisplaySurfaceCreateFlagsKHR
Returns the “default value” for a type. Read more

Output-3

Method
type Output = DisplaySurfaceCreateFlagsKHR
The resulting type after applying the ! operator.

eq

Method
fn eq(&self, other: &DisplaySurfaceCreateFlagsKHR) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::DisplaySurfaceCreateInfoKHR

pub struct DisplaySurfaceCreateInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: DisplaySurfaceCreateFlagsKHR, pub display_mode: DisplayModeKHR, pub plane_index: u32, pub plane_stack_index: u32, pub transform: SurfaceTransformFlagBitsKHR, pub global_alpha: f32, pub alpha_mode: DisplayPlaneAlphaFlagBitsKHR, pub image_extent: Extent2D, /* private fields */ }
Native structure VkDisplaySurfaceCreateInfoKHR.

Contract

Native structure VkDisplaySurfaceCreateInfoKHR.

Khronos reference: VkDisplaySurfaceCreateInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: DisplaySurfaceCreateFlagsKHR

Native field flags.

display_mode

Field
display_mode: DisplayModeKHR

Native field displayMode.

plane_index

Field
plane_index: u32

Native field planeIndex.

plane_stack_index

Field
plane_stack_index: u32

Native field planeStackIndex.

transform

Field
transform: SurfaceTransformFlagBitsKHR

Native field transform.

global_alpha

Field
global_alpha: f32

Native field globalAlpha.

alpha_mode

Field
alpha_mode: DisplayPlaneAlphaFlagBitsKHR

Native field alphaMode.

image_extent

Field
image_extent: Extent2D

Native field imageExtent.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_flags

Method
pub fn set_flags(self, value: DisplaySurfaceCreateFlagsKHR) -> Self

Set native field flags without native effects.

set_display_mode

Method
pub fn set_display_mode(self, value: DisplayModeKHR) -> Self

Set native field displayMode without native effects.

set_plane_index

Method
pub fn set_plane_index(self, value: u32) -> Self

Set native field planeIndex without native effects.

set_plane_stack_index

Method
pub fn set_plane_stack_index(self, value: u32) -> Self

Set native field planeStackIndex without native effects.

set_transform

Method
pub fn set_transform(self, value: SurfaceTransformFlagBitsKHR) -> Self

Set native field transform without native effects.

set_global_alpha

Method
pub fn set_global_alpha(self, value: f32) -> Self

Set native field globalAlpha without native effects.

set_alpha_mode

Method
pub fn set_alpha_mode(self, value: DisplayPlaneAlphaFlagBitsKHR) -> Self

Set native field alphaMode without native effects.

set_image_extent

Method
pub fn set_image_extent(self, value: Extent2D) -> Self

Set native field imageExtent without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::DisplaySurfaceStereoCreateInfoNV

pub struct DisplaySurfaceStereoCreateInfoNV<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub stereo_type: DisplaySurfaceStereoTypeNV, /* private fields */ }
Native structure VkDisplaySurfaceStereoCreateInfoNV.

Contract

Native structure VkDisplaySurfaceStereoCreateInfoNV.

Khronos reference: VkDisplaySurfaceStereoCreateInfoNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

stereo_type

Field
stereo_type: DisplaySurfaceStereoTypeNV

Native field stereoType.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_stereo_type

Method
pub fn set_stereo_type(self, value: DisplaySurfaceStereoTypeNV) -> Self

Set native field stereoType without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::DisplaySurfaceStereoTypeNV

Contract

Open integer representation of VkDisplaySurfaceStereoTypeNV.

Khronos reference: VkDisplaySurfaceStereoTypeNV

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

clone

Method
fn clone(&self) -> DisplaySurfaceStereoTypeNV
Returns a duplicate of the value. Read more

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> DisplaySurfaceStereoTypeNV
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &DisplaySurfaceStereoTypeNV) -> bool
Tests for self and other values to be equal, and is used by ==.