multiversx_sc_codec/multi/
into_multi_value.rs

1use super::{TopDecodeMulti, TopEncodeMulti};
2
3/// Defines conversion of a type to its multi-value representation.
4///
5/// Consumes input.
6pub trait IntoMultiValue {
7    type MultiValue: TopEncodeMulti + TopDecodeMulti;
8
9    fn into_multi_value(self) -> Self::MultiValue;
10}