module Data.Text.ParagraphLayout.ResolvedSpan (ResolvedSpan(..))
where
import Data.Text (Text)
import Data.Text.Glyphize (Font)
-- | Internal structure containing resolved values that may be shared with
-- other spans across the paragraph.
data ResolvedSpan = ResolvedSpan
    { spanText :: Text
    , spanFont :: Font
    , spanLanguage :: String
    }
    deriving (Eq, Show)