pub struct BE<T>(pub T);
Expand description
Tuple Fields§
§0: T
Implementations§
Trait Implementations§
Source§impl<T: Ord> Ord for BE<T>
impl<T: Ord> Ord for BE<T>
Source§impl<T: PartialOrd> PartialOrd for BE<T>
impl<T: PartialOrd> PartialOrd for BE<T>
Source§impl Writer for BE<f32>
impl Writer for BE<f32>
Source§fn write_to_bytes(&self) -> Result<ByteWriter, Error>
fn write_to_bytes(&self) -> Result<ByteWriter, Error>
This is a utility function to write
Self
to a ByteWriter
without
needing to create a ByteWriter
first.Source§impl Writer for BE<f64>
impl Writer for BE<f64>
Source§fn write_to_bytes(&self) -> Result<ByteWriter, Error>
fn write_to_bytes(&self) -> Result<ByteWriter, Error>
This is a utility function to write
Self
to a ByteWriter
without
needing to create a ByteWriter
first.Source§impl Writer for BE<i128>
impl Writer for BE<i128>
Source§fn write_to_bytes(&self) -> Result<ByteWriter, Error>
fn write_to_bytes(&self) -> Result<ByteWriter, Error>
This is a utility function to write
Self
to a ByteWriter
without
needing to create a ByteWriter
first.Source§impl Writer for BE<i16>
impl Writer for BE<i16>
Source§fn write_to_bytes(&self) -> Result<ByteWriter, Error>
fn write_to_bytes(&self) -> Result<ByteWriter, Error>
This is a utility function to write
Self
to a ByteWriter
without
needing to create a ByteWriter
first.Source§impl Writer for BE<i24>
impl Writer for BE<i24>
Source§fn write_to_bytes(&self) -> Result<ByteWriter, Error>
fn write_to_bytes(&self) -> Result<ByteWriter, Error>
This is a utility function to write
Self
to a ByteWriter
without
needing to create a ByteWriter
first.Source§impl Writer for BE<i32>
impl Writer for BE<i32>
Source§fn write_to_bytes(&self) -> Result<ByteWriter, Error>
fn write_to_bytes(&self) -> Result<ByteWriter, Error>
This is a utility function to write
Self
to a ByteWriter
without
needing to create a ByteWriter
first.Source§impl Writer for BE<i64>
impl Writer for BE<i64>
Source§fn write_to_bytes(&self) -> Result<ByteWriter, Error>
fn write_to_bytes(&self) -> Result<ByteWriter, Error>
This is a utility function to write
Self
to a ByteWriter
without
needing to create a ByteWriter
first.Source§impl Writer for BE<u128>
impl Writer for BE<u128>
Source§fn write_to_bytes(&self) -> Result<ByteWriter, Error>
fn write_to_bytes(&self) -> Result<ByteWriter, Error>
This is a utility function to write
Self
to a ByteWriter
without
needing to create a ByteWriter
first.Source§impl Writer for BE<u16>
impl Writer for BE<u16>
Source§fn write_to_bytes(&self) -> Result<ByteWriter, Error>
fn write_to_bytes(&self) -> Result<ByteWriter, Error>
This is a utility function to write
Self
to a ByteWriter
without
needing to create a ByteWriter
first.Source§impl Writer for BE<u24>
impl Writer for BE<u24>
Source§fn write_to_bytes(&self) -> Result<ByteWriter, Error>
fn write_to_bytes(&self) -> Result<ByteWriter, Error>
This is a utility function to write
Self
to a ByteWriter
without
needing to create a ByteWriter
first.Source§impl Writer for BE<u32>
impl Writer for BE<u32>
Source§fn write_to_bytes(&self) -> Result<ByteWriter, Error>
fn write_to_bytes(&self) -> Result<ByteWriter, Error>
This is a utility function to write
Self
to a ByteWriter
without
needing to create a ByteWriter
first.Source§impl Writer for BE<u64>
impl Writer for BE<u64>
Source§fn write_to_bytes(&self) -> Result<ByteWriter, Error>
fn write_to_bytes(&self) -> Result<ByteWriter, Error>
This is a utility function to write
Self
to a ByteWriter
without
needing to create a ByteWriter
first.impl<T: Copy> Copy for BE<T>
impl<T: Eq> Eq for BE<T>
impl<T> StructuralPartialEq for BE<T>
Auto Trait Implementations§
impl<T> Freeze for BE<T>where
T: Freeze,
impl<T> RefUnwindSafe for BE<T>where
T: RefUnwindSafe,
impl<T> Send for BE<T>where
T: Send,
impl<T> Sync for BE<T>where
T: Sync,
impl<T> Unpin for BE<T>where
T: Unpin,
impl<T> UnwindSafe for BE<T>where
T: UnwindSafe,
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