struct BooleanAdapter {
pub native: Option<bool>,
}
Expand description
An optional boolean value
This struct is used as an adapter when creating BooleanArray
from an iterator.
FromIterator
for BooleanArray
takes an iterator where the elements can be into
this struct. So once implementing From
or Into
trait for a type, an iterator of
the type can be collected to BooleanArray
.
See also NativeAdapter.
Fields§
§native: Option<bool>
Corresponding Rust native type if available
Trait Implementations§
Source§impl Debug for BooleanAdapter
impl Debug for BooleanAdapter
Source§impl From<&bool> for BooleanAdapter
impl From<&bool> for BooleanAdapter
Auto Trait Implementations§
impl Freeze for BooleanAdapter
impl RefUnwindSafe for BooleanAdapter
impl Send for BooleanAdapter
impl Sync for BooleanAdapter
impl Unpin for BooleanAdapter
impl UnwindSafe for BooleanAdapter
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