Trait WriteToBEBits

Source
pub trait WriteToBEBits {
    // Required method
    fn write_be_to<T: MutBits + ?Sized>(
        &self,
        bits: &mut T,
    ) -> Result<usize, Error>;
}
Expand description

Writes ‘self’ to the provided MutBits impl in big endian order.

Required Methods§

Source

fn write_be_to<T: MutBits + ?Sized>(&self, bits: &mut T) -> Result<usize, Error>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl WriteToBEBits for &str

Source§

impl WriteToBEBits for f32

Source§

impl WriteToBEBits for f64

Source§

impl WriteToBEBits for i8

Source§

impl WriteToBEBits for i16

Source§

impl WriteToBEBits for i32

Source§

impl WriteToBEBits for i64

Source§

impl WriteToBEBits for i128

Source§

impl WriteToBEBits for u8

Source§

impl WriteToBEBits for u16

Source§

impl WriteToBEBits for u32

Source§

impl WriteToBEBits for u64

Source§

impl WriteToBEBits for u128

Source§

impl WriteToBEBits for String

Available on crate feature alloc only.
Source§

impl WriteToBEBits for Arc<String>

Available on crate feature alloc only.

Implementors§