AsZBI

Trait AsZBI 

Source
pub trait AsZBI: Sized {
    // Required method
    fn as_zbi(self) -> ZBI<Self>;
}
Expand description

Convenience trait for working with zero-based indices, notably of type usize

Required Methods§

Source

fn as_zbi(self) -> ZBI<Self>

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 AsZBI for usize

Source§

fn as_zbi(self) -> ZBI<Self>

Implementors§