Struct polars_core::chunked_array::builder::Utf8ChunkedBuilder [−][src]
pub struct Utf8ChunkedBuilder { pub builder: LargeStringBuilder, pub capacity: usize, // some fields omitted }
Fields
builder: LargeStringBuilder
capacity: usize
Implementations
impl Utf8ChunkedBuilder
[src]
impl Utf8ChunkedBuilder
[src]pub fn new(name: &str, capacity: usize, bytes_capacity: usize) -> Self
[src]
pub fn new(name: &str, capacity: usize, bytes_capacity: usize) -> Self
[src]Create a new UtfChunkedBuilder
Arguments
capacity
- Number of string elements in the final array.bytes_capacity
- Number of bytes needed to store the string values.
pub fn append_value<S: AsRef<str>>(&mut self, v: S)
[src]
pub fn append_value<S: AsRef<str>>(&mut self, v: S)
[src]Appends a value of type T
into the builder
pub fn append_null(&mut self)
[src]
pub fn append_null(&mut self)
[src]Appends a null slot into the builder
pub fn append_option<S: AsRef<str>>(&mut self, opt: Option<S>)
[src]
pub fn finish(self) -> Utf8Chunked
[src]
Auto Trait Implementations
impl RefUnwindSafe for Utf8ChunkedBuilder
impl Send for Utf8ChunkedBuilder
impl Sync for Utf8ChunkedBuilder
impl Unpin for Utf8ChunkedBuilder
impl UnwindSafe for Utf8ChunkedBuilder
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T, U> Cast<U> for T where
U: FromCast<T>,
impl<T, U> Cast<U> for T where
U: FromCast<T>,
pub fn cast(self) -> U
pub fn cast(self) -> U
Numeric cast from self
to T
.
impl<T> FromCast<T> for T
impl<T> FromCast<T> for T
pub fn from_cast(t: T) -> T
pub fn from_cast(t: T) -> T
Numeric cast from T
to Self
.
impl<T> Pointable for T
impl<T> Pointable for T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,