aho_corasick::util::int

Trait I64

Source
pub(crate) trait I64 {
    // Required methods
    fn as_usize(self) -> usize;
    fn to_bits(self) -> u64;
    fn from_bits(n: u64) -> i64;
}

Required Methods§

Source

fn as_usize(self) -> usize

Source

fn to_bits(self) -> u64

Source

fn from_bits(n: u64) -> i64

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 I64 for i64

Implementors§