pub struct StringTermArray { /* private fields */ }Implementations§
Source§impl StringTermArray
impl StringTermArray
Sourcepub fn new_unchecked(inner: ArrayRef) -> Self
pub fn new_unchecked(inner: ArrayRef) -> Self
Creates a new StringTermArray without validating the invariants.
Sourcepub fn new_null(number_rows: usize) -> Self
pub fn new_null(number_rows: usize) -> Self
Creates a new StringTermArray with number_rows null values.
Sourcepub fn as_plain_term_array(&self) -> AResult<PlainTermArray>
pub fn as_plain_term_array(&self) -> AResult<PlainTermArray>
Returns the plain term representation of this array.
Trait Implementations§
Source§impl Clone for StringTermArray
impl Clone for StringTermArray
Source§impl Debug for StringTermArray
impl Debug for StringTermArray
Source§impl EncodingArray for StringTermArray
impl EncodingArray for StringTermArray
Source§type Encoding = StringEncoding
type Encoding = StringEncoding
The encoding used by this array.
Source§fn into_array_ref(self) -> ArrayRef
fn into_array_ref(self) -> ArrayRef
Consumes
self and returns the inner array.Source§fn try_as_scalar(
&self,
index: usize,
) -> DFResult<<Self::Encoding as TermEncoding>::Scalar>
fn try_as_scalar( &self, index: usize, ) -> DFResult<<Self::Encoding as TermEncoding>::Scalar>
Extracts a scalar from this array at
quad_table. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for StringTermArray
impl !UnwindSafe for StringTermArray
impl Freeze for StringTermArray
impl Send for StringTermArray
impl Sync for StringTermArray
impl Unpin for StringTermArray
impl UnsafeUnpin for StringTermArray
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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