Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
data Collection textures fonts a Source #
Instances
(Foldable textures, Foldable fonts) => Foldable (Collection textures fonts) Source # | |
Defined in Resource.Combined.Textures fold :: Monoid m => Collection textures fonts m -> m # foldMap :: Monoid m => (a -> m) -> Collection textures fonts a -> m # foldMap' :: Monoid m => (a -> m) -> Collection textures fonts a -> m # foldr :: (a -> b -> b) -> b -> Collection textures fonts a -> b # foldr' :: (a -> b -> b) -> b -> Collection textures fonts a -> b # foldl :: (b -> a -> b) -> b -> Collection textures fonts a -> b # foldl' :: (b -> a -> b) -> b -> Collection textures fonts a -> b # foldr1 :: (a -> a -> a) -> Collection textures fonts a -> a # foldl1 :: (a -> a -> a) -> Collection textures fonts a -> a # toList :: Collection textures fonts a -> [a] # null :: Collection textures fonts a -> Bool # length :: Collection textures fonts a -> Int # elem :: Eq a => a -> Collection textures fonts a -> Bool # maximum :: Ord a => Collection textures fonts a -> a # minimum :: Ord a => Collection textures fonts a -> a # sum :: Num a => Collection textures fonts a -> a # product :: Num a => Collection textures fonts a -> a # | |
(Traversable textures, Traversable fonts) => Traversable (Collection textures fonts) Source # | |
Defined in Resource.Combined.Textures traverse :: Applicative f => (a -> f b) -> Collection textures fonts a -> f (Collection textures fonts b) # sequenceA :: Applicative f => Collection textures fonts (f a) -> f (Collection textures fonts a) # mapM :: Monad m => (a -> m b) -> Collection textures fonts a -> m (Collection textures fonts b) # sequence :: Monad m => Collection textures fonts (m a) -> m (Collection textures fonts a) # | |
(Applicative t, Applicative f) => Applicative (Collection t f) Source # | |
Defined in Resource.Combined.Textures pure :: a -> Collection t f a # (<*>) :: Collection t f (a -> b) -> Collection t f a -> Collection t f b # liftA2 :: (a -> b -> c) -> Collection t f a -> Collection t f b -> Collection t f c # (*>) :: Collection t f a -> Collection t f b -> Collection t f b # (<*) :: Collection t f a -> Collection t f b -> Collection t f a # | |
(Functor textures, Functor fonts) => Functor (Collection textures fonts) Source # | |
Defined in Resource.Combined.Textures fmap :: (a -> b) -> Collection textures fonts a -> Collection textures fonts b # (<$) :: a -> Collection textures fonts b -> Collection textures fonts a # | |
Generic (Collection textures fonts a) Source # | |
Defined in Resource.Combined.Textures type Rep (Collection textures fonts a) :: Type -> Type # from :: Collection textures fonts a -> Rep (Collection textures fonts a) x # to :: Rep (Collection textures fonts a) x -> Collection textures fonts a # | |
(Show (textures a), Show (fonts a)) => Show (Collection textures fonts a) Source # | |
Defined in Resource.Combined.Textures showsPrec :: Int -> Collection textures fonts a -> ShowS # show :: Collection textures fonts a -> String # showList :: [Collection textures fonts a] -> ShowS # | |
type Rep (Collection textures fonts a) Source # | |
Defined in Resource.Combined.Textures type Rep (Collection textures fonts a) = D1 ('MetaData "Collection" "Resource.Combined.Textures" "keid-core-0.1.9.0-inplace" 'False) (C1 ('MetaCons "Collection" 'PrefixI 'True) (S1 ('MetaSel ('Just "textures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (textures a)) :*: S1 ('MetaSel ('Just "fonts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (fonts a)))) |
attachDebugNames :: (Traversable textures, Traversable fonts, MonadVulkan env m, HasLogFunc env, HasCallStack) => Collection textures fonts (Texture a) -> textures FilePath -> fonts FilePath -> m () Source #