main
tag: v0.1.0
tag: v0.10.0
tag: v0.11.0
tag: v0.12.0
tag: v0.13.0
tag: v0.14.0
tag: v0.15.0
tag: v0.16.0
tag: v0.17.0
tag: v0.18.0
tag: v0.19.0
tag: v0.19.1
tag: v0.2.0
tag: v0.21.0
tag: v0.22.0
tag: v0.23.0
tag: v0.24.0
tag: v0.25.0
tag: v0.26.0
tag: v0.26.1
tag: v0.27.0
tag: v0.27.1
tag: v0.27.3
tag: v0.27.5
tag: v0.28.0
tag: v0.28.1
tag: v0.28.2
tag: v0.29.1
tag: v0.3.0
tag: v0.31.0
tag: v0.32.0
tag: v0.33.0
tag: v0.35.0
tag: v0.36.0
tag: v0.37.0
tag: v0.38.0
tag: v0.39.0
tag: v0.4.0
tag: v0.40.0
tag: v0.41.0
tag: v0.41.1
tag: v0.41.2
tag: v0.42.0
tag: v0.43.0
tag: v0.44.0
tag: v0.44.2
tag: v0.5.0
tag: v0.6.0
tag: v0.6.1
tag: v0.7.0
tag: v0.8.0
tag: v0.8.2
tag: v0.9.0
Files
Commits
Tags
Notes
Issues
Stop saying a control's state can be focus
Left behind by 0.19.0, which removed the variant. `Act::state`'s own doc
still opened with focus as one of the things it holds, which is the one
place a reader looks to find out what the member means.
Co-Authored-By
Claude Opus 5 (1M context) <noreply@anthropic.com>
2 files changed,
+7 insertions,
-5 deletions
1
1
[package]
2
2
name = "makeover-layout"
3
-
version = "0.19.0"
3
+
version = "0.19.1"
4
4
edition = "2024"
5
5
# One copy of this vocabulary per dependency graph, enforced by cargo rather
6
6
# than by remembering. Two versions of a description layer in one build means
1200
1200
pub key: Option<&'a str>,
1201
1201
/// What pressing it means. [`Tone::Danger`] is the destructive one.
1202
1202
pub tone: Tone,
1203
-
/// Focus, disabled, or neither.
1203
+
/// Disabled, or nothing said.
1204
1204
///
1205
-
/// [`State::Disabled`] is the one that changes what a renderer may do:
1206
-
/// see [`State::suppresses_interaction`], which is what says a disabled
1207
-
/// control is drawn and not reachable.
1205
+
/// [`State::Disabled`] is what changes what a renderer may do: see
1206
+
/// [`State::suppresses_interaction`], which is what says a disabled control
1207
+
/// is drawn and not reachable. It has been the only member since 0.19.0,
1208
+
/// and a control's focus is not sayable here at all — see the crate header,
1209
+
/// "Reach, focus and the focus ring".
1208
1210
pub state: Option<State>,
1209
1211
}
1210
1212