MCPcopy Create free account
hub / github.com/DioxusLabs/dioxus-components / from

Method from

primitives/src/checkbox.rs:38–40  ·  view source on GitHub ↗
(value: CheckboxState)

Source from the content-addressed store, hash-verified

36
37impl From<CheckboxState> for bool {
38 fn from(value: CheckboxState) -> Self {
39 !matches!(value, CheckboxState::Unchecked)
40 }
41}
42
43impl Not for CheckboxState {

Callers 2

testArrowKeyNavigationFunction · 0.45

Calls

no outgoing calls

Tested by 1

testArrowKeyNavigationFunction · 0.36