polars_core::export::cast

Trait SerPrimitive

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

Required Methods§

Source

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

Implementations on Foreign Types§

Source§

impl SerPrimitive for f32

Source§

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

Source§

impl SerPrimitive for f64

Source§

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

Source§

impl SerPrimitive for i8

Source§

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

Source§

impl SerPrimitive for i16

Source§

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

Source§

impl SerPrimitive for i32

Source§

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

Source§

impl SerPrimitive for i64

Source§

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

Source§

impl SerPrimitive for u8

Source§

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

Source§

impl SerPrimitive for u16

Source§

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

Source§

impl SerPrimitive for u32

Source§

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

Source§

impl SerPrimitive for u64

Source§

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

Implementors§