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 |
No description available in the introspection data.
Synopsis
- newtype Blob = Blob (ManagedPtr Blob)
- newZeroBlob :: MonadIO m => m Blob
- blobCopy :: (HasCallStack, MonadIO m) => ByteString -> m Blob
- blobGet :: (HasCallStack, MonadIO m) => Blob -> m ByteString
- blobNew :: (HasCallStack, MonadIO m) => Maybe CallbackFn -> ByteString -> m Blob
- getBlobArea :: MonadIO m => Blob -> m Area
Exported types
Memory-managed wrapper type.
Instances
Eq Blob Source # | |
GBoxed Blob Source # | |
Defined in GI.Vips.Structs.Blob | |
ManagedPtrNewtype Blob Source # | |
Defined in GI.Vips.Structs.Blob toManagedPtr :: Blob -> ManagedPtr Blob | |
TypedObject Blob Source # | |
Defined in GI.Vips.Structs.Blob | |
HasParentTypes Blob Source # | |
Defined in GI.Vips.Structs.Blob | |
tag ~ 'AttrSet => Constructible Blob tag Source # | |
IsGValue (Maybe Blob) Source # | Convert |
Defined in GI.Vips.Structs.Blob gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe Blob -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe Blob) | |
type ParentTypes Blob Source # | |
Defined in GI.Vips.Structs.Blob |
Methods
Click to display all available methods, including inherited ones
copy
:: (HasCallStack, MonadIO m) | |
=> ByteString |
|
-> m Blob | Returns: the new |
get
:: (HasCallStack, MonadIO m) | |
=> Blob |
|
-> m ByteString | Returns: the data |
new
:: (HasCallStack, MonadIO m) | |
=> Maybe CallbackFn |
|
-> ByteString |
|
-> m Blob | Returns: the new |
Properties
area
No description available in the introspection data.
getBlobArea :: MonadIO m => Blob -> m Area Source #
Get the value of the “area
” field.
When overloading is enabled, this is equivalent to
get
blob #area