[][src]Struct eosio::SignedInt

pub struct SignedInt(_);

Variable Length Signed Integer. This provides more efficient serialization of 32-bit signed int. It serializes a 32-bit signed integer in as few bytes as possible. SignedInt is signed and uses Zig-Zag encoding https://github.com/EOSIO/eosio.cdt/blob/4985359a30da1f883418b7133593f835927b8046/libraries/eosiolib/core/eosio/varint.hpp#L239-L465

Trait Implementations

impl Clone for SignedInt[src]

impl Debug for SignedInt[src]

impl Default for SignedInt[src]

impl Eq for SignedInt[src]

impl From<SignedInt> for isize[src]

impl From<SignedInt> for i32[src]

impl From<i16> for SignedInt[src]

impl From<i32> for SignedInt[src]

impl From<i8> for SignedInt[src]

impl From<isize> for SignedInt[src]

impl Hash for SignedInt[src]

impl NumBytes for SignedInt[src]

impl Ord for SignedInt[src]

impl PartialEq<SignedInt> for SignedInt[src]

impl PartialOrd<SignedInt> for SignedInt[src]

impl Read for SignedInt[src]

impl StructuralEq for SignedInt[src]

impl StructuralPartialEq for SignedInt[src]

impl Write for SignedInt[src]

Auto Trait Implementations

impl Send for SignedInt

impl Sync for SignedInt

impl Unpin for SignedInt

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.