ToTypeCode

Trait ToTypeCode 

Source
pub trait ToTypeCode {
    // Required method
    fn to_type_code() -> u16;
}

Required Methods§

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 ToTypeCode for u8

Source§

impl ToTypeCode for u16

Source§

impl ToTypeCode for u32

Source§

impl ToTypeCode for u64

Implementors§