Skip to main content

I64

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".

Implementations on Foreign Types§

Source§

impl I64 for i64

Implementors§