Trait AsPrimitive

Source
pub trait AsPrimitive<T>
where T: 'static,
{ // Required method fn as_(&self) -> T; }

Required Methods§

Source

fn as_(&self) -> T

Convert a value to another, using the as operator.

Implementors§