[][src]Trait gf::support::buffer::IntoU128

pub trait IntoU128: Copy {
    fn into_u128(self) -> u128;

Helper trait for converting usize to u128.

Buffer internally uses 128-bit integers for indexing. This trait allows to pass the more conventional usize in place of u128.

Required methods

fn into_u128(self) -> u128

Loading content...

Implementations on Foreign Types

impl IntoU128 for u128[src]

impl IntoU128 for usize[src]

Loading content...


Loading content...