polars_core::export::cast

Trait SerPrimitive

pub trait SerPrimitive {
    // Required method
    fn write(f: &mut Vec<u8>, val: Self) -> usize
       where Self: Sized;
}

Required Methods§

fn write(f: &mut Vec<u8>, val: Self) -> usize
where Self: Sized,

Implementations on Foreign Types§

§

impl SerPrimitive for f32

§

fn write(f: &mut Vec<u8>, val: f32) -> usize
where f32: Sized,

§

impl SerPrimitive for f64

§

fn write(f: &mut Vec<u8>, val: f64) -> usize
where f64: Sized,

§

impl SerPrimitive for i8

§

fn write(f: &mut Vec<u8>, val: i8) -> usize
where i8: Sized,

§

impl SerPrimitive for i16

§

fn write(f: &mut Vec<u8>, val: i16) -> usize
where i16: Sized,

§

impl SerPrimitive for i32

§

fn write(f: &mut Vec<u8>, val: i32) -> usize
where i32: Sized,

§

impl SerPrimitive for i64

§

fn write(f: &mut Vec<u8>, val: i64) -> usize
where i64: Sized,

§

impl SerPrimitive for u8

§

fn write(f: &mut Vec<u8>, val: u8) -> usize
where u8: Sized,

§

impl SerPrimitive for u16

§

fn write(f: &mut Vec<u8>, val: u16) -> usize
where u16: Sized,

§

impl SerPrimitive for u32

§

fn write(f: &mut Vec<u8>, val: u32) -> usize
where u32: Sized,

§

impl SerPrimitive for u64

§

fn write(f: &mut Vec<u8>, val: u64) -> usize
where u64: Sized,

Implementors§