gi-gst-1.0.28: GStreamer bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gst.Objects.Fraction

Description

A fundamental type that describes a fraction of an integer numerator over an integer denominator

Synopsis

Exported types

newtype Fraction Source #

Memory-managed wrapper type.

Constructors

Fraction (ManagedPtr Fraction) 

Instances

Instances details
Eq Fraction Source # 
Instance details

Defined in GI.Gst.Objects.Fraction

BoxedPtr Fraction Source # 
Instance details

Defined in GI.Gst.Objects.Fraction

ManagedPtrNewtype Fraction Source # 
Instance details

Defined in GI.Gst.Objects.Fraction

Methods

toManagedPtr :: Fraction -> ManagedPtr Fraction

TypedObject Fraction Source # 
Instance details

Defined in GI.Gst.Objects.Fraction

Methods

glibType :: IO GType

HasParentTypes Fraction Source # 
Instance details

Defined in GI.Gst.Objects.Fraction

type ParentTypes Fraction Source # 
Instance details

Defined in GI.Gst.Objects.Fraction

type ParentTypes Fraction = '[] :: [Type]

class (BoxedPtr o, TypedObject o, IsDescendantOf Fraction o) => IsFraction o Source #

Type class for types which can be safely cast to Fraction, for instance with toFraction.

Instances

Instances details
(BoxedPtr o, TypedObject o, IsDescendantOf Fraction o) => IsFraction o Source # 
Instance details

Defined in GI.Gst.Objects.Fraction

toFraction :: (MonadIO m, IsFraction o) => o -> m Fraction Source #

Cast to Fraction, for types for which this is known to be safe. For general casts, use castTo.

Methods