GeoTiffNumeric

Trait GeoTiffNumeric 

Source
pub trait GeoTiffNumeric: Default + Clone {
    // Required methods
    fn zero() -> Self;
    fn from_f32(val: f32) -> Self;
}
Expand description

Trait for numeric types supported by GeoTIFF

Required Methods§

Source

fn zero() -> Self

Source

fn from_f32(val: f32) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl GeoTiffNumeric for f32

Source§

fn zero() -> Self

Source§

fn from_f32(val: f32) -> Self

Source§

impl GeoTiffNumeric for f64

Source§

fn zero() -> Self

Source§

fn from_f32(val: f32) -> Self

Source§

impl GeoTiffNumeric for i8

Source§

fn zero() -> Self

Source§

fn from_f32(val: f32) -> Self

Source§

impl GeoTiffNumeric for i16

Source§

fn zero() -> Self

Source§

fn from_f32(val: f32) -> Self

Source§

impl GeoTiffNumeric for i32

Source§

fn zero() -> Self

Source§

fn from_f32(val: f32) -> Self

Source§

impl GeoTiffNumeric for u8

Source§

fn zero() -> Self

Source§

fn from_f32(val: f32) -> Self

Source§

impl GeoTiffNumeric for u16

Source§

fn zero() -> Self

Source§

fn from_f32(val: f32) -> Self

Source§

impl GeoTiffNumeric for u32

Source§

fn zero() -> Self

Source§

fn from_f32(val: f32) -> Self

Implementors§