Enum regex_automata::util::wire::BE
source · pub(crate) enum BE {}
Expand description
Big endian writing.
Trait Implementations§
source§impl Endian for BE
impl Endian for BE
source§fn write_u16(n: u16, dst: &mut [u8])
fn write_u16(n: u16, dst: &mut [u8])
Writes a u16 to the given destination buffer in a particular
endianness. If the destination buffer has a length smaller than 2, then
this panics.
source§fn write_u32(n: u32, dst: &mut [u8])
fn write_u32(n: u32, dst: &mut [u8])
Writes a u32 to the given destination buffer in a particular
endianness. If the destination buffer has a length smaller than 4, then
this panics.
source§fn write_u128(n: u128, dst: &mut [u8])
fn write_u128(n: u128, dst: &mut [u8])
Writes a u128 to the given destination buffer in a particular
endianness. If the destination buffer has a length smaller than 16,
then this panics.
Auto Trait Implementations§
impl Freeze for BE
impl RefUnwindSafe for BE
impl Send for BE
impl Sync for BE
impl Unpin for BE
impl UnwindSafe for BE
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