Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
A fundamental type that describes a 32-bit flag bitfield, with 32-bit mask indicating which of the bits in the field are explicitly set.
Synopsis
- newtype FlagSet = FlagSet (ManagedPtr FlagSet)
- class (BoxedPtr o, TypedObject o, IsDescendantOf FlagSet o) => IsFlagSet o
- toFlagSet :: (MonadIO m, IsFlagSet o) => o -> m FlagSet
- flagSetRegister :: (HasCallStack, MonadIO m) => GType -> m GType
Exported types
Memory-managed wrapper type.
Instances
Eq FlagSet Source # | |
BoxedPtr FlagSet Source # | |
Defined in GI.Gst.Objects.FlagSet boxedPtrCopy :: FlagSet -> IO FlagSet # boxedPtrFree :: FlagSet -> IO () # | |
ManagedPtrNewtype FlagSet Source # | |
Defined in GI.Gst.Objects.FlagSet toManagedPtr :: FlagSet -> ManagedPtr FlagSet # | |
TypedObject FlagSet Source # | |
Defined in GI.Gst.Objects.FlagSet | |
HasParentTypes FlagSet Source # | |
Defined in GI.Gst.Objects.FlagSet | |
type ParentTypes FlagSet Source # | |
Defined in GI.Gst.Objects.FlagSet |
class (BoxedPtr o, TypedObject o, IsDescendantOf FlagSet o) => IsFlagSet o Source #
Instances
(BoxedPtr o, TypedObject o, IsDescendantOf FlagSet o) => IsFlagSet o Source # | |
Defined in GI.Gst.Objects.FlagSet |
Methods
register
:: (HasCallStack, MonadIO m) | |
=> GType |
|
-> m GType |
Create a new sub-class of GST_TYPE_FLAG_SET
which will pretty-print the human-readable flags
when serializing, for easier debugging.
Since: 1.6