Docs.rs
  • tract-api-0.21.1
    • tract-api 0.21.1
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • kali
    • Dependencies
      • anyhow ^1.0.43 normal
      • boow ^0.1.3 normal
      • flate2 ^1.0.20 normal
      • half ^2.2.1 normal
      • ndarray ^0.15.3 normal
      • lazy_static ^1.4.0 dev
      • reqwest ^0.11.4 dev
      • serde_json ^1.0 dev
      • tempfile ^3.8 dev
    • Versions
    • 13.73% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

tract_api0.21.1

Datum

Required Methods

  • datum_type

Implementations on Foreign Types

  • bool
  • f16
  • f32
  • f64
  • i16
  • i32
  • i64
  • i8
  • u16
  • u32
  • u64
  • u8

Object Safety

Implementors

In crate tract_api

?
Change settings

Trait tract_api::Datum

source ·
pub trait Datum {
    // Required method
    fn datum_type() -> DatumType;
}

Required Methods§

source

fn datum_type() -> DatumType

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Datum for bool

source§

fn datum_type() -> DatumType

source§

impl Datum for f32

source§

fn datum_type() -> DatumType

source§

impl Datum for f64

source§

fn datum_type() -> DatumType

source§

impl Datum for i8

source§

fn datum_type() -> DatumType

source§

impl Datum for i16

source§

fn datum_type() -> DatumType

source§

impl Datum for i32

source§

fn datum_type() -> DatumType

source§

impl Datum for i64

source§

fn datum_type() -> DatumType

source§

impl Datum for u8

source§

fn datum_type() -> DatumType

source§

impl Datum for u16

source§

fn datum_type() -> DatumType

source§

impl Datum for u32

source§

fn datum_type() -> DatumType

source§

impl Datum for u64

source§

fn datum_type() -> DatumType

source§

impl Datum for f16

source§

fn datum_type() -> DatumType

Implementors§