pub struct BooleanScalar { /* private fields */ }
Expand description
The Scalar
implementation of a boolean.
Implementations
sourceimpl BooleanScalar
impl BooleanScalar
sourcepub fn new(value: Option<bool>) -> BooleanScalar
pub fn new(value: Option<bool>) -> BooleanScalar
Returns a new BooleanScalar
Trait Implementations
sourceimpl Clone for BooleanScalar
impl Clone for BooleanScalar
sourcefn clone(&self) -> BooleanScalar
fn clone(&self) -> BooleanScalar
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BooleanScalar
impl Debug for BooleanScalar
sourceimpl From<Option<bool>> for BooleanScalar
impl From<Option<bool>> for BooleanScalar
sourcefn from(v: Option<bool>) -> BooleanScalar
fn from(v: Option<bool>) -> BooleanScalar
Performs the conversion.
sourceimpl PartialEq<BooleanScalar> for BooleanScalar
impl PartialEq<BooleanScalar> for BooleanScalar
sourcefn eq(&self, other: &BooleanScalar) -> bool
fn eq(&self, other: &BooleanScalar) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BooleanScalar) -> bool
fn ne(&self, other: &BooleanScalar) -> bool
This method tests for !=
.
sourceimpl Scalar for BooleanScalar
impl Scalar for BooleanScalar
impl StructuralPartialEq for BooleanScalar
Auto Trait Implementations
impl RefUnwindSafe for BooleanScalar
impl Send for BooleanScalar
impl Sync for BooleanScalar
impl Unpin for BooleanScalar
impl UnwindSafe for BooleanScalar
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more