deploy: 95756b1a57
This commit is contained in:
commit
0fa87f2b35
16382 changed files with 734838 additions and 0 deletions
78
cosmic/widget/segmented_button/enum.InsertPosition.html
Normal file
78
cosmic/widget/segmented_button/enum.InsertPosition.html
Normal file
File diff suppressed because one or more lines are too long
2
cosmic/widget/segmented_button/fn.focus.html
Normal file
2
cosmic/widget/segmented_button/fn.focus.html
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
<!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="A command that focuses a segmented item stored in a widget."><title>focus in cosmic::widget::segmented_button - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>segmented_<wbr>button</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">segmented_button</a></div><h1>Function <span class="fn">focus</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/cosmic/widget/segmented_button/widget.rs.html#49-51">Source</a> </span></div><pre class="rust item-decl"><code>pub fn focus<Message: 'static>(id: <a class="struct" href="struct.Id.html" title="struct cosmic::widget::segmented_button::Id">Id</a>) -> <a class="struct" href="../../struct.Task.html" title="struct cosmic::Task">Task</a><Message></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A command that focuses a segmented item stored in a widget.</p>
|
||||
</div></details></section></div></main></body></html>
|
||||
6
cosmic/widget/segmented_button/fn.horizontal.html
Normal file
6
cosmic/widget/segmented_button/fn.horizontal.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="Horizontal implementation of the `SegmentedButton`."><title>horizontal in cosmic::widget::segmented_button - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>segmented_<wbr>button</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">segmented_button</a></div><h1>Function <span class="fn">horizontal</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/cosmic/widget/segmented_button/horizontal.rs.html#24-31">Source</a> </span></div><pre class="rust item-decl"><code>pub fn horizontal<SelectionMode: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>, Message>(
|
||||
model: &<a class="struct" href="struct.Model.html" title="struct cosmic::widget::segmented_button::Model">Model</a><SelectionMode>,
|
||||
) -> <a class="struct" href="struct.SegmentedButton.html" title="struct cosmic::widget::segmented_button::SegmentedButton">SegmentedButton</a><'_, Horizontal, SelectionMode, Message><div class="where">where
|
||||
<a class="struct" href="struct.Model.html" title="struct cosmic::widget::segmented_button::Model">Model</a><SelectionMode>: <a class="trait" href="trait.Selectable.html" title="trait cosmic::widget::segmented_button::Selectable">Selectable</a>,</div></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Horizontal implementation of the <a href="struct.SegmentedButton.html" title="struct cosmic::widget::segmented_button::SegmentedButton"><code>SegmentedButton</code></a>.</p>
|
||||
<p>For details on the model, see the <a href="index.html" title="mod cosmic::widget::segmented_button"><code>segmented_button</code></a> module for more details.</p>
|
||||
</div></details></section></div></main></body></html>
|
||||
7
cosmic/widget/segmented_button/fn.vertical.html
Normal file
7
cosmic/widget/segmented_button/fn.vertical.html
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<!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="Vertical implementation of the `SegmentedButton`."><title>vertical in cosmic::widget::segmented_button - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>segmented_<wbr>button</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">segmented_button</a></div><h1>Function <span class="fn">vertical</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/cosmic/widget/segmented_button/vertical.rs.html#23-31">Source</a> </span></div><pre class="rust item-decl"><code>pub fn vertical<SelectionMode, Message>(
|
||||
model: &<a class="struct" href="struct.Model.html" title="struct cosmic::widget::segmented_button::Model">Model</a><SelectionMode>,
|
||||
) -> <a class="struct" href="struct.SegmentedButton.html" title="struct cosmic::widget::segmented_button::SegmentedButton">SegmentedButton</a><'_, Vertical, SelectionMode, Message><div class="where">where
|
||||
<a class="struct" href="struct.Model.html" title="struct cosmic::widget::segmented_button::Model">Model</a><SelectionMode>: <a class="trait" href="trait.Selectable.html" title="trait cosmic::widget::segmented_button::Selectable">Selectable</a>,
|
||||
SelectionMode: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>,</div></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Vertical implementation of the <a href="struct.SegmentedButton.html" title="struct cosmic::widget::segmented_button::SegmentedButton"><code>SegmentedButton</code></a>.</p>
|
||||
<p>For details on the model, see the <a href="index.html" title="mod cosmic::widget::segmented_button"><code>segmented_button</code></a> module for more details.</p>
|
||||
</div></details></section></div></main></body></html>
|
||||
11
cosmic/widget/segmented_button/horizontal/fn.horizontal.html
Normal file
11
cosmic/widget/segmented_button/horizontal/fn.horizontal.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/segmented_button/fn.horizontal.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../../cosmic/widget/segmented_button/fn.horizontal.html">../../../../cosmic/widget/segmented_button/fn.horizontal.html</a>...</p>
|
||||
<script>location.replace("../../../../cosmic/widget/segmented_button/fn.horizontal.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/segmented_button/type.HorizontalSegmentedButton.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../../cosmic/widget/segmented_button/type.HorizontalSegmentedButton.html">../../../../cosmic/widget/segmented_button/type.HorizontalSegmentedButton.html</a>...</p>
|
||||
<script>location.replace("../../../../cosmic/widget/segmented_button/type.HorizontalSegmentedButton.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
||||
56
cosmic/widget/segmented_button/index.html
Normal file
56
cosmic/widget/segmented_button/index.html
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../../../cosmic/widget/segmented_button/struct.BuilderEntity.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../../../cosmic/widget/segmented_button/struct.BuilderEntity.html">../../../../../cosmic/widget/segmented_button/struct.BuilderEntity.html</a>...</p>
|
||||
<script>location.replace("../../../../../cosmic/widget/segmented_button/struct.BuilderEntity.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../../../cosmic/widget/segmented_button/struct.ModelBuilder.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../../../cosmic/widget/segmented_button/struct.ModelBuilder.html">../../../../../cosmic/widget/segmented_button/struct.ModelBuilder.html</a>...</p>
|
||||
<script>location.replace("../../../../../cosmic/widget/segmented_button/struct.ModelBuilder.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../../../cosmic/widget/segmented_button/struct.EntityMut.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../../../cosmic/widget/segmented_button/struct.EntityMut.html">../../../../../cosmic/widget/segmented_button/struct.EntityMut.html</a>...</p>
|
||||
<script>location.replace("../../../../../cosmic/widget/segmented_button/struct.EntityMut.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../../../cosmic/widget/segmented_button/struct.MultiSelect.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../../../cosmic/widget/segmented_button/struct.MultiSelect.html">../../../../../cosmic/widget/segmented_button/struct.MultiSelect.html</a>...</p>
|
||||
<script>location.replace("../../../../../cosmic/widget/segmented_button/struct.MultiSelect.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../../../cosmic/widget/segmented_button/struct.SingleSelect.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../../../cosmic/widget/segmented_button/struct.SingleSelect.html">../../../../../cosmic/widget/segmented_button/struct.SingleSelect.html</a>...</p>
|
||||
<script>location.replace("../../../../../cosmic/widget/segmented_button/struct.SingleSelect.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../../../cosmic/widget/segmented_button/trait.Selectable.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../../../cosmic/widget/segmented_button/trait.Selectable.html">../../../../../cosmic/widget/segmented_button/trait.Selectable.html</a>...</p>
|
||||
<script>location.replace("../../../../../cosmic/widget/segmented_button/trait.Selectable.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
||||
11
cosmic/widget/segmented_button/model/struct.Entity.html
Normal file
11
cosmic/widget/segmented_button/model/struct.Entity.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/segmented_button/struct.Entity.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../../cosmic/widget/segmented_button/struct.Entity.html">../../../../cosmic/widget/segmented_button/struct.Entity.html</a>...</p>
|
||||
<script>location.replace("../../../../cosmic/widget/segmented_button/struct.Entity.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
||||
11
cosmic/widget/segmented_button/model/struct.Model.html
Normal file
11
cosmic/widget/segmented_button/model/struct.Model.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/segmented_button/struct.Model.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../../cosmic/widget/segmented_button/struct.Model.html">../../../../cosmic/widget/segmented_button/struct.Model.html</a>...</p>
|
||||
<script>location.replace("../../../../cosmic/widget/segmented_button/struct.Model.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/segmented_button/type.MultiSelectEntityMut.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../../cosmic/widget/segmented_button/type.MultiSelectEntityMut.html">../../../../cosmic/widget/segmented_button/type.MultiSelectEntityMut.html</a>...</p>
|
||||
<script>location.replace("../../../../cosmic/widget/segmented_button/type.MultiSelectEntityMut.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/segmented_button/type.MultiSelectModel.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../../cosmic/widget/segmented_button/type.MultiSelectModel.html">../../../../cosmic/widget/segmented_button/type.MultiSelectModel.html</a>...</p>
|
||||
<script>location.replace("../../../../cosmic/widget/segmented_button/type.MultiSelectModel.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/segmented_button/type.SingleSelectEntityMut.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../../cosmic/widget/segmented_button/type.SingleSelectEntityMut.html">../../../../cosmic/widget/segmented_button/type.SingleSelectEntityMut.html</a>...</p>
|
||||
<script>location.replace("../../../../cosmic/widget/segmented_button/type.SingleSelectEntityMut.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/segmented_button/type.SingleSelectModel.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../../cosmic/widget/segmented_button/type.SingleSelectModel.html">../../../../cosmic/widget/segmented_button/type.SingleSelectModel.html</a>...</p>
|
||||
<script>location.replace("../../../../cosmic/widget/segmented_button/type.SingleSelectModel.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
||||
1
cosmic/widget/segmented_button/sidebar-items.js
Normal file
1
cosmic/widget/segmented_button/sidebar-items.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
window.SIDEBAR_ITEMS = {"enum":["InsertPosition"],"fn":["focus","horizontal","vertical"],"struct":["Appearance","BuilderEntity","Entity","EntityMut","Id","ItemAppearance","ItemStatusAppearance","Model","ModelBuilder","MultiSelect","ReorderEvent","SegmentedButton","SingleSelect"],"trait":["SegmentedVariant","Selectable","StyleSheet"],"type":["HorizontalSegmentedButton","MultiSelectEntityMut","MultiSelectModel","SecondaryMap","SingleSelectEntityMut","SingleSelectModel","SparseSecondaryMap","VerticalSegmentedButton"]};
|
||||
77
cosmic/widget/segmented_button/struct.Appearance.html
Normal file
77
cosmic/widget/segmented_button/struct.Appearance.html
Normal file
File diff suppressed because one or more lines are too long
95
cosmic/widget/segmented_button/struct.BuilderEntity.html
Normal file
95
cosmic/widget/segmented_button/struct.BuilderEntity.html
Normal file
File diff suppressed because one or more lines are too long
91
cosmic/widget/segmented_button/struct.Entity.html
Normal file
91
cosmic/widget/segmented_button/struct.Entity.html
Normal file
File diff suppressed because one or more lines are too long
98
cosmic/widget/segmented_button/struct.EntityMut.html
Normal file
98
cosmic/widget/segmented_button/struct.EntityMut.html
Normal file
File diff suppressed because one or more lines are too long
73
cosmic/widget/segmented_button/struct.Id.html
Normal file
73
cosmic/widget/segmented_button/struct.Id.html
Normal file
File diff suppressed because one or more lines are too long
71
cosmic/widget/segmented_button/struct.ItemAppearance.html
Normal file
71
cosmic/widget/segmented_button/struct.ItemAppearance.html
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
189
cosmic/widget/segmented_button/struct.Model.html
Normal file
189
cosmic/widget/segmented_button/struct.Model.html
Normal file
File diff suppressed because one or more lines are too long
69
cosmic/widget/segmented_button/struct.ModelBuilder.html
Normal file
69
cosmic/widget/segmented_button/struct.ModelBuilder.html
Normal file
File diff suppressed because one or more lines are too long
69
cosmic/widget/segmented_button/struct.MultiSelect.html
Normal file
69
cosmic/widget/segmented_button/struct.MultiSelect.html
Normal file
File diff suppressed because one or more lines are too long
79
cosmic/widget/segmented_button/struct.ReorderEvent.html
Normal file
79
cosmic/widget/segmented_button/struct.ReorderEvent.html
Normal file
File diff suppressed because one or more lines are too long
215
cosmic/widget/segmented_button/struct.SegmentedButton.html
Normal file
215
cosmic/widget/segmented_button/struct.SegmentedButton.html
Normal file
File diff suppressed because one or more lines are too long
69
cosmic/widget/segmented_button/struct.SingleSelect.html
Normal file
69
cosmic/widget/segmented_button/struct.SingleSelect.html
Normal file
File diff suppressed because one or more lines are too long
11
cosmic/widget/segmented_button/style/struct.Appearance.html
Normal file
11
cosmic/widget/segmented_button/style/struct.Appearance.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/segmented_button/struct.Appearance.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../../cosmic/widget/segmented_button/struct.Appearance.html">../../../../cosmic/widget/segmented_button/struct.Appearance.html</a>...</p>
|
||||
<script>location.replace("../../../../cosmic/widget/segmented_button/struct.Appearance.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/segmented_button/struct.ItemAppearance.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../../cosmic/widget/segmented_button/struct.ItemAppearance.html">../../../../cosmic/widget/segmented_button/struct.ItemAppearance.html</a>...</p>
|
||||
<script>location.replace("../../../../cosmic/widget/segmented_button/struct.ItemAppearance.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/segmented_button/struct.ItemStatusAppearance.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../../cosmic/widget/segmented_button/struct.ItemStatusAppearance.html">../../../../cosmic/widget/segmented_button/struct.ItemStatusAppearance.html</a>...</p>
|
||||
<script>location.replace("../../../../cosmic/widget/segmented_button/struct.ItemStatusAppearance.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
||||
11
cosmic/widget/segmented_button/style/trait.StyleSheet.html
Normal file
11
cosmic/widget/segmented_button/style/trait.StyleSheet.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/segmented_button/trait.StyleSheet.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../../cosmic/widget/segmented_button/trait.StyleSheet.html">../../../../cosmic/widget/segmented_button/trait.StyleSheet.html</a>...</p>
|
||||
<script>location.replace("../../../../cosmic/widget/segmented_button/trait.StyleSheet.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
||||
34
cosmic/widget/segmented_button/trait.SegmentedVariant.html
Normal file
34
cosmic/widget/segmented_button/trait.SegmentedVariant.html
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
<!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="Isolates variant-specific behaviors from `SegmentedButton`."><title>SegmentedVariant in cosmic::widget::segmented_button - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Segmented<wbr>Variant</a></h2><h3><a href="#required-associated-consts">Required Associated Constants</a></h3><ul class="block"><li><a href="#associatedconstant.VERTICAL" title="VERTICAL">VERTICAL</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.variant_appearance" title="variant_appearance">variant_appearance</a></li><li><a href="#tymethod.variant_bounds" title="variant_bounds">variant_bounds</a></li><li><a href="#tymethod.variant_layout" title="variant_layout">variant_layout</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>segmented_<wbr>button</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">segmented_button</a></div><h1>Trait <span class="trait">SegmentedVariant</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/cosmic/widget/segmented_button/widget.rs.html#80-103">Source</a> </span></div><pre class="rust item-decl"><code>pub trait SegmentedVariant {
|
||||
const <a href="#associatedconstant.VERTICAL" class="constant">VERTICAL</a>: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
||||
|
||||
// Required methods
|
||||
fn <a href="#tymethod.variant_appearance" class="fn">variant_appearance</a>(theme: &<a class="struct" href="../../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, style: &<a class="enum" href="../../style/enum.SegmentedButton.html" title="enum cosmic::style::SegmentedButton">SegmentedButton</a>) -> <a class="struct" href="struct.Appearance.html" title="struct cosmic::widget::segmented_button::Appearance">Appearance</a>;
|
||||
<span class="item-spacer"></span> fn <a href="#tymethod.variant_bounds" class="fn">variant_bounds</a><'b>(
|
||||
&'b self,
|
||||
state: &'b LocalState,
|
||||
bounds: <a class="struct" href="../../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||||
) -> <a class="struct" href="../../cctk/sctk/reexports/client/backend/smallvec/alloc/boxed/struct.Box.html" title="struct cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = ItemBounds> + 'b>;
|
||||
<span class="item-spacer"></span> fn <a href="#tymethod.variant_layout" class="fn">variant_layout</a>(
|
||||
&self,
|
||||
state: &mut LocalState,
|
||||
renderer: &<a class="type" href="../../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||||
limits: &<a class="struct" href="../../iced/struct.Limits.html" title="struct cosmic::iced::Limits">Limits</a>,
|
||||
) -> <a class="struct" href="../../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a>;
|
||||
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Isolates variant-specific behaviors from <a href="struct.SegmentedButton.html" title="struct cosmic::widget::segmented_button::SegmentedButton"><code>SegmentedButton</code></a>.</p>
|
||||
</div></details><h2 id="required-associated-consts" class="section-header">Required Associated Constants<a href="#required-associated-consts" class="anchor">§</a></h2><div class="methods"><section id="associatedconstant.VERTICAL" class="method"><a class="src rightside" href="../../../src/cosmic/widget/segmented_button/widget.rs.html#81">Source</a><h4 class="code-header">const <a href="#associatedconstant.VERTICAL" class="constant">VERTICAL</a>: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></div><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.variant_appearance" class="method"><a class="src rightside" href="../../../src/cosmic/widget/segmented_button/widget.rs.html#84-87">Source</a><h4 class="code-header">fn <a href="#tymethod.variant_appearance" class="fn">variant_appearance</a>(theme: &<a class="struct" href="../../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, style: &<a class="enum" href="../../style/enum.SegmentedButton.html" title="enum cosmic::style::SegmentedButton">SegmentedButton</a>) -> <a class="struct" href="struct.Appearance.html" title="struct cosmic::widget::segmented_button::Appearance">Appearance</a></h4></section></summary><div class="docblock"><p>Get the appearance for this variant of the widget.</p>
|
||||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.variant_bounds" class="method"><a class="src rightside" href="../../../src/cosmic/widget/segmented_button/widget.rs.html#90-94">Source</a><h4 class="code-header">fn <a href="#tymethod.variant_bounds" class="fn">variant_bounds</a><'b>(
|
||||
&'b self,
|
||||
state: &'b LocalState,
|
||||
bounds: <a class="struct" href="../../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||||
) -> <a class="struct" href="../../cctk/sctk/reexports/client/backend/smallvec/alloc/boxed/struct.Box.html" title="struct cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = ItemBounds> + 'b></h4></section></summary><div class="docblock"><p>Calculates the bounds for visible buttons.</p>
|
||||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.variant_layout" class="method"><a class="src rightside" href="../../../src/cosmic/widget/segmented_button/widget.rs.html#97-102">Source</a><h4 class="code-header">fn <a href="#tymethod.variant_layout" class="fn">variant_layout</a>(
|
||||
&self,
|
||||
state: &mut LocalState,
|
||||
renderer: &<a class="type" href="../../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||||
limits: &<a class="struct" href="../../iced/struct.Limits.html" title="struct cosmic::iced::Limits">Limits</a>,
|
||||
) -> <a class="struct" href="../../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a></h4></section></summary><div class="docblock"><p>Calculates the layout of this variant.</p>
|
||||
</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-SegmentedVariant-for-SegmentedButton%3C'_,+Horizontal,+SelectionMode,+Message%3E" class="impl"><a class="src rightside" href="../../../src/cosmic/widget/segmented_button/horizontal.rs.html#33-230">Source</a><a href="#impl-SegmentedVariant-for-SegmentedButton%3C'_,+Horizontal,+SelectionMode,+Message%3E" class="anchor">§</a><h3 class="code-header">impl<SelectionMode, Message> <a class="trait" href="trait.SegmentedVariant.html" title="trait cosmic::widget::segmented_button::SegmentedVariant">SegmentedVariant</a> for <a class="struct" href="struct.SegmentedButton.html" title="struct cosmic::widget::segmented_button::SegmentedButton">SegmentedButton</a><'_, Horizontal, SelectionMode, Message><div class="where">where
|
||||
<a class="struct" href="struct.Model.html" title="struct cosmic::widget::segmented_button::Model">Model</a><SelectionMode>: <a class="trait" href="trait.Selectable.html" title="trait cosmic::widget::segmented_button::Selectable">Selectable</a>,
|
||||
SelectionMode: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedconstant.VERTICAL-1" class="associatedconstant trait-impl"><a class="src rightside" href="../../../src/cosmic/widget/segmented_button/horizontal.rs.html#39">Source</a><a href="#associatedconstant.VERTICAL-1" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.VERTICAL" class="constant">VERTICAL</a>: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a> = false</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-SegmentedVariant-for-SegmentedButton%3C'_,+Vertical,+SelectionMode,+Message%3E" class="impl"><a class="src rightside" href="../../../src/cosmic/widget/segmented_button/vertical.rs.html#33-131">Source</a><a href="#impl-SegmentedVariant-for-SegmentedButton%3C'_,+Vertical,+SelectionMode,+Message%3E" class="anchor">§</a><h3 class="code-header">impl<SelectionMode, Message> <a class="trait" href="trait.SegmentedVariant.html" title="trait cosmic::widget::segmented_button::SegmentedVariant">SegmentedVariant</a> for <a class="struct" href="struct.SegmentedButton.html" title="struct cosmic::widget::segmented_button::SegmentedButton">SegmentedButton</a><'_, Vertical, SelectionMode, Message><div class="where">where
|
||||
<a class="struct" href="struct.Model.html" title="struct cosmic::widget::segmented_button::Model">Model</a><SelectionMode>: <a class="trait" href="trait.Selectable.html" title="trait cosmic::widget::segmented_button::Selectable">Selectable</a>,
|
||||
SelectionMode: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedconstant.VERTICAL-2" class="associatedconstant trait-impl"><a class="src rightside" href="../../../src/cosmic/widget/segmented_button/vertical.rs.html#39">Source</a><a href="#associatedconstant.VERTICAL-2" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.VERTICAL" class="constant">VERTICAL</a>: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a> = true</h4></section></div></details></div><script src="../../../trait.impl/cosmic/widget/segmented_button/widget/trait.SegmentedVariant.js" async></script></section></div></main></body></html>
|
||||
10
cosmic/widget/segmented_button/trait.Selectable.html
Normal file
10
cosmic/widget/segmented_button/trait.Selectable.html
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<!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="Describes a type that has selectable items."><title>Selectable in cosmic::widget::segmented_button - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Selectable</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.activate" title="activate">activate</a></li><li><a href="#tymethod.deactivate" title="deactivate">deactivate</a></li><li><a href="#tymethod.is_active" title="is_active">is_active</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>segmented_<wbr>button</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">segmented_button</a></div><h1>Trait <span class="trait">Selectable</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/cosmic/widget/segmented_button/model/selection.rs.html#10-19">Source</a> </span></div><pre class="rust item-decl"><code>pub trait Selectable {
|
||||
// Required methods
|
||||
fn <a href="#tymethod.activate" class="fn">activate</a>(&mut self, id: <a class="struct" href="struct.Entity.html" title="struct cosmic::widget::segmented_button::Entity">Entity</a>);
|
||||
<span class="item-spacer"></span> fn <a href="#tymethod.deactivate" class="fn">deactivate</a>(&mut self, id: <a class="struct" href="struct.Entity.html" title="struct cosmic::widget::segmented_button::Entity">Entity</a>);
|
||||
<span class="item-spacer"></span> fn <a href="#tymethod.is_active" class="fn">is_active</a>(&self, id: <a class="struct" href="struct.Entity.html" title="struct cosmic::widget::segmented_button::Entity">Entity</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
||||
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Describes a type that has selectable items.</p>
|
||||
</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.activate" class="method"><a class="src rightside" href="../../../src/cosmic/widget/segmented_button/model/selection.rs.html#12">Source</a><h4 class="code-header">fn <a href="#tymethod.activate" class="fn">activate</a>(&mut self, id: <a class="struct" href="struct.Entity.html" title="struct cosmic::widget::segmented_button::Entity">Entity</a>)</h4></section></summary><div class="docblock"><p>Activate an item.</p>
|
||||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.deactivate" class="method"><a class="src rightside" href="../../../src/cosmic/widget/segmented_button/model/selection.rs.html#15">Source</a><h4 class="code-header">fn <a href="#tymethod.deactivate" class="fn">deactivate</a>(&mut self, id: <a class="struct" href="struct.Entity.html" title="struct cosmic::widget::segmented_button::Entity">Entity</a>)</h4></section></summary><div class="docblock"><p>Deactivate an item.</p>
|
||||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.is_active" class="method"><a class="src rightside" href="../../../src/cosmic/widget/segmented_button/model/selection.rs.html#18">Source</a><h4 class="code-header">fn <a href="#tymethod.is_active" class="fn">is_active</a>(&self, id: <a class="struct" href="struct.Entity.html" title="struct cosmic::widget::segmented_button::Entity">Entity</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Checks if the item is active.</p>
|
||||
</div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Selectable-for-Model%3CMultiSelect%3E" class="impl"><a class="src rightside" href="../../../src/cosmic/widget/segmented_button/model/selection.rs.html#83-103">Source</a><a href="#impl-Selectable-for-Model%3CMultiSelect%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Selectable.html" title="trait cosmic::widget::segmented_button::Selectable">Selectable</a> for <a class="struct" href="struct.Model.html" title="struct cosmic::widget::segmented_button::Model">Model</a><<a class="struct" href="struct.MultiSelect.html" title="struct cosmic::widget::segmented_button::MultiSelect">MultiSelect</a>></h3></section><section id="impl-Selectable-for-Model%3CSingleSelect%3E" class="impl"><a class="src rightside" href="../../../src/cosmic/widget/segmented_button/model/selection.rs.html#27-46">Source</a><a href="#impl-Selectable-for-Model%3CSingleSelect%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Selectable.html" title="trait cosmic::widget::segmented_button::Selectable">Selectable</a> for <a class="struct" href="struct.Model.html" title="struct cosmic::widget::segmented_button::Model">Model</a><<a class="struct" href="struct.SingleSelect.html" title="struct cosmic::widget::segmented_button::SingleSelect">SingleSelect</a>></h3></section></div><script src="../../../trait.impl/cosmic/widget/segmented_button/model/selection/trait.Selectable.js" async></script></section></div></main></body></html>
|
||||
11
cosmic/widget/segmented_button/trait.StyleSheet.html
Normal file
11
cosmic/widget/segmented_button/trait.StyleSheet.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<!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="Defines the `Appearance` of a segmented button."><title>StyleSheet in cosmic::widget::segmented_button - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Style<wbr>Sheet</a></h2><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.Style" title="Style">Style</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.horizontal" title="horizontal">horizontal</a></li><li><a href="#tymethod.vertical" title="vertical">vertical</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>segmented_<wbr>button</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">segmented_button</a></div><h1>Trait <span class="trait">StyleSheet</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/cosmic/widget/segmented_button/style.rs.html#36-45">Source</a> </span></div><pre class="rust item-decl"><code>pub trait StyleSheet {
|
||||
type <a href="#associatedtype.Style" class="associatedtype">Style</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>;
|
||||
|
||||
// Required methods
|
||||
fn <a href="#tymethod.horizontal" class="fn">horizontal</a>(&self, style: &Self::<a class="associatedtype" href="trait.StyleSheet.html#associatedtype.Style" title="type cosmic::widget::segmented_button::StyleSheet::Style">Style</a>) -> <a class="struct" href="struct.Appearance.html" title="struct cosmic::widget::segmented_button::Appearance">Appearance</a>;
|
||||
<span class="item-spacer"></span> fn <a href="#tymethod.vertical" class="fn">vertical</a>(&self, style: &Self::<a class="associatedtype" href="trait.StyleSheet.html#associatedtype.Style" title="type cosmic::widget::segmented_button::StyleSheet::Style">Style</a>) -> <a class="struct" href="struct.Appearance.html" title="struct cosmic::widget::segmented_button::Appearance">Appearance</a>;
|
||||
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Defines the <a href="struct.Appearance.html" title="struct cosmic::widget::segmented_button::Appearance"><code>Appearance</code></a> of a segmented button.</p>
|
||||
</div></details><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><details class="toggle" open><summary><section id="associatedtype.Style" class="method"><a class="src rightside" href="../../../src/cosmic/widget/segmented_button/style.rs.html#38">Source</a><h4 class="code-header">type <a href="#associatedtype.Style" class="associatedtype">Style</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a></h4></section></summary><div class="docblock"><p>The supported style of the <a href="trait.StyleSheet.html" title="trait cosmic::widget::segmented_button::StyleSheet"><code>StyleSheet</code></a>.</p>
|
||||
</div></details></div><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.horizontal" class="method"><a class="src rightside" href="../../../src/cosmic/widget/segmented_button/style.rs.html#41">Source</a><h4 class="code-header">fn <a href="#tymethod.horizontal" class="fn">horizontal</a>(&self, style: &Self::<a class="associatedtype" href="trait.StyleSheet.html#associatedtype.Style" title="type cosmic::widget::segmented_button::StyleSheet::Style">Style</a>) -> <a class="struct" href="struct.Appearance.html" title="struct cosmic::widget::segmented_button::Appearance">Appearance</a></h4></section></summary><div class="docblock"><p>The horizontal <a href="struct.Appearance.html" title="struct cosmic::widget::segmented_button::Appearance"><code>Appearance</code></a> of the segmented button.</p>
|
||||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.vertical" class="method"><a class="src rightside" href="../../../src/cosmic/widget/segmented_button/style.rs.html#44">Source</a><h4 class="code-header">fn <a href="#tymethod.vertical" class="fn">vertical</a>(&self, style: &Self::<a class="associatedtype" href="trait.StyleSheet.html#associatedtype.Style" title="type cosmic::widget::segmented_button::StyleSheet::Style">Style</a>) -> <a class="struct" href="struct.Appearance.html" title="struct cosmic::widget::segmented_button::Appearance">Appearance</a></h4></section></summary><div class="docblock"><p>The vertical <a href="struct.Appearance.html" title="struct cosmic::widget::segmented_button::Appearance"><code>Appearance</code></a> of the segmented button.</p>
|
||||
</div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-StyleSheet-for-Theme" class="impl"><a class="src rightside" href="../../../src/cosmic/theme/style/segmented_button.rs.html#27-139">Source</a><a href="#impl-StyleSheet-for-Theme" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.StyleSheet.html" title="trait cosmic::widget::segmented_button::StyleSheet">StyleSheet</a> for <a class="struct" href="../../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Style-1" class="associatedtype trait-impl"><a class="src rightside" href="../../../src/cosmic/theme/style/segmented_button.rs.html#28">Source</a><a href="#associatedtype.Style-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Style" class="associatedtype">Style</a> = <a class="enum" href="../../style/enum.SegmentedButton.html" title="enum cosmic::style::SegmentedButton">SegmentedButton</a></h4></section></div></details></div><script src="../../../trait.impl/cosmic/widget/segmented_button/style/trait.StyleSheet.js" async></script></section></div></main></body></html>
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
<!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="Horizontal `SegmentedButton`."><title>HorizontalSegmentedButton in cosmic::widget::segmented_button - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.svg"></head><body class="rustdoc type"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Horizontal<wbr>Segmented<wbr>Button</a></h2><h3><a href="#aliased-type">Aliased Type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>segmented_<wbr>button</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">segmented_button</a></div><h1>Type Alias <span class="type">HorizontalSegmentedButton</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/cosmic/widget/segmented_button/horizontal.rs.html#15-16">Source</a> </span></div><pre class="rust item-decl"><code>pub type HorizontalSegmentedButton<'a, SelectionMode, Message> = <a class="struct" href="struct.SegmentedButton.html" title="struct cosmic::widget::segmented_button::SegmentedButton">SegmentedButton</a><'a, Horizontal, SelectionMode, Message>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Horizontal <a href="struct.SegmentedButton.html" title="struct cosmic::widget::segmented_button::SegmentedButton"><code>SegmentedButton</code></a>.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>pub struct HorizontalSegmentedButton<'a, SelectionMode, Message> { <span class="comment">/* private fields */</span> }</code></pre><script src="../../../type.impl/cosmic/widget/segmented_button/struct.SegmentedButton.js" data-self-path="cosmic::widget::segmented_button::horizontal::HorizontalSegmentedButton" async></script></section></div></main></body></html>
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
<!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="Multi-select variant of an `EntityMut`."><title>MultiSelectEntityMut in cosmic::widget::segmented_button - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.svg"></head><body class="rustdoc type"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Multi<wbr>Select<wbr>Entity<wbr>Mut</a></h2><h3><a href="#aliased-type">Aliased Type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>segmented_<wbr>button</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">segmented_button</a></div><h1>Type Alias <span class="type">MultiSelectEntityMut</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/cosmic/widget/segmented_button/model/mod.rs.html#50">Source</a> </span></div><pre class="rust item-decl"><code>pub type MultiSelectEntityMut<'a> = <a class="struct" href="struct.EntityMut.html" title="struct cosmic::widget::segmented_button::EntityMut">EntityMut</a><'a, <a class="struct" href="struct.MultiSelect.html" title="struct cosmic::widget::segmented_button::MultiSelect">MultiSelect</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Multi-select variant of an <a href="struct.EntityMut.html" title="struct cosmic::widget::segmented_button::EntityMut"><code>EntityMut</code></a>.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>pub struct MultiSelectEntityMut<'a> { <span class="comment">/* private fields */</span> }</code></pre><script src="../../../type.impl/cosmic/widget/segmented_button/struct.EntityMut.js" data-self-path="cosmic::widget::segmented_button::model::MultiSelectEntityMut" async></script></section></div></main></body></html>
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
<!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="A model for multi-select button selection."><title>MultiSelectModel in cosmic::widget::segmented_button - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.svg"></head><body class="rustdoc type"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Multi<wbr>Select<wbr>Model</a></h2><h3><a href="#aliased-type">Aliased Type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>segmented_<wbr>button</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">segmented_button</a></div><h1>Type Alias <span class="type">MultiSelectModel</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/cosmic/widget/segmented_button/model/mod.rs.html#47">Source</a> </span></div><pre class="rust item-decl"><code>pub type MultiSelectModel = <a class="struct" href="struct.Model.html" title="struct cosmic::widget::segmented_button::Model">Model</a><<a class="struct" href="struct.MultiSelect.html" title="struct cosmic::widget::segmented_button::MultiSelect">MultiSelect</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A model for multi-select button selection.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>pub struct MultiSelectModel { <span class="comment">/* private fields */</span> }</code></pre><script src="../../../type.impl/cosmic/widget/segmented_button/struct.Model.js" data-self-path="cosmic::widget::segmented_button::model::MultiSelectModel" async></script></section></div></main></body></html>
|
||||
3
cosmic/widget/segmented_button/type.SecondaryMap.html
Normal file
3
cosmic/widget/segmented_button/type.SecondaryMap.html
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<!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="Associates extra data with an external secondary map."><title>SecondaryMap in cosmic::widget::segmented_button - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.svg"></head><body class="rustdoc type"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Secondary<wbr>Map</a></h2><h3><a href="#aliased-type">Aliased Type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>segmented_<wbr>button</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">segmented_button</a></div><h1>Type Alias <span class="type">SecondaryMap</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/cosmic/widget/segmented_button/mod.rs.html#107">Source</a> </span></div><pre class="rust item-decl"><code>pub type SecondaryMap<T> = <a class="struct" href="https://docs.rs/slotmap/1.1.1/slotmap/secondary/struct.SecondaryMap.html" title="struct slotmap::secondary::SecondaryMap">SecondaryMap</a><<a class="struct" href="struct.Entity.html" title="struct cosmic::widget::segmented_button::Entity">Entity</a>, T>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Associates extra data with an external secondary map.</p>
|
||||
<p>The secondary map internally uses a <code>Vec</code>, so should only be used for data that</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>pub struct SecondaryMap<T> { <span class="comment">/* private fields */</span> }</code></pre><script src="../../../type.impl/slotmap/secondary/struct.SecondaryMap.js" data-self-path="cosmic::widget::segmented_button::SecondaryMap" async></script></section></div></main></body></html>
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
<!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="Single-select variant of an `EntityMut`."><title>SingleSelectEntityMut in cosmic::widget::segmented_button - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.svg"></head><body class="rustdoc type"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Single<wbr>Select<wbr>Entity<wbr>Mut</a></h2><h3><a href="#aliased-type">Aliased Type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>segmented_<wbr>button</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">segmented_button</a></div><h1>Type Alias <span class="type">SingleSelectEntityMut</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/cosmic/widget/segmented_button/model/mod.rs.html#44">Source</a> </span></div><pre class="rust item-decl"><code>pub type SingleSelectEntityMut<'a> = <a class="struct" href="struct.EntityMut.html" title="struct cosmic::widget::segmented_button::EntityMut">EntityMut</a><'a, <a class="struct" href="struct.SingleSelect.html" title="struct cosmic::widget::segmented_button::SingleSelect">SingleSelect</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Single-select variant of an <a href="struct.EntityMut.html" title="struct cosmic::widget::segmented_button::EntityMut"><code>EntityMut</code></a>.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>pub struct SingleSelectEntityMut<'a> { <span class="comment">/* private fields */</span> }</code></pre><script src="../../../type.impl/cosmic/widget/segmented_button/struct.EntityMut.js" data-self-path="cosmic::widget::segmented_button::model::SingleSelectEntityMut" async></script></section></div></main></body></html>
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
<!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="A model for single-select button selection."><title>SingleSelectModel in cosmic::widget::segmented_button - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.svg"></head><body class="rustdoc type"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Single<wbr>Select<wbr>Model</a></h2><h3><a href="#aliased-type">Aliased Type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>segmented_<wbr>button</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">segmented_button</a></div><h1>Type Alias <span class="type">SingleSelectModel</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/cosmic/widget/segmented_button/model/mod.rs.html#41">Source</a> </span></div><pre class="rust item-decl"><code>pub type SingleSelectModel = <a class="struct" href="struct.Model.html" title="struct cosmic::widget::segmented_button::Model">Model</a><<a class="struct" href="struct.SingleSelect.html" title="struct cosmic::widget::segmented_button::SingleSelect">SingleSelect</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A model for single-select button selection.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>pub struct SingleSelectModel { <span class="comment">/* private fields */</span> }</code></pre><script src="../../../type.impl/cosmic/widget/segmented_button/struct.Model.js" data-self-path="cosmic::widget::segmented_button::model::SingleSelectModel" async></script></section></div></main></body></html>
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
<!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="Associates extra data with an external sparse secondary map."><title>SparseSecondaryMap in cosmic::widget::segmented_button - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.svg"></head><body class="rustdoc type"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Sparse<wbr>Secondary<wbr>Map</a></h2><h3><a href="#aliased-type">Aliased Type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>segmented_<wbr>button</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">segmented_button</a></div><h1>Type Alias <span class="type">SparseSecondaryMap</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/cosmic/widget/segmented_button/mod.rs.html#112">Source</a> </span></div><pre class="rust item-decl"><code>pub type SparseSecondaryMap<T> = <a class="struct" href="https://docs.rs/slotmap/1.1.1/slotmap/sparse_secondary/struct.SparseSecondaryMap.html" title="struct slotmap::sparse_secondary::SparseSecondaryMap">SparseSecondaryMap</a><<a class="struct" href="struct.Entity.html" title="struct cosmic::widget::segmented_button::Entity">Entity</a>, T>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Associates extra data with an external sparse secondary map.</p>
|
||||
<p>Sparse maps internally use a <code>HashMap</code>, for data that is sparsely associated.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>pub struct SparseSecondaryMap<T> { <span class="comment">/* private fields */</span> }</code></pre><script src="../../../type.impl/slotmap/sparse_secondary/struct.SparseSecondaryMap.js" data-self-path="cosmic::widget::segmented_button::SparseSecondaryMap" async></script></section></div></main></body></html>
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
<!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="Vertical `SegmentedButton`."><title>VerticalSegmentedButton in cosmic::widget::segmented_button - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.svg"></head><body class="rustdoc type"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Vertical<wbr>Segmented<wbr>Button</a></h2><h3><a href="#aliased-type">Aliased Type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>segmented_<wbr>button</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">segmented_button</a></div><h1>Type Alias <span class="type">VerticalSegmentedButton</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/cosmic/widget/segmented_button/vertical.rs.html#17-18">Source</a> </span></div><pre class="rust item-decl"><code>pub type VerticalSegmentedButton<'a, SelectionMode, Message> = <a class="struct" href="struct.SegmentedButton.html" title="struct cosmic::widget::segmented_button::SegmentedButton">SegmentedButton</a><'a, Vertical, SelectionMode, Message>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Vertical <a href="struct.SegmentedButton.html" title="struct cosmic::widget::segmented_button::SegmentedButton"><code>SegmentedButton</code></a>.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>pub struct VerticalSegmentedButton<'a, SelectionMode, Message> { <span class="comment">/* private fields */</span> }</code></pre><script src="../../../type.impl/cosmic/widget/segmented_button/struct.SegmentedButton.js" data-self-path="cosmic::widget::segmented_button::vertical::VerticalSegmentedButton" async></script></section></div></main></body></html>
|
||||
11
cosmic/widget/segmented_button/vertical/fn.vertical.html
Normal file
11
cosmic/widget/segmented_button/vertical/fn.vertical.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/segmented_button/fn.vertical.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../../cosmic/widget/segmented_button/fn.vertical.html">../../../../cosmic/widget/segmented_button/fn.vertical.html</a>...</p>
|
||||
<script>location.replace("../../../../cosmic/widget/segmented_button/fn.vertical.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/segmented_button/type.VerticalSegmentedButton.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../../cosmic/widget/segmented_button/type.VerticalSegmentedButton.html">../../../../cosmic/widget/segmented_button/type.VerticalSegmentedButton.html</a>...</p>
|
||||
<script>location.replace("../../../../cosmic/widget/segmented_button/type.VerticalSegmentedButton.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
||||
11
cosmic/widget/segmented_button/widget/fn.focus.html
Normal file
11
cosmic/widget/segmented_button/widget/fn.focus.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/segmented_button/fn.focus.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../../cosmic/widget/segmented_button/fn.focus.html">../../../../cosmic/widget/segmented_button/fn.focus.html</a>...</p>
|
||||
<script>location.replace("../../../../cosmic/widget/segmented_button/fn.focus.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
||||
11
cosmic/widget/segmented_button/widget/struct.Id.html
Normal file
11
cosmic/widget/segmented_button/widget/struct.Id.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/segmented_button/struct.Id.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../../cosmic/widget/segmented_button/struct.Id.html">../../../../cosmic/widget/segmented_button/struct.Id.html</a>...</p>
|
||||
<script>location.replace("../../../../cosmic/widget/segmented_button/struct.Id.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/segmented_button/struct.SegmentedButton.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../../cosmic/widget/segmented_button/struct.SegmentedButton.html">../../../../cosmic/widget/segmented_button/struct.SegmentedButton.html</a>...</p>
|
||||
<script>location.replace("../../../../cosmic/widget/segmented_button/struct.SegmentedButton.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/segmented_button/trait.SegmentedVariant.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../../cosmic/widget/segmented_button/trait.SegmentedVariant.html">../../../../cosmic/widget/segmented_button/trait.SegmentedVariant.html</a>...</p>
|
||||
<script>location.replace("../../../../cosmic/widget/segmented_button/trait.SegmentedVariant.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue