aho_corasick::util::int

Trait I32

Source
pub(crate) trait I32 {
    // Required methods
    fn as_usize(self) -> usize;
    fn to_bits(self) -> u32;
    fn from_bits(n: u32) -> i32;
}

Required Methods§

Source

fn as_usize(self) -> usize

Source

fn to_bits(self) -> u32

Source

fn from_bits(n: u32) -> i32

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 I32 for i32

Implementors§