pub enum ColumnDataBuffer {
I(Vec<i32>),
E(Vec<f32>),
D(Vec<f64>),
A(Vec<String>),
F(Vec<f32>),
}Variants§
Implementations§
Source§impl ColumnDataBuffer
impl ColumnDataBuffer
pub fn new(tform: &str, size: i32) -> Self
pub fn max_len(&self) -> usize
pub fn byte_value(&self) -> usize
pub fn byte_value_from_str(data_type: &str) -> usize
pub fn to_series(&self, col_name: &str) -> Series
pub fn clear(&mut self)
pub fn write_on_idx(&mut self, bytes: &[u8], data_type: char, idx: i64)
Trait Implementations§
Source§impl Debug for ColumnDataBuffer
impl Debug for ColumnDataBuffer
Source§impl PartialEq for ColumnDataBuffer
impl PartialEq for ColumnDataBuffer
impl StructuralPartialEq for ColumnDataBuffer
Auto Trait Implementations§
impl Freeze for ColumnDataBuffer
impl RefUnwindSafe for ColumnDataBuffer
impl Send for ColumnDataBuffer
impl Sync for ColumnDataBuffer
impl Unpin for ColumnDataBuffer
impl UnwindSafe for ColumnDataBuffer
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