Struct interoptopus::patterns::primitives::FFIBool [−][src]
#[repr(transparent)]pub struct FFIBool { /* fields omitted */ }
Expand description
A single-byte boolean value where 1
means true
, and 0
is false
.
Other values (2
..= 255
) will also map to false
(!) and FFIBool::is_strange
will
signal true
, but no undefined behavior will be triggered.
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for FFIBool
impl UnwindSafe for FFIBool
Blanket Implementations
Mutably borrows from an owned value. Read more