pub struct Gamma;Trait Implementations§
Source§impl Encoding for Gamma
impl Encoding for Gamma
fn zigzag(self) -> bool
fn write_u64<const BITS: usize>(self, writer: &mut impl Write, word: Word)
fn read_u64<const BITS: usize>(self, reader: &mut impl Read) -> Result<Word>
fn is_fixed(self) -> bool
fn write_u128<const BITS: usize>(self, writer: &mut impl Write, v: u128)
fn read_u128<const BITS: usize>(self, reader: &mut impl Read) -> Result<u128>
fn write_f32(self, writer: &mut impl Write, v: f32)
fn read_f32(self, reader: &mut impl Read) -> Result<f32>
fn write_f64(self, writer: &mut impl Write, v: f64)
fn read_f64(self, reader: &mut impl Read) -> Result<f64>
fn write_str(self, writer: &mut impl Write, v: &str)
fn read_str(self, reader: &mut impl Read) -> Result<&str>
fn write_byte_str(self, writer: &mut impl Write, v: &[u8])
fn read_byte_str(self, reader: &mut impl Read) -> Result<&[u8]>
fn read_bytes(self, reader: &mut impl Read, len: NonZeroUsize) -> Result<&[u8]>
impl Copy for Gamma
Auto Trait Implementations§
impl Freeze for Gamma
impl RefUnwindSafe for Gamma
impl Send for Gamma
impl Sync for Gamma
impl Unpin for Gamma
impl UnwindSafe for Gamma
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more