Struct arrow2::scalar::PrimitiveScalar
source · pub struct PrimitiveScalar<T: NativeType> { /* private fields */ }
Expand description
Implementations§
source§impl<T: NativeType> PrimitiveScalar<T>
impl<T: NativeType> PrimitiveScalar<T>
sourcepub fn new(data_type: DataType, value: Option<T>) -> Self
pub fn new(data_type: DataType, value: Option<T>) -> Self
Returns a new PrimitiveScalar
.
Trait Implementations§
source§impl<T: Clone + NativeType> Clone for PrimitiveScalar<T>
impl<T: Clone + NativeType> Clone for PrimitiveScalar<T>
source§fn clone(&self) -> PrimitiveScalar<T>
fn clone(&self) -> PrimitiveScalar<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<T: Debug + NativeType> Debug for PrimitiveScalar<T>
impl<T: Debug + NativeType> Debug for PrimitiveScalar<T>
source§impl<T: NativeType> From<Option<T>> for PrimitiveScalar<T>
impl<T: NativeType> From<Option<T>> for PrimitiveScalar<T>
source§impl<T: PartialEq + NativeType> PartialEq for PrimitiveScalar<T>
impl<T: PartialEq + NativeType> PartialEq for PrimitiveScalar<T>
source§fn 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 ==
.source§impl<T: NativeType> Scalar for PrimitiveScalar<T>
impl<T: NativeType> Scalar for PrimitiveScalar<T>
impl<T: Eq + NativeType> Eq for PrimitiveScalar<T>
impl<T: NativeType> StructuralPartialEq for PrimitiveScalar<T>
Auto Trait Implementations§
impl<T> Freeze for PrimitiveScalar<T>where
T: Freeze,
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§
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