pub struct FrameBoundaryEXT<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: FrameBoundaryFlagsEXT,
pub frame_id: u64,
pub image_count: u32,
pub p_images: *const Image,
pub buffer_count: u32,
pub p_buffers: *const Buffer,
pub tag_name: u64,
pub tag_size: usize,
pub p_tag: *const c_void,
/* private fields */
}Expand description
Native structure VkFrameBoundaryEXT.
Fields§
§s_type: StructureTypeNative field sType.
p_next: *const c_voidNative field pNext.
flags: FrameBoundaryFlagsEXTNative field flags.
frame_id: u64Native field frameID.
image_count: u32Native field imageCount.
p_images: *const ImageNative field pImages.
buffer_count: u32Native field bufferCount.
p_buffers: *const BufferNative field pBuffers.
tag_name: u64Native field tagName.
tag_size: usizeNative field tagSize.
p_tag: *const c_voidNative field pTag.
Implementations§
Source§impl<'a> FrameBoundaryEXT<'a>
impl<'a> FrameBoundaryEXT<'a>
Sourcepub fn new() -> Self
pub fn new() -> Self
Construct the record with its canonical sType tag and default native state.
Sourcepub fn set_flags(self, value: FrameBoundaryFlagsEXT) -> Self
pub fn set_flags(self, value: FrameBoundaryFlagsEXT) -> Self
Set native field flags without native effects.
Sourcepub fn set_frame_id(self, value: u64) -> Self
pub fn set_frame_id(self, value: u64) -> Self
Set native field frameID without native effects.
Sourcepub fn set_image_count(self, value: u32) -> Self
pub fn set_image_count(self, value: u32) -> Self
Set native count imageCount 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.
Sourcepub fn set_images(self, value: &'a [Image]) -> Result<Self, ConstructionError>
pub fn set_images(self, value: &'a [Image]) -> Result<Self, ConstructionError>
Borrow pImages and set checked native count imageCount.
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.
Sourcepub fn set_buffer_count(self, value: u32) -> Self
pub fn set_buffer_count(self, value: u32) -> Self
Set native count bufferCount 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.
Sourcepub fn set_buffers(self, value: &'a [Buffer]) -> Result<Self, ConstructionError>
pub fn set_buffers(self, value: &'a [Buffer]) -> Result<Self, ConstructionError>
Borrow pBuffers and set checked native count bufferCount.
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.
Sourcepub fn set_tag_name(self, value: u64) -> Self
pub fn set_tag_name(self, value: u64) -> Self
Set native field tagName without native effects.
Sourcepub fn set_tag_size(self, value: usize) -> Self
pub fn set_tag_size(self, value: usize) -> Self
Set native count tagSize 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.
Sourcepub fn set_tag(self, value: &'a [u8]) -> Result<Self, ConstructionError>
pub fn set_tag(self, value: &'a [u8]) -> Result<Self, ConstructionError>
Borrow pTag and set checked native byte size tagSize.
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.
Sourcepub fn push_next<T: Extends<Self>>(
self,
next: &'a mut T,
) -> Result<Self, ConstructionError>
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.