2021-01-19 21:27:33 +03:00
<!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" >
2021-01-31 01:39:05 +03:00
< 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_dark_hotkey" > btn_solid_dark_hotkey< / 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_bytes" > btn_solid_light_icon_bytes< / a > < a href = "#method.btn_solid_light_icon_text" > btn_solid_light_icon_text< / a > < a h
< 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#8-206" 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> {
2021-01-23 08:27:47 +03:00
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> ;
2021-01-19 21:27:33 +03:00
< 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> ;
2021-01-20 04:58:08 +03:00
< 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> ;
2021-01-23 08:27:47 +03:00
< 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> ;
2021-01-23 08:35:37 +03:00
< div class = "item-spacer" > < / div > fn < a href = "#tymethod.btn_solid_dark_hotkey" class = "fnname" > btn_solid_dark_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> ;
2021-01-19 21:27:33 +03:00
2021-01-23 08:27:47 +03:00
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> { ... }
2021-01-31 01:39:05 +03:00
< div class = "item-spacer" > < / div > fn < a href = "#method.btn_solid_light_icon_bytes" class = "fnname" > btn_solid_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> { ... }
2021-01-23 08:27:47 +03:00
< 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> { ... }
2021-01-19 21:27:33 +03:00
< 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> { ... }
2021-01-21 20:23:09 +03:00
< 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> { ... }
2021-01-19 21:27:33 +03:00
< 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> { ... }
2021-01-23 08:22:32 +03:00
< 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> { ... }
2021-01-21 20:23:09 +03:00
< 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> { ... }
2021-01-20 04:58:08 +03:00
< 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> { ... }
2021-01-23 08:27:47 +03:00
< 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> { ... }
2021-01-22 02:44:33 +03:00
< 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> { ... }
2021-01-20 03:35:07 +03:00
< 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 > { ... }
2021-01-23 08:27:47 +03:00
}< / 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 >
2021-01-23 08:35:37 +03:00
< / div > < h3 id = "tymethod.btn_solid_dark_hotkey" class = "method" > < code > fn < a href = "#tymethod.btn_solid_dark_hotkey" class = "fnname" > btn_solid_dark_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 >
2021-01-31 01:39:05 +03:00
< / 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_bytes" class = "method" > < code > fn < a href = "#method.btn_solid_light_icon_bytes" class = "fnname" > btn_solid_light_icon_bytes< / a > (< br > & nbs
2021-01-23 08:27:47 +03:00
< / 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 >
2021-01-22 02:44:33 +03:00
< / 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,
2021-01-20 03:35:07 +03:00
usually after a title.< / p >
2021-01-31 01:39:05 +03:00
< / 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#210-254" title = "goto source code" > [src]< / a > < / h3 > < div class = "impl-items" > < 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#211-213" 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#215-217" 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#219-221" 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#223-225" 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#227-229" 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#231-233" 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#235-237" 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#239-241" 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 wi