mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-26 07:52:05 +03:00
63 lines
53 KiB
HTML
63 lines
53 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 `StyledButtons` trait in crate `widgetry`."><meta name="keywords" content="rust, rustlang, rust-lang, StyledButtons"><title>widgetry::StyledButtons - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../ayu.css" disabled ><script id="default-settings"></script><script src="../storage.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../favicon.svg">
|
||
<link rel="alternate icon" type="image/png" href="../favicon-16x16.png">
|
||
<link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></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"><div class="sidebar-menu">☰</div><a href='../widgetry/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><p class="location">Trait StyledButtons</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#required-methods">Required Methods</a><div class="sidebar-links"><a href="#tymethod.btn_outline_dark">btn_outline_dark</a><a href="#tymethod.btn_outline_destructive">btn_outline_destructive</a><a href="#tymethod.btn_outline_light">btn_outline_light</a><a href="#tymethod.btn_plain_dark">btn_plain_dark</a><a href="#tymethod.btn_plain_destructive">btn_plain_destructive</a><a href="#tymethod.btn_plain_light">btn_plain_light</a><a href="#tymethod.btn_solid_dark">btn_solid_dark</a><a href="#tymethod.btn_solid_destructive">btn_solid_destructive</a><a href="#tymethod.btn_solid_light">btn_solid_light</a><a href="#tymethod.btn_solid_light_hotkey">btn_solid_light_hotkey</a></div><a class="sidebar-title" href="#provided-methods">Provided Methods</a><div class="sidebar-links"><a href="#method.btn_close">btn_close</a><a href="#method.btn_close_widget">btn_close_widget</a><a href="#method.btn_dark_back">btn_dark_back</a><a href="#method.btn_light_back">btn_light_back</a><a href="#method.btn_next">btn_next</a><a href="#method.btn_outline_dark_dropdown">btn_outline_dark_dropdown</a><a href="#method.btn_outline_dark_icon">btn_outline_dark_icon</a><a href="#method.btn_outline_dark_icon_text">btn_outline_dark_icon_text</a><a href="#method.btn_outline_dark_popup">btn_outline_dark_popup</a><a href="#method.btn_outline_dark_text">btn_outline_dark_text</a><a href="#method.btn_outline_destructive_icon">btn_outline_destructive_icon</a><a href="#method.btn_outline_destructive_icon_text">btn_outline_destructive_icon_text</a><a href="#method.btn_outline_destructive_text">btn_outline_destructive_text</a><a href="#method.btn_outline_light_dropdown">btn_outline_light_dropdown</a><a href="#method.btn_outline_light_icon">btn_outline_light_icon</a><a href="#method.btn_outline_light_icon_text">btn_outline_light_icon_text</a><a href="#method.btn_outline_light_popup">btn_outline_light_popup</a><a href="#method.btn_outline_light_text">btn_outline_light_text</a><a href="#method.btn_plain_dark_icon">btn_plain_dark_icon</a><a href="#method.btn_plain_dark_icon_text">btn_plain_dark_icon_text</a><a href="#method.btn_plain_dark_text">btn_plain_dark_text</a><a href="#method.btn_plain_destructive_icon">btn_plain_destructive_icon</a><a href="#method.btn_plain_destructive_text">btn_plain_destructive_text</a><a href="#method.btn_plain_light_icon">btn_plain_light_icon</a><a href="#method.btn_plain_light_icon_bytes">btn_plain_light_icon_bytes</a><a href="#method.btn_plain_light_icon_text">btn_plain_light_icon_text</a><a href="#method.btn_plain_light_text">btn_plain_light_text</a><a href="#method.btn_prev">btn_prev</a><a href="#method.btn_solid_dark_dropdown">btn_solid_dark_dropdown</a><a href="#method.btn_solid_dark_icon">btn_solid_dark_icon</a><a href="#method.btn_solid_dark_icon_text">btn_solid_dark_icon_text</a><a href="#method.btn_solid_dark_text">btn_solid_dark_text</a><a href="#method.btn_solid_destructive_icon">btn_solid_destructive_icon</a><a href="#method.btn_solid_destructive_icon_text">btn_solid_destructive_icon_text</a><a href="#method.btn_solid_destructive_text">btn_solid_destructive_text</a><a href="#method.btn_solid_light_dropdown">btn_solid_light_dropdown</a><a href="#method.btn_solid_light_icon">btn_solid_light_icon</a><a href="#method.btn_solid_light_icon_text">btn_solid_light_icon_text</a><a href="#method.btn_solid_light_text">btn_solid_light_text</a></div><a class="sidebar-title" href="#implementors">Implementors</a></div><p class="location"><a href="index.html">widgetry</a></p><script>window.sidebarCurrent = {name: "StyledButtons", ty: "trait", relpath: ""};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><span class="help-button">?</span>
|
||
<a id="settings-menu" href="../settings.html"><img src="../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><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/widgetry/style/buttons.rs.html#6-200" title="goto source code">[src]</a></span><span class="in-band">Trait <a href="index.html">widgetry</a>::<wbr><a class="trait" href="">StyledButtons</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class="rust trait">pub trait StyledButtons<'a> {
|
||
fn <a href="#tymethod.btn_solid_dark" class="fnname">btn_solid_dark</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a>;
|
||
<div class="item-spacer"></div> fn <a href="#tymethod.btn_outline_dark" class="fnname">btn_outline_dark</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a>;
|
||
<div class="item-spacer"></div> fn <a href="#tymethod.btn_solid_light" class="fnname">btn_solid_light</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a>;
|
||
<div class="item-spacer"></div> fn <a href="#tymethod.btn_outline_light" class="fnname">btn_outline_light</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a>;
|
||
<div class="item-spacer"></div> fn <a href="#tymethod.btn_plain_dark" class="fnname">btn_plain_dark</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a>;
|
||
<div class="item-spacer"></div> fn <a href="#tymethod.btn_plain_light" class="fnname">btn_plain_light</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a>;
|
||
<div class="item-spacer"></div> fn <a href="#tymethod.btn_plain_destructive" class="fnname">btn_plain_destructive</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a>;
|
||
<div class="item-spacer"></div> fn <a href="#tymethod.btn_solid_destructive" class="fnname">btn_solid_destructive</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a>;
|
||
<div class="item-spacer"></div> fn <a href="#tymethod.btn_outline_destructive" class="fnname">btn_outline_destructive</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a>;
|
||
<div class="item-spacer"></div> fn <a href="#tymethod.btn_solid_light_hotkey" class="fnname">btn_solid_light_hotkey</a>(&self, label: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, key: <a class="enum" href="../widgetry/enum.Key.html" title="enum widgetry::Key">Key</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a>;
|
||
|
||
fn <a href="#method.btn_solid_dark_text" class="fnname">btn_solid_dark_text</a>(&self, text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_solid_dark_icon" class="fnname">btn_solid_dark_icon</a>(&self, image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_solid_dark_icon_text" class="fnname">btn_solid_dark_icon_text</a>(<br> &self, <br> image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br> ) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_outline_dark_text" class="fnname">btn_outline_dark_text</a>(&self, text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_outline_dark_icon" class="fnname">btn_outline_dark_icon</a>(&self, image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_outline_dark_icon_text" class="fnname">btn_outline_dark_icon_text</a>(<br> &self, <br> image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br> ) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_solid_light_text" class="fnname">btn_solid_light_text</a>(&self, text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_solid_light_icon" class="fnname">btn_solid_light_icon</a>(&self, image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_solid_light_icon_text" class="fnname">btn_solid_light_icon_text</a>(<br> &self, <br> image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br> ) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_outline_light_text" class="fnname">btn_outline_light_text</a>(&self, text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_outline_light_icon" class="fnname">btn_outline_light_icon</a>(&self, image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_outline_light_icon_text" class="fnname">btn_outline_light_icon_text</a>(<br> &self, <br> image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br> ) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_plain_dark_text" class="fnname">btn_plain_dark_text</a>(&self, text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_plain_dark_icon" class="fnname">btn_plain_dark_icon</a>(&self, image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_plain_dark_icon_text" class="fnname">btn_plain_dark_icon_text</a>(<br> &self, <br> image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br> ) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_plain_light_text" class="fnname">btn_plain_light_text</a>(&self, text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_plain_light_icon" class="fnname">btn_plain_light_icon</a>(&self, image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_plain_light_icon_bytes" class="fnname">btn_plain_light_icon_bytes</a>(<br> &self, <br> labeled_bytes: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&'a [</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a><br> ) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_plain_light_icon_text" class="fnname">btn_plain_light_icon_text</a>(<br> &self, <br> image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br> ) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_plain_destructive_text" class="fnname">btn_plain_destructive_text</a>(&self, text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_plain_destructive_icon" class="fnname">btn_plain_destructive_icon</a>(<br> &self, <br> image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br> ) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_solid_destructive_text" class="fnname">btn_solid_destructive_text</a>(&self, text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_solid_destructive_icon" class="fnname">btn_solid_destructive_icon</a>(<br> &self, <br> image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br> ) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_solid_destructive_icon_text" class="fnname">btn_solid_destructive_icon_text</a>(<br> &self, <br> image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br> ) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_outline_destructive_text" class="fnname">btn_outline_destructive_text</a>(&self, text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_outline_destructive_icon" class="fnname">btn_outline_destructive_icon</a>(<br> &self, <br> image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br> ) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_outline_destructive_icon_text" class="fnname">btn_outline_destructive_icon_text</a>(<br> &self, <br> image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br> ) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_light_back" class="fnname">btn_light_back</a>(&self, title: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_dark_back" class="fnname">btn_dark_back</a>(&self, title: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_solid_light_dropdown" class="fnname">btn_solid_light_dropdown</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_outline_light_dropdown" class="fnname">btn_outline_light_dropdown</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_solid_dark_dropdown" class="fnname">btn_solid_dark_dropdown</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_outline_dark_dropdown" class="fnname">btn_outline_dark_dropdown</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_outline_light_popup" class="fnname">btn_outline_light_popup</a>(&self, text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_outline_dark_popup" class="fnname">btn_outline_dark_popup</a>(&self, text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_next" class="fnname">btn_next</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_prev" class="fnname">btn_prev</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_close" class="fnname">btn_close</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a> { ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.btn_close_widget" class="fnname">btn_close_widget</a>(&self, ctx: &<a class="struct" href="../widgetry/struct.EventCtx.html" title="struct widgetry::EventCtx">EventCtx</a><'_>) -> <a class="struct" href="../widgetry/struct.Widget.html" title="struct widgetry::Widget">Widget</a> { ... }
|
||
}</pre></div><h2 id="required-methods" class="small-section-header">Required methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><h3 id="tymethod.btn_solid_dark" class="method"><code>fn <a href="#tymethod.btn_solid_dark" class="fnname">btn_solid_dark</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="tymethod.btn_outline_dark" class="method"><code>fn <a href="#tymethod.btn_outline_dark" class="fnname">btn_outline_dark</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="tymethod.btn_solid_light" class="method"><code>fn <a href="#tymethod.btn_solid_light" class="fnname">btn_solid_light</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="tymethod.btn_outline_light" class="method"><code>fn <a href="#tymethod.btn_outline_light" class="fnname">btn_outline_light</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="tymethod.btn_plain_dark" class="method"><code>fn <a href="#tymethod.btn_plain_dark" class="fnname">btn_plain_dark</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="tymethod.btn_plain_light" class="method"><code>fn <a href="#tymethod.btn_plain_light" class="fnname">btn_plain_light</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="tymethod.btn_plain_destructive" class="method"><code>fn <a href="#tymethod.btn_plain_destructive" class="fnname">btn_plain_destructive</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="tymethod.btn_solid_destructive" class="method"><code>fn <a href="#tymethod.btn_solid_destructive" class="fnname">btn_solid_destructive</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="tymethod.btn_outline_destructive" class="method"><code>fn <a href="#tymethod.btn_outline_destructive" class="fnname">btn_outline_destructive</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="tymethod.btn_solid_light_hotkey" class="method"><code>fn <a href="#tymethod.btn_solid_light_hotkey" class="fnname">btn_solid_light_hotkey</a>(&self, label: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, key: <a class="enum" href="../widgetry/enum.Key.html" title="enum widgetry::Key">Key</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><div class="docblock"><p>A button which renders its hotkey for discoverability along with its label.</p>
|
||
</div></div><span class="loading-content">Loading content...</span><h2 id="provided-methods" class="small-section-header">Provided methods<a href="#provided-methods" class="anchor"></a></h2><div class="methods"><h3 id="method.btn_solid_dark_text" class="method"><code>fn <a href="#method.btn_solid_dark_text" class="fnname">btn_solid_dark_text</a>(&self, text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_solid_dark_icon" class="method"><code>fn <a href="#method.btn_solid_dark_icon" class="fnname">btn_solid_dark_icon</a>(&self, image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_solid_dark_icon_text" class="method"><code>fn <a href="#method.btn_solid_dark_icon_text" class="fnname">btn_solid_dark_icon_text</a>(<br> &self, <br> image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_outline_dark_text" class="method"><code>fn <a href="#method.btn_outline_dark_text" class="fnname">btn_outline_dark_text</a>(&self, text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_outline_dark_icon" class="method"><code>fn <a href="#method.btn_outline_dark_icon" class="fnname">btn_outline_dark_icon</a>(&self, image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_outline_dark_icon_text" class="method"><code>fn <a href="#method.btn_outline_dark_icon_text" class="fnname">btn_outline_dark_icon_text</a>(<br> &self, <br> image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_solid_light_text" class="method"><code>fn <a href="#method.btn_solid_light_text" class="fnname">btn_solid_light_text</a>(&self, text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_solid_light_icon" class="method"><code>fn <a href="#method.btn_solid_light_icon" class="fnname">btn_solid_light_icon</a>(&self, image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_solid_light_icon_text" class="method"><code>fn <a href="#method.btn_solid_light_icon_text" class="fnname">btn_solid_light_icon_text</a>(<br> &self, <br> image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_outline_light_text" class="method"><code>fn <a href="#method.btn_outline_light_text" class="fnname">btn_outline_light_text</a>(&self, text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_outline_light_icon" class="method"><code>fn <a href="#method.btn_outline_light_icon" class="fnname">btn_outline_light_icon</a>(&self, image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_outline_light_icon_text" class="method"><code>fn <a href="#method.btn_outline_light_icon_text" class="fnname">btn_outline_light_icon_text</a>(<br> &self, <br> image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_plain_dark_text" class="method"><code>fn <a href="#method.btn_plain_dark_text" class="fnname">btn_plain_dark_text</a>(&self, text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_plain_dark_icon" class="method"><code>fn <a href="#method.btn_plain_dark_icon" class="fnname">btn_plain_dark_icon</a>(&self, image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_plain_dark_icon_text" class="method"><code>fn <a href="#method.btn_plain_dark_icon_text" class="fnname">btn_plain_dark_icon_text</a>(<br> &self, <br> image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_plain_light_text" class="method"><code>fn <a href="#method.btn_plain_light_text" class="fnname">btn_plain_light_text</a>(&self, text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_plain_light_icon" class="method"><code>fn <a href="#method.btn_plain_light_icon" class="fnname">btn_plain_light_icon</a>(&self, image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_plain_light_icon_bytes" class="method"><code>fn <a href="#method.btn_plain_light_icon_bytes" class="fnname">btn_plain_light_icon_bytes</a>(<br> &self, <br> labeled_bytes: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&'a [</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a><br>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_plain_light_icon_text" class="method"><code>fn <a href="#method.btn_plain_light_icon_text" class="fnname">btn_plain_light_icon_text</a>(<br> &self, <br> image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_plain_destructive_text" class="method"><code>fn <a href="#method.btn_plain_destructive_text" class="fnname">btn_plain_destructive_text</a>(&self, text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_plain_destructive_icon" class="method"><code>fn <a href="#method.btn_plain_destructive_icon" class="fnname">btn_plain_destructive_icon</a>(&self, image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_solid_destructive_text" class="method"><code>fn <a href="#method.btn_solid_destructive_text" class="fnname">btn_solid_destructive_text</a>(&self, text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_solid_destructive_icon" class="method"><code>fn <a href="#method.btn_solid_destructive_icon" class="fnname">btn_solid_destructive_icon</a>(&self, image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_solid_destructive_icon_text" class="method"><code>fn <a href="#method.btn_solid_destructive_icon_text" class="fnname">btn_solid_destructive_icon_text</a>(<br> &self, <br> image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_outline_destructive_text" class="method"><code>fn <a href="#method.btn_outline_destructive_text" class="fnname">btn_outline_destructive_text</a>(&self, text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_outline_destructive_icon" class="method"><code>fn <a href="#method.btn_outline_destructive_icon" class="fnname">btn_outline_destructive_icon</a>(&self, image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_outline_destructive_icon_text" class="method"><code>fn <a href="#method.btn_outline_destructive_icon_text" class="fnname">btn_outline_destructive_icon_text</a>(<br> &self, <br> image_path: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_light_back" class="method"><code>fn <a href="#method.btn_light_back" class="fnname">btn_light_back</a>(&self, title: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><div class="docblock"><p>title: name of previous screen, which you'll return to</p>
|
||
</div><h3 id="method.btn_dark_back" class="method"><code>fn <a href="#method.btn_dark_back" class="fnname">btn_dark_back</a>(&self, title: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><div class="docblock"><p>title: name of previous screen, which you'll return to</p>
|
||
</div><h3 id="method.btn_solid_light_dropdown" class="method"><code>fn <a href="#method.btn_solid_light_dropdown" class="fnname">btn_solid_light_dropdown</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_outline_light_dropdown" class="method"><code>fn <a href="#method.btn_outline_light_dropdown" class="fnname">btn_outline_light_dropdown</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_solid_dark_dropdown" class="method"><code>fn <a href="#method.btn_solid_dark_dropdown" class="fnname">btn_solid_dark_dropdown</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_outline_dark_dropdown" class="method"><code>fn <a href="#method.btn_outline_dark_dropdown" class="fnname">btn_outline_dark_dropdown</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_outline_light_popup" class="method"><code>fn <a href="#method.btn_outline_light_popup" class="fnname">btn_outline_light_popup</a>(&self, text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_outline_dark_popup" class="method"><code>fn <a href="#method.btn_outline_dark_popup" class="fnname">btn_outline_dark_popup</a>(&self, text: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><h3 id="method.btn_next" class="method"><code>fn <a href="#method.btn_next" class="fnname">btn_next</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><div class="docblock"><p>A right facing caret, like ">", suitable for paging to the "next" set of results</p>
|
||
</div><h3 id="method.btn_prev" class="method"><code>fn <a href="#method.btn_prev" class="fnname">btn_prev</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><div class="docblock"><p>A left facing caret, like "<", suitable for paging to the "next" set of results</p>
|
||
</div><h3 id="method.btn_close" class="method"><code>fn <a href="#method.btn_close" class="fnname">btn_close</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code></h3><div class="docblock"><p>An "X" button to close the current state. Bound to the escape key.</p>
|
||
</div><h3 id="method.btn_close_widget" class="method"><code>fn <a href="#method.btn_close_widget" class="fnname">btn_close_widget</a>(&self, ctx: &<a class="struct" href="../widgetry/struct.EventCtx.html" title="struct widgetry::EventCtx">EventCtx</a><'_>) -> <a class="struct" href="../widgetry/struct.Widget.html" title="struct widgetry::Widget">Widget</a></code></h3><div class="docblock"><p>An "X" button to close the current state. Bound to the escape key and aligned to the right,
|
||
usually after a title.</p>
|
||
</div></div><span class="loading-content">Loading content...</span><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><h3 id="impl-StyledButtons%3C%27a%3E" class="impl"><code class="in-band">impl<'a> StyledButtons<'a> for <a class="struct" href="../widgetry/struct.Style.html" title="struct widgetry::Style">Style</a></code><a href="#impl-StyledButtons%3C%27a%3E" class="anchor"></a><a class="srclink" href="../src/widgetry/style/buttons.rs.html#203-273" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.btn_solid_light_hotkey" class="method hidden"><code>fn <a href="#method.btn_solid_light_hotkey" class="fnname">btn_solid_light_hotkey</a>(&self, label: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, key: <a class="enum" href="../widgetry/enum.Key.html" title="enum widgetry::Key">Key</a>) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code><a class="srclink" href="../src/widgetry/style/buttons.rs.html#204-227" title="goto source code">[src]</a></h4><h4 id="method.btn_solid_dark" class="method hidden"><code>fn <a href="#method.btn_solid_dark" class="fnname">btn_solid_dark</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code><a class="srclink" href="../src/widgetry/style/buttons.rs.html#229-232" title="goto source code">[src]</a></h4><h4 id="method.btn_outline_dark" class="method hidden"><code>fn <a href="#method.btn_outline_dark" class="fnname">btn_outline_dark</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code><a class="srclink" href="../src/widgetry/style/buttons.rs.html#234-237" title="goto source code">[src]</a></h4><h4 id="method.btn_plain_dark" class="method hidden"><code>fn <a href="#method.btn_plain_dark" class="fnname">btn_plain_dark</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code><a class="srclink" href="../src/widgetry/style/buttons.rs.html#239-242" title="goto source code">[src]</a></h4><h4 id="method.btn_solid_light" class="method hidden"><code>fn <a href="#method.btn_solid_light" class="fnname">btn_solid_light</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code><a class="srclink" href="../src/widgetry/style/buttons.rs.html#244-247" title="goto source code">[src]</a></h4><h4 id="method.btn_outline_light" class="method hidden"><code>fn <a href="#method.btn_outline_light" class="fnname">btn_outline_light</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code><a class="srclink" href="../src/widgetry/style/buttons.rs.html#249-252" title="goto source code">[src]</a></h4><h4 id="method.btn_plain_light" class="method hidden"><code>fn <a href="#method.btn_plain_light" class="fnname">btn_plain_light</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code><a class="srclink" href="../src/widgetry/style/buttons.rs.html#254-257" title="goto source code">[src]</a></h4><h4 id="method.btn_plain_destructive" class="method hidden"><code>fn <a href="#method.btn_plain_destructive" class="fnname">btn_plain_destructive</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code><a class="srclink" href="../src/widgetry/style/buttons.rs.html#259-262" title="goto source code">[src]</a></h4><h4 id="method.btn_solid_destructive" class="method hidden"><code>fn <a href="#method.btn_solid_destructive" class="fnname">btn_solid_destructive</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code><a class="srclink" href="../src/widgetry/style/buttons.rs.html#264-267" title="goto source code">[src]</a></h4><h4 id="method.btn_outline_destructive" class="method hidden"><code>fn <a href="#method.btn_outline_destructive" class="fnname">btn_outline_destructive</a>(&self) -> <a class="struct" href="../widgetry/struct.ButtonBuilder.html" title="struct widgetry::ButtonBuilder">ButtonBuilder</a><'a></code><a class="srclink" href="../src/widgetry/style/buttons.rs.html#269-272" title="goto source code">[src]</a></h4></div></div><span class="loading-content">Loading content...</span><script type="text/javascript" src="../implementors/widgetry/trait.StyledButtons.js" async></script></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../";window.currentCrate = "widgetry";</script><script src="../main.js"></script><script defer src="../search-index.js"></script></body></html> |