opencv-0.0.2.1: Haskell binding to OpenCV-3.x

Safe HaskellNone
LanguageHaskell2010

OpenCV.Core.Types.Size

Contents

Documentation

data Size (depth :: *) Source #

Instances

(IsSize V2 a, Show a) => Show (Size a) Source # 

Methods

showsPrec :: Int -> Size a -> ShowS #

show :: Size a -> String #

showList :: [Size a] -> ShowS #

WithPtr (Size depth) Source # 

Methods

withPtr :: Size depth -> (Ptr (C (Size depth)) -> IO b) -> IO b

class IsSize (p :: * -> *) (depth :: *) where Source #

Minimal complete definition

toSize, fromSize

Methods

toSize :: p depth -> Size depth Source #

fromSize :: Size depth -> p depth Source #

toSizeIO :: p depth -> IO (Size depth) Source #

Orphan instances