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 |
Simple typing wrapper around Meta
Since: 1.20
Synopsis
- newtype CustomMeta = CustomMeta (ManagedPtr CustomMeta)
- newZeroCustomMeta :: MonadIO m => m CustomMeta
- customMetaGetStructure :: (HasCallStack, MonadIO m) => CustomMeta -> m Structure
- customMetaHasName :: (HasCallStack, MonadIO m) => CustomMeta -> Text -> m Bool
- getCustomMetaMeta :: MonadIO m => CustomMeta -> m Meta
Exported types
newtype CustomMeta Source #
Memory-managed wrapper type.
CustomMeta (ManagedPtr CustomMeta) |
Instances
Eq CustomMeta Source # | |
Defined in GI.Gst.Structs.CustomMeta (==) :: CustomMeta -> CustomMeta -> Bool # (/=) :: CustomMeta -> CustomMeta -> Bool # | |
BoxedPtr CustomMeta Source # | |
Defined in GI.Gst.Structs.CustomMeta boxedPtrCopy :: CustomMeta -> IO CustomMeta boxedPtrFree :: CustomMeta -> IO () | |
CallocPtr CustomMeta Source # | |
Defined in GI.Gst.Structs.CustomMeta boxedPtrCalloc :: IO (Ptr CustomMeta) | |
ManagedPtrNewtype CustomMeta Source # | |
Defined in GI.Gst.Structs.CustomMeta toManagedPtr :: CustomMeta -> ManagedPtr CustomMeta | |
tag ~ 'AttrSet => Constructible CustomMeta tag Source # | |
Defined in GI.Gst.Structs.CustomMeta new :: MonadIO m => (ManagedPtr CustomMeta -> CustomMeta) -> [AttrOp CustomMeta tag] -> m CustomMeta |
newZeroCustomMeta :: MonadIO m => m CustomMeta Source #
Construct a CustomMeta
struct initialized to zero.
Methods
Click to display all available methods, including inherited ones
getStructure
customMetaGetStructure Source #
:: (HasCallStack, MonadIO m) | |
=> CustomMeta | |
-> m Structure | Returns: the |
hasName
:: (HasCallStack, MonadIO m) | |
=> CustomMeta | |
-> Text | |
-> m Bool | Returns: Whether |
Checks whether the name of the custom meta is name
Since: 1.20
Properties
meta
No description available in the introspection data.
getCustomMetaMeta :: MonadIO m => CustomMeta -> m Meta Source #
Get the value of the “meta
” field.
When overloading is enabled, this is equivalent to
get
customMeta #meta