Docs.rs
  • tf-demo-parser-0.5.0
    • tf-demo-parser 0.5.0
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • icewind1991
    • Dependencies
      • better-panic ^0.3.0 normal
      • bitbuffer ^0.10.9 normal
      • enumflags2 ^0.7.5 normal
      • err-derive ^0.3.1 normal
      • fnv ^1.0.7 normal
      • itertools ^0.10.5 normal
      • jemallocator ^0.5.0 normal
      • main_error ^0.1.2 normal
      • no-panic ^0.1.17 normal
      • num-traits ^0.2.15 normal
      • num_enum ^0.5.7 normal
      • parse-display ^0.8.0 normal
      • schemars ^0.8.11 normal
      • serde ^1.0.152 normal
      • serde_json ^1.0.91 normal
      • serde_repr ^0.1.10 normal
      • snap ^1.1.0 normal
      • steamid-ng ^1.0.0 normal
      • tracing ^0.1.37 normal
      • tracing-subscriber ^0.3.16 normal
      • criterion ^0.4.0 dev
      • iai ^0.1.1 dev
      • insta ^1.34.0 dev
      • pretty_assertions ^1.3.0 dev
      • test-case ^2.2.2 dev
    • Versions
    • 0.52% 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

tf_demo_parser0.5.0

EventValue

Required Methods

  • value_type

Implementations on Foreign Types

  • ()
  • String
  • bool
  • f32
  • u16
  • u32
  • u8

Object Safety

Implementors

In tf_demo_parser::demo::gamevent

?
Change settings

Trait tf_demo_parser::demo::gamevent::EventValue

source ·
pub trait EventValue: Sized {
    // Required method
    fn value_type() -> GameEventValueType;
}

Required Methods§

source

fn value_type() -> GameEventValueType

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl EventValue for bool

source§

fn value_type() -> GameEventValueType

source§

impl EventValue for f32

source§

fn value_type() -> GameEventValueType

source§

impl EventValue for u8

source§

fn value_type() -> GameEventValueType

source§

impl EventValue for u16

source§

fn value_type() -> GameEventValueType

source§

impl EventValue for u32

source§

fn value_type() -> GameEventValueType

source§

impl EventValue for ()

source§

fn value_type() -> GameEventValueType

source§

impl EventValue for String

source§

fn value_type() -> GameEventValueType

Implementors§

source§

impl EventValue for MaybeUtf8String