Trait Into

Source
pub trait Into<T>: Sized + View
where T: View, Self::V: SpecInto<<T as View>::V>,
{ // Required method fn ex_into(self) -> T; }
Expand description

Vest equivalent of std::convert::Into.

Required Methods§

Source

fn ex_into(self) -> T

Vest equivalent of std::convert::Into::into.

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, U> Into<U> for T
where T: View, U: View + From<T>, <U as View>::V: SpecFrom<<T as View>::V>,