Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
GI.Ggit.Objects.ObjectFactoryBase
Contents
Description
Represents the base type for objects created by an object factory.
Synopsis
- newtype ObjectFactoryBase = ObjectFactoryBase (ManagedPtr ObjectFactoryBase)
- class GObject o => IsObjectFactoryBase o
- toObjectFactoryBase :: (MonadIO m, IsObjectFactoryBase o) => o -> m ObjectFactoryBase
- noObjectFactoryBase :: Maybe ObjectFactoryBase
Exported types
newtype ObjectFactoryBase Source #
Memory-managed wrapper type.
Constructors
ObjectFactoryBase (ManagedPtr ObjectFactoryBase) |
Instances
GObject ObjectFactoryBase Source # | |
Defined in GI.Ggit.Objects.ObjectFactoryBase Methods gobjectType :: ObjectFactoryBase -> IO GType # | |
IsObject ObjectFactoryBase Source # | |
Defined in GI.Ggit.Objects.ObjectFactoryBase | |
IsObjectFactoryBase ObjectFactoryBase Source # | |
Defined in GI.Ggit.Objects.ObjectFactoryBase |
class GObject o => IsObjectFactoryBase o Source #
Type class for types which can be safely cast to ObjectFactoryBase
, for instance with toObjectFactoryBase
.
Instances
toObjectFactoryBase :: (MonadIO m, IsObjectFactoryBase o) => o -> m ObjectFactoryBase Source #
Cast to ObjectFactoryBase
, for types for which this is known to be safe. For general casts, use castTo
.
noObjectFactoryBase :: Maybe ObjectFactoryBase Source #
A convenience alias for Nothing
:: Maybe
ObjectFactoryBase
.