pub trait IntoU {
    // Required method
    fn into_u<const N: usize>(self) -> U<N>;
}
Expand description

Trait for converting a type into U<N>.

Required Methods§

source

fn into_u<const N: usize>(self) -> U<N>

Converts self into U<N>.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl IntoU for bool

source§

fn into_u<const N: usize>(self) -> U<N>

source§

impl IntoU for i32

source§

fn into_u<const N: usize>(self) -> U<N>

source§

impl IntoU for u32

source§

fn into_u<const N: usize>(self) -> U<N>

source§

impl IntoU for usize

source§

fn into_u<const N: usize>(self) -> U<N>

source§

impl<const M: usize> IntoU for [bool; M]

source§

fn into_u<const N: usize>(self) -> U<N>

Implementors§