| 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 |
GI.Gst.Structs.CustomMeta
Description
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.
Constructors
| CustomMeta (ManagedPtr CustomMeta) |
Instances
| Eq CustomMeta Source # | |
Defined in GI.Gst.Structs.CustomMeta | |
| BoxedPtr CustomMeta Source # | |
Defined in GI.Gst.Structs.CustomMeta | |
| CallocPtr CustomMeta Source # | |
Defined in GI.Gst.Structs.CustomMeta Methods boxedPtrCalloc :: IO (Ptr CustomMeta) | |
| ManagedPtrNewtype CustomMeta Source # | |
Defined in GI.Gst.Structs.CustomMeta Methods toManagedPtr :: CustomMeta -> ManagedPtr CustomMeta | |
| tag ~ 'AttrSet => Constructible CustomMeta tag Source # | |
Defined in GI.Gst.Structs.CustomMeta Methods 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 #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => CustomMeta | |
| -> m Structure | Returns: the |
hasName
Arguments
| :: (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