pub struct PlainTermArrayBuilder { /* private fields */ }Expand description
Provides a convenient API for building a PlainTermArray from its components.
Implementations§
Source§impl PlainTermArrayBuilder
impl PlainTermArrayBuilder
pub fn new( term_types: Arc<dyn Array>, values: Arc<dyn Array>, ) -> PlainTermArrayBuilder
pub fn with_data_types( self, data_types: Arc<dyn Array>, ) -> PlainTermArrayBuilder
pub fn finish(self) -> PlainTermArray
Auto Trait Implementations§
impl Freeze for PlainTermArrayBuilder
impl !RefUnwindSafe for PlainTermArrayBuilder
impl Send for PlainTermArrayBuilder
impl Sync for PlainTermArrayBuilder
impl Unpin for PlainTermArrayBuilder
impl !UnwindSafe for PlainTermArrayBuilder
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> 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