vk · Structs · U1
4 public declarations with native signatures and source-owned contracts.
Stvk::ubm_device
Contract
Native type ubm_device.
Stvk::ubm_surface
Contract
Native type ubm_surface.
Stvk::UbmSurfaceCreateFlagsSEC
Contract
Open integer representation of VkUbmSurfaceCreateFlagsSEC.
Fields
0
0: u32Methods and associated items
from_raw
as_raw
empty
Output
& operator.bitand
& operation. Read moreOutput-1
| operator.bitor
| operation. Read moreOutput-2
^ operator.bitxor
^ operation. Read moreclone
fmt
default
hash
Output-3
! operator.not
! operation. Read moreeq
self and other values to be equal, and is used by ==.Stvk::UbmSurfaceCreateInfoSEC
Contract
Native structure VkUbmSurfaceCreateInfoSEC.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: UbmSurfaceCreateFlagsSECNative field flags.
device
device: *mut ubm_deviceNative field device.
surface
surface: *mut ubm_surfaceNative field surface.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_flags
Set native field flags without native effects.
set_device
Set native pointer device explicitly. No borrow or extent is inferred.
Safety
The caller must establish pointee validity, extent, alignment, aliasing and the full native retention lifetime before using this record in a native call. Callback, external-object and nested-pointer contracts remain caller obligations.
set_surface
Set native pointer surface explicitly. No borrow or extent is inferred.
Safety
The caller must establish pointee validity, extent, alignment, aliasing and the full native retention lifetime before using this record in a native call. Callback, external-object and nested-pointer contracts remain caller obligations.
push_next
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.