Skip to main content

ToByte

Trait ToByte 

Source
pub trait ToByte {
    // Required method
    fn to_byte(&self) -> u8;
}

Required Methods§

Source

fn to_byte(&self) -> u8

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§