Trait VecLog2

Source
pub trait VecLog2 {
    // Required method
    fn log2(n: usize) -> Self;
}

Required Methods§

Source

fn log2(n: usize) -> 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<I: PrimInt> VecLog2 for Vec<I>

Source§

fn log2(n: usize) -> Vec<I>

Implementors§