Skip to main content

NumberAble

Trait NumberAble 

Source
pub trait NumberAble {
    // Required methods
    fn slice_at(&self, i: usize) -> &[u8] ;
    fn copy_to_slice(&self, from: usize, target: &mut [u8]);
    fn len(&self) -> usize;
}

Required Methods§

Source

fn slice_at(&self, i: usize) -> &[u8]

Source

fn copy_to_slice(&self, from: usize, target: &mut [u8])

Source

fn len(&self) -> usize

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§