Trait geozero::PropertyReadType

source ·
pub trait PropertyReadType<T = Self>{
    // Required method
    fn get_value(v: &ColumnValue<'_>) -> Result<T>;
}
Expand description

Get property value as Rust type.

Required Methods§

source

fn get_value(v: &ColumnValue<'_>) -> Result<T>

Get property value as Rust type.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl PropertyReadType for bool

source§

impl PropertyReadType for f32

source§

impl PropertyReadType for f64

source§

impl PropertyReadType for i8

source§

impl PropertyReadType for i16

source§

impl PropertyReadType for i32

source§

impl PropertyReadType for i64

source§

impl PropertyReadType for u8

source§

impl PropertyReadType for u16

source§

impl PropertyReadType for u32

source§

impl PropertyReadType for u64

source§

impl PropertyReadType for String

Implementors§