176 lines
44 KiB
HTML
176 lines
44 KiB
HTML
|
<!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 `LayoutExt` trait in crate `pango`.">
|
|||
|
<meta name="keywords" content="rust, rustlang, rust-lang, LayoutExt">
|
|||
|
|
|||
|
<title>pango::LayoutExt - 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 trait">
|
|||
|
<!--[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'>Trait LayoutExt</p><div class="block items"><ul><li><a href="#required-methods">Required Methods</a></li><li><a href="#implementors">Implementors</a></li></ul></div><p class='location'><a href='index.html'>pango</a></p><script>window.sidebarCurrent = {name: 'LayoutExt', ty: 'trait', relpath: ''};</script><script defer src="sidebar-items.js"></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'>Trait <a href='index.html'>pango</a>::<wbr><a class="trait" href=''>LayoutExt</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'>−</span>]
|
|||
|
</a>
|
|||
|
</span><a class='srclink' href='../src/pango/auto/layout.rs.html#36-149' title='goto source code'>[src]</a></span></h1>
|
|||
|
<pre class='rust trait'>pub trait LayoutExt {
|
|||
|
fn <a href='#tymethod.context_changed' class='fnname'>context_changed</a>(&self);
|
|||
|
fn <a href='#tymethod.copy' class='fnname'>copy</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../pango/struct.Layout.html" title="struct pango::Layout">Layout</a>>;
|
|||
|
fn <a href='#tymethod.get_alignment' class='fnname'>get_alignment</a>(&self) -> <a class="enum" href="../pango/enum.Alignment.html" title="enum pango::Alignment">Alignment</a>;
|
|||
|
fn <a href='#tymethod.get_attributes' class='fnname'>get_attributes</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../pango/struct.AttrList.html" title="struct pango::AttrList">AttrList</a>>;
|
|||
|
fn <a href='#tymethod.get_auto_dir' class='fnname'>get_auto_dir</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.get_baseline' class='fnname'>get_baseline</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>;
|
|||
|
fn <a href='#tymethod.get_character_count' class='fnname'>get_character_count</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>;
|
|||
|
fn <a href='#tymethod.get_context' class='fnname'>get_context</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../pango/struct.Context.html" title="struct pango::Context">Context</a>>;
|
|||
|
fn <a href='#tymethod.get_cursor_pos' class='fnname'>get_cursor_pos</a>(&self, index_: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../pango/rectangle/struct.Rectangle.html" title="struct pango::rectangle::Rectangle">Rectangle</a>, <a class="struct" href="../pango/rectangle/struct.Rectangle.html" title="struct pango::rectangle::Rectangle">Rectangle</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>;
|
|||
|
fn <a href='#tymethod.get_ellipsize' class='fnname'>get_ellipsize</a>(&self) -> <a class="enum" href="../pango/enum.EllipsizeMode.html" title="enum pango::EllipsizeMode">EllipsizeMode</a>;
|
|||
|
fn <a href='#tymethod.get_extents' class='fnname'>get_extents</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../pango/rectangle/struct.Rectangle.html" title="struct pango::rectangle::Rectangle">Rectangle</a>, <a class="struct" href="../pango/rectangle/struct.Rectangle.html" title="struct pango::rectangle::Rectangle">Rectangle</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>;
|
|||
|
fn <a href='#tymethod.get_font_description' class='fnname'>get_font_description</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../pango/struct.FontDescription.html" title="struct pango::FontDescription">FontDescription</a>>;
|
|||
|
fn <a href='#tymethod.get_height' class='fnname'>get_height</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>;
|
|||
|
fn <a href='#tymethod.get_indent' class='fnname'>get_indent</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>;
|
|||
|
fn <a href='#tymethod.get_iter' class='fnname'>get_iter</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../pango/struct.LayoutIter.html" title="struct pango::LayoutIter">LayoutIter</a>>;
|
|||
|
fn <a href='#tymethod.get_justify' class='fnname'>get_justify</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.get_line' class='fnname'>get_line</a>(&self, line: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../pango/struct.LayoutLine.html" title="struct pango::LayoutLine">LayoutLine</a>>;
|
|||
|
fn <a href='#tymethod.get_line_count' class='fnname'>get_line_count</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>;
|
|||
|
fn <a href='#tymethod.get_line_readonly' class='fnname'>get_line_readonly</a>(&self, line: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../pango/struct.LayoutLine.html" title="struct pango::LayoutLine">LayoutLine</a>>;
|
|||
|
fn <a href='#tymethod.get_lines' class='fnname'>get_lines</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="../pango/struct.LayoutLine.html" title="struct pango::LayoutLine">LayoutLine</a>>;
|
|||
|
fn <a href='#tymethod.get_lines_readonly' class='fnname'>get_lines_readonly</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="../pango/struct.LayoutLine.html" title="struct pango::LayoutLine">LayoutLine</a>>;
|
|||
|
fn <a href='#tymethod.get_pixel_extents' class='fnname'>get_pixel_extents</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../pango/rectangle/struct.Rectangle.html" title="struct pango::rectangle::Rectangle">Rectangle</a>, <a class="struct" href="../pango/rectangle/struct.Rectangle.html" title="struct pango::rectangle::Rectangle">Rectangle</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>;
|
|||
|
fn <a href='#tymethod.get_pixel_size' class='fnname'>get_pixel_size</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>;
|
|||
|
fn <a href='#tymethod.get_serial' class='fnname'>get_serial</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>;
|
|||
|
fn <a href='#tymethod.get_single_paragraph_mode' class='fnname'>get_single_paragraph_mode</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.get_size' class='fnname'>get_size</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>;
|
|||
|
fn <a href='#tymethod.get_spacing' class='fnname'>get_spacing</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>;
|
|||
|
fn <a href='#tymethod.get_tabs' class='fnname'>get_tabs</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../pango/struct.TabArray.html" title="struct pango::TabArray">TabArray</a>>;
|
|||
|
fn <a href='#tymethod.get_text' class='fnname'>get_text</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>;
|
|||
|
fn <a href='#tymethod.get_unknown_glyphs_count' class='fnname'>get_unknown_glyphs_count</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>;
|
|||
|
fn <a href='#tymethod.get_width' class='fnname'>get_width</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>;
|
|||
|
fn <a href='#tymethod.get_wrap' class='fnname'>get_wrap</a>(&self) -> <a class="enum" href="../pango/enum.WrapMode.html" title="enum pango::WrapMode">WrapMode</a>;
|
|||
|
fn <a href='#tymethod.index_to_line_x' class='fnname'>index_to_line_x</a>(&self, index_: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, trailing: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>;
|
|||
|
fn <a href='#tymethod.index_to_pos' class='fnname'>index_to_pos</a>(&self, index_: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="struct" href="../pango/rectangle/struct.Rectangle.html" title="struct pango::rectangle::Rectangle">Rectangle</a>;
|
|||
|
fn <a href='#tymethod.is_ellipsized' class='fnname'>is_ellipsized</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.is_wrapped' class='fnname'>is_wrapped</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.move_cursor_visually' class='fnname'>move_cursor_visually</a>(<br> &self, <br> strong: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, <br> old_index: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> old_trailing: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> direction: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a><br> ) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>;
|
|||
|
fn <a href='#tymethod.set_alignment' class='fnname'>set_alignment</a>(&self, alignment: <a class="enum" href="../pango/enum.Alignment.html" title="enum pango::Alignment">Alignment</a>);
|
|||
|
fn <a href='#tymethod.set_attributes' class='fnname'>set_attributes</a><'a, P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="struct" href="../pango/struct.AttrList.html" title="struct pango::AttrList">AttrList</a>>>>(&self, attrs: P);
|
|||
|
fn <a href='#tymethod.set_auto_dir' class='fnname'>set_auto_dir</a>(&self, auto_dir: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>);
|
|||
|
fn <a href='#tymethod.set_ellipsize' class='fnname'>set_ellipsize</a>(&self, ellipsize: <a class="enum" href="../pango/enum.EllipsizeMode.html" title="enum pango::EllipsizeMode">EllipsizeMode</a>);
|
|||
|
fn <a href='#tymethod.set_font_description' class='fnname'>set_font_description</a><'a, P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="struct" href="../pango/struct.FontDescription.html" title="struct pango::FontDescription">FontDescription</a>>>>(<br> &self, <br> desc: P<br> );
|
|||
|
fn <a href='#tymethod.set_height' class='fnname'>set_height</a>(&self, height: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>);
|
|||
|
fn <a href='#tymethod.set_indent' class='fnname'>set_indent</a>(&self, indent: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>);
|
|||
|
fn <a href='#tymethod.set_justify' class='fnname'>set_justify</a>(&self, justify: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>);
|
|||
|
fn <a href='#tymethod.set_markup' class='fnname'>set_markup</a>(&self, markup: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, length: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>);
|
|||
|
fn <a href='#tymethod.set_markup_with_accel' class='fnname'>set_markup_with_accel</a>(<br> &self, <br> markup: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> length: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> accel_marker: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a><br> ) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a>;
|
|||
|
fn <a href='#tymethod.set_single_paragraph_mode' class='fnname'>set_single_paragraph_mode</a>(&self, setting: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>);
|
|||
|
fn <a href='#tymethod.set_spacing' class='fnname'>set_spacing</a>(&self, spacing: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>);
|
|||
|
fn <a href='#tymethod.set_tabs' class='fnname'>set_tabs</a><'a, P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="struct" href="../pango/struct.TabArray.html" title="struct pango::TabArray">TabArray</a>>>>(&self, tabs: P);
|
|||
|
fn <a href='#tymethod.set_text' class='fnname'>set_text</a>(&self, text: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, length: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>);
|
|||
|
fn <a href='#tymethod.set_width' class='fnname'>set_width</a>(&self, width: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>);
|
|||
|
fn <a href='#tymethod.set_wrap' class='fnname'>set_wrap</a>(&self, wrap: <a class="enum" href="../pango/enum.WrapMode.html" title="enum pango::WrapMode">WrapMode</a>);
|
|||
|
fn <a href='#tymethod.xy_to_index' class='fnname'>xy_to_index</a>(&self, x: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, y: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>;
|
|||
|
}</pre>
|
|||
|
<h2 id='required-methods'>Required Methods</h2>
|
|||
|
<div class='methods'>
|
|||
|
<h3 id='tymethod.context_changed' class='method'><span id='context_changed.v' class='invisible'><code>fn <a href='#tymethod.context_changed' class='fnname'>context_changed</a>(&self)</code></span></h3><h3 id='tymethod.copy' class='method'><span id='copy.v' class='invisible'><code>fn <a href='#tymethod.copy' class='fnname'>copy</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../pango/struct.Layout.html" title="struct pango::Layout">Layout</a>></code></span></h3><h3 id='tymethod.get_alignment' class='method'><span id='get_alignment.v' class='invisible'><code>fn <a href='#tymethod.get_alignment' class='fnname'>get_alignment</a>(&self) -> <a class="enum" href="../pango/enum.Alignment.html" title="enum pango::Alignment">Alignment</a></code></span></h3><h3 id='tymethod.get_attributes' class='method'><span id='get_attributes.v' class='invisible'><code>fn <a href='#tymethod.get_attributes' class='fnname'>get_attributes</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../pango/struct.AttrList.html" title="struct pango::AttrList">AttrList</a>></code></span></h3><h3 id='tymethod.get_auto_dir' class='method'><span id='get_auto_dir.v' class='invisible'><code>fn <a href='#tymethod.get_auto_dir' class='fnname'>get_auto_dir</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h3><h3 id='tymethod.get_baseline' class='method'><span id='get_baseline.v' class='invisible'><code>fn <a href='#tymethod.get_baseline' class='fnname'>get_baseline</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code></span></h3><h3 id='tymethod.get_character_count' class='method'><span id='get_character_count.v' class='invisible'><code>fn <a href='#tymethod.get_character_count' class='fnname'>get_character_count</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code></span></h3><h3 id='tymethod.get_context' class='method'><span id='get_context.v' class='invisible'><code>fn <a href='#tymethod.get_context' class='fnname'>get_context</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../pango/struct.Context.html" title="struct pango::Context">Context</a>></code></span></h3><h3 id='tymethod.get_cursor_pos' class='method'><span id='get_cursor_pos.v' class='invisible'><code>fn <a href='#tymethod.get_cursor_pos' class='fnname'>get_cursor_pos</a>(&self, index_: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../pango/rectangle/struct.Rectangle.html" title="struct pango::rectangle::Rectangle">Rectangle</a>, <a class="struct" href="../pango/rectangle/struct.Rectangle.html" title="struct pango::rectangle::Rectangle">Rectangle</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code></span></h3><h3 id='tymethod.get_ellipsize' class='method'><span id='get_ellipsize.v' class='invisible'><code>fn <a href='#tymethod.get_ellipsize' class='fnname'>get_ellipsize</a>(&self) -> <a class="enum" href="../pango/enum.EllipsizeMode.html" title="enum pango::EllipsizeMode">EllipsizeMode</a></code></span></h3><h3 id='tymethod.get_extents' class='method'><span id='get_extents.v' class='invisible'><code>fn <a href='#tymethod.get_extents' class='fnname'>get_extents</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../pango/rectangle/struct.Rectangle.html" title="struct pango:
|
|||
|
<h2 id='implementors'>Implementors</h2>
|
|||
|
<ul class='item-list' id='implementors-list'>
|
|||
|
<li><code>impl<O: <a class="trait" href="../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a><<a class="struct" href="../pango/struct.Layout.html" title="struct pango::Layout">Layout</a>>> LayoutExt for O</code></li>
|
|||
|
</ul><script type="text/javascript" async
|
|||
|
src="../implementors/pango/trait.LayoutExt.js">
|
|||
|
</script></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>⇤</dt>
|
|||
|
<dd>Move up in search results</dd>
|
|||
|
<dt>⇥</dt>
|
|||
|
<dd>Move down in search results</dd>
|
|||
|
<dt>⏎</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>
|