Trait polars_arrow::array::TryPush

source ·
pub trait TryPush<A> {
    // Required method
    fn try_push(&mut self, item: A) -> PolarsResult<()>;
}
Expand description

A trait describing the ability of a struct to receive new items.

Required Methods§

source

fn try_push(&mut self, item: A) -> PolarsResult<()>

Tries to push a new element.

Implementors§

source§

impl TryPush<Option<bool>> for MutableBooleanArray

source§

impl<K, M, T> TryPush<Option<T>> for MutableDictionaryArray<K, M>
where K: DictionaryKey, M: MutableArray + Indexable + TryPush<Option<T>>, T: AsIndexed<M>, M::Type: Eq + Hash,

source§

impl<M, I, T> TryPush<Option<I>> for MutableFixedSizeListArray<M>
where M: MutableArray + TryExtend<Option<T>>, I: IntoIterator<Item = Option<T>>,

source§

impl<O, M, I, T> TryPush<Option<I>> for MutableListArray<O, M>
where O: Offset, M: MutableArray + TryExtend<Option<T>>, I: IntoIterator<Item = Option<T>>,

source§

impl<O: Offset, T: AsRef<str>> TryPush<Option<T>> for MutableUtf8Array<O>

source§

impl<O: Offset, T: AsRef<str>> TryPush<T> for MutableUtf8ValuesArray<O>

source§

impl<O: Offset, T: AsRef<[u8]>> TryPush<Option<T>> for MutableBinaryArray<O>

source§

impl<O: Offset, T: AsRef<[u8]>> TryPush<T> for MutableBinaryValuesArray<O>

source§

impl<T: NativeType> TryPush<Option<T>> for MutablePrimitiveArray<T>

source§

impl<T: ViewType + ?Sized, P: AsRef<T>> TryPush<Option<P>> for MutableBinaryViewArray<T>