HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Modulevulkan-3.27GHC2021

Vulkan.CStruct.Extends

Synopsis
  • Packagevulkan-3.27
  • Exports17
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceExtends.hs

VkBaseOutStructure - Base structure for a read-only pointer chain

Description

BaseOutStructure can be used to facilitate iterating through a structure pointer chain that returns data back to the application.

See Also

VK_VERSION_1_0, BaseOutStructure, StructureType, getPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM, getPipelinePropertiesEXT

Constructors

Instances6Eq, Show, Storable, FromCStruct, ToCStruct, Zero

VkBaseInStructure - Base structure for a read-only pointer chain

Description

BaseInStructure can be used to facilitate iterating through a read-only structure pointer chain.

See Also

VK_VERSION_1_0, BaseInStructure, StructureType

Constructors

Instances6Eq, Show, Storable, FromCStruct, ToCStruct, Zero
familytype family Extends (a :: [Type] -> Type) b :: Constraint where
#

Equations

classclass Extensible (a :: [Type] -> Type) where
#

Methods

Instances126Extensible, …
patternpattern (::&) :: Extensible a => a es' -> Chain es -> a es

A pattern synonym to separate the head of a struct chain from the tail, use in conjunction with :& to extract several members.

Head{..} ::& () <- returningNoTail a b c
-- Equivalent to
Head{..} <- returningNoTail @'[] a b c
Head{..} ::& Foo{..} :& Bar{..} :& () <- returningWithTail a b c
myFun (Head{..} :&& Foo{..} :& ())