Skip to main content

IntoSize

Trait IntoSize 

Source
pub trait IntoSize
where Self::Output: Size,
{ type Output; // Required method fn into_size(self) -> Self::Output; }
Expand description

The helper trait that converts the input type to a size type.

Required Associated Types§

Required Methods§

Source

fn into_size(self) -> Self::Output

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl IntoSize for UTerm

Source§

impl IntoSize for usize

Source§

type Output = Dyn

Source§

fn into_size(self) -> Self::Output

Source§

impl<U, B> IntoSize for UInt<U, B>
where U: Unsigned, B: Bit,

Source§

type Output = UInt<U, B>

Source§

fn into_size(self) -> Self::Output

Implementors§