Trait Ii32

Source
pub trait Ii32: Into<Option<i32>> + Copy { }
Expand description

A convenience trait that lets you pass an i32 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<i32>> + Copy> Ii32 for T