Skip to main content

ByteTrait

Trait ByteTrait 

Source
pub trait ByteTrait {
    // Required method
    fn declassify(self) -> u8;
}

Required Methods§

Source

fn declassify(self) -> u8

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl ByteTrait for u8

Implementors§