pyo3
0.23.0-dev
Boolean
Required Associated Constants
VALUE
Object Safety
Implementors
In pyo3::
pyclass::
boolean_
struct::
private
Trait
pyo3
::
pyclass
::
boolean_struct
::
private
::
Boolean
Copy item path
source
·
[
−
]
pub trait Boolean { const
VALUE
:
bool
; }
Expand description
A way to “seal” the boolean traits.
Required Associated Constants
§
source
const
VALUE
:
bool
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