Trait pyo3::pyclass::boolean_struct::private::Boolean

source ·
pub trait Boolean {
    const VALUE: bool;
}
Expand description

A way to “seal” the boolean traits.

Required Associated Constants§

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Boolean for False

source§

const VALUE: bool = false

source§

impl Boolean for True

source§

const VALUE: bool = true

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here