Struct polars_arrow::scalar::Utf8Scalar
source · pub struct Utf8Scalar<O: Offset> { /* private fields */ }
Expand description
The implementation of Scalar
for utf8, semantically equivalent to Option<String>
.
Implementations§
Trait Implementations§
source§impl<O: Clone + Offset> Clone for Utf8Scalar<O>
impl<O: Clone + Offset> Clone for Utf8Scalar<O>
source§fn clone(&self) -> Utf8Scalar<O>
fn clone(&self) -> Utf8Scalar<O>
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<O: PartialEq + Offset> PartialEq for Utf8Scalar<O>
impl<O: PartialEq + Offset> PartialEq for Utf8Scalar<O>
source§fn eq(&self, other: &Utf8Scalar<O>) -> bool
fn eq(&self, other: &Utf8Scalar<O>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<O: Offset> Scalar for Utf8Scalar<O>
impl<O: Offset> Scalar for Utf8Scalar<O>
impl<O: Eq + Offset> Eq for Utf8Scalar<O>
impl<O: Offset> StructuralPartialEq for Utf8Scalar<O>
Auto Trait Implementations§
impl<O> Freeze for Utf8Scalar<O>
impl<O> RefUnwindSafe for Utf8Scalar<O>
impl<O> Send for Utf8Scalar<O>
impl<O> Sync for Utf8Scalar<O>
impl<O> Unpin for Utf8Scalar<O>where
O: Unpin,
impl<O> UnwindSafe for Utf8Scalar<O>where
O: 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more