Struct interoptopus::patterns::primitives::FFIBool
source ยท pub struct FFIBool { /* private fields */ }
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ยง
sourceยงimpl PartialEq for FFIBool
impl PartialEq for FFIBool
impl Copy for FFIBool
impl StructuralPartialEq for FFIBool
Auto Trait Implementationsยง
impl RefUnwindSafe for FFIBool
impl Send for FFIBool
impl Sync for FFIBool
impl Unpin for FFIBool
impl UnwindSafe for FFIBool
Blanket Implementationsยง
sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more