vk · Structs · X1
6 public declarations with native signatures and source-owned contracts.
Stvk::xcb_connection_t
Contract
Native type xcb_connection_t.
Stvk::XcbSurfaceCreateFlagsKHR
Contract
Open integer representation of VkXcbSurfaceCreateFlagsKHR.
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::XcbSurfaceCreateInfoKHR
Contract
Native structure VkXcbSurfaceCreateInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: XcbSurfaceCreateFlagsKHRNative field flags.
connection
connection: *mut xcb_connection_tNative field connection.
window
window: xcb_window_tNative field window.
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_connection
Set native pointer connection 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_window
Set native field window without native effects.
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.
default
Stvk::XlibSurfaceCreateFlagsKHR
Contract
Open integer representation of VkXlibSurfaceCreateFlagsKHR.
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::XlibSurfaceCreateInfoKHR
Contract
Native structure VkXlibSurfaceCreateInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: XlibSurfaceCreateFlagsKHRNative field flags.
dpy
dpy: *mut DisplayNative field dpy.
window
window: WindowNative field window.
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_dpy
Set native pointer dpy 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_window
Set native field window without native effects.
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.
default
Stvk::XYColorEXT
Contract
Native structure VkXYColorEXT.
Fields
x
x: f32Native field x.
y
y: f32Native field y.
Methods and associated items
new
Construct the record with its default native state.
set_x
Set native field x without native effects.
set_y
Set native field y without native effects.