Realm

vk · Structs · S18

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

StRustExperimental

Stvk::SwapchainCreateInfoKHR

pub struct SwapchainCreateInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: SwapchainCreateFlagsKHR, pub surface: SurfaceKHR, pub min_image_count: u32, pub image_format: Format, pub image_color_space: ColorSpaceKHR, pub image_extent: Extent2D, pub image_array_layers: u32, pub image_usage: ImageUsageFlags, pub image_sharing_mode: SharingMode, pub queue_family_index_count: u32, pub p_queue_family_indices: *const u32, pub pre_transform: SurfaceTransformFlagBitsKHR, pub composite_alpha: CompositeAlphaFlagBitsKHR, pub present_mode: PresentModeKHR, pub clipped: Bool32, pub old_swapchain: SwapchainKHR, /* private fields */ }
Native structure VkSwapchainCreateInfoKHR.

Contract

Native structure VkSwapchainCreateInfoKHR.

Khronos reference: VkSwapchainCreateInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: SwapchainCreateFlagsKHR

Native field flags.

surface

Field
surface: SurfaceKHR

Native field surface.

min_image_count

Field
min_image_count: u32

Native field minImageCount.

image_format

Field
image_format: Format

Native field imageFormat.

image_color_space

Field
image_color_space: ColorSpaceKHR

Native field imageColorSpace.

image_extent

Field
image_extent: Extent2D

Native field imageExtent.

image_array_layers

Field
image_array_layers: u32

Native field imageArrayLayers.

image_usage

Field
image_usage: ImageUsageFlags

Native field imageUsage.

image_sharing_mode

Field
image_sharing_mode: SharingMode

Native field imageSharingMode.

queue_family_index_count

Field
queue_family_index_count: u32

Native field queueFamilyIndexCount.

p_queue_family_indices

Field
p_queue_family_indices: *const u32

Native field pQueueFamilyIndices.

pre_transform

Field
pre_transform: SurfaceTransformFlagBitsKHR

Native field preTransform.

composite_alpha

Field
composite_alpha: CompositeAlphaFlagBitsKHR

Native field compositeAlpha.

present_mode

Field
present_mode: PresentModeKHR

Native field presentMode.

clipped

Field
clipped: Bool32

Native field clipped.

old_swapchain

Field
old_swapchain: SwapchainKHR

Native field oldSwapchain.

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: SwapchainCreateFlagsKHR) -> Self

Set native field flags without native effects.

set_surface

Method
pub fn set_surface(self, value: SurfaceKHR) -> Self

Set native field surface without native effects.

set_min_image_count

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

Set native field minImageCount without native effects.

set_image_format

Method
pub fn set_image_format(self, value: Format) -> Self

Set native field imageFormat without native effects.

set_image_color_space

Method
pub fn set_image_color_space(self, value: ColorSpaceKHR) -> Self

Set native field imageColorSpace without native effects.

set_image_extent

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

Set native field imageExtent without native effects.

set_image_array_layers

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

Set native field imageArrayLayers without native effects.

set_image_usage

Method
pub fn set_image_usage(self, value: ImageUsageFlags) -> Self

Set native field imageUsage without native effects.

set_image_sharing_mode

Method
pub fn set_image_sharing_mode(self, value: SharingMode) -> Self

Set native field imageSharingMode without native effects.

set_queue_family_index_count

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

Set native count queueFamilyIndexCount directly without checking associated pointer extents. Use the borrowed array helpers to derive matching storage and counts together. Direct count edits support null-query/dynamic-state paths and remain a native-call validity obligation, including after earlier borrowed setters.

set_queue_family_indices

Method
pub fn set_queue_family_indices( self, value: &'a [u32], ) -> Result<Self, ConstructionError>

Borrow pQueueFamilyIndices and set checked native count queueFamilyIndexCount. The borrow covers this storage only; nested raw pointers, format, alignment and asynchronous retention remain native-call obligations. Output storage must be initialized; returned sizes do not enlarge its capacity.

Errors

Returns a construction error if the length exceeds the native count width.

set_pre_transform

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

Set native field preTransform without native effects.

set_composite_alpha

Method
pub fn set_composite_alpha(self, value: CompositeAlphaFlagBitsKHR) -> Self

Set native field compositeAlpha without native effects.

set_present_mode

Method
pub fn set_present_mode(self, value: PresentModeKHR) -> Self

Set native field presentMode without native effects.

set_clipped

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

Set native field clipped without native effects.

set_old_swapchain

Method
pub fn set_old_swapchain(self, value: SwapchainKHR) -> Self

Set native field oldSwapchain 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::SwapchainDisplayNativeHdrCreateInfoAMD

pub struct SwapchainDisplayNativeHdrCreateInfoAMD<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub local_dimming_enable: Bool32, /* private fields */ }
Native structure VkSwapchainDisplayNativeHdrCreateInfoAMD.

Contract

Native structure VkSwapchainDisplayNativeHdrCreateInfoAMD.

Khronos reference: VkSwapchainDisplayNativeHdrCreateInfoAMD

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

local_dimming_enable

Field
local_dimming_enable: Bool32

Native field localDimmingEnable.

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_enable

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

Set native field localDimmingEnable 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::SwapchainFlagsSurfaceCapabilitiesEXT

pub struct SwapchainFlagsSurfaceCapabilitiesEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub swapchain_supported_flags: SwapchainCreateFlagsKHR, /* private fields */ }
Native structure VkSwapchainFlagsSurfaceCapabilitiesEXT.

Contract

Native structure VkSwapchainFlagsSurfaceCapabilitiesEXT.

Khronos reference: VkSwapchainFlagsSurfaceCapabilitiesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

swapchain_supported_flags

Field
swapchain_supported_flags: SwapchainCreateFlagsKHR

Native field swapchainSupportedFlags.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_swapchain_supported_flags

Method
pub fn set_swapchain_supported_flags( self, value: SwapchainCreateFlagsKHR, ) -> Self

Set native field swapchainSupportedFlags 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::SwapchainKHR

Contract

Raw Vulkan handle VkSwapchainKHR.

Khronos reference: VkSwapchainKHR Calls using this identity must satisfy Vulkan lifetime and synchronization rules.

Fields

0

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

Methods and associated items

NULL

Method
pub const NULL: Self
No public source comment is attached to this declaration.

is_null

Method
pub fn is_null(self) -> bool
No public source comment is attached to this declaration.

from_raw

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

as_raw

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

fmt

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

eq

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

Stvk::SwapchainLatencyCreateInfoNV

pub struct SwapchainLatencyCreateInfoNV<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub latency_mode_enable: Bool32, /* private fields */ }
Native structure VkSwapchainLatencyCreateInfoNV.

Contract

Native structure VkSwapchainLatencyCreateInfoNV.

Khronos reference: VkSwapchainLatencyCreateInfoNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

latency_mode_enable

Field
latency_mode_enable: Bool32

Native field latencyModeEnable.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_latency_mode_enable

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

Set native field latencyModeEnable 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::SwapchainPresentBarrierCreateInfoNV

pub struct SwapchainPresentBarrierCreateInfoNV<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub present_barrier_enable: Bool32, /* private fields */ }
Native structure VkSwapchainPresentBarrierCreateInfoNV.

Contract

Native structure VkSwapchainPresentBarrierCreateInfoNV.

Khronos reference: VkSwapchainPresentBarrierCreateInfoNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

present_barrier_enable

Field
present_barrier_enable: Bool32

Native field presentBarrierEnable.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_present_barrier_enable

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

Set native field presentBarrierEnable 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::SwapchainPresentFenceInfoKHR

pub struct SwapchainPresentFenceInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub swapchain_count: u32, pub p_fences: *const Fence, /* private fields */ }
Native structure VkSwapchainPresentFenceInfoKHR.

Contract

Native structure VkSwapchainPresentFenceInfoKHR.

Khronos reference: VkSwapchainPresentFenceInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

swapchain_count

Field
swapchain_count: u32

Native field swapchainCount.

p_fences

Field
p_fences: *const Fence

Native field pFences.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_swapchain_count

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

Set native count swapchainCount directly without checking associated pointer extents. Use the borrowed array helpers to derive matching storage and counts together. Direct count edits support null-query/dynamic-state paths and remain a native-call validity obligation, including after earlier borrowed setters.

set_fences

Method
pub fn set_fences(self, value: &'a [Fence]) -> Result<Self, ConstructionError>

Borrow pFences and set checked native count swapchainCount. The borrow covers this storage only; nested raw pointers, format, alignment and asynchronous retention remain native-call obligations. Output storage must be initialized; returned sizes do not enlarge its capacity.

Errors

Returns a construction error if the length exceeds the native count width.

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::SwapchainPresentModeInfoKHR

pub struct SwapchainPresentModeInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub swapchain_count: u32, pub p_present_modes: *const PresentModeKHR, /* private fields */ }
Native structure VkSwapchainPresentModeInfoKHR.

Contract

Native structure VkSwapchainPresentModeInfoKHR.

Khronos reference: VkSwapchainPresentModeInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

swapchain_count

Field
swapchain_count: u32

Native field swapchainCount.

p_present_modes

Field
p_present_modes: *const PresentModeKHR

Native field pPresentModes.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_swapchain_count

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

Set native count swapchainCount directly without checking associated pointer extents. Use the borrowed array helpers to derive matching storage and counts together. Direct count edits support null-query/dynamic-state paths and remain a native-call validity obligation, including after earlier borrowed setters.

set_present_modes

Method
pub fn set_present_modes( self, value: &'a [PresentModeKHR], ) -> Result<Self, ConstructionError>

Borrow pPresentModes and set checked native count swapchainCount. The borrow covers this storage only; nested raw pointers, format, alignment and asynchronous retention remain native-call obligations. Output storage must be initialized; returned sizes do not enlarge its capacity.

Errors

Returns a construction error if the length exceeds the native count width.

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::SwapchainPresentModesCreateInfoKHR

pub struct SwapchainPresentModesCreateInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub present_mode_count: u32, pub p_present_modes: *const PresentModeKHR, /* private fields */ }
Native structure VkSwapchainPresentModesCreateInfoKHR.

Contract

Native structure VkSwapchainPresentModesCreateInfoKHR.

Khronos reference: VkSwapchainPresentModesCreateInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

present_mode_count

Field
present_mode_count: u32

Native field presentModeCount.

p_present_modes

Field
p_present_modes: *const PresentModeKHR

Native field pPresentModes.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_present_mode_count

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

Set native count presentModeCount directly without checking associated pointer extents. Use the borrowed array helpers to derive matching storage and counts together. Direct count edits support null-query/dynamic-state paths and remain a native-call validity obligation, including after earlier borrowed setters.

set_present_modes

Method
pub fn set_present_modes( self, value: &'a [PresentModeKHR], ) -> Result<Self, ConstructionError>

Borrow pPresentModes and set checked native count presentModeCount. The borrow covers this storage only; nested raw pointers, format, alignment and asynchronous retention remain native-call obligations. Output storage must be initialized; returned sizes do not enlarge its capacity.

Errors

Returns a construction error if the length exceeds the native count width.

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::SwapchainPresentScalingCreateInfoKHR

pub struct SwapchainPresentScalingCreateInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub scaling_behavior: PresentScalingFlagsKHR, pub present_gravity_x: PresentGravityFlagsKHR, pub present_gravity_y: PresentGravityFlagsKHR, /* private fields */ }
Native structure VkSwapchainPresentScalingCreateInfoKHR.

Contract

Native structure VkSwapchainPresentScalingCreateInfoKHR.

Khronos reference: VkSwapchainPresentScalingCreateInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

scaling_behavior

Field
scaling_behavior: PresentScalingFlagsKHR

Native field scalingBehavior.

present_gravity_x

Field
present_gravity_x: PresentGravityFlagsKHR

Native field presentGravityX.

present_gravity_y

Field
present_gravity_y: PresentGravityFlagsKHR

Native field presentGravityY.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_scaling_behavior

Method
pub fn set_scaling_behavior(self, value: PresentScalingFlagsKHR) -> Self

Set native field scalingBehavior without native effects.

set_present_gravity_x

Method
pub fn set_present_gravity_x(self, value: PresentGravityFlagsKHR) -> Self

Set native field presentGravityX without native effects.

set_present_gravity_y

Method
pub fn set_present_gravity_y(self, value: PresentGravityFlagsKHR) -> Self

Set native field presentGravityY 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::SwapchainTimeDomainPropertiesEXT

pub struct SwapchainTimeDomainPropertiesEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub time_domain_count: u32, pub p_time_domains: *mut TimeDomainKHR, pub p_time_domain_ids: *mut u64, /* private fields */ }
Native structure VkSwapchainTimeDomainPropertiesEXT.

Contract

Native structure VkSwapchainTimeDomainPropertiesEXT.

Khronos reference: VkSwapchainTimeDomainPropertiesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

time_domain_count

Field
time_domain_count: u32

Native field timeDomainCount.

p_time_domains

Field
p_time_domains: *mut TimeDomainKHR

Native field pTimeDomains.

p_time_domain_ids

Field
p_time_domain_ids: *mut u64

Native field pTimeDomainIds.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_time_domain_count

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

Set native count timeDomainCount directly without checking associated pointer extents. Use the borrowed array helpers to derive matching storage and counts together. Direct count edits support null-query/dynamic-state paths and remain a native-call validity obligation, including after earlier borrowed setters.

set_time_domains

Method
pub fn set_time_domains( self, time_domain_count: u32, time_domains: Option<&'a mut [TimeDomainKHR]>, time_domain_ids: Option<&'a mut [u64]>, ) -> Result<Self, ConstructionError>

Borrow parallel arrays sharing native timeDomainCount. Optional arrays may be null. Mutable arrays retain exclusive borrows of initialized output storage. This checks lengths only; native valid usage and later raw edits remain caller obligations.

Errors

Returns a construction error for unequal lengths or native count overflow.

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::SwapchainTimingPropertiesEXT

pub struct SwapchainTimingPropertiesEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub refresh_duration: u64, pub refresh_interval: u64, /* private fields */ }
Native structure VkSwapchainTimingPropertiesEXT.

Contract

Native structure VkSwapchainTimingPropertiesEXT.

Khronos reference: VkSwapchainTimingPropertiesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

refresh_duration

Field
refresh_duration: u64

Native field refreshDuration.

refresh_interval

Field
refresh_interval: u64

Native field refreshInterval.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_refresh_duration

Method
pub fn set_refresh_duration(self, value: u64) -> Self

Set native field refreshDuration without native effects.

set_refresh_interval

Method
pub fn set_refresh_interval(self, value: u64) -> Self

Set native field refreshInterval 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::SysmemColorSpaceFUCHSIA

Contract

Native structure VkSysmemColorSpaceFUCHSIA.

Khronos reference: VkSysmemColorSpaceFUCHSIA

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

color_space

Field
color_space: u32

Native field colorSpace.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_color_space

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

Set native field colorSpace 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::SystemAllocationScope

Contract

Open integer representation of VkSystemAllocationScope.

Khronos reference: VkSystemAllocationScope

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) -> SystemAllocationScope
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() -> SystemAllocationScope
Returns the “default value” for a type. Read more

eq

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