pub struct TilePropertiesQCOM<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub tile_size: Extent3D,
pub apron_size: Extent2D,
pub origin: Offset2D,
/* private fields */
}Expand description
Native structure VkTilePropertiesQCOM.
Fields§
§s_type: StructureTypeNative field sType.
p_next: *mut c_voidNative field pNext.
tile_size: Extent3DNative field tileSize.
apron_size: Extent2DNative field apronSize.
origin: Offset2DNative field origin.
Implementations§
Source§impl<'a> TilePropertiesQCOM<'a>
impl<'a> TilePropertiesQCOM<'a>
Sourcepub fn new() -> Self
pub fn new() -> Self
Construct the record with its canonical sType tag and default native state.
Sourcepub fn set_tile_size(self, value: Extent3D) -> Self
pub fn set_tile_size(self, value: Extent3D) -> Self
Set native field tileSize without native effects.
Sourcepub fn set_apron_size(self, value: Extent2D) -> Self
pub fn set_apron_size(self, value: Extent2D) -> Self
Set native field apronSize without native effects.
Sourcepub fn set_origin(self, value: Offset2D) -> Self
pub fn set_origin(self, value: Offset2D) -> Self
Set native field origin without native effects.
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.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !Send for TilePropertiesQCOM<'a>
impl<'a> !Sync for TilePropertiesQCOM<'a>
impl<'a> !UnwindSafe for TilePropertiesQCOM<'a>
impl<'a> Forget for TilePropertiesQCOM<'a>
impl<'a> Freeze for TilePropertiesQCOM<'a>
impl<'a> Move for TilePropertiesQCOM<'a>
impl<'a> RefUnwindSafe for TilePropertiesQCOM<'a>
impl<'a> Unpin for TilePropertiesQCOM<'a>
impl<'a> UnsafeUnpin for TilePropertiesQCOM<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more