Struct polars_core::chunked_array::builder::Utf8ChunkedBuilder[][src]

pub struct Utf8ChunkedBuilder {
    pub builder: LargeStringBuilder,
    pub capacity: usize,
    // some fields omitted
}

Fields

builder: LargeStringBuildercapacity: usize

Implementations

impl Utf8ChunkedBuilder[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]

Appends a value of type T into the builder

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

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> Cast<U> for T where
    U: FromCast<T>, 

impl<T> From<T> for T[src]

impl<T> FromCast<T> for T

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,