pub trait Into<T>{
// Required method
exec fn ex_into(self) -> res : T;
}Expand description
Vest equivalent of std::convert::Into.
Required Methods§
Sourceexec fn ex_into(self) -> res : T
exec fn ex_into(self) -> res : T
ensures
res@ == self@.spec_into(),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.