aho_corasick::util::int

Trait I8

Source
pub(crate) trait I8 {
    // Required methods
    fn as_usize(self) -> usize;
    fn to_bits(self) -> u8;
    fn from_bits(n: u8) -> i8;
}

Required Methods§

Source

fn as_usize(self) -> usize

Source

fn to_bits(self) -> u8

Source

fn from_bits(n: u8) -> i8

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 I8 for i8

Implementors§