Skip to main content

ToIdx

Trait ToIdx 

Source
pub trait ToIdx {
    // Required method
    fn to_idx(self, len: u64) -> IdxSize;
}

Required Methods§

Source

fn to_idx(self, len: u64) -> IdxSize

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl ToIdx for i8

Source§

fn to_idx(self, len: u64) -> IdxSize

Source§

impl ToIdx for i16

Source§

fn to_idx(self, len: u64) -> IdxSize

Source§

impl ToIdx for i32

Source§

fn to_idx(self, len: u64) -> IdxSize

Source§

impl ToIdx for i64

Source§

fn to_idx(self, len: u64) -> IdxSize

Source§

impl ToIdx for u8

Source§

fn to_idx(self, _len: u64) -> IdxSize

Source§

impl ToIdx for u16

Source§

fn to_idx(self, _len: u64) -> IdxSize

Source§

impl ToIdx for u32

Source§

fn to_idx(self, _len: u64) -> IdxSize

Source§

impl ToIdx for u64

Source§

fn to_idx(self, _len: u64) -> IdxSize

Implementors§