Skip to main content

extern_spec_T_U_TryInto_U_T_try_into

Function extern_spec_T_U_TryInto_U_T_try_into 

Source
pub fn extern_spec_T_U_TryInto_U_T_try_into<T, U: TryFrom<T>>(
    self_: T,
) -> Result<U, U::Error>
Expand description

extern spec for [T::try_into]

This is not a real function: its only use is for documentation.

requires

U::try_from.precondition((self,))

ensures

U::try_from.postcondition((self,), result)