pub struct PrimitiveScalar<T> where
T: NativeType, { /* private fields */ }
Expand description
Implementations
sourceimpl<T> PrimitiveScalar<T> where
T: NativeType,
impl<T> PrimitiveScalar<T> where
T: NativeType,
sourcepub fn new(data_type: DataType, value: Option<T>) -> PrimitiveScalar<T>
pub fn new(data_type: DataType, value: Option<T>) -> PrimitiveScalar<T>
Returns a new PrimitiveScalar
.
Trait Implementations
sourceimpl<T> Clone for PrimitiveScalar<T> where
T: Clone + NativeType,
impl<T> Clone for PrimitiveScalar<T> where
T: Clone + NativeType,
sourcefn clone(&self) -> PrimitiveScalar<T>
fn clone(&self) -> PrimitiveScalar<T>
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<T> Debug for PrimitiveScalar<T> where
T: Debug + NativeType,
impl<T> Debug for PrimitiveScalar<T> where
T: Debug + NativeType,
sourceimpl<T> From<Option<T>> for PrimitiveScalar<T> where
T: NativeType,
impl<T> From<Option<T>> for PrimitiveScalar<T> where
T: NativeType,
sourcefn from(v: Option<T>) -> PrimitiveScalar<T>
fn from(v: Option<T>) -> PrimitiveScalar<T>
Performs the conversion.
sourceimpl<T> PartialEq<PrimitiveScalar<T>> for PrimitiveScalar<T> where
T: PartialEq<T> + NativeType,
impl<T> PartialEq<PrimitiveScalar<T>> for PrimitiveScalar<T> where
T: PartialEq<T> + NativeType,
sourcefn eq(&self, other: &PrimitiveScalar<T>) -> bool
fn eq(&self, other: &PrimitiveScalar<T>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PrimitiveScalar<T>) -> bool
fn ne(&self, other: &PrimitiveScalar<T>) -> bool
This method tests for !=
.
sourceimpl<T> Scalar for PrimitiveScalar<T> where
T: NativeType,
impl<T> Scalar for PrimitiveScalar<T> where
T: NativeType,
impl<T> StructuralPartialEq for PrimitiveScalar<T> where
T: NativeType,
Auto Trait Implementations
impl<T> RefUnwindSafe for PrimitiveScalar<T> where
T: RefUnwindSafe,
impl<T> Send for PrimitiveScalar<T>
impl<T> Sync for PrimitiveScalar<T>
impl<T> Unpin for PrimitiveScalar<T> where
T: Unpin,
impl<T> UnwindSafe for PrimitiveScalar<T> where
T: UnwindSafe,
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