{-# language CPP #-}
-- No documentation found for Chapter "ExternalSemaphoreFeatureFlagBits"
module Vulkan.Core11.Enums.ExternalSemaphoreFeatureFlagBits  ( ExternalSemaphoreFeatureFlags
                                                             , ExternalSemaphoreFeatureFlagBits( EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT
                                                                                               , EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT
                                                                                               , ..
                                                                                               )
                                                             ) where

import Vulkan.Internal.Utils (enumReadPrec)
import Vulkan.Internal.Utils (enumShowsPrec)
import GHC.Show (showString)
import Numeric (showHex)
import Data.Bits (Bits)
import Data.Bits (FiniteBits)
import Foreign.Storable (Storable)
import GHC.Read (Read(readPrec))
import GHC.Show (Show(showsPrec))
import Vulkan.Core10.FundamentalTypes (Flags)
import Vulkan.Zero (Zero)
type ExternalSemaphoreFeatureFlags = ExternalSemaphoreFeatureFlagBits

-- | VkExternalSemaphoreFeatureFlagBits - Bitfield describing features of an
-- external semaphore handle type
--
-- = See Also
--
-- 'ExternalSemaphoreFeatureFlags'
newtype ExternalSemaphoreFeatureFlagBits = ExternalSemaphoreFeatureFlagBits Flags
  deriving newtype (ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits -> Bool
(ExternalSemaphoreFeatureFlagBits
 -> ExternalSemaphoreFeatureFlagBits -> Bool)
-> (ExternalSemaphoreFeatureFlagBits
    -> ExternalSemaphoreFeatureFlagBits -> Bool)
-> Eq ExternalSemaphoreFeatureFlagBits
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits -> Bool
$c/= :: ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits -> Bool
== :: ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits -> Bool
$c== :: ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits -> Bool
Eq, Eq ExternalSemaphoreFeatureFlagBits
Eq ExternalSemaphoreFeatureFlagBits =>
(ExternalSemaphoreFeatureFlagBits
 -> ExternalSemaphoreFeatureFlagBits -> Ordering)
-> (ExternalSemaphoreFeatureFlagBits
    -> ExternalSemaphoreFeatureFlagBits -> Bool)
-> (ExternalSemaphoreFeatureFlagBits
    -> ExternalSemaphoreFeatureFlagBits -> Bool)
-> (ExternalSemaphoreFeatureFlagBits
    -> ExternalSemaphoreFeatureFlagBits -> Bool)
-> (ExternalSemaphoreFeatureFlagBits
    -> ExternalSemaphoreFeatureFlagBits -> Bool)
-> (ExternalSemaphoreFeatureFlagBits
    -> ExternalSemaphoreFeatureFlagBits
    -> ExternalSemaphoreFeatureFlagBits)
-> (ExternalSemaphoreFeatureFlagBits
    -> ExternalSemaphoreFeatureFlagBits
    -> ExternalSemaphoreFeatureFlagBits)
-> Ord ExternalSemaphoreFeatureFlagBits
ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits -> Bool
ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits -> Ordering
ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits
$cmin :: ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits
max :: ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits
$cmax :: ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits
>= :: ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits -> Bool
$c>= :: ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits -> Bool
> :: ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits -> Bool
$c> :: ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits -> Bool
<= :: ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits -> Bool
$c<= :: ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits -> Bool
< :: ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits -> Bool
$c< :: ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits -> Bool
compare :: ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits -> Ordering
$ccompare :: ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits -> Ordering
$cp1Ord :: Eq ExternalSemaphoreFeatureFlagBits
Ord, Ptr b -> Int -> IO ExternalSemaphoreFeatureFlagBits
Ptr b -> Int -> ExternalSemaphoreFeatureFlagBits -> IO ()
Ptr ExternalSemaphoreFeatureFlagBits
-> IO ExternalSemaphoreFeatureFlagBits
Ptr ExternalSemaphoreFeatureFlagBits
-> Int -> IO ExternalSemaphoreFeatureFlagBits
Ptr ExternalSemaphoreFeatureFlagBits
-> Int -> ExternalSemaphoreFeatureFlagBits -> IO ()
Ptr ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits -> IO ()
ExternalSemaphoreFeatureFlagBits -> Int
(ExternalSemaphoreFeatureFlagBits -> Int)
-> (ExternalSemaphoreFeatureFlagBits -> Int)
-> (Ptr ExternalSemaphoreFeatureFlagBits
    -> Int -> IO ExternalSemaphoreFeatureFlagBits)
-> (Ptr ExternalSemaphoreFeatureFlagBits
    -> Int -> ExternalSemaphoreFeatureFlagBits -> IO ())
-> (forall b. Ptr b -> Int -> IO ExternalSemaphoreFeatureFlagBits)
-> (forall b.
    Ptr b -> Int -> ExternalSemaphoreFeatureFlagBits -> IO ())
-> (Ptr ExternalSemaphoreFeatureFlagBits
    -> IO ExternalSemaphoreFeatureFlagBits)
-> (Ptr ExternalSemaphoreFeatureFlagBits
    -> ExternalSemaphoreFeatureFlagBits -> IO ())
-> Storable ExternalSemaphoreFeatureFlagBits
forall b. Ptr b -> Int -> IO ExternalSemaphoreFeatureFlagBits
forall b. Ptr b -> Int -> ExternalSemaphoreFeatureFlagBits -> IO ()
forall a.
(a -> Int)
-> (a -> Int)
-> (Ptr a -> Int -> IO a)
-> (Ptr a -> Int -> a -> IO ())
-> (forall b. Ptr b -> Int -> IO a)
-> (forall b. Ptr b -> Int -> a -> IO ())
-> (Ptr a -> IO a)
-> (Ptr a -> a -> IO ())
-> Storable a
poke :: Ptr ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits -> IO ()
$cpoke :: Ptr ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits -> IO ()
peek :: Ptr ExternalSemaphoreFeatureFlagBits
-> IO ExternalSemaphoreFeatureFlagBits
$cpeek :: Ptr ExternalSemaphoreFeatureFlagBits
-> IO ExternalSemaphoreFeatureFlagBits
pokeByteOff :: Ptr b -> Int -> ExternalSemaphoreFeatureFlagBits -> IO ()
$cpokeByteOff :: forall b. Ptr b -> Int -> ExternalSemaphoreFeatureFlagBits -> IO ()
peekByteOff :: Ptr b -> Int -> IO ExternalSemaphoreFeatureFlagBits
$cpeekByteOff :: forall b. Ptr b -> Int -> IO ExternalSemaphoreFeatureFlagBits
pokeElemOff :: Ptr ExternalSemaphoreFeatureFlagBits
-> Int -> ExternalSemaphoreFeatureFlagBits -> IO ()
$cpokeElemOff :: Ptr ExternalSemaphoreFeatureFlagBits
-> Int -> ExternalSemaphoreFeatureFlagBits -> IO ()
peekElemOff :: Ptr ExternalSemaphoreFeatureFlagBits
-> Int -> IO ExternalSemaphoreFeatureFlagBits
$cpeekElemOff :: Ptr ExternalSemaphoreFeatureFlagBits
-> Int -> IO ExternalSemaphoreFeatureFlagBits
alignment :: ExternalSemaphoreFeatureFlagBits -> Int
$calignment :: ExternalSemaphoreFeatureFlagBits -> Int
sizeOf :: ExternalSemaphoreFeatureFlagBits -> Int
$csizeOf :: ExternalSemaphoreFeatureFlagBits -> Int
Storable, ExternalSemaphoreFeatureFlagBits
ExternalSemaphoreFeatureFlagBits
-> Zero ExternalSemaphoreFeatureFlagBits
forall a. a -> Zero a
zero :: ExternalSemaphoreFeatureFlagBits
$czero :: ExternalSemaphoreFeatureFlagBits
Zero, Eq ExternalSemaphoreFeatureFlagBits
ExternalSemaphoreFeatureFlagBits
Eq ExternalSemaphoreFeatureFlagBits =>
(ExternalSemaphoreFeatureFlagBits
 -> ExternalSemaphoreFeatureFlagBits
 -> ExternalSemaphoreFeatureFlagBits)
-> (ExternalSemaphoreFeatureFlagBits
    -> ExternalSemaphoreFeatureFlagBits
    -> ExternalSemaphoreFeatureFlagBits)
-> (ExternalSemaphoreFeatureFlagBits
    -> ExternalSemaphoreFeatureFlagBits
    -> ExternalSemaphoreFeatureFlagBits)
-> (ExternalSemaphoreFeatureFlagBits
    -> ExternalSemaphoreFeatureFlagBits)
-> (ExternalSemaphoreFeatureFlagBits
    -> Int -> ExternalSemaphoreFeatureFlagBits)
-> (ExternalSemaphoreFeatureFlagBits
    -> Int -> ExternalSemaphoreFeatureFlagBits)
-> ExternalSemaphoreFeatureFlagBits
-> (Int -> ExternalSemaphoreFeatureFlagBits)
-> (ExternalSemaphoreFeatureFlagBits
    -> Int -> ExternalSemaphoreFeatureFlagBits)
-> (ExternalSemaphoreFeatureFlagBits
    -> Int -> ExternalSemaphoreFeatureFlagBits)
-> (ExternalSemaphoreFeatureFlagBits
    -> Int -> ExternalSemaphoreFeatureFlagBits)
-> (ExternalSemaphoreFeatureFlagBits -> Int -> Bool)
-> (ExternalSemaphoreFeatureFlagBits -> Maybe Int)
-> (ExternalSemaphoreFeatureFlagBits -> Int)
-> (ExternalSemaphoreFeatureFlagBits -> Bool)
-> (ExternalSemaphoreFeatureFlagBits
    -> Int -> ExternalSemaphoreFeatureFlagBits)
-> (ExternalSemaphoreFeatureFlagBits
    -> Int -> ExternalSemaphoreFeatureFlagBits)
-> (ExternalSemaphoreFeatureFlagBits
    -> Int -> ExternalSemaphoreFeatureFlagBits)
-> (ExternalSemaphoreFeatureFlagBits
    -> Int -> ExternalSemaphoreFeatureFlagBits)
-> (ExternalSemaphoreFeatureFlagBits
    -> Int -> ExternalSemaphoreFeatureFlagBits)
-> (ExternalSemaphoreFeatureFlagBits
    -> Int -> ExternalSemaphoreFeatureFlagBits)
-> (ExternalSemaphoreFeatureFlagBits -> Int)
-> Bits ExternalSemaphoreFeatureFlagBits
Int -> ExternalSemaphoreFeatureFlagBits
ExternalSemaphoreFeatureFlagBits -> Bool
ExternalSemaphoreFeatureFlagBits -> Int
ExternalSemaphoreFeatureFlagBits -> Maybe Int
ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits
ExternalSemaphoreFeatureFlagBits -> Int -> Bool
ExternalSemaphoreFeatureFlagBits
-> Int -> ExternalSemaphoreFeatureFlagBits
ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits
forall a.
Eq a =>
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> a
-> (Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> Bool)
-> (a -> Maybe Int)
-> (a -> Int)
-> (a -> Bool)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int)
-> Bits a
popCount :: ExternalSemaphoreFeatureFlagBits -> Int
$cpopCount :: ExternalSemaphoreFeatureFlagBits -> Int
rotateR :: ExternalSemaphoreFeatureFlagBits
-> Int -> ExternalSemaphoreFeatureFlagBits
$crotateR :: ExternalSemaphoreFeatureFlagBits
-> Int -> ExternalSemaphoreFeatureFlagBits
rotateL :: ExternalSemaphoreFeatureFlagBits
-> Int -> ExternalSemaphoreFeatureFlagBits
$crotateL :: ExternalSemaphoreFeatureFlagBits
-> Int -> ExternalSemaphoreFeatureFlagBits
unsafeShiftR :: ExternalSemaphoreFeatureFlagBits
-> Int -> ExternalSemaphoreFeatureFlagBits
$cunsafeShiftR :: ExternalSemaphoreFeatureFlagBits
-> Int -> ExternalSemaphoreFeatureFlagBits
shiftR :: ExternalSemaphoreFeatureFlagBits
-> Int -> ExternalSemaphoreFeatureFlagBits
$cshiftR :: ExternalSemaphoreFeatureFlagBits
-> Int -> ExternalSemaphoreFeatureFlagBits
unsafeShiftL :: ExternalSemaphoreFeatureFlagBits
-> Int -> ExternalSemaphoreFeatureFlagBits
$cunsafeShiftL :: ExternalSemaphoreFeatureFlagBits
-> Int -> ExternalSemaphoreFeatureFlagBits
shiftL :: ExternalSemaphoreFeatureFlagBits
-> Int -> ExternalSemaphoreFeatureFlagBits
$cshiftL :: ExternalSemaphoreFeatureFlagBits
-> Int -> ExternalSemaphoreFeatureFlagBits
isSigned :: ExternalSemaphoreFeatureFlagBits -> Bool
$cisSigned :: ExternalSemaphoreFeatureFlagBits -> Bool
bitSize :: ExternalSemaphoreFeatureFlagBits -> Int
$cbitSize :: ExternalSemaphoreFeatureFlagBits -> Int
bitSizeMaybe :: ExternalSemaphoreFeatureFlagBits -> Maybe Int
$cbitSizeMaybe :: ExternalSemaphoreFeatureFlagBits -> Maybe Int
testBit :: ExternalSemaphoreFeatureFlagBits -> Int -> Bool
$ctestBit :: ExternalSemaphoreFeatureFlagBits -> Int -> Bool
complementBit :: ExternalSemaphoreFeatureFlagBits
-> Int -> ExternalSemaphoreFeatureFlagBits
$ccomplementBit :: ExternalSemaphoreFeatureFlagBits
-> Int -> ExternalSemaphoreFeatureFlagBits
clearBit :: ExternalSemaphoreFeatureFlagBits
-> Int -> ExternalSemaphoreFeatureFlagBits
$cclearBit :: ExternalSemaphoreFeatureFlagBits
-> Int -> ExternalSemaphoreFeatureFlagBits
setBit :: ExternalSemaphoreFeatureFlagBits
-> Int -> ExternalSemaphoreFeatureFlagBits
$csetBit :: ExternalSemaphoreFeatureFlagBits
-> Int -> ExternalSemaphoreFeatureFlagBits
bit :: Int -> ExternalSemaphoreFeatureFlagBits
$cbit :: Int -> ExternalSemaphoreFeatureFlagBits
zeroBits :: ExternalSemaphoreFeatureFlagBits
$czeroBits :: ExternalSemaphoreFeatureFlagBits
rotate :: ExternalSemaphoreFeatureFlagBits
-> Int -> ExternalSemaphoreFeatureFlagBits
$crotate :: ExternalSemaphoreFeatureFlagBits
-> Int -> ExternalSemaphoreFeatureFlagBits
shift :: ExternalSemaphoreFeatureFlagBits
-> Int -> ExternalSemaphoreFeatureFlagBits
$cshift :: ExternalSemaphoreFeatureFlagBits
-> Int -> ExternalSemaphoreFeatureFlagBits
complement :: ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits
$ccomplement :: ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits
xor :: ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits
$cxor :: ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits
.|. :: ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits
$c.|. :: ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits
.&. :: ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits
$c.&. :: ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits
-> ExternalSemaphoreFeatureFlagBits
$cp1Bits :: Eq ExternalSemaphoreFeatureFlagBits
Bits, Bits ExternalSemaphoreFeatureFlagBits
Bits ExternalSemaphoreFeatureFlagBits =>
(ExternalSemaphoreFeatureFlagBits -> Int)
-> (ExternalSemaphoreFeatureFlagBits -> Int)
-> (ExternalSemaphoreFeatureFlagBits -> Int)
-> FiniteBits ExternalSemaphoreFeatureFlagBits
ExternalSemaphoreFeatureFlagBits -> Int
forall b.
Bits b =>
(b -> Int) -> (b -> Int) -> (b -> Int) -> FiniteBits b
countTrailingZeros :: ExternalSemaphoreFeatureFlagBits -> Int
$ccountTrailingZeros :: ExternalSemaphoreFeatureFlagBits -> Int
countLeadingZeros :: ExternalSemaphoreFeatureFlagBits -> Int
$ccountLeadingZeros :: ExternalSemaphoreFeatureFlagBits -> Int
finiteBitSize :: ExternalSemaphoreFeatureFlagBits -> Int
$cfiniteBitSize :: ExternalSemaphoreFeatureFlagBits -> Int
$cp1FiniteBits :: Bits ExternalSemaphoreFeatureFlagBits
FiniteBits)

-- | 'EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT' specifies that handles of
-- this type /can/ be exported from Vulkan semaphore objects.
pattern $bEXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT :: ExternalSemaphoreFeatureFlagBits
$mEXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT :: forall r.
ExternalSemaphoreFeatureFlagBits
-> (Void# -> r) -> (Void# -> r) -> r
EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT = ExternalSemaphoreFeatureFlagBits 0x00000001
-- | 'EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT' specifies that handles of
-- this type /can/ be imported as Vulkan semaphore objects.
pattern $bEXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT :: ExternalSemaphoreFeatureFlagBits
$mEXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT :: forall r.
ExternalSemaphoreFeatureFlagBits
-> (Void# -> r) -> (Void# -> r) -> r
EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT = ExternalSemaphoreFeatureFlagBits 0x00000002

conNameExternalSemaphoreFeatureFlagBits :: String
conNameExternalSemaphoreFeatureFlagBits :: String
conNameExternalSemaphoreFeatureFlagBits = "ExternalSemaphoreFeatureFlagBits"

enumPrefixExternalSemaphoreFeatureFlagBits :: String
enumPrefixExternalSemaphoreFeatureFlagBits :: String
enumPrefixExternalSemaphoreFeatureFlagBits = "EXTERNAL_SEMAPHORE_FEATURE_"

showTableExternalSemaphoreFeatureFlagBits :: [(ExternalSemaphoreFeatureFlagBits, String)]
showTableExternalSemaphoreFeatureFlagBits :: [(ExternalSemaphoreFeatureFlagBits, String)]
showTableExternalSemaphoreFeatureFlagBits =
  [ (ExternalSemaphoreFeatureFlagBits
EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT, "EXPORTABLE_BIT")
  , (ExternalSemaphoreFeatureFlagBits
EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT, "IMPORTABLE_BIT")
  ]

instance Show ExternalSemaphoreFeatureFlagBits where
  showsPrec :: Int -> ExternalSemaphoreFeatureFlagBits -> ShowS
showsPrec = String
-> [(ExternalSemaphoreFeatureFlagBits, String)]
-> String
-> (ExternalSemaphoreFeatureFlagBits -> Flags)
-> (Flags -> ShowS)
-> Int
-> ExternalSemaphoreFeatureFlagBits
-> ShowS
forall a i.
Eq a =>
String
-> [(a, String)]
-> String
-> (a -> i)
-> (i -> ShowS)
-> Int
-> a
-> ShowS
enumShowsPrec String
enumPrefixExternalSemaphoreFeatureFlagBits
                            [(ExternalSemaphoreFeatureFlagBits, String)]
showTableExternalSemaphoreFeatureFlagBits
                            String
conNameExternalSemaphoreFeatureFlagBits
                            (\(ExternalSemaphoreFeatureFlagBits x :: Flags
x) -> Flags
x)
                            (\x :: Flags
x -> String -> ShowS
showString "0x" ShowS -> ShowS -> ShowS
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Flags -> ShowS
forall a. (Integral a, Show a) => a -> ShowS
showHex Flags
x)

instance Read ExternalSemaphoreFeatureFlagBits where
  readPrec :: ReadPrec ExternalSemaphoreFeatureFlagBits
readPrec = String
-> [(ExternalSemaphoreFeatureFlagBits, String)]
-> String
-> (Flags -> ExternalSemaphoreFeatureFlagBits)
-> ReadPrec ExternalSemaphoreFeatureFlagBits
forall i a.
Read i =>
String -> [(a, String)] -> String -> (i -> a) -> ReadPrec a
enumReadPrec String
enumPrefixExternalSemaphoreFeatureFlagBits
                          [(ExternalSemaphoreFeatureFlagBits, String)]
showTableExternalSemaphoreFeatureFlagBits
                          String
conNameExternalSemaphoreFeatureFlagBits
                          Flags -> ExternalSemaphoreFeatureFlagBits
ExternalSemaphoreFeatureFlagBits