[][src]Trait mem_storage::Value

pub trait Value: Sealed + Sized + Copy {
    fn to_le(self) -> Self;
fn to_be(self) -> Self; }

A marker trait that is implemented for all number types that can be read from and written to a Memory.

Required methods

fn to_le(self) -> Self

Converts self to little endian format.

fn to_be(self) -> Self

Converts self to big endian format.

Loading content...

Implementors

impl Value for i8[src]

impl Value for i16[src]

impl Value for i32[src]

impl Value for i64[src]

impl Value for i128[src]

impl Value for u8[src]

impl Value for u16[src]

impl Value for u32[src]

impl Value for u64[src]

impl Value for u128[src]

Loading content...