pnmixer-rust/pango/index.html
2017-07-16 23:37:37 +02:00

764 lines
38 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `pango` crate.">
<meta name="keywords" content="rust, rustlang, rust-lang, pango">
<title>pango - Rust</title>
<link rel="stylesheet" type="text/css" href="../normalize.css">
<link rel="stylesheet" type="text/css" href="../rustdoc.css">
<link rel="stylesheet" type="text/css" href="../main.css">
</head>
<body class="rustdoc mod">
<!--[if lte IE 8]>
<div class="warning">
This old browser is unsupported and will most likely display funky
things.
</div>
<![endif]-->
<nav class="sidebar">
<p class='location'>Crate pango</p><div class="block items"><ul><li><a href="#reexports">Reexports</a></li><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#constants">Constants</a></li><li><a href="#traits">Traits</a></li><li><a href="#functions">Functions</a></li><li><a href="#types">Type Definitions</a></li></ul></div><p class='location'></p><script>window.sidebarCurrent = {name: 'pango', ty: 'mod', relpath: '../'};</script>
</nav>
<nav class="sub">
<form class="search-form js-only">
<div class="search-container">
<input class="search-input" name="search"
autocomplete="off"
placeholder="Click or press S to search, ? for more options…"
type="search">
</div>
</form>
</nav>
<section id='main' class="content">
<h1 class='fqn'><span class='in-band'>Crate <a class="mod" href=''>pango</a></span><span class='out-of-band'><span id='render-detail'>
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
</span><a class='srclink' href='../src/pango/lib.rs.html#5-34' title='goto source code'>[src]</a></span></h1>
<h2 id='reexports' class='section-header'><a href="#reexports">Reexports</a></h2>
<table><tr><td><code>pub use attr_class::<a class="struct" href="../pango/attr_class/struct.AttrClass.html" title="struct pango::attr_class::AttrClass">AttrClass</a>;</code></td></tr><tr><td><code>pub use item::<a class="struct" href="../pango/item/struct.Item.html" title="struct pango::item::Item">Item</a>;</code></td></tr><tr><td><code>pub use language::<a class="struct" href="../pango/language/struct.Language.html" title="struct pango::language::Language">Language</a>;</code></td></tr><tr><td><code>pub use rectangle::<a class="struct" href="../pango/rectangle/struct.Rectangle.html" title="struct pango::rectangle::Rectangle">Rectangle</a>;</code></td></tr></table><h2 id='modules' class='section-header'><a href="#modules">Modules</a></h2>
<table>
<tr class=' module-item'>
<td><a class="mod" href="attr_class/index.html"
title='mod pango::attr_class'>attr_class</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="mod" href="attr_list/index.html"
title='mod pango::attr_list'>attr_list</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="mod" href="attribute/index.html"
title='mod pango::attribute'>attribute</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="mod" href="font_description/index.html"
title='mod pango::font_description'>font_description</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="mod" href="functions/index.html"
title='mod pango::functions'>functions</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="mod" href="item/index.html"
title='mod pango::item'>item</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="mod" href="language/index.html"
title='mod pango::language'>language</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="mod" href="matrix/index.html"
title='mod pango::matrix'>matrix</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="mod" href="prelude/index.html"
title='mod pango::prelude'>prelude</a></td>
<td class='docblock-short'>
<p>Traits and essential types inteded for blanket imports.</p>
</td>
</tr>
<tr class=' module-item'>
<td><a class="mod" href="rectangle/index.html"
title='mod pango::rectangle'>rectangle</a></td>
<td class='docblock-short'>
</td>
</tr></table><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2>
<table>
<tr class=' module-item'>
<td><a class="struct" href="struct.AttrList.html"
title='struct pango::AttrList'>AttrList</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="struct" href="struct.Attribute.html"
title='struct pango::Attribute'>Attribute</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="struct" href="struct.Color.html"
title='struct pango::Color'>Color</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="struct" href="struct.Context.html"
title='struct pango::Context'>Context</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="struct" href="struct.Coverage.html"
title='struct pango::Coverage'>Coverage</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="struct" href="struct.EngineShape.html"
title='struct pango::EngineShape'>EngineShape</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="struct" href="struct.Error.html"
title='struct pango::Error'>Error</a></td>
<td class='docblock-short'>
<p>A generic error capable of representing various error domains (types).</p>
</td>
</tr>
<tr class=' module-item'>
<td><a class="struct" href="struct.Font.html"
title='struct pango::Font'>Font</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="struct" href="struct.FontDescription.html"
title='struct pango::FontDescription'>FontDescription</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="struct" href="struct.FontFace.html"
title='struct pango::FontFace'>FontFace</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="struct" href="struct.FontFamily.html"
title='struct pango::FontFamily'>FontFamily</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="struct" href="struct.FontMap.html"
title='struct pango::FontMap'>FontMap</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="struct" href="struct.FontMask.html"
title='struct pango::FontMask'>FontMask</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="struct" href="struct.FontMetrics.html"
title='struct pango::FontMetrics'>FontMetrics</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="struct" href="struct.Fontset.html"
title='struct pango::Fontset'>Fontset</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="struct" href="struct.GlyphItem.html"
title='struct pango::GlyphItem'>GlyphItem</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="struct" href="struct.GlyphItemIter.html"
title='struct pango::GlyphItemIter'>GlyphItemIter</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="struct" href="struct.GlyphString.html"
title='struct pango::GlyphString'>GlyphString</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="struct" href="struct.Layout.html"
title='struct pango::Layout'>Layout</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="struct" href="struct.LayoutIter.html"
title='struct pango::LayoutIter'>LayoutIter</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="struct" href="struct.LayoutLine.html"
title='struct pango::LayoutLine'>LayoutLine</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="struct" href="struct.Matrix.html"
title='struct pango::Matrix'>Matrix</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="struct" href="struct.Renderer.html"
title='struct pango::Renderer'>Renderer</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="struct" href="struct.TabArray.html"
title='struct pango::TabArray'>TabArray</a></td>
<td class='docblock-short'>
</td>
</tr></table><h2 id='enums' class='section-header'><a href="#enums">Enums</a></h2>
<table>
<tr class=' module-item'>
<td><a class="enum" href="enum.Alignment.html"
title='enum pango::Alignment'>Alignment</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="enum" href="enum.AttrType.html"
title='enum pango::AttrType'>AttrType</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="enum" href="enum.BidiType.html"
title='enum pango::BidiType'>BidiType</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="enum" href="enum.CoverageLevel.html"
title='enum pango::CoverageLevel'>CoverageLevel</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="enum" href="enum.Direction.html"
title='enum pango::Direction'>Direction</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="enum" href="enum.EllipsizeMode.html"
title='enum pango::EllipsizeMode'>EllipsizeMode</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="enum" href="enum.Gravity.html"
title='enum pango::Gravity'>Gravity</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="enum" href="enum.GravityHint.html"
title='enum pango::GravityHint'>GravityHint</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="enum" href="enum.RenderPart.html"
title='enum pango::RenderPart'>RenderPart</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="enum" href="enum.Script.html"
title='enum pango::Script'>Script</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="enum" href="enum.Stretch.html"
title='enum pango::Stretch'>Stretch</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="enum" href="enum.Style.html"
title='enum pango::Style'>Style</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="enum" href="enum.TabAlign.html"
title='enum pango::TabAlign'>TabAlign</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="enum" href="enum.Underline.html"
title='enum pango::Underline'>Underline</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="enum" href="enum.Variant.html"
title='enum pango::Variant'>Variant</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="enum" href="enum.Weight.html"
title='enum pango::Weight'>Weight</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="enum" href="enum.WrapMode.html"
title='enum pango::WrapMode'>WrapMode</a></td>
<td class='docblock-short'>
</td>
</tr></table><h2 id='constants' class='section-header'><a href="#constants">Constants</a></h2>
<table>
<tr class=' module-item'>
<td><a class="constant" href="constant.FONT_MASK_FAMILY.html"
title='constant pango::FONT_MASK_FAMILY'>FONT_MASK_FAMILY</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.FONT_MASK_GRAVITY.html"
title='constant pango::FONT_MASK_GRAVITY'>FONT_MASK_GRAVITY</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.FONT_MASK_SIZE.html"
title='constant pango::FONT_MASK_SIZE'>FONT_MASK_SIZE</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.FONT_MASK_STRETCH.html"
title='constant pango::FONT_MASK_STRETCH'>FONT_MASK_STRETCH</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.FONT_MASK_STYLE.html"
title='constant pango::FONT_MASK_STYLE'>FONT_MASK_STYLE</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.FONT_MASK_VARIANT.html"
title='constant pango::FONT_MASK_VARIANT'>FONT_MASK_VARIANT</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.FONT_MASK_WEIGHT.html"
title='constant pango::FONT_MASK_WEIGHT'>FONT_MASK_WEIGHT</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.SCALE.html"
title='constant pango::SCALE'>SCALE</a></td>
<td class='docblock-short'>
</td>
</tr></table><h2 id='traits' class='section-header'><a href="#traits">Traits</a></h2>
<table>
<tr class=' module-item'>
<td><a class="trait" href="trait.ContextExt.html"
title='trait pango::ContextExt'>ContextExt</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="trait" href="trait.FontExt.html"
title='trait pango::FontExt'>FontExt</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="trait" href="trait.FontFaceExt.html"
title='trait pango::FontFaceExt'>FontFaceExt</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="trait" href="trait.FontFamilyExt.html"
title='trait pango::FontFamilyExt'>FontFamilyExt</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="trait" href="trait.FontMapExt.html"
title='trait pango::FontMapExt'>FontMapExt</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="trait" href="trait.FontsetExt.html"
title='trait pango::FontsetExt'>FontsetExt</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="trait" href="trait.LayoutExt.html"
title='trait pango::LayoutExt'>LayoutExt</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="trait" href="trait.RendererExt.html"
title='trait pango::RendererExt'>RendererExt</a></td>
<td class='docblock-short'>
</td>
</tr></table><h2 id='functions' class='section-header'><a href="#functions">Functions</a></h2>
<table>
<tr class=' module-item'>
<td><a class="fn" href="fn.config_key_get.html"
title='fn pango::config_key_get'>config_key_get</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.config_key_get_system.html"
title='fn pango::config_key_get_system'>config_key_get_system</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.extents_to_pixels.html"
title='fn pango::extents_to_pixels'>extents_to_pixels</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.find_base_dir.html"
title='fn pango::find_base_dir'>find_base_dir</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.find_paragraph_boundary.html"
title='fn pango::find_paragraph_boundary'>find_paragraph_boundary</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.get_lib_subdirectory.html"
title='fn pango::get_lib_subdirectory'>get_lib_subdirectory</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.get_sysconf_subdirectory.html"
title='fn pango::get_sysconf_subdirectory'>get_sysconf_subdirectory</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.is_zero_width.html"
title='fn pango::is_zero_width'>is_zero_width</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.parse_enum.html"
title='fn pango::parse_enum'>parse_enum</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.parse_markup.html"
title='fn pango::parse_markup'>parse_markup</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.parse_stretch.html"
title='fn pango::parse_stretch'>parse_stretch</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.parse_style.html"
title='fn pango::parse_style'>parse_style</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.parse_variant.html"
title='fn pango::parse_variant'>parse_variant</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.parse_weight.html"
title='fn pango::parse_weight'>parse_weight</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.quantize_line_geometry.html"
title='fn pango::quantize_line_geometry'>quantize_line_geometry</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.split_file_list.html"
title='fn pango::split_file_list'>split_file_list</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.trim_string.html"
title='fn pango::trim_string'>trim_string</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.unichar_direction.html"
title='fn pango::unichar_direction'>unichar_direction</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.units_from_double.html"
title='fn pango::units_from_double'>units_from_double</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.units_to_double.html"
title='fn pango::units_to_double'>units_to_double</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.version.html"
title='fn pango::version'>version</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.version_check.html"
title='fn pango::version_check'>version_check</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.version_string.html"
title='fn pango::version_string'>version_string</a></td>
<td class='docblock-short'>
</td>
</tr></table><h2 id='types' class='section-header'><a href="#types">Type Definitions</a></h2>
<table>
<tr class=' module-item'>
<td><a class="type" href="type.Glyph.html"
title='type pango::Glyph'>Glyph</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="type" href="type.LayoutRun.html"
title='type pango::LayoutRun'>LayoutRun</a></td>
<td class='docblock-short'>
</td>
</tr></table></section>
<section id='search' class="content hidden"></section>
<section class="footer"></section>
<aside id="help" class="hidden">
<div>
<h1 class="hidden">Help</h1>
<div class="shortcuts">
<h2>Keyboard Shortcuts</h2>
<dl>
<dt>?</dt>
<dd>Show this help dialog</dd>
<dt>S</dt>
<dd>Focus the search field</dd>
<dt>&larrb;</dt>
<dd>Move up in search results</dd>
<dt>&rarrb;</dt>
<dd>Move down in search results</dd>
<dt>&#9166;</dt>
<dd>Go to active search result</dd>
<dt>+</dt>
<dd>Collapse/expand all sections</dd>
</dl>
</div>
<div class="infos">
<h2>Search Tricks</h2>
<p>
Prefix searches with a type followed by a colon (e.g.
<code>fn:</code>) to restrict the search to a given type.
</p>
<p>
Accepted types are: <code>fn</code>, <code>mod</code>,
<code>struct</code>, <code>enum</code>,
<code>trait</code>, <code>type</code>, <code>macro</code>,
and <code>const</code>.
</p>
<p>
Search functions by type signature (e.g.
<code>vec -> usize</code> or <code>* -> vec</code>)
</p>
</div>
</div>
</aside>
<script>
window.rootPath = "../";
window.currentCrate = "pango";
</script>
<script src="../main.js"></script>
<script defer src="../search-index.js"></script>
</body>
</html>