Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
GI.GObject.Structs.TypeFundamentalInfo
Description
A structure that provides information to the type system which is used specifically for managing fundamental types.
Synopsis
- newtype TypeFundamentalInfo = TypeFundamentalInfo (ManagedPtr TypeFundamentalInfo)
- newZeroTypeFundamentalInfo :: MonadIO m => m TypeFundamentalInfo
- type family ResolveTypeFundamentalInfoMethod (t :: Symbol) o where ...
- getTypeFundamentalInfoTypeFlags :: MonadIO m => TypeFundamentalInfo -> m [TypeFundamentalFlags]
- setTypeFundamentalInfoTypeFlags :: MonadIO m => TypeFundamentalInfo -> [TypeFundamentalFlags] -> m ()
- typeFundamentalInfo_typeFlags :: AttrLabelProxy "typeFlags"
Exported types
newtype TypeFundamentalInfo Source #
Memory-managed wrapper type.
Constructors
TypeFundamentalInfo (ManagedPtr TypeFundamentalInfo) |
Instances
newZeroTypeFundamentalInfo :: MonadIO m => m TypeFundamentalInfo Source #
Construct a TypeFundamentalInfo
struct initialized to zero.
Methods
type family ResolveTypeFundamentalInfoMethod (t :: Symbol) o where ... Source #
Equations
ResolveTypeFundamentalInfoMethod l o = MethodResolutionFailed l o :: Type |
Properties
typeFlags
TypeFundamentalFlags
describing the characteristics of the fundamental type
getTypeFundamentalInfoTypeFlags :: MonadIO m => TypeFundamentalInfo -> m [TypeFundamentalFlags] Source #
Get the value of the “type_flags
” field.
When overloading is enabled, this is equivalent to
get
typeFundamentalInfo #typeFlags
setTypeFundamentalInfoTypeFlags :: MonadIO m => TypeFundamentalInfo -> [TypeFundamentalFlags] -> m () Source #
Set the value of the “type_flags
” field.
When overloading is enabled, this is equivalent to
set
typeFundamentalInfo [ #typeFlags:=
value ]
typeFundamentalInfo_typeFlags :: AttrLabelProxy "typeFlags" Source #