gi-gst-1.0.25: GStreamer bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gst.Objects.FlagSet

Description

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

Exported types

newtype FlagSet Source #

Memory-managed wrapper type.

Constructors

FlagSet (ManagedPtr FlagSet) 

Instances

Instances details
Eq FlagSet Source # 
Instance details

Defined in GI.Gst.Objects.FlagSet

Methods

(==) :: FlagSet -> FlagSet -> Bool #

(/=) :: FlagSet -> FlagSet -> Bool #

BoxedPtr FlagSet Source # 
Instance details

Defined in GI.Gst.Objects.FlagSet

ManagedPtrNewtype FlagSet Source # 
Instance details

Defined in GI.Gst.Objects.FlagSet

TypedObject FlagSet Source # 
Instance details

Defined in GI.Gst.Objects.FlagSet

Methods

glibType :: IO GType #

HasParentTypes FlagSet Source # 
Instance details

Defined in GI.Gst.Objects.FlagSet

type ParentTypes FlagSet Source # 
Instance details

Defined in GI.Gst.Objects.FlagSet

type ParentTypes FlagSet = '[] :: [Type]

class (BoxedPtr o, TypedObject o, IsDescendantOf FlagSet o) => IsFlagSet o Source #

Type class for types which can be safely cast to FlagSet, for instance with toFlagSet.

Instances

Instances details
(BoxedPtr o, TypedObject o, IsDescendantOf FlagSet o) => IsFlagSet o Source # 
Instance details

Defined in GI.Gst.Objects.FlagSet

toFlagSet :: (MonadIO m, IsFlagSet o) => o -> m FlagSet Source #

Cast to FlagSet, for types for which this is known to be safe. For general casts, use castTo.

Methods

register

flagSetRegister Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> GType

flagsType: a GType of a G_TYPE_FLAGS type.

-> 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