pub struct GenericStringBuilder<OffsetSize: OffsetSizeTrait> { /* private fields */ }
Expand description

Array builder for GenericStringArray

Implementations

Creates a new GenericStringBuilder, capacity is the number of bytes of string data to pre-allocate space for in this builder

Creates a new GenericStringBuilder, data_capacity is the number of bytes of string data to pre-allocate space for in this builder item_capacity is the number of items to pre-allocate space for in this builder

Appends a string into the builder.

Append a null value to the array.

Append an Option value to the array.

Builds the GenericStringArray and reset this builder.

Returns the current values buffer as a slice

Returns the current offsets buffer as a slice

Trait Implementations

Returns the builder as a non-mutable Any reference.

Returns the builder as a mutable Any reference.

Returns the boxed builder as a box of Any.

Returns the number of array slots in the builder

Returns whether the number of array slots is zero

Builds the array and reset this builder.

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.