Trait Iusize

Source
pub trait Iusize: Into<Option<usize>> + Copy { }
Expand description

A convenience trait that lets you pass an usize value or None for arguments

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.

Implementors§

Source§

impl<T: Into<Option<usize>> + Copy> Iusize for T