pub trait VariableInteger: Variable + Send + Sync + Clone + Sealed { }
Expand description

A type that is compatible with VarInt.

This trait is implemented by all of Rust’s built-in integer types.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl VariableInteger for i8

source§

impl VariableInteger for i16

source§

impl VariableInteger for i32

source§

impl VariableInteger for i64

source§

impl VariableInteger for i128

source§

impl VariableInteger for isize

source§

impl VariableInteger for u8

source§

impl VariableInteger for u16

source§

impl VariableInteger for u32

source§

impl VariableInteger for u64

source§

impl VariableInteger for u128

source§

impl VariableInteger for usize

Implementors§