pub fn output<R>(return_value: &R)
where
    R: scale::Encode,
{
    <EnvInstance as OnInstance>::on_instance(|instance| {
        Env::output::<R>(instance, return_value)
    })
}
/// Returns the value back to the caller of the executed contract.
///
/// # Note
///
/// This call must be the last call to the contract
/// environment for every contract execution.
Returns the value back to the caller of the executed contract.
Returns the value back to the caller of the executed contract .
pub fn output<R>(return_value: &R)
where
    R: scale::Encode,
{
    <EnvInstance as OnInstance>::on_instance(|instance| {
        Env::output::<R>(instance, return_value)
    })
}
pub fn output < R > ( return_value : & R ) where R : scale :: Encode , { < EnvInstance as OnInstance > :: on_instance ( | instance | { Env :: output :: < R > ( instance , return_value ) } ) }
Returns the value back to the caller of the executed contract.
Returns the value back to the caller of the executed contract .
return_value
&R
return_value
&R
note
This call must be the last call to the contract
environment for every contract execution.
This call must be the last call to the contract environment for every contract execution .