pub struct i24(_);Implementations§
Methods from Deref<Target = i32>§
Trait Implementations§
source§impl<'a> DecoderValue<'a> for i24
impl<'a> DecoderValue<'a> for i24
fn decode(buffer: DecoderBuffer<'a>) -> DecoderBufferResult<'a, Self>
source§impl<'a> DecoderValueMut<'a> for i24
impl<'a> DecoderValueMut<'a> for i24
fn decode_mut(buffer: DecoderBufferMut<'a>) -> DecoderBufferMutResult<'a, Self>
source§impl EncoderValue for i24
impl EncoderValue for i24
source§fn encoding_size(&self) -> usize
fn encoding_size(&self) -> usize
Returns the encoding size with no buffer constrains
source§fn encoding_size_for_encoder<E: Encoder>(&self, _encoder: &E) -> usize
fn encoding_size_for_encoder<E: Encoder>(&self, _encoder: &E) -> usize
Returns the encoding size for the given encoder’s capacity
source§fn encode_mut<E: Encoder>(&mut self, encoder: &mut E)
fn encode_mut<E: Encoder>(&mut self, encoder: &mut E)
Encodes the value into the encoder, while potentially mutating the value itself
source§impl Ord for i24
impl Ord for i24
source§impl PartialOrd<i24> for i24
impl PartialOrd<i24> for i24
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more