#[repr(transparent)]pub struct Be<T>(pub T);Expand description
An integer stored in big-endian byte order.
§Examples
use endian_num::Be;
let n = 0x1Au32;
if cfg!(target_endian = "big") {
    assert_eq!(Be::<u32>::from_ne(n).0, n);
} else {
    assert_eq!(Be::<u32>::from_ne(n).0, n.swap_bytes());
}Tuple Fields§
§0: TImplementations§
Source§impl Be<u8>
 
impl Be<u8>
Sourcepub const MIN: Be<u8>
 
pub const MIN: Be<u8>
The smallest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<u8>::MIN, Be::<u8>::from_ne(u8::MIN));Sourcepub const MAX: Be<u8>
 
pub const MAX: Be<u8>
The largest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<u8>::MAX, Be::<u8>::from_ne(u8::MAX));Sourcepub const BITS: u32 = 8u32
 
pub const BITS: u32 = 8u32
The size of this integer type in bits.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<u8>::BITS, u8::BITS);Sourcepub const fn from_ne(n: u8) -> Be<u8>
 
pub const fn from_ne(n: u8) -> Be<u8>
Creates a new big-endian integer from a native-endian integer.
On big endian, this is a no-op. On little endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Au8;
if cfg!(target_endian = "big") {
    assert_eq!(Be::<u8>::from_ne(n).0, n);
} else {
    assert_eq!(Be::<u8>::from_ne(n).0, n.swap_bytes());
}Sourcepub const fn from_le(n: Le<u8>) -> Be<u8>
 
pub const fn from_le(n: Le<u8>) -> Be<u8>
Creates a new big-endian integer from a little-endian integer.
This always swaps the bytes.
§Examples
use endian_num::{Be, Le};
let n = 0x1Au8;
assert_eq!(Be::<u8>::from_le(Le(n)).0, n.swap_bytes());Sourcepub const fn to_ne(self) -> u8
 
pub const fn to_ne(self) -> u8
Returns the integer in native-endian byte order.
On big endian, this is a no-op. On little endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Au8;
if cfg!(target_endian = "big") {
    assert_eq!(Be(n).to_ne(), n);
} else {
    assert_eq!(Be(n).to_ne(), n.swap_bytes());
}Sourcepub const fn to_le(self) -> Le<u8>
 
pub const fn to_le(self) -> Le<u8>
Returns the integer in little-endian byte order.
This always swaps the bytes.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Au8;
assert_eq!(Be(n).to_le().0, n.swap_bytes());Sourcepub const fn to_be_bytes(self) -> [u8; 1]
 
pub const fn to_be_bytes(self) -> [u8; 1]
Return the memory representation of this integer as a byte array in big-endian (network) byte order.
§Examples
use endian_num::Be;
let bytes = Be::<u8>::from_ne(0x12).to_be_bytes();
assert_eq!(bytes, [0x12]);Sourcepub const fn to_le_bytes(self) -> [u8; 1]
 
pub const fn to_le_bytes(self) -> [u8; 1]
Return the memory representation of this integer as a byte array in little-endian byte order.
§Examples
use endian_num::Be;
let bytes = Be::<u8>::from_ne(0x12).to_le_bytes();
assert_eq!(bytes, [0x12]);Sourcepub const fn to_ne_bytes(self) -> [u8; 1]
 
pub const fn to_ne_bytes(self) -> [u8; 1]
Return the memory representation of this integer as a byte array in native byte order.
As the target platform’s native endianness is used, portable code
should use to_be_bytes or to_le_bytes, as appropriate,
instead.
§Examples
use endian_num::Be;
let bytes = Be::<u8>::from_ne(0x12).to_ne_bytes();
assert_eq!(
    bytes,
    if cfg!(target_endian = "big") {
        [0x12]
    } else {
        [0x12]
    }
);Sourcepub const fn from_be_bytes(bytes: [u8; 1]) -> Be<u8>
 
pub const fn from_be_bytes(bytes: [u8; 1]) -> Be<u8>
Create a big endian integer value from its representation as a byte array in big endian.
§Examples
use endian_num::Be;
let value = Be::<u8>::from_be_bytes([0x12]);
assert_eq!(value.to_ne(), 0x12);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_be_u8(input: &mut &[u8]) -> Be<u8> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<u8>>());
    *input = rest;
    Be::<u8>::from_be_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn from_le_bytes(bytes: [u8; 1]) -> Be<u8>
 
pub const fn from_le_bytes(bytes: [u8; 1]) -> Be<u8>
Create a big endian integer value from its representation as a byte array in little endian.
§Examples
use endian_num::Be;
let value = Be::<u8>::from_le_bytes([0x12]);
assert_eq!(value.to_ne(), 0x12);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_le_u8(input: &mut &[u8]) -> Be<u8> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<u8>>());
    *input = rest;
    Be::<u8>::from_le_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn from_ne_bytes(bytes: [u8; 1]) -> Be<u8>
 
pub const fn from_ne_bytes(bytes: [u8; 1]) -> Be<u8>
Create a big endian integer value from its memory representation as a byte array in native endianness.
As the target platform’s native endianness is used, portable code
likely wants to use from_be_bytes or from_le_bytes, as
appropriate instead.
§Examples
use endian_num::Be;
let value = Be::<u8>::from_ne_bytes(if cfg!(target_endian = "big") {
    [0x12]
} else {
    [0x12]
});
assert_eq!(value.to_ne(), 0x12);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_ne_u8(input: &mut &[u8]) -> Be<u8> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<u8>>());
    *input = rest;
    Be::<u8>::from_ne_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn rotate_left(self, n: u32) -> Be<u8>
 
pub const fn rotate_left(self, n: u32) -> Be<u8>
Shifts the bits to the left by a specified amount, n,
wrapping the truncated bits to the end of the resulting integer.
Please note this isn’t the same operation as the << shifting operator!
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<u8>::from_ne(0x82);
let m = Be::<u8>::from_ne(0xa);
assert_eq!(n.rotate_left(2), m);Sourcepub const fn rotate_right(self, n: u32) -> Be<u8>
 
pub const fn rotate_right(self, n: u32) -> Be<u8>
Shifts the bits to the right by a specified amount, n,
wrapping the truncated bits to the beginning of the resulting
integer.
Please note this isn’t the same operation as the >> shifting operator!
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<u8>::from_ne(0xa);
let m = Be::<u8>::from_ne(0x82);
assert_eq!(n.rotate_right(2), m);Sourcepub const fn swap_bytes(self) -> Be<u8>
 
pub const fn swap_bytes(self) -> Be<u8>
Reverses the byte order of the integer.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0x12u8);
let m = n.swap_bytes();
assert_eq!(m, Be(0x12));Sourcepub const fn reverse_bits(self) -> Be<u8>
 
pub const fn reverse_bits(self) -> Be<u8>
Reverses the order of bits in the integer.
The least significant bit becomes the most significant bit, second least-significant bit becomes second most-significant bit, etc.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0x12u8);
let m = n.reverse_bits();
assert_eq!(m, Be(0x48));
assert_eq!(Be(0), Be(0u8).reverse_bits());Source§impl Be<u16>
 
impl Be<u16>
Sourcepub const MIN: Be<u16>
 
pub const MIN: Be<u16>
The smallest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<u16>::MIN, Be::<u16>::from_ne(u16::MIN));Sourcepub const MAX: Be<u16>
 
pub const MAX: Be<u16>
The largest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<u16>::MAX, Be::<u16>::from_ne(u16::MAX));Sourcepub const BITS: u32 = 16u32
 
pub const BITS: u32 = 16u32
The size of this integer type in bits.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<u16>::BITS, u16::BITS);Sourcepub const fn from_ne(n: u16) -> Be<u16>
 
pub const fn from_ne(n: u16) -> Be<u16>
Creates a new big-endian integer from a native-endian integer.
On big endian, this is a no-op. On little endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Au16;
if cfg!(target_endian = "big") {
    assert_eq!(Be::<u16>::from_ne(n).0, n);
} else {
    assert_eq!(Be::<u16>::from_ne(n).0, n.swap_bytes());
}Sourcepub const fn from_le(n: Le<u16>) -> Be<u16>
 
pub const fn from_le(n: Le<u16>) -> Be<u16>
Creates a new big-endian integer from a little-endian integer.
This always swaps the bytes.
§Examples
use endian_num::{Be, Le};
let n = 0x1Au16;
assert_eq!(Be::<u16>::from_le(Le(n)).0, n.swap_bytes());Sourcepub const fn to_ne(self) -> u16
 
pub const fn to_ne(self) -> u16
Returns the integer in native-endian byte order.
On big endian, this is a no-op. On little endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Au16;
if cfg!(target_endian = "big") {
    assert_eq!(Be(n).to_ne(), n);
} else {
    assert_eq!(Be(n).to_ne(), n.swap_bytes());
}Sourcepub const fn to_le(self) -> Le<u16>
 
pub const fn to_le(self) -> Le<u16>
Returns the integer in little-endian byte order.
This always swaps the bytes.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Au16;
assert_eq!(Be(n).to_le().0, n.swap_bytes());Sourcepub const fn to_be_bytes(self) -> [u8; 2]
 
pub const fn to_be_bytes(self) -> [u8; 2]
Return the memory representation of this integer as a byte array in big-endian (network) byte order.
§Examples
use endian_num::Be;
let bytes = Be::<u16>::from_ne(0x1234).to_be_bytes();
assert_eq!(bytes, [0x12, 0x34]);Sourcepub const fn to_le_bytes(self) -> [u8; 2]
 
pub const fn to_le_bytes(self) -> [u8; 2]
Return the memory representation of this integer as a byte array in little-endian byte order.
§Examples
use endian_num::Be;
let bytes = Be::<u16>::from_ne(0x1234).to_le_bytes();
assert_eq!(bytes, [0x34, 0x12]);Sourcepub const fn to_ne_bytes(self) -> [u8; 2]
 
pub const fn to_ne_bytes(self) -> [u8; 2]
Return the memory representation of this integer as a byte array in native byte order.
As the target platform’s native endianness is used, portable code
should use to_be_bytes or to_le_bytes, as appropriate,
instead.
§Examples
use endian_num::Be;
let bytes = Be::<u16>::from_ne(0x1234).to_ne_bytes();
assert_eq!(
    bytes,
    if cfg!(target_endian = "big") {
        [0x12, 0x34]
    } else {
        [0x34, 0x12]
    }
);Sourcepub const fn from_be_bytes(bytes: [u8; 2]) -> Be<u16>
 
pub const fn from_be_bytes(bytes: [u8; 2]) -> Be<u16>
Create a big endian integer value from its representation as a byte array in big endian.
§Examples
use endian_num::Be;
let value = Be::<u16>::from_be_bytes([0x12, 0x34]);
assert_eq!(value.to_ne(), 0x1234);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_be_u16(input: &mut &[u8]) -> Be<u16> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<u16>>());
    *input = rest;
    Be::<u16>::from_be_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn from_le_bytes(bytes: [u8; 2]) -> Be<u16>
 
pub const fn from_le_bytes(bytes: [u8; 2]) -> Be<u16>
Create a big endian integer value from its representation as a byte array in little endian.
§Examples
use endian_num::Be;
let value = Be::<u16>::from_le_bytes([0x34, 0x12]);
assert_eq!(value.to_ne(), 0x1234);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_le_u16(input: &mut &[u8]) -> Be<u16> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<u16>>());
    *input = rest;
    Be::<u16>::from_le_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn from_ne_bytes(bytes: [u8; 2]) -> Be<u16>
 
pub const fn from_ne_bytes(bytes: [u8; 2]) -> Be<u16>
Create a big endian integer value from its memory representation as a byte array in native endianness.
As the target platform’s native endianness is used, portable code
likely wants to use from_be_bytes or from_le_bytes, as
appropriate instead.
§Examples
use endian_num::Be;
let value = Be::<u16>::from_ne_bytes(if cfg!(target_endian = "big") {
    [0x12, 0x34]
} else {
    [0x34, 0x12]
});
assert_eq!(value.to_ne(), 0x1234);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_ne_u16(input: &mut &[u8]) -> Be<u16> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<u16>>());
    *input = rest;
    Be::<u16>::from_ne_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn rotate_left(self, n: u32) -> Be<u16>
 
pub const fn rotate_left(self, n: u32) -> Be<u16>
Shifts the bits to the left by a specified amount, n,
wrapping the truncated bits to the end of the resulting integer.
Please note this isn’t the same operation as the << shifting operator!
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<u16>::from_ne(0xa003);
let m = Be::<u16>::from_ne(0x3a);
assert_eq!(n.rotate_left(4), m);Sourcepub const fn rotate_right(self, n: u32) -> Be<u16>
 
pub const fn rotate_right(self, n: u32) -> Be<u16>
Shifts the bits to the right by a specified amount, n,
wrapping the truncated bits to the beginning of the resulting
integer.
Please note this isn’t the same operation as the >> shifting operator!
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<u16>::from_ne(0x3a);
let m = Be::<u16>::from_ne(0xa003);
assert_eq!(n.rotate_right(4), m);Sourcepub const fn swap_bytes(self) -> Be<u16>
 
pub const fn swap_bytes(self) -> Be<u16>
Reverses the byte order of the integer.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0x1234u16);
let m = n.swap_bytes();
assert_eq!(m, Be(0x3412));Sourcepub const fn reverse_bits(self) -> Be<u16>
 
pub const fn reverse_bits(self) -> Be<u16>
Reverses the order of bits in the integer.
The least significant bit becomes the most significant bit, second least-significant bit becomes second most-significant bit, etc.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0x1234u16);
let m = n.reverse_bits();
assert_eq!(m, Be(0x2c48));
assert_eq!(Be(0), Be(0u16).reverse_bits());Source§impl Be<u32>
 
impl Be<u32>
Sourcepub const MIN: Be<u32>
 
pub const MIN: Be<u32>
The smallest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<u32>::MIN, Be::<u32>::from_ne(u32::MIN));Sourcepub const MAX: Be<u32>
 
pub const MAX: Be<u32>
The largest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<u32>::MAX, Be::<u32>::from_ne(u32::MAX));Sourcepub const BITS: u32 = 32u32
 
pub const BITS: u32 = 32u32
The size of this integer type in bits.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<u32>::BITS, u32::BITS);Sourcepub const fn from_ne(n: u32) -> Be<u32>
 
pub const fn from_ne(n: u32) -> Be<u32>
Creates a new big-endian integer from a native-endian integer.
On big endian, this is a no-op. On little endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Au32;
if cfg!(target_endian = "big") {
    assert_eq!(Be::<u32>::from_ne(n).0, n);
} else {
    assert_eq!(Be::<u32>::from_ne(n).0, n.swap_bytes());
}Sourcepub const fn from_le(n: Le<u32>) -> Be<u32>
 
pub const fn from_le(n: Le<u32>) -> Be<u32>
Creates a new big-endian integer from a little-endian integer.
This always swaps the bytes.
§Examples
use endian_num::{Be, Le};
let n = 0x1Au32;
assert_eq!(Be::<u32>::from_le(Le(n)).0, n.swap_bytes());Sourcepub const fn to_ne(self) -> u32
 
pub const fn to_ne(self) -> u32
Returns the integer in native-endian byte order.
On big endian, this is a no-op. On little endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Au32;
if cfg!(target_endian = "big") {
    assert_eq!(Be(n).to_ne(), n);
} else {
    assert_eq!(Be(n).to_ne(), n.swap_bytes());
}Sourcepub const fn to_le(self) -> Le<u32>
 
pub const fn to_le(self) -> Le<u32>
Returns the integer in little-endian byte order.
This always swaps the bytes.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Au32;
assert_eq!(Be(n).to_le().0, n.swap_bytes());Sourcepub const fn to_be_bytes(self) -> [u8; 4]
 
pub const fn to_be_bytes(self) -> [u8; 4]
Return the memory representation of this integer as a byte array in big-endian (network) byte order.
§Examples
use endian_num::Be;
let bytes = Be::<u32>::from_ne(0x12345678).to_be_bytes();
assert_eq!(bytes, [0x12, 0x34, 0x56, 0x78]);Sourcepub const fn to_le_bytes(self) -> [u8; 4]
 
pub const fn to_le_bytes(self) -> [u8; 4]
Return the memory representation of this integer as a byte array in little-endian byte order.
§Examples
use endian_num::Be;
let bytes = Be::<u32>::from_ne(0x12345678).to_le_bytes();
assert_eq!(bytes, [0x78, 0x56, 0x34, 0x12]);Sourcepub const fn to_ne_bytes(self) -> [u8; 4]
 
pub const fn to_ne_bytes(self) -> [u8; 4]
Return the memory representation of this integer as a byte array in native byte order.
As the target platform’s native endianness is used, portable code
should use to_be_bytes or to_le_bytes, as appropriate,
instead.
§Examples
use endian_num::Be;
let bytes = Be::<u32>::from_ne(0x12345678).to_ne_bytes();
assert_eq!(
    bytes,
    if cfg!(target_endian = "big") {
        [0x12, 0x34, 0x56, 0x78]
    } else {
        [0x78, 0x56, 0x34, 0x12]
    }
);Sourcepub const fn from_be_bytes(bytes: [u8; 4]) -> Be<u32>
 
pub const fn from_be_bytes(bytes: [u8; 4]) -> Be<u32>
Create a big endian integer value from its representation as a byte array in big endian.
§Examples
use endian_num::Be;
let value = Be::<u32>::from_be_bytes([0x12, 0x34, 0x56, 0x78]);
assert_eq!(value.to_ne(), 0x12345678);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_be_u32(input: &mut &[u8]) -> Be<u32> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<u32>>());
    *input = rest;
    Be::<u32>::from_be_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn from_le_bytes(bytes: [u8; 4]) -> Be<u32>
 
pub const fn from_le_bytes(bytes: [u8; 4]) -> Be<u32>
Create a big endian integer value from its representation as a byte array in little endian.
§Examples
use endian_num::Be;
let value = Be::<u32>::from_le_bytes([0x78, 0x56, 0x34, 0x12]);
assert_eq!(value.to_ne(), 0x12345678);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_le_u32(input: &mut &[u8]) -> Be<u32> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<u32>>());
    *input = rest;
    Be::<u32>::from_le_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn from_ne_bytes(bytes: [u8; 4]) -> Be<u32>
 
pub const fn from_ne_bytes(bytes: [u8; 4]) -> Be<u32>
Create a big endian integer value from its memory representation as a byte array in native endianness.
As the target platform’s native endianness is used, portable code
likely wants to use from_be_bytes or from_le_bytes, as
appropriate instead.
§Examples
use endian_num::Be;
let value = Be::<u32>::from_ne_bytes(if cfg!(target_endian = "big") {
    [0x12, 0x34, 0x56, 0x78]
} else {
    [0x78, 0x56, 0x34, 0x12]
});
assert_eq!(value.to_ne(), 0x12345678);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_ne_u32(input: &mut &[u8]) -> Be<u32> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<u32>>());
    *input = rest;
    Be::<u32>::from_ne_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn rotate_left(self, n: u32) -> Be<u32>
 
pub const fn rotate_left(self, n: u32) -> Be<u32>
Shifts the bits to the left by a specified amount, n,
wrapping the truncated bits to the end of the resulting integer.
Please note this isn’t the same operation as the << shifting operator!
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<u32>::from_ne(0x10000b3);
let m = Be::<u32>::from_ne(0xb301);
assert_eq!(n.rotate_left(8), m);Sourcepub const fn rotate_right(self, n: u32) -> Be<u32>
 
pub const fn rotate_right(self, n: u32) -> Be<u32>
Shifts the bits to the right by a specified amount, n,
wrapping the truncated bits to the beginning of the resulting
integer.
Please note this isn’t the same operation as the >> shifting operator!
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<u32>::from_ne(0xb301);
let m = Be::<u32>::from_ne(0x10000b3);
assert_eq!(n.rotate_right(8), m);Sourcepub const fn swap_bytes(self) -> Be<u32>
 
pub const fn swap_bytes(self) -> Be<u32>
Reverses the byte order of the integer.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0x12345678u32);
let m = n.swap_bytes();
assert_eq!(m, Be(0x78563412));Sourcepub const fn reverse_bits(self) -> Be<u32>
 
pub const fn reverse_bits(self) -> Be<u32>
Reverses the order of bits in the integer.
The least significant bit becomes the most significant bit, second least-significant bit becomes second most-significant bit, etc.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0x12345678u32);
let m = n.reverse_bits();
assert_eq!(m, Be(0x1e6a2c48));
assert_eq!(Be(0), Be(0u32).reverse_bits());Source§impl Be<u64>
 
impl Be<u64>
Sourcepub const MIN: Be<u64>
 
pub const MIN: Be<u64>
The smallest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<u64>::MIN, Be::<u64>::from_ne(u64::MIN));Sourcepub const MAX: Be<u64>
 
pub const MAX: Be<u64>
The largest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<u64>::MAX, Be::<u64>::from_ne(u64::MAX));Sourcepub const BITS: u32 = 64u32
 
pub const BITS: u32 = 64u32
The size of this integer type in bits.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<u64>::BITS, u64::BITS);Sourcepub const fn from_ne(n: u64) -> Be<u64>
 
pub const fn from_ne(n: u64) -> Be<u64>
Creates a new big-endian integer from a native-endian integer.
On big endian, this is a no-op. On little endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Au64;
if cfg!(target_endian = "big") {
    assert_eq!(Be::<u64>::from_ne(n).0, n);
} else {
    assert_eq!(Be::<u64>::from_ne(n).0, n.swap_bytes());
}Sourcepub const fn from_le(n: Le<u64>) -> Be<u64>
 
pub const fn from_le(n: Le<u64>) -> Be<u64>
Creates a new big-endian integer from a little-endian integer.
This always swaps the bytes.
§Examples
use endian_num::{Be, Le};
let n = 0x1Au64;
assert_eq!(Be::<u64>::from_le(Le(n)).0, n.swap_bytes());Sourcepub const fn to_ne(self) -> u64
 
pub const fn to_ne(self) -> u64
Returns the integer in native-endian byte order.
On big endian, this is a no-op. On little endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Au64;
if cfg!(target_endian = "big") {
    assert_eq!(Be(n).to_ne(), n);
} else {
    assert_eq!(Be(n).to_ne(), n.swap_bytes());
}Sourcepub const fn to_le(self) -> Le<u64>
 
pub const fn to_le(self) -> Le<u64>
Returns the integer in little-endian byte order.
This always swaps the bytes.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Au64;
assert_eq!(Be(n).to_le().0, n.swap_bytes());Sourcepub const fn to_be_bytes(self) -> [u8; 8]
 
pub const fn to_be_bytes(self) -> [u8; 8]
Return the memory representation of this integer as a byte array in big-endian (network) byte order.
§Examples
use endian_num::Be;
let bytes = Be::<u64>::from_ne(0x1234567890123456).to_be_bytes();
assert_eq!(bytes, [0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]);Sourcepub const fn to_le_bytes(self) -> [u8; 8]
 
pub const fn to_le_bytes(self) -> [u8; 8]
Return the memory representation of this integer as a byte array in little-endian byte order.
§Examples
use endian_num::Be;
let bytes = Be::<u64>::from_ne(0x1234567890123456).to_le_bytes();
assert_eq!(bytes, [0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]);Sourcepub const fn to_ne_bytes(self) -> [u8; 8]
 
pub const fn to_ne_bytes(self) -> [u8; 8]
Return the memory representation of this integer as a byte array in native byte order.
As the target platform’s native endianness is used, portable code
should use to_be_bytes or to_le_bytes, as appropriate,
instead.
§Examples
use endian_num::Be;
let bytes = Be::<u64>::from_ne(0x1234567890123456).to_ne_bytes();
assert_eq!(
    bytes,
    if cfg!(target_endian = "big") {
        [0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]
    } else {
        [0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]
    }
);Sourcepub const fn from_be_bytes(bytes: [u8; 8]) -> Be<u64>
 
pub const fn from_be_bytes(bytes: [u8; 8]) -> Be<u64>
Create a big endian integer value from its representation as a byte array in big endian.
§Examples
use endian_num::Be;
let value = Be::<u64>::from_be_bytes([0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]);
assert_eq!(value.to_ne(), 0x1234567890123456);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_be_u64(input: &mut &[u8]) -> Be<u64> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<u64>>());
    *input = rest;
    Be::<u64>::from_be_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn from_le_bytes(bytes: [u8; 8]) -> Be<u64>
 
pub const fn from_le_bytes(bytes: [u8; 8]) -> Be<u64>
Create a big endian integer value from its representation as a byte array in little endian.
§Examples
use endian_num::Be;
let value = Be::<u64>::from_le_bytes([0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]);
assert_eq!(value.to_ne(), 0x1234567890123456);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_le_u64(input: &mut &[u8]) -> Be<u64> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<u64>>());
    *input = rest;
    Be::<u64>::from_le_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn from_ne_bytes(bytes: [u8; 8]) -> Be<u64>
 
pub const fn from_ne_bytes(bytes: [u8; 8]) -> Be<u64>
Create a big endian integer value from its memory representation as a byte array in native endianness.
As the target platform’s native endianness is used, portable code
likely wants to use from_be_bytes or from_le_bytes, as
appropriate instead.
§Examples
use endian_num::Be;
let value = Be::<u64>::from_ne_bytes(if cfg!(target_endian = "big") {
    [0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]
} else {
    [0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]
});
assert_eq!(value.to_ne(), 0x1234567890123456);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_ne_u64(input: &mut &[u8]) -> Be<u64> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<u64>>());
    *input = rest;
    Be::<u64>::from_ne_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn rotate_left(self, n: u32) -> Be<u64>
 
pub const fn rotate_left(self, n: u32) -> Be<u64>
Shifts the bits to the left by a specified amount, n,
wrapping the truncated bits to the end of the resulting integer.
Please note this isn’t the same operation as the << shifting operator!
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<u64>::from_ne(0xaa00000000006e1);
let m = Be::<u64>::from_ne(0x6e10aa);
assert_eq!(n.rotate_left(12), m);Sourcepub const fn rotate_right(self, n: u32) -> Be<u64>
 
pub const fn rotate_right(self, n: u32) -> Be<u64>
Shifts the bits to the right by a specified amount, n,
wrapping the truncated bits to the beginning of the resulting
integer.
Please note this isn’t the same operation as the >> shifting operator!
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<u64>::from_ne(0x6e10aa);
let m = Be::<u64>::from_ne(0xaa00000000006e1);
assert_eq!(n.rotate_right(12), m);Sourcepub const fn swap_bytes(self) -> Be<u64>
 
pub const fn swap_bytes(self) -> Be<u64>
Reverses the byte order of the integer.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0x1234567890123456u64);
let m = n.swap_bytes();
assert_eq!(m, Be(0x5634129078563412));Sourcepub const fn reverse_bits(self) -> Be<u64>
 
pub const fn reverse_bits(self) -> Be<u64>
Reverses the order of bits in the integer.
The least significant bit becomes the most significant bit, second least-significant bit becomes second most-significant bit, etc.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0x1234567890123456u64);
let m = n.reverse_bits();
assert_eq!(m, Be(0x6a2c48091e6a2c48));
assert_eq!(Be(0), Be(0u64).reverse_bits());Source§impl Be<u128>
 
impl Be<u128>
Sourcepub const MIN: Be<u128>
 
pub const MIN: Be<u128>
The smallest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<u128>::MIN, Be::<u128>::from_ne(u128::MIN));Sourcepub const MAX: Be<u128>
 
pub const MAX: Be<u128>
The largest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<u128>::MAX, Be::<u128>::from_ne(u128::MAX));Sourcepub const BITS: u32 = 128u32
 
pub const BITS: u32 = 128u32
The size of this integer type in bits.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<u128>::BITS, u128::BITS);Sourcepub const fn from_ne(n: u128) -> Be<u128>
 
pub const fn from_ne(n: u128) -> Be<u128>
Creates a new big-endian integer from a native-endian integer.
On big endian, this is a no-op. On little endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Au128;
if cfg!(target_endian = "big") {
    assert_eq!(Be::<u128>::from_ne(n).0, n);
} else {
    assert_eq!(Be::<u128>::from_ne(n).0, n.swap_bytes());
}Sourcepub const fn from_le(n: Le<u128>) -> Be<u128>
 
pub const fn from_le(n: Le<u128>) -> Be<u128>
Creates a new big-endian integer from a little-endian integer.
This always swaps the bytes.
§Examples
use endian_num::{Be, Le};
let n = 0x1Au128;
assert_eq!(Be::<u128>::from_le(Le(n)).0, n.swap_bytes());Sourcepub const fn to_ne(self) -> u128
 
pub const fn to_ne(self) -> u128
Returns the integer in native-endian byte order.
On big endian, this is a no-op. On little endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Au128;
if cfg!(target_endian = "big") {
    assert_eq!(Be(n).to_ne(), n);
} else {
    assert_eq!(Be(n).to_ne(), n.swap_bytes());
}Sourcepub const fn to_le(self) -> Le<u128>
 
pub const fn to_le(self) -> Le<u128>
Returns the integer in little-endian byte order.
This always swaps the bytes.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Au128;
assert_eq!(Be(n).to_le().0, n.swap_bytes());Sourcepub const fn to_be_bytes(self) -> [u8; 16]
 
pub const fn to_be_bytes(self) -> [u8; 16]
Return the memory representation of this integer as a byte array in big-endian (network) byte order.
§Examples
use endian_num::Be;
let bytes = Be::<u128>::from_ne(0x12345678901234567890123456789012).to_be_bytes();
assert_eq!(bytes, [0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]);Sourcepub const fn to_le_bytes(self) -> [u8; 16]
 
pub const fn to_le_bytes(self) -> [u8; 16]
Return the memory representation of this integer as a byte array in little-endian byte order.
§Examples
use endian_num::Be;
let bytes = Be::<u128>::from_ne(0x12345678901234567890123456789012).to_le_bytes();
assert_eq!(bytes, [0x12, 0x90, 0x78, 0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]);Sourcepub const fn to_ne_bytes(self) -> [u8; 16]
 
pub const fn to_ne_bytes(self) -> [u8; 16]
Return the memory representation of this integer as a byte array in native byte order.
As the target platform’s native endianness is used, portable code
should use to_be_bytes or to_le_bytes, as appropriate,
instead.
§Examples
use endian_num::Be;
let bytes = Be::<u128>::from_ne(0x12345678901234567890123456789012).to_ne_bytes();
assert_eq!(
    bytes,
    if cfg!(target_endian = "big") {
        [0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]
    } else {
        [0x12, 0x90, 0x78, 0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]
    }
);Sourcepub const fn from_be_bytes(bytes: [u8; 16]) -> Be<u128>
 
pub const fn from_be_bytes(bytes: [u8; 16]) -> Be<u128>
Create a big endian integer value from its representation as a byte array in big endian.
§Examples
use endian_num::Be;
let value = Be::<u128>::from_be_bytes([0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]);
assert_eq!(value.to_ne(), 0x12345678901234567890123456789012);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_be_u128(input: &mut &[u8]) -> Be<u128> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<u128>>());
    *input = rest;
    Be::<u128>::from_be_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn from_le_bytes(bytes: [u8; 16]) -> Be<u128>
 
pub const fn from_le_bytes(bytes: [u8; 16]) -> Be<u128>
Create a big endian integer value from its representation as a byte array in little endian.
§Examples
use endian_num::Be;
let value = Be::<u128>::from_le_bytes([0x12, 0x90, 0x78, 0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]);
assert_eq!(value.to_ne(), 0x12345678901234567890123456789012);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_le_u128(input: &mut &[u8]) -> Be<u128> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<u128>>());
    *input = rest;
    Be::<u128>::from_le_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn from_ne_bytes(bytes: [u8; 16]) -> Be<u128>
 
pub const fn from_ne_bytes(bytes: [u8; 16]) -> Be<u128>
Create a big endian integer value from its memory representation as a byte array in native endianness.
As the target platform’s native endianness is used, portable code
likely wants to use from_be_bytes or from_le_bytes, as
appropriate instead.
§Examples
use endian_num::Be;
let value = Be::<u128>::from_ne_bytes(if cfg!(target_endian = "big") {
    [0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]
} else {
    [0x12, 0x90, 0x78, 0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]
});
assert_eq!(value.to_ne(), 0x12345678901234567890123456789012);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_ne_u128(input: &mut &[u8]) -> Be<u128> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<u128>>());
    *input = rest;
    Be::<u128>::from_ne_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn rotate_left(self, n: u32) -> Be<u128>
 
pub const fn rotate_left(self, n: u32) -> Be<u128>
Shifts the bits to the left by a specified amount, n,
wrapping the truncated bits to the end of the resulting integer.
Please note this isn’t the same operation as the << shifting operator!
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<u128>::from_ne(0x13f40000000000000000000000004f76);
let m = Be::<u128>::from_ne(0x4f7613f4);
assert_eq!(n.rotate_left(16), m);Sourcepub const fn rotate_right(self, n: u32) -> Be<u128>
 
pub const fn rotate_right(self, n: u32) -> Be<u128>
Shifts the bits to the right by a specified amount, n,
wrapping the truncated bits to the beginning of the resulting
integer.
Please note this isn’t the same operation as the >> shifting operator!
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<u128>::from_ne(0x4f7613f4);
let m = Be::<u128>::from_ne(0x13f40000000000000000000000004f76);
assert_eq!(n.rotate_right(16), m);Sourcepub const fn swap_bytes(self) -> Be<u128>
 
pub const fn swap_bytes(self) -> Be<u128>
Reverses the byte order of the integer.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0x12345678901234567890123456789012u128);
let m = n.swap_bytes();
assert_eq!(m, Be(0x12907856341290785634129078563412));Sourcepub const fn reverse_bits(self) -> Be<u128>
 
pub const fn reverse_bits(self) -> Be<u128>
Reverses the order of bits in the integer.
The least significant bit becomes the most significant bit, second least-significant bit becomes second most-significant bit, etc.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0x12345678901234567890123456789012u128);
let m = n.reverse_bits();
assert_eq!(m, Be(0x48091e6a2c48091e6a2c48091e6a2c48));
assert_eq!(Be(0), Be(0u128).reverse_bits());Source§impl Be<usize>
 
impl Be<usize>
Sourcepub const MIN: Be<usize>
 
pub const MIN: Be<usize>
The smallest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<usize>::MIN, Be::<usize>::from_ne(usize::MIN));Sourcepub const MAX: Be<usize>
 
pub const MAX: Be<usize>
The largest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<usize>::MAX, Be::<usize>::from_ne(usize::MAX));Sourcepub const BITS: u32 = 64u32
 
pub const BITS: u32 = 64u32
The size of this integer type in bits.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<usize>::BITS, usize::BITS);Sourcepub const fn from_ne(n: usize) -> Be<usize>
 
pub const fn from_ne(n: usize) -> Be<usize>
Creates a new big-endian integer from a native-endian integer.
On big endian, this is a no-op. On little endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Ausize;
if cfg!(target_endian = "big") {
    assert_eq!(Be::<usize>::from_ne(n).0, n);
} else {
    assert_eq!(Be::<usize>::from_ne(n).0, n.swap_bytes());
}Sourcepub const fn from_le(n: Le<usize>) -> Be<usize>
 
pub const fn from_le(n: Le<usize>) -> Be<usize>
Creates a new big-endian integer from a little-endian integer.
This always swaps the bytes.
§Examples
use endian_num::{Be, Le};
let n = 0x1Ausize;
assert_eq!(Be::<usize>::from_le(Le(n)).0, n.swap_bytes());Sourcepub const fn to_ne(self) -> usize
 
pub const fn to_ne(self) -> usize
Returns the integer in native-endian byte order.
On big endian, this is a no-op. On little endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Ausize;
if cfg!(target_endian = "big") {
    assert_eq!(Be(n).to_ne(), n);
} else {
    assert_eq!(Be(n).to_ne(), n.swap_bytes());
}Sourcepub const fn to_le(self) -> Le<usize>
 
pub const fn to_le(self) -> Le<usize>
Returns the integer in little-endian byte order.
This always swaps the bytes.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Ausize;
assert_eq!(Be(n).to_le().0, n.swap_bytes());Sourcepub const fn to_be_bytes(self) -> [u8; 8]
 
pub const fn to_be_bytes(self) -> [u8; 8]
Return the memory representation of this integer as a byte array in big-endian (network) byte order.
§Examples
use endian_num::Be;
let bytes = Be::<usize>::from_ne(0x1234567890123456).to_be_bytes();
assert_eq!(bytes, [0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]);Sourcepub const fn to_le_bytes(self) -> [u8; 8]
 
pub const fn to_le_bytes(self) -> [u8; 8]
Return the memory representation of this integer as a byte array in little-endian byte order.
§Examples
use endian_num::Be;
let bytes = Be::<usize>::from_ne(0x1234567890123456).to_le_bytes();
assert_eq!(bytes, [0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]);Sourcepub const fn to_ne_bytes(self) -> [u8; 8]
 
pub const fn to_ne_bytes(self) -> [u8; 8]
Return the memory representation of this integer as a byte array in native byte order.
As the target platform’s native endianness is used, portable code
should use to_be_bytes or to_le_bytes, as appropriate,
instead.
§Examples
use endian_num::Be;
let bytes = Be::<usize>::from_ne(0x1234567890123456).to_ne_bytes();
assert_eq!(
    bytes,
    if cfg!(target_endian = "big") {
        [0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]
    } else {
        [0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]
    }
);Sourcepub const fn from_be_bytes(bytes: [u8; 8]) -> Be<usize>
 
pub const fn from_be_bytes(bytes: [u8; 8]) -> Be<usize>
Create a big endian integer value from its representation as a byte array in big endian.
§Examples
use endian_num::Be;
let value = Be::<usize>::from_be_bytes([0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]);
assert_eq!(value.to_ne(), 0x1234567890123456);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_be_usize(input: &mut &[u8]) -> Be<usize> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<usize>>());
    *input = rest;
    Be::<usize>::from_be_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn from_le_bytes(bytes: [u8; 8]) -> Be<usize>
 
pub const fn from_le_bytes(bytes: [u8; 8]) -> Be<usize>
Create a big endian integer value from its representation as a byte array in little endian.
§Examples
use endian_num::Be;
let value = Be::<usize>::from_le_bytes([0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]);
assert_eq!(value.to_ne(), 0x1234567890123456);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_le_usize(input: &mut &[u8]) -> Be<usize> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<usize>>());
    *input = rest;
    Be::<usize>::from_le_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn from_ne_bytes(bytes: [u8; 8]) -> Be<usize>
 
pub const fn from_ne_bytes(bytes: [u8; 8]) -> Be<usize>
Create a big endian integer value from its memory representation as a byte array in native endianness.
As the target platform’s native endianness is used, portable code
likely wants to use from_be_bytes or from_le_bytes, as
appropriate instead.
§Examples
use endian_num::Be;
let value = Be::<usize>::from_ne_bytes(if cfg!(target_endian = "big") {
    [0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]
} else {
    [0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]
});
assert_eq!(value.to_ne(), 0x1234567890123456);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_ne_usize(input: &mut &[u8]) -> Be<usize> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<usize>>());
    *input = rest;
    Be::<usize>::from_ne_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn rotate_left(self, n: u32) -> Be<usize>
 
pub const fn rotate_left(self, n: u32) -> Be<usize>
Shifts the bits to the left by a specified amount, n,
wrapping the truncated bits to the end of the resulting integer.
Please note this isn’t the same operation as the << shifting operator!
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<usize>::from_ne(0xaa00000000006e1);
let m = Be::<usize>::from_ne(0x6e10aa);
assert_eq!(n.rotate_left(12), m);Sourcepub const fn rotate_right(self, n: u32) -> Be<usize>
 
pub const fn rotate_right(self, n: u32) -> Be<usize>
Shifts the bits to the right by a specified amount, n,
wrapping the truncated bits to the beginning of the resulting
integer.
Please note this isn’t the same operation as the >> shifting operator!
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<usize>::from_ne(0x6e10aa);
let m = Be::<usize>::from_ne(0xaa00000000006e1);
assert_eq!(n.rotate_right(12), m);Sourcepub const fn swap_bytes(self) -> Be<usize>
 
pub const fn swap_bytes(self) -> Be<usize>
Reverses the byte order of the integer.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0x1234567890123456usize);
let m = n.swap_bytes();
assert_eq!(m, Be(0x5634129078563412));Sourcepub const fn reverse_bits(self) -> Be<usize>
 
pub const fn reverse_bits(self) -> Be<usize>
Reverses the order of bits in the integer.
The least significant bit becomes the most significant bit, second least-significant bit becomes second most-significant bit, etc.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0x1234567890123456usize);
let m = n.reverse_bits();
assert_eq!(m, Be(0x6a2c48091e6a2c48));
assert_eq!(Be(0), Be(0usize).reverse_bits());Source§impl Be<i8>
 
impl Be<i8>
Sourcepub const MIN: Be<i8>
 
pub const MIN: Be<i8>
The smallest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<i8>::MIN, Be::<i8>::from_ne(i8::MIN));Sourcepub const MAX: Be<i8>
 
pub const MAX: Be<i8>
The largest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<i8>::MAX, Be::<i8>::from_ne(i8::MAX));Sourcepub const BITS: u32 = 8u32
 
pub const BITS: u32 = 8u32
The size of this integer type in bits.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<i8>::BITS, i8::BITS);Sourcepub const fn from_ne(n: i8) -> Be<i8>
 
pub const fn from_ne(n: i8) -> Be<i8>
Creates a new big-endian integer from a native-endian integer.
On big endian, this is a no-op. On little endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Ai8;
if cfg!(target_endian = "big") {
    assert_eq!(Be::<i8>::from_ne(n).0, n);
} else {
    assert_eq!(Be::<i8>::from_ne(n).0, n.swap_bytes());
}Sourcepub const fn from_le(n: Le<i8>) -> Be<i8>
 
pub const fn from_le(n: Le<i8>) -> Be<i8>
Creates a new big-endian integer from a little-endian integer.
This always swaps the bytes.
§Examples
use endian_num::{Be, Le};
let n = 0x1Ai8;
assert_eq!(Be::<i8>::from_le(Le(n)).0, n.swap_bytes());Sourcepub const fn to_ne(self) -> i8
 
pub const fn to_ne(self) -> i8
Returns the integer in native-endian byte order.
On big endian, this is a no-op. On little endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Ai8;
if cfg!(target_endian = "big") {
    assert_eq!(Be(n).to_ne(), n);
} else {
    assert_eq!(Be(n).to_ne(), n.swap_bytes());
}Sourcepub const fn to_le(self) -> Le<i8>
 
pub const fn to_le(self) -> Le<i8>
Returns the integer in little-endian byte order.
This always swaps the bytes.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Ai8;
assert_eq!(Be(n).to_le().0, n.swap_bytes());Sourcepub const fn to_be_bytes(self) -> [u8; 1]
 
pub const fn to_be_bytes(self) -> [u8; 1]
Return the memory representation of this integer as a byte array in big-endian (network) byte order.
§Examples
use endian_num::Be;
let bytes = Be::<i8>::from_ne(0x12).to_be_bytes();
assert_eq!(bytes, [0x12]);Sourcepub const fn to_le_bytes(self) -> [u8; 1]
 
pub const fn to_le_bytes(self) -> [u8; 1]
Return the memory representation of this integer as a byte array in little-endian byte order.
§Examples
use endian_num::Be;
let bytes = Be::<i8>::from_ne(0x12).to_le_bytes();
assert_eq!(bytes, [0x12]);Sourcepub const fn to_ne_bytes(self) -> [u8; 1]
 
pub const fn to_ne_bytes(self) -> [u8; 1]
Return the memory representation of this integer as a byte array in native byte order.
As the target platform’s native endianness is used, portable code
should use to_be_bytes or to_le_bytes, as appropriate,
instead.
§Examples
use endian_num::Be;
let bytes = Be::<i8>::from_ne(0x12).to_ne_bytes();
assert_eq!(
    bytes,
    if cfg!(target_endian = "big") {
        [0x12]
    } else {
        [0x12]
    }
);Sourcepub const fn from_be_bytes(bytes: [u8; 1]) -> Be<i8>
 
pub const fn from_be_bytes(bytes: [u8; 1]) -> Be<i8>
Create a big endian integer value from its representation as a byte array in big endian.
§Examples
use endian_num::Be;
let value = Be::<i8>::from_be_bytes([0x12]);
assert_eq!(value.to_ne(), 0x12);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_be_i8(input: &mut &[u8]) -> Be<i8> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<i8>>());
    *input = rest;
    Be::<i8>::from_be_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn from_le_bytes(bytes: [u8; 1]) -> Be<i8>
 
pub const fn from_le_bytes(bytes: [u8; 1]) -> Be<i8>
Create a big endian integer value from its representation as a byte array in little endian.
§Examples
use endian_num::Be;
let value = Be::<i8>::from_le_bytes([0x12]);
assert_eq!(value.to_ne(), 0x12);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_le_i8(input: &mut &[u8]) -> Be<i8> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<i8>>());
    *input = rest;
    Be::<i8>::from_le_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn from_ne_bytes(bytes: [u8; 1]) -> Be<i8>
 
pub const fn from_ne_bytes(bytes: [u8; 1]) -> Be<i8>
Create a big endian integer value from its memory representation as a byte array in native endianness.
As the target platform’s native endianness is used, portable code
likely wants to use from_be_bytes or from_le_bytes, as
appropriate instead.
§Examples
use endian_num::Be;
let value = Be::<i8>::from_ne_bytes(if cfg!(target_endian = "big") {
    [0x12]
} else {
    [0x12]
});
assert_eq!(value.to_ne(), 0x12);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_ne_i8(input: &mut &[u8]) -> Be<i8> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<i8>>());
    *input = rest;
    Be::<i8>::from_ne_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn rotate_left(self, n: u32) -> Be<i8>
 
pub const fn rotate_left(self, n: u32) -> Be<i8>
Shifts the bits to the left by a specified amount, n,
wrapping the truncated bits to the end of the resulting integer.
Please note this isn’t the same operation as the << shifting operator!
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<i8>::from_ne(-0x7e);
let m = Be::<i8>::from_ne(0xa);
assert_eq!(n.rotate_left(2), m);Sourcepub const fn rotate_right(self, n: u32) -> Be<i8>
 
pub const fn rotate_right(self, n: u32) -> Be<i8>
Shifts the bits to the right by a specified amount, n,
wrapping the truncated bits to the beginning of the resulting
integer.
Please note this isn’t the same operation as the >> shifting operator!
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<i8>::from_ne(0xa);
let m = Be::<i8>::from_ne(-0x7e);
assert_eq!(n.rotate_right(2), m);Sourcepub const fn swap_bytes(self) -> Be<i8>
 
pub const fn swap_bytes(self) -> Be<i8>
Reverses the byte order of the integer.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0x12i8);
let m = n.swap_bytes();
assert_eq!(m, Be(0x12));Sourcepub const fn reverse_bits(self) -> Be<i8>
 
pub const fn reverse_bits(self) -> Be<i8>
Reverses the order of bits in the integer.
The least significant bit becomes the most significant bit, second least-significant bit becomes second most-significant bit, etc.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0x12i8);
let m = n.reverse_bits();
assert_eq!(m, Be(0x48));
assert_eq!(Be(0), Be(0i8).reverse_bits());Source§impl Be<i16>
 
impl Be<i16>
Sourcepub const MIN: Be<i16>
 
pub const MIN: Be<i16>
The smallest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<i16>::MIN, Be::<i16>::from_ne(i16::MIN));Sourcepub const MAX: Be<i16>
 
pub const MAX: Be<i16>
The largest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<i16>::MAX, Be::<i16>::from_ne(i16::MAX));Sourcepub const BITS: u32 = 16u32
 
pub const BITS: u32 = 16u32
The size of this integer type in bits.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<i16>::BITS, i16::BITS);Sourcepub const fn from_ne(n: i16) -> Be<i16>
 
pub const fn from_ne(n: i16) -> Be<i16>
Creates a new big-endian integer from a native-endian integer.
On big endian, this is a no-op. On little endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Ai16;
if cfg!(target_endian = "big") {
    assert_eq!(Be::<i16>::from_ne(n).0, n);
} else {
    assert_eq!(Be::<i16>::from_ne(n).0, n.swap_bytes());
}Sourcepub const fn from_le(n: Le<i16>) -> Be<i16>
 
pub const fn from_le(n: Le<i16>) -> Be<i16>
Creates a new big-endian integer from a little-endian integer.
This always swaps the bytes.
§Examples
use endian_num::{Be, Le};
let n = 0x1Ai16;
assert_eq!(Be::<i16>::from_le(Le(n)).0, n.swap_bytes());Sourcepub const fn to_ne(self) -> i16
 
pub const fn to_ne(self) -> i16
Returns the integer in native-endian byte order.
On big endian, this is a no-op. On little endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Ai16;
if cfg!(target_endian = "big") {
    assert_eq!(Be(n).to_ne(), n);
} else {
    assert_eq!(Be(n).to_ne(), n.swap_bytes());
}Sourcepub const fn to_le(self) -> Le<i16>
 
pub const fn to_le(self) -> Le<i16>
Returns the integer in little-endian byte order.
This always swaps the bytes.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Ai16;
assert_eq!(Be(n).to_le().0, n.swap_bytes());Sourcepub const fn to_be_bytes(self) -> [u8; 2]
 
pub const fn to_be_bytes(self) -> [u8; 2]
Return the memory representation of this integer as a byte array in big-endian (network) byte order.
§Examples
use endian_num::Be;
let bytes = Be::<i16>::from_ne(0x1234).to_be_bytes();
assert_eq!(bytes, [0x12, 0x34]);Sourcepub const fn to_le_bytes(self) -> [u8; 2]
 
pub const fn to_le_bytes(self) -> [u8; 2]
Return the memory representation of this integer as a byte array in little-endian byte order.
§Examples
use endian_num::Be;
let bytes = Be::<i16>::from_ne(0x1234).to_le_bytes();
assert_eq!(bytes, [0x34, 0x12]);Sourcepub const fn to_ne_bytes(self) -> [u8; 2]
 
pub const fn to_ne_bytes(self) -> [u8; 2]
Return the memory representation of this integer as a byte array in native byte order.
As the target platform’s native endianness is used, portable code
should use to_be_bytes or to_le_bytes, as appropriate,
instead.
§Examples
use endian_num::Be;
let bytes = Be::<i16>::from_ne(0x1234).to_ne_bytes();
assert_eq!(
    bytes,
    if cfg!(target_endian = "big") {
        [0x12, 0x34]
    } else {
        [0x34, 0x12]
    }
);Sourcepub const fn from_be_bytes(bytes: [u8; 2]) -> Be<i16>
 
pub const fn from_be_bytes(bytes: [u8; 2]) -> Be<i16>
Create a big endian integer value from its representation as a byte array in big endian.
§Examples
use endian_num::Be;
let value = Be::<i16>::from_be_bytes([0x12, 0x34]);
assert_eq!(value.to_ne(), 0x1234);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_be_i16(input: &mut &[u8]) -> Be<i16> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<i16>>());
    *input = rest;
    Be::<i16>::from_be_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn from_le_bytes(bytes: [u8; 2]) -> Be<i16>
 
pub const fn from_le_bytes(bytes: [u8; 2]) -> Be<i16>
Create a big endian integer value from its representation as a byte array in little endian.
§Examples
use endian_num::Be;
let value = Be::<i16>::from_le_bytes([0x34, 0x12]);
assert_eq!(value.to_ne(), 0x1234);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_le_i16(input: &mut &[u8]) -> Be<i16> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<i16>>());
    *input = rest;
    Be::<i16>::from_le_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn from_ne_bytes(bytes: [u8; 2]) -> Be<i16>
 
pub const fn from_ne_bytes(bytes: [u8; 2]) -> Be<i16>
Create a big endian integer value from its memory representation as a byte array in native endianness.
As the target platform’s native endianness is used, portable code
likely wants to use from_be_bytes or from_le_bytes, as
appropriate instead.
§Examples
use endian_num::Be;
let value = Be::<i16>::from_ne_bytes(if cfg!(target_endian = "big") {
    [0x12, 0x34]
} else {
    [0x34, 0x12]
});
assert_eq!(value.to_ne(), 0x1234);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_ne_i16(input: &mut &[u8]) -> Be<i16> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<i16>>());
    *input = rest;
    Be::<i16>::from_ne_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn rotate_left(self, n: u32) -> Be<i16>
 
pub const fn rotate_left(self, n: u32) -> Be<i16>
Shifts the bits to the left by a specified amount, n,
wrapping the truncated bits to the end of the resulting integer.
Please note this isn’t the same operation as the << shifting operator!
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<i16>::from_ne(-0x5ffd);
let m = Be::<i16>::from_ne(0x3a);
assert_eq!(n.rotate_left(4), m);Sourcepub const fn rotate_right(self, n: u32) -> Be<i16>
 
pub const fn rotate_right(self, n: u32) -> Be<i16>
Shifts the bits to the right by a specified amount, n,
wrapping the truncated bits to the beginning of the resulting
integer.
Please note this isn’t the same operation as the >> shifting operator!
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<i16>::from_ne(0x3a);
let m = Be::<i16>::from_ne(-0x5ffd);
assert_eq!(n.rotate_right(4), m);Sourcepub const fn swap_bytes(self) -> Be<i16>
 
pub const fn swap_bytes(self) -> Be<i16>
Reverses the byte order of the integer.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0x1234i16);
let m = n.swap_bytes();
assert_eq!(m, Be(0x3412));Sourcepub const fn reverse_bits(self) -> Be<i16>
 
pub const fn reverse_bits(self) -> Be<i16>
Reverses the order of bits in the integer.
The least significant bit becomes the most significant bit, second least-significant bit becomes second most-significant bit, etc.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0x1234i16);
let m = n.reverse_bits();
assert_eq!(m, Be(0x2c48));
assert_eq!(Be(0), Be(0i16).reverse_bits());Source§impl Be<i32>
 
impl Be<i32>
Sourcepub const MIN: Be<i32>
 
pub const MIN: Be<i32>
The smallest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<i32>::MIN, Be::<i32>::from_ne(i32::MIN));Sourcepub const MAX: Be<i32>
 
pub const MAX: Be<i32>
The largest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<i32>::MAX, Be::<i32>::from_ne(i32::MAX));Sourcepub const BITS: u32 = 32u32
 
pub const BITS: u32 = 32u32
The size of this integer type in bits.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<i32>::BITS, i32::BITS);Sourcepub const fn from_ne(n: i32) -> Be<i32>
 
pub const fn from_ne(n: i32) -> Be<i32>
Creates a new big-endian integer from a native-endian integer.
On big endian, this is a no-op. On little endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Ai32;
if cfg!(target_endian = "big") {
    assert_eq!(Be::<i32>::from_ne(n).0, n);
} else {
    assert_eq!(Be::<i32>::from_ne(n).0, n.swap_bytes());
}Sourcepub const fn from_le(n: Le<i32>) -> Be<i32>
 
pub const fn from_le(n: Le<i32>) -> Be<i32>
Creates a new big-endian integer from a little-endian integer.
This always swaps the bytes.
§Examples
use endian_num::{Be, Le};
let n = 0x1Ai32;
assert_eq!(Be::<i32>::from_le(Le(n)).0, n.swap_bytes());Sourcepub const fn to_ne(self) -> i32
 
pub const fn to_ne(self) -> i32
Returns the integer in native-endian byte order.
On big endian, this is a no-op. On little endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Ai32;
if cfg!(target_endian = "big") {
    assert_eq!(Be(n).to_ne(), n);
} else {
    assert_eq!(Be(n).to_ne(), n.swap_bytes());
}Sourcepub const fn to_le(self) -> Le<i32>
 
pub const fn to_le(self) -> Le<i32>
Returns the integer in little-endian byte order.
This always swaps the bytes.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Ai32;
assert_eq!(Be(n).to_le().0, n.swap_bytes());Sourcepub const fn to_be_bytes(self) -> [u8; 4]
 
pub const fn to_be_bytes(self) -> [u8; 4]
Return the memory representation of this integer as a byte array in big-endian (network) byte order.
§Examples
use endian_num::Be;
let bytes = Be::<i32>::from_ne(0x12345678).to_be_bytes();
assert_eq!(bytes, [0x12, 0x34, 0x56, 0x78]);Sourcepub const fn to_le_bytes(self) -> [u8; 4]
 
pub const fn to_le_bytes(self) -> [u8; 4]
Return the memory representation of this integer as a byte array in little-endian byte order.
§Examples
use endian_num::Be;
let bytes = Be::<i32>::from_ne(0x12345678).to_le_bytes();
assert_eq!(bytes, [0x78, 0x56, 0x34, 0x12]);Sourcepub const fn to_ne_bytes(self) -> [u8; 4]
 
pub const fn to_ne_bytes(self) -> [u8; 4]
Return the memory representation of this integer as a byte array in native byte order.
As the target platform’s native endianness is used, portable code
should use to_be_bytes or to_le_bytes, as appropriate,
instead.
§Examples
use endian_num::Be;
let bytes = Be::<i32>::from_ne(0x12345678).to_ne_bytes();
assert_eq!(
    bytes,
    if cfg!(target_endian = "big") {
        [0x12, 0x34, 0x56, 0x78]
    } else {
        [0x78, 0x56, 0x34, 0x12]
    }
);Sourcepub const fn from_be_bytes(bytes: [u8; 4]) -> Be<i32>
 
pub const fn from_be_bytes(bytes: [u8; 4]) -> Be<i32>
Create a big endian integer value from its representation as a byte array in big endian.
§Examples
use endian_num::Be;
let value = Be::<i32>::from_be_bytes([0x12, 0x34, 0x56, 0x78]);
assert_eq!(value.to_ne(), 0x12345678);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_be_i32(input: &mut &[u8]) -> Be<i32> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<i32>>());
    *input = rest;
    Be::<i32>::from_be_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn from_le_bytes(bytes: [u8; 4]) -> Be<i32>
 
pub const fn from_le_bytes(bytes: [u8; 4]) -> Be<i32>
Create a big endian integer value from its representation as a byte array in little endian.
§Examples
use endian_num::Be;
let value = Be::<i32>::from_le_bytes([0x78, 0x56, 0x34, 0x12]);
assert_eq!(value.to_ne(), 0x12345678);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_le_i32(input: &mut &[u8]) -> Be<i32> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<i32>>());
    *input = rest;
    Be::<i32>::from_le_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn from_ne_bytes(bytes: [u8; 4]) -> Be<i32>
 
pub const fn from_ne_bytes(bytes: [u8; 4]) -> Be<i32>
Create a big endian integer value from its memory representation as a byte array in native endianness.
As the target platform’s native endianness is used, portable code
likely wants to use from_be_bytes or from_le_bytes, as
appropriate instead.
§Examples
use endian_num::Be;
let value = Be::<i32>::from_ne_bytes(if cfg!(target_endian = "big") {
    [0x12, 0x34, 0x56, 0x78]
} else {
    [0x78, 0x56, 0x34, 0x12]
});
assert_eq!(value.to_ne(), 0x12345678);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_ne_i32(input: &mut &[u8]) -> Be<i32> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<i32>>());
    *input = rest;
    Be::<i32>::from_ne_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn rotate_left(self, n: u32) -> Be<i32>
 
pub const fn rotate_left(self, n: u32) -> Be<i32>
Shifts the bits to the left by a specified amount, n,
wrapping the truncated bits to the end of the resulting integer.
Please note this isn’t the same operation as the << shifting operator!
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<i32>::from_ne(0x10000b3);
let m = Be::<i32>::from_ne(0xb301);
assert_eq!(n.rotate_left(8), m);Sourcepub const fn rotate_right(self, n: u32) -> Be<i32>
 
pub const fn rotate_right(self, n: u32) -> Be<i32>
Shifts the bits to the right by a specified amount, n,
wrapping the truncated bits to the beginning of the resulting
integer.
Please note this isn’t the same operation as the >> shifting operator!
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<i32>::from_ne(0xb301);
let m = Be::<i32>::from_ne(0x10000b3);
assert_eq!(n.rotate_right(8), m);Sourcepub const fn swap_bytes(self) -> Be<i32>
 
pub const fn swap_bytes(self) -> Be<i32>
Reverses the byte order of the integer.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0x12345678i32);
let m = n.swap_bytes();
assert_eq!(m, Be(0x78563412));Sourcepub const fn reverse_bits(self) -> Be<i32>
 
pub const fn reverse_bits(self) -> Be<i32>
Reverses the order of bits in the integer.
The least significant bit becomes the most significant bit, second least-significant bit becomes second most-significant bit, etc.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0x12345678i32);
let m = n.reverse_bits();
assert_eq!(m, Be(0x1e6a2c48));
assert_eq!(Be(0), Be(0i32).reverse_bits());Source§impl Be<i64>
 
impl Be<i64>
Sourcepub const MIN: Be<i64>
 
pub const MIN: Be<i64>
The smallest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<i64>::MIN, Be::<i64>::from_ne(i64::MIN));Sourcepub const MAX: Be<i64>
 
pub const MAX: Be<i64>
The largest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<i64>::MAX, Be::<i64>::from_ne(i64::MAX));Sourcepub const BITS: u32 = 64u32
 
pub const BITS: u32 = 64u32
The size of this integer type in bits.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<i64>::BITS, i64::BITS);Sourcepub const fn from_ne(n: i64) -> Be<i64>
 
pub const fn from_ne(n: i64) -> Be<i64>
Creates a new big-endian integer from a native-endian integer.
On big endian, this is a no-op. On little endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Ai64;
if cfg!(target_endian = "big") {
    assert_eq!(Be::<i64>::from_ne(n).0, n);
} else {
    assert_eq!(Be::<i64>::from_ne(n).0, n.swap_bytes());
}Sourcepub const fn from_le(n: Le<i64>) -> Be<i64>
 
pub const fn from_le(n: Le<i64>) -> Be<i64>
Creates a new big-endian integer from a little-endian integer.
This always swaps the bytes.
§Examples
use endian_num::{Be, Le};
let n = 0x1Ai64;
assert_eq!(Be::<i64>::from_le(Le(n)).0, n.swap_bytes());Sourcepub const fn to_ne(self) -> i64
 
pub const fn to_ne(self) -> i64
Returns the integer in native-endian byte order.
On big endian, this is a no-op. On little endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Ai64;
if cfg!(target_endian = "big") {
    assert_eq!(Be(n).to_ne(), n);
} else {
    assert_eq!(Be(n).to_ne(), n.swap_bytes());
}Sourcepub const fn to_le(self) -> Le<i64>
 
pub const fn to_le(self) -> Le<i64>
Returns the integer in little-endian byte order.
This always swaps the bytes.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Ai64;
assert_eq!(Be(n).to_le().0, n.swap_bytes());Sourcepub const fn to_be_bytes(self) -> [u8; 8]
 
pub const fn to_be_bytes(self) -> [u8; 8]
Return the memory representation of this integer as a byte array in big-endian (network) byte order.
§Examples
use endian_num::Be;
let bytes = Be::<i64>::from_ne(0x1234567890123456).to_be_bytes();
assert_eq!(bytes, [0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]);Sourcepub const fn to_le_bytes(self) -> [u8; 8]
 
pub const fn to_le_bytes(self) -> [u8; 8]
Return the memory representation of this integer as a byte array in little-endian byte order.
§Examples
use endian_num::Be;
let bytes = Be::<i64>::from_ne(0x1234567890123456).to_le_bytes();
assert_eq!(bytes, [0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]);Sourcepub const fn to_ne_bytes(self) -> [u8; 8]
 
pub const fn to_ne_bytes(self) -> [u8; 8]
Return the memory representation of this integer as a byte array in native byte order.
As the target platform’s native endianness is used, portable code
should use to_be_bytes or to_le_bytes, as appropriate,
instead.
§Examples
use endian_num::Be;
let bytes = Be::<i64>::from_ne(0x1234567890123456).to_ne_bytes();
assert_eq!(
    bytes,
    if cfg!(target_endian = "big") {
        [0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]
    } else {
        [0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]
    }
);Sourcepub const fn from_be_bytes(bytes: [u8; 8]) -> Be<i64>
 
pub const fn from_be_bytes(bytes: [u8; 8]) -> Be<i64>
Create a big endian integer value from its representation as a byte array in big endian.
§Examples
use endian_num::Be;
let value = Be::<i64>::from_be_bytes([0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]);
assert_eq!(value.to_ne(), 0x1234567890123456);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_be_i64(input: &mut &[u8]) -> Be<i64> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<i64>>());
    *input = rest;
    Be::<i64>::from_be_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn from_le_bytes(bytes: [u8; 8]) -> Be<i64>
 
pub const fn from_le_bytes(bytes: [u8; 8]) -> Be<i64>
Create a big endian integer value from its representation as a byte array in little endian.
§Examples
use endian_num::Be;
let value = Be::<i64>::from_le_bytes([0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]);
assert_eq!(value.to_ne(), 0x1234567890123456);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_le_i64(input: &mut &[u8]) -> Be<i64> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<i64>>());
    *input = rest;
    Be::<i64>::from_le_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn from_ne_bytes(bytes: [u8; 8]) -> Be<i64>
 
pub const fn from_ne_bytes(bytes: [u8; 8]) -> Be<i64>
Create a big endian integer value from its memory representation as a byte array in native endianness.
As the target platform’s native endianness is used, portable code
likely wants to use from_be_bytes or from_le_bytes, as
appropriate instead.
§Examples
use endian_num::Be;
let value = Be::<i64>::from_ne_bytes(if cfg!(target_endian = "big") {
    [0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]
} else {
    [0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]
});
assert_eq!(value.to_ne(), 0x1234567890123456);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_ne_i64(input: &mut &[u8]) -> Be<i64> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<i64>>());
    *input = rest;
    Be::<i64>::from_ne_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn rotate_left(self, n: u32) -> Be<i64>
 
pub const fn rotate_left(self, n: u32) -> Be<i64>
Shifts the bits to the left by a specified amount, n,
wrapping the truncated bits to the end of the resulting integer.
Please note this isn’t the same operation as the << shifting operator!
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<i64>::from_ne(0xaa00000000006e1);
let m = Be::<i64>::from_ne(0x6e10aa);
assert_eq!(n.rotate_left(12), m);Sourcepub const fn rotate_right(self, n: u32) -> Be<i64>
 
pub const fn rotate_right(self, n: u32) -> Be<i64>
Shifts the bits to the right by a specified amount, n,
wrapping the truncated bits to the beginning of the resulting
integer.
Please note this isn’t the same operation as the >> shifting operator!
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<i64>::from_ne(0x6e10aa);
let m = Be::<i64>::from_ne(0xaa00000000006e1);
assert_eq!(n.rotate_right(12), m);Sourcepub const fn swap_bytes(self) -> Be<i64>
 
pub const fn swap_bytes(self) -> Be<i64>
Reverses the byte order of the integer.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0x1234567890123456i64);
let m = n.swap_bytes();
assert_eq!(m, Be(0x5634129078563412));Sourcepub const fn reverse_bits(self) -> Be<i64>
 
pub const fn reverse_bits(self) -> Be<i64>
Reverses the order of bits in the integer.
The least significant bit becomes the most significant bit, second least-significant bit becomes second most-significant bit, etc.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0x1234567890123456i64);
let m = n.reverse_bits();
assert_eq!(m, Be(0x6a2c48091e6a2c48));
assert_eq!(Be(0), Be(0i64).reverse_bits());Source§impl Be<i128>
 
impl Be<i128>
Sourcepub const MIN: Be<i128>
 
pub const MIN: Be<i128>
The smallest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<i128>::MIN, Be::<i128>::from_ne(i128::MIN));Sourcepub const MAX: Be<i128>
 
pub const MAX: Be<i128>
The largest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<i128>::MAX, Be::<i128>::from_ne(i128::MAX));Sourcepub const BITS: u32 = 128u32
 
pub const BITS: u32 = 128u32
The size of this integer type in bits.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<i128>::BITS, i128::BITS);Sourcepub const fn from_ne(n: i128) -> Be<i128>
 
pub const fn from_ne(n: i128) -> Be<i128>
Creates a new big-endian integer from a native-endian integer.
On big endian, this is a no-op. On little endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Ai128;
if cfg!(target_endian = "big") {
    assert_eq!(Be::<i128>::from_ne(n).0, n);
} else {
    assert_eq!(Be::<i128>::from_ne(n).0, n.swap_bytes());
}Sourcepub const fn from_le(n: Le<i128>) -> Be<i128>
 
pub const fn from_le(n: Le<i128>) -> Be<i128>
Creates a new big-endian integer from a little-endian integer.
This always swaps the bytes.
§Examples
use endian_num::{Be, Le};
let n = 0x1Ai128;
assert_eq!(Be::<i128>::from_le(Le(n)).0, n.swap_bytes());Sourcepub const fn to_ne(self) -> i128
 
pub const fn to_ne(self) -> i128
Returns the integer in native-endian byte order.
On big endian, this is a no-op. On little endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Ai128;
if cfg!(target_endian = "big") {
    assert_eq!(Be(n).to_ne(), n);
} else {
    assert_eq!(Be(n).to_ne(), n.swap_bytes());
}Sourcepub const fn to_le(self) -> Le<i128>
 
pub const fn to_le(self) -> Le<i128>
Returns the integer in little-endian byte order.
This always swaps the bytes.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Ai128;
assert_eq!(Be(n).to_le().0, n.swap_bytes());Sourcepub const fn to_be_bytes(self) -> [u8; 16]
 
pub const fn to_be_bytes(self) -> [u8; 16]
Return the memory representation of this integer as a byte array in big-endian (network) byte order.
§Examples
use endian_num::Be;
let bytes = Be::<i128>::from_ne(0x12345678901234567890123456789012).to_be_bytes();
assert_eq!(bytes, [0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]);Sourcepub const fn to_le_bytes(self) -> [u8; 16]
 
pub const fn to_le_bytes(self) -> [u8; 16]
Return the memory representation of this integer as a byte array in little-endian byte order.
§Examples
use endian_num::Be;
let bytes = Be::<i128>::from_ne(0x12345678901234567890123456789012).to_le_bytes();
assert_eq!(bytes, [0x12, 0x90, 0x78, 0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]);Sourcepub const fn to_ne_bytes(self) -> [u8; 16]
 
pub const fn to_ne_bytes(self) -> [u8; 16]
Return the memory representation of this integer as a byte array in native byte order.
As the target platform’s native endianness is used, portable code
should use to_be_bytes or to_le_bytes, as appropriate,
instead.
§Examples
use endian_num::Be;
let bytes = Be::<i128>::from_ne(0x12345678901234567890123456789012).to_ne_bytes();
assert_eq!(
    bytes,
    if cfg!(target_endian = "big") {
        [0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]
    } else {
        [0x12, 0x90, 0x78, 0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]
    }
);Sourcepub const fn from_be_bytes(bytes: [u8; 16]) -> Be<i128>
 
pub const fn from_be_bytes(bytes: [u8; 16]) -> Be<i128>
Create a big endian integer value from its representation as a byte array in big endian.
§Examples
use endian_num::Be;
let value = Be::<i128>::from_be_bytes([0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]);
assert_eq!(value.to_ne(), 0x12345678901234567890123456789012);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_be_i128(input: &mut &[u8]) -> Be<i128> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<i128>>());
    *input = rest;
    Be::<i128>::from_be_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn from_le_bytes(bytes: [u8; 16]) -> Be<i128>
 
pub const fn from_le_bytes(bytes: [u8; 16]) -> Be<i128>
Create a big endian integer value from its representation as a byte array in little endian.
§Examples
use endian_num::Be;
let value = Be::<i128>::from_le_bytes([0x12, 0x90, 0x78, 0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]);
assert_eq!(value.to_ne(), 0x12345678901234567890123456789012);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_le_i128(input: &mut &[u8]) -> Be<i128> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<i128>>());
    *input = rest;
    Be::<i128>::from_le_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn from_ne_bytes(bytes: [u8; 16]) -> Be<i128>
 
pub const fn from_ne_bytes(bytes: [u8; 16]) -> Be<i128>
Create a big endian integer value from its memory representation as a byte array in native endianness.
As the target platform’s native endianness is used, portable code
likely wants to use from_be_bytes or from_le_bytes, as
appropriate instead.
§Examples
use endian_num::Be;
let value = Be::<i128>::from_ne_bytes(if cfg!(target_endian = "big") {
    [0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]
} else {
    [0x12, 0x90, 0x78, 0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]
});
assert_eq!(value.to_ne(), 0x12345678901234567890123456789012);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_ne_i128(input: &mut &[u8]) -> Be<i128> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<i128>>());
    *input = rest;
    Be::<i128>::from_ne_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn rotate_left(self, n: u32) -> Be<i128>
 
pub const fn rotate_left(self, n: u32) -> Be<i128>
Shifts the bits to the left by a specified amount, n,
wrapping the truncated bits to the end of the resulting integer.
Please note this isn’t the same operation as the << shifting operator!
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<i128>::from_ne(0x13f40000000000000000000000004f76);
let m = Be::<i128>::from_ne(0x4f7613f4);
assert_eq!(n.rotate_left(16), m);Sourcepub const fn rotate_right(self, n: u32) -> Be<i128>
 
pub const fn rotate_right(self, n: u32) -> Be<i128>
Shifts the bits to the right by a specified amount, n,
wrapping the truncated bits to the beginning of the resulting
integer.
Please note this isn’t the same operation as the >> shifting operator!
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<i128>::from_ne(0x4f7613f4);
let m = Be::<i128>::from_ne(0x13f40000000000000000000000004f76);
assert_eq!(n.rotate_right(16), m);Sourcepub const fn swap_bytes(self) -> Be<i128>
 
pub const fn swap_bytes(self) -> Be<i128>
Reverses the byte order of the integer.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0x12345678901234567890123456789012i128);
let m = n.swap_bytes();
assert_eq!(m, Be(0x12907856341290785634129078563412));Sourcepub const fn reverse_bits(self) -> Be<i128>
 
pub const fn reverse_bits(self) -> Be<i128>
Reverses the order of bits in the integer.
The least significant bit becomes the most significant bit, second least-significant bit becomes second most-significant bit, etc.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0x12345678901234567890123456789012i128);
let m = n.reverse_bits();
assert_eq!(m, Be(0x48091e6a2c48091e6a2c48091e6a2c48));
assert_eq!(Be(0), Be(0i128).reverse_bits());Source§impl Be<isize>
 
impl Be<isize>
Sourcepub const MIN: Be<isize>
 
pub const MIN: Be<isize>
The smallest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<isize>::MIN, Be::<isize>::from_ne(isize::MIN));Sourcepub const MAX: Be<isize>
 
pub const MAX: Be<isize>
The largest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<isize>::MAX, Be::<isize>::from_ne(isize::MAX));Sourcepub const BITS: u32 = 64u32
 
pub const BITS: u32 = 64u32
The size of this integer type in bits.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<isize>::BITS, isize::BITS);Sourcepub const fn from_ne(n: isize) -> Be<isize>
 
pub const fn from_ne(n: isize) -> Be<isize>
Creates a new big-endian integer from a native-endian integer.
On big endian, this is a no-op. On little endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Aisize;
if cfg!(target_endian = "big") {
    assert_eq!(Be::<isize>::from_ne(n).0, n);
} else {
    assert_eq!(Be::<isize>::from_ne(n).0, n.swap_bytes());
}Sourcepub const fn from_le(n: Le<isize>) -> Be<isize>
 
pub const fn from_le(n: Le<isize>) -> Be<isize>
Creates a new big-endian integer from a little-endian integer.
This always swaps the bytes.
§Examples
use endian_num::{Be, Le};
let n = 0x1Aisize;
assert_eq!(Be::<isize>::from_le(Le(n)).0, n.swap_bytes());Sourcepub const fn to_ne(self) -> isize
 
pub const fn to_ne(self) -> isize
Returns the integer in native-endian byte order.
On big endian, this is a no-op. On little endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Aisize;
if cfg!(target_endian = "big") {
    assert_eq!(Be(n).to_ne(), n);
} else {
    assert_eq!(Be(n).to_ne(), n.swap_bytes());
}Sourcepub const fn to_le(self) -> Le<isize>
 
pub const fn to_le(self) -> Le<isize>
Returns the integer in little-endian byte order.
This always swaps the bytes.
§Examples
Basic usage:
use endian_num::Be;
let n = 0x1Aisize;
assert_eq!(Be(n).to_le().0, n.swap_bytes());Sourcepub const fn to_be_bytes(self) -> [u8; 8]
 
pub const fn to_be_bytes(self) -> [u8; 8]
Return the memory representation of this integer as a byte array in big-endian (network) byte order.
§Examples
use endian_num::Be;
let bytes = Be::<isize>::from_ne(0x1234567890123456).to_be_bytes();
assert_eq!(bytes, [0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]);Sourcepub const fn to_le_bytes(self) -> [u8; 8]
 
pub const fn to_le_bytes(self) -> [u8; 8]
Return the memory representation of this integer as a byte array in little-endian byte order.
§Examples
use endian_num::Be;
let bytes = Be::<isize>::from_ne(0x1234567890123456).to_le_bytes();
assert_eq!(bytes, [0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]);Sourcepub const fn to_ne_bytes(self) -> [u8; 8]
 
pub const fn to_ne_bytes(self) -> [u8; 8]
Return the memory representation of this integer as a byte array in native byte order.
As the target platform’s native endianness is used, portable code
should use to_be_bytes or to_le_bytes, as appropriate,
instead.
§Examples
use endian_num::Be;
let bytes = Be::<isize>::from_ne(0x1234567890123456).to_ne_bytes();
assert_eq!(
    bytes,
    if cfg!(target_endian = "big") {
        [0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]
    } else {
        [0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]
    }
);Sourcepub const fn from_be_bytes(bytes: [u8; 8]) -> Be<isize>
 
pub const fn from_be_bytes(bytes: [u8; 8]) -> Be<isize>
Create a big endian integer value from its representation as a byte array in big endian.
§Examples
use endian_num::Be;
let value = Be::<isize>::from_be_bytes([0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]);
assert_eq!(value.to_ne(), 0x1234567890123456);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_be_isize(input: &mut &[u8]) -> Be<isize> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<isize>>());
    *input = rest;
    Be::<isize>::from_be_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn from_le_bytes(bytes: [u8; 8]) -> Be<isize>
 
pub const fn from_le_bytes(bytes: [u8; 8]) -> Be<isize>
Create a big endian integer value from its representation as a byte array in little endian.
§Examples
use endian_num::Be;
let value = Be::<isize>::from_le_bytes([0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]);
assert_eq!(value.to_ne(), 0x1234567890123456);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_le_isize(input: &mut &[u8]) -> Be<isize> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<isize>>());
    *input = rest;
    Be::<isize>::from_le_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn from_ne_bytes(bytes: [u8; 8]) -> Be<isize>
 
pub const fn from_ne_bytes(bytes: [u8; 8]) -> Be<isize>
Create a big endian integer value from its memory representation as a byte array in native endianness.
As the target platform’s native endianness is used, portable code
likely wants to use from_be_bytes or from_le_bytes, as
appropriate instead.
§Examples
use endian_num::Be;
let value = Be::<isize>::from_ne_bytes(if cfg!(target_endian = "big") {
    [0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]
} else {
    [0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]
});
assert_eq!(value.to_ne(), 0x1234567890123456);When starting from a slice rather than an array, fallible conversion APIs can be used:
use endian_num::Be;
fn read_ne_isize(input: &mut &[u8]) -> Be<isize> {
    let (int_bytes, rest) = input.split_at(std::mem::size_of::<Be<isize>>());
    *input = rest;
    Be::<isize>::from_ne_bytes(int_bytes.try_into().unwrap())
}Sourcepub const fn rotate_left(self, n: u32) -> Be<isize>
 
pub const fn rotate_left(self, n: u32) -> Be<isize>
Shifts the bits to the left by a specified amount, n,
wrapping the truncated bits to the end of the resulting integer.
Please note this isn’t the same operation as the << shifting operator!
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<isize>::from_ne(0xaa00000000006e1);
let m = Be::<isize>::from_ne(0x6e10aa);
assert_eq!(n.rotate_left(12), m);Sourcepub const fn rotate_right(self, n: u32) -> Be<isize>
 
pub const fn rotate_right(self, n: u32) -> Be<isize>
Shifts the bits to the right by a specified amount, n,
wrapping the truncated bits to the beginning of the resulting
integer.
Please note this isn’t the same operation as the >> shifting operator!
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<isize>::from_ne(0x6e10aa);
let m = Be::<isize>::from_ne(0xaa00000000006e1);
assert_eq!(n.rotate_right(12), m);Sourcepub const fn swap_bytes(self) -> Be<isize>
 
pub const fn swap_bytes(self) -> Be<isize>
Reverses the byte order of the integer.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0x1234567890123456isize);
let m = n.swap_bytes();
assert_eq!(m, Be(0x5634129078563412));Sourcepub const fn reverse_bits(self) -> Be<isize>
 
pub const fn reverse_bits(self) -> Be<isize>
Reverses the order of bits in the integer.
The least significant bit becomes the most significant bit, second least-significant bit becomes second most-significant bit, etc.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0x1234567890123456isize);
let m = n.reverse_bits();
assert_eq!(m, Be(0x6a2c48091e6a2c48));
assert_eq!(Be(0), Be(0isize).reverse_bits());Source§impl Be<i8>
 
impl Be<i8>
Sourcepub const fn signum(self) -> Be<i8>
 
pub const fn signum(self) -> Be<i8>
Returns a number representing sign of self.
0if the number is zero1if the number is positive-1if the number is negative
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<i8>::from_ne(10).signum().to_ne(), 1);
assert_eq!(Be::<i8>::from_ne(0).signum().to_ne(), 0);
assert_eq!(Be::<i8>::from_ne(-10).signum().to_ne(), -1);Sourcepub const fn is_positive(self) -> bool
 
pub const fn is_positive(self) -> bool
Returns true if self is positive and false if the number is zero or
negative.
§Examples
Basic usage:
use endian_num::Be;
assert!(Be::<i8>::from_ne(10).is_positive());
assert!(!Be::<i8>::from_ne(-10).is_positive());Sourcepub const fn is_negative(self) -> bool
 
pub const fn is_negative(self) -> bool
Returns true if self is negative and false if the number is zero or
positive.
§Examples
Basic usage:
use endian_num::Be;
assert!(Be::<i8>::from_ne(-10).is_negative());
assert!(!Be::<i8>::from_ne(10).is_negative());Sourcepub const fn count_ones(self) -> u32
 
pub const fn count_ones(self) -> u32
Returns the number of ones in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0b100_0000i8);
assert_eq!(n.count_ones(), 1);Sourcepub const fn count_zeros(self) -> u32
 
pub const fn count_zeros(self) -> u32
Returns the number of zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<i8>::MAX.count_zeros(), 1);Sourcepub const fn leading_zeros(self) -> u32
 
pub const fn leading_zeros(self) -> u32
Returns the number of leading zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<i8>::from_ne(-1);
assert_eq!(n.leading_zeros(), 0);Sourcepub const fn trailing_zeros(self) -> u32
 
pub const fn trailing_zeros(self) -> u32
Returns the number of trailing zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<i8>::from_ne(-4);
assert_eq!(n.trailing_zeros(), 2);Source§impl Be<i16>
 
impl Be<i16>
Sourcepub const fn signum(self) -> Be<i16>
 
pub const fn signum(self) -> Be<i16>
Returns a number representing sign of self.
0if the number is zero1if the number is positive-1if the number is negative
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<i16>::from_ne(10).signum().to_ne(), 1);
assert_eq!(Be::<i16>::from_ne(0).signum().to_ne(), 0);
assert_eq!(Be::<i16>::from_ne(-10).signum().to_ne(), -1);Sourcepub const fn is_positive(self) -> bool
 
pub const fn is_positive(self) -> bool
Returns true if self is positive and false if the number is zero or
negative.
§Examples
Basic usage:
use endian_num::Be;
assert!(Be::<i16>::from_ne(10).is_positive());
assert!(!Be::<i16>::from_ne(-10).is_positive());Sourcepub const fn is_negative(self) -> bool
 
pub const fn is_negative(self) -> bool
Returns true if self is negative and false if the number is zero or
positive.
§Examples
Basic usage:
use endian_num::Be;
assert!(Be::<i16>::from_ne(-10).is_negative());
assert!(!Be::<i16>::from_ne(10).is_negative());Sourcepub const fn count_ones(self) -> u32
 
pub const fn count_ones(self) -> u32
Returns the number of ones in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0b100_0000i16);
assert_eq!(n.count_ones(), 1);Sourcepub const fn count_zeros(self) -> u32
 
pub const fn count_zeros(self) -> u32
Returns the number of zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<i16>::MAX.count_zeros(), 1);Sourcepub const fn leading_zeros(self) -> u32
 
pub const fn leading_zeros(self) -> u32
Returns the number of leading zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<i16>::from_ne(-1);
assert_eq!(n.leading_zeros(), 0);Sourcepub const fn trailing_zeros(self) -> u32
 
pub const fn trailing_zeros(self) -> u32
Returns the number of trailing zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<i16>::from_ne(-4);
assert_eq!(n.trailing_zeros(), 2);Source§impl Be<i32>
 
impl Be<i32>
Sourcepub const fn signum(self) -> Be<i32>
 
pub const fn signum(self) -> Be<i32>
Returns a number representing sign of self.
0if the number is zero1if the number is positive-1if the number is negative
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<i32>::from_ne(10).signum().to_ne(), 1);
assert_eq!(Be::<i32>::from_ne(0).signum().to_ne(), 0);
assert_eq!(Be::<i32>::from_ne(-10).signum().to_ne(), -1);Sourcepub const fn is_positive(self) -> bool
 
pub const fn is_positive(self) -> bool
Returns true if self is positive and false if the number is zero or
negative.
§Examples
Basic usage:
use endian_num::Be;
assert!(Be::<i32>::from_ne(10).is_positive());
assert!(!Be::<i32>::from_ne(-10).is_positive());Sourcepub const fn is_negative(self) -> bool
 
pub const fn is_negative(self) -> bool
Returns true if self is negative and false if the number is zero or
positive.
§Examples
Basic usage:
use endian_num::Be;
assert!(Be::<i32>::from_ne(-10).is_negative());
assert!(!Be::<i32>::from_ne(10).is_negative());Sourcepub const fn count_ones(self) -> u32
 
pub const fn count_ones(self) -> u32
Returns the number of ones in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0b100_0000i32);
assert_eq!(n.count_ones(), 1);Sourcepub const fn count_zeros(self) -> u32
 
pub const fn count_zeros(self) -> u32
Returns the number of zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<i32>::MAX.count_zeros(), 1);Sourcepub const fn leading_zeros(self) -> u32
 
pub const fn leading_zeros(self) -> u32
Returns the number of leading zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<i32>::from_ne(-1);
assert_eq!(n.leading_zeros(), 0);Sourcepub const fn trailing_zeros(self) -> u32
 
pub const fn trailing_zeros(self) -> u32
Returns the number of trailing zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<i32>::from_ne(-4);
assert_eq!(n.trailing_zeros(), 2);Source§impl Be<i64>
 
impl Be<i64>
Sourcepub const fn signum(self) -> Be<i64>
 
pub const fn signum(self) -> Be<i64>
Returns a number representing sign of self.
0if the number is zero1if the number is positive-1if the number is negative
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<i64>::from_ne(10).signum().to_ne(), 1);
assert_eq!(Be::<i64>::from_ne(0).signum().to_ne(), 0);
assert_eq!(Be::<i64>::from_ne(-10).signum().to_ne(), -1);Sourcepub const fn is_positive(self) -> bool
 
pub const fn is_positive(self) -> bool
Returns true if self is positive and false if the number is zero or
negative.
§Examples
Basic usage:
use endian_num::Be;
assert!(Be::<i64>::from_ne(10).is_positive());
assert!(!Be::<i64>::from_ne(-10).is_positive());Sourcepub const fn is_negative(self) -> bool
 
pub const fn is_negative(self) -> bool
Returns true if self is negative and false if the number is zero or
positive.
§Examples
Basic usage:
use endian_num::Be;
assert!(Be::<i64>::from_ne(-10).is_negative());
assert!(!Be::<i64>::from_ne(10).is_negative());Sourcepub const fn count_ones(self) -> u32
 
pub const fn count_ones(self) -> u32
Returns the number of ones in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0b100_0000i64);
assert_eq!(n.count_ones(), 1);Sourcepub const fn count_zeros(self) -> u32
 
pub const fn count_zeros(self) -> u32
Returns the number of zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<i64>::MAX.count_zeros(), 1);Sourcepub const fn leading_zeros(self) -> u32
 
pub const fn leading_zeros(self) -> u32
Returns the number of leading zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<i64>::from_ne(-1);
assert_eq!(n.leading_zeros(), 0);Sourcepub const fn trailing_zeros(self) -> u32
 
pub const fn trailing_zeros(self) -> u32
Returns the number of trailing zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<i64>::from_ne(-4);
assert_eq!(n.trailing_zeros(), 2);Source§impl Be<i128>
 
impl Be<i128>
Sourcepub const fn signum(self) -> Be<i128>
 
pub const fn signum(self) -> Be<i128>
Returns a number representing sign of self.
0if the number is zero1if the number is positive-1if the number is negative
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<i128>::from_ne(10).signum().to_ne(), 1);
assert_eq!(Be::<i128>::from_ne(0).signum().to_ne(), 0);
assert_eq!(Be::<i128>::from_ne(-10).signum().to_ne(), -1);Sourcepub const fn is_positive(self) -> bool
 
pub const fn is_positive(self) -> bool
Returns true if self is positive and false if the number is zero or
negative.
§Examples
Basic usage:
use endian_num::Be;
assert!(Be::<i128>::from_ne(10).is_positive());
assert!(!Be::<i128>::from_ne(-10).is_positive());Sourcepub const fn is_negative(self) -> bool
 
pub const fn is_negative(self) -> bool
Returns true if self is negative and false if the number is zero or
positive.
§Examples
Basic usage:
use endian_num::Be;
assert!(Be::<i128>::from_ne(-10).is_negative());
assert!(!Be::<i128>::from_ne(10).is_negative());Sourcepub const fn count_ones(self) -> u32
 
pub const fn count_ones(self) -> u32
Returns the number of ones in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0b100_0000i128);
assert_eq!(n.count_ones(), 1);Sourcepub const fn count_zeros(self) -> u32
 
pub const fn count_zeros(self) -> u32
Returns the number of zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<i128>::MAX.count_zeros(), 1);Sourcepub const fn leading_zeros(self) -> u32
 
pub const fn leading_zeros(self) -> u32
Returns the number of leading zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<i128>::from_ne(-1);
assert_eq!(n.leading_zeros(), 0);Sourcepub const fn trailing_zeros(self) -> u32
 
pub const fn trailing_zeros(self) -> u32
Returns the number of trailing zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<i128>::from_ne(-4);
assert_eq!(n.trailing_zeros(), 2);Source§impl Be<isize>
 
impl Be<isize>
Sourcepub const fn abs(self) -> Be<isize>
 
pub const fn abs(self) -> Be<isize>
Computes the absolute value of self.
See isize::abs
for documentation on overflow behavior.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<isize>::from_ne(10).abs(), Be::<isize>::from_ne(10));
assert_eq!(Be::<isize>::from_ne(-10).abs(), Be::<isize>::from_ne(10));Sourcepub const fn signum(self) -> Be<isize>
 
pub const fn signum(self) -> Be<isize>
Returns a number representing sign of self.
0if the number is zero1if the number is positive-1if the number is negative
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<isize>::from_ne(10).signum().to_ne(), 1);
assert_eq!(Be::<isize>::from_ne(0).signum().to_ne(), 0);
assert_eq!(Be::<isize>::from_ne(-10).signum().to_ne(), -1);Sourcepub const fn is_positive(self) -> bool
 
pub const fn is_positive(self) -> bool
Returns true if self is positive and false if the number is zero or
negative.
§Examples
Basic usage:
use endian_num::Be;
assert!(Be::<isize>::from_ne(10).is_positive());
assert!(!Be::<isize>::from_ne(-10).is_positive());Sourcepub const fn is_negative(self) -> bool
 
pub const fn is_negative(self) -> bool
Returns true if self is negative and false if the number is zero or
positive.
§Examples
Basic usage:
use endian_num::Be;
assert!(Be::<isize>::from_ne(-10).is_negative());
assert!(!Be::<isize>::from_ne(10).is_negative());Sourcepub const fn count_ones(self) -> u32
 
pub const fn count_ones(self) -> u32
Returns the number of ones in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0b100_0000isize);
assert_eq!(n.count_ones(), 1);Sourcepub const fn count_zeros(self) -> u32
 
pub const fn count_zeros(self) -> u32
Returns the number of zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<isize>::MAX.count_zeros(), 1);Sourcepub const fn leading_zeros(self) -> u32
 
pub const fn leading_zeros(self) -> u32
Returns the number of leading zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<isize>::from_ne(-1);
assert_eq!(n.leading_zeros(), 0);Sourcepub const fn trailing_zeros(self) -> u32
 
pub const fn trailing_zeros(self) -> u32
Returns the number of trailing zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<isize>::from_ne(-4);
assert_eq!(n.trailing_zeros(), 2);Source§impl Be<u8>
 
impl Be<u8>
Sourcepub const fn count_ones(self) -> u32
 
pub const fn count_ones(self) -> u32
Returns the number of ones in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0b01001100u8);
assert_eq!(n.count_ones(), 3);Sourcepub const fn count_zeros(self) -> u32
 
pub const fn count_zeros(self) -> u32
Returns the number of zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<u8>::MAX.count_zeros(), 0);Sourcepub const fn leading_zeros(self) -> u32
 
pub const fn leading_zeros(self) -> u32
Returns the number of leading zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<u8>::from_ne(u8::MAX >> 2);
assert_eq!(n.leading_zeros(), 2);Sourcepub const fn trailing_zeros(self) -> u32
 
pub const fn trailing_zeros(self) -> u32
Returns the number of trailing zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<u8>::from_ne(0b0101000);
assert_eq!(n.trailing_zeros(), 3);Sourcepub const fn is_power_of_two(self) -> bool
 
pub const fn is_power_of_two(self) -> bool
Returns true if and only if self == 2^k for some k.
§Examples
Basic usage:
use endian_num::Be;
assert!(Be::<u8>::from_ne(16).is_power_of_two());
assert!(!Be::<u8>::from_ne(10).is_power_of_two());Source§impl Be<u16>
 
impl Be<u16>
Sourcepub const fn count_ones(self) -> u32
 
pub const fn count_ones(self) -> u32
Returns the number of ones in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0b01001100u16);
assert_eq!(n.count_ones(), 3);Sourcepub const fn count_zeros(self) -> u32
 
pub const fn count_zeros(self) -> u32
Returns the number of zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<u16>::MAX.count_zeros(), 0);Sourcepub const fn leading_zeros(self) -> u32
 
pub const fn leading_zeros(self) -> u32
Returns the number of leading zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<u16>::from_ne(u16::MAX >> 2);
assert_eq!(n.leading_zeros(), 2);Sourcepub const fn trailing_zeros(self) -> u32
 
pub const fn trailing_zeros(self) -> u32
Returns the number of trailing zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<u16>::from_ne(0b0101000);
assert_eq!(n.trailing_zeros(), 3);Sourcepub const fn is_power_of_two(self) -> bool
 
pub const fn is_power_of_two(self) -> bool
Returns true if and only if self == 2^k for some k.
§Examples
Basic usage:
use endian_num::Be;
assert!(Be::<u16>::from_ne(16).is_power_of_two());
assert!(!Be::<u16>::from_ne(10).is_power_of_two());Source§impl Be<u32>
 
impl Be<u32>
Sourcepub const fn count_ones(self) -> u32
 
pub const fn count_ones(self) -> u32
Returns the number of ones in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0b01001100u32);
assert_eq!(n.count_ones(), 3);Sourcepub const fn count_zeros(self) -> u32
 
pub const fn count_zeros(self) -> u32
Returns the number of zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<u32>::MAX.count_zeros(), 0);Sourcepub const fn leading_zeros(self) -> u32
 
pub const fn leading_zeros(self) -> u32
Returns the number of leading zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<u32>::from_ne(u32::MAX >> 2);
assert_eq!(n.leading_zeros(), 2);Sourcepub const fn trailing_zeros(self) -> u32
 
pub const fn trailing_zeros(self) -> u32
Returns the number of trailing zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<u32>::from_ne(0b0101000);
assert_eq!(n.trailing_zeros(), 3);Sourcepub const fn is_power_of_two(self) -> bool
 
pub const fn is_power_of_two(self) -> bool
Returns true if and only if self == 2^k for some k.
§Examples
Basic usage:
use endian_num::Be;
assert!(Be::<u32>::from_ne(16).is_power_of_two());
assert!(!Be::<u32>::from_ne(10).is_power_of_two());Source§impl Be<u64>
 
impl Be<u64>
Sourcepub const fn count_ones(self) -> u32
 
pub const fn count_ones(self) -> u32
Returns the number of ones in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0b01001100u64);
assert_eq!(n.count_ones(), 3);Sourcepub const fn count_zeros(self) -> u32
 
pub const fn count_zeros(self) -> u32
Returns the number of zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<u64>::MAX.count_zeros(), 0);Sourcepub const fn leading_zeros(self) -> u32
 
pub const fn leading_zeros(self) -> u32
Returns the number of leading zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<u64>::from_ne(u64::MAX >> 2);
assert_eq!(n.leading_zeros(), 2);Sourcepub const fn trailing_zeros(self) -> u32
 
pub const fn trailing_zeros(self) -> u32
Returns the number of trailing zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<u64>::from_ne(0b0101000);
assert_eq!(n.trailing_zeros(), 3);Sourcepub const fn is_power_of_two(self) -> bool
 
pub const fn is_power_of_two(self) -> bool
Returns true if and only if self == 2^k for some k.
§Examples
Basic usage:
use endian_num::Be;
assert!(Be::<u64>::from_ne(16).is_power_of_two());
assert!(!Be::<u64>::from_ne(10).is_power_of_two());Source§impl Be<u128>
 
impl Be<u128>
Sourcepub const fn count_ones(self) -> u32
 
pub const fn count_ones(self) -> u32
Returns the number of ones in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0b01001100u128);
assert_eq!(n.count_ones(), 3);Sourcepub const fn count_zeros(self) -> u32
 
pub const fn count_zeros(self) -> u32
Returns the number of zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<u128>::MAX.count_zeros(), 0);Sourcepub const fn leading_zeros(self) -> u32
 
pub const fn leading_zeros(self) -> u32
Returns the number of leading zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<u128>::from_ne(u128::MAX >> 2);
assert_eq!(n.leading_zeros(), 2);Sourcepub const fn trailing_zeros(self) -> u32
 
pub const fn trailing_zeros(self) -> u32
Returns the number of trailing zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<u128>::from_ne(0b0101000);
assert_eq!(n.trailing_zeros(), 3);Sourcepub const fn is_power_of_two(self) -> bool
 
pub const fn is_power_of_two(self) -> bool
Returns true if and only if self == 2^k for some k.
§Examples
Basic usage:
use endian_num::Be;
assert!(Be::<u128>::from_ne(16).is_power_of_two());
assert!(!Be::<u128>::from_ne(10).is_power_of_two());Source§impl Be<usize>
 
impl Be<usize>
Sourcepub const fn count_ones(self) -> u32
 
pub const fn count_ones(self) -> u32
Returns the number of ones in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be(0b01001100usize);
assert_eq!(n.count_ones(), 3);Sourcepub const fn count_zeros(self) -> u32
 
pub const fn count_zeros(self) -> u32
Returns the number of zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
assert_eq!(Be::<usize>::MAX.count_zeros(), 0);Sourcepub const fn leading_zeros(self) -> u32
 
pub const fn leading_zeros(self) -> u32
Returns the number of leading zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<usize>::from_ne(usize::MAX >> 2);
assert_eq!(n.leading_zeros(), 2);Sourcepub const fn trailing_zeros(self) -> u32
 
pub const fn trailing_zeros(self) -> u32
Returns the number of trailing zeros in the binary representation of self.
§Examples
Basic usage:
use endian_num::Be;
let n = Be::<usize>::from_ne(0b0101000);
assert_eq!(n.trailing_zeros(), 3);Sourcepub const fn is_power_of_two(self) -> bool
 
pub const fn is_power_of_two(self) -> bool
Returns true if and only if self == 2^k for some k.
§Examples
Basic usage:
use endian_num::Be;
assert!(Be::<usize>::from_ne(16).is_power_of_two());
assert!(!Be::<usize>::from_ne(10).is_power_of_two());Trait Implementations§
Source§impl BitAndAssign for Be<i128>
 
impl BitAndAssign for Be<i128>
Source§impl BitAndAssign for Be<i16>
 
impl BitAndAssign for Be<i16>
Source§impl BitAndAssign for Be<i32>
 
impl BitAndAssign for Be<i32>
Source§impl BitAndAssign for Be<i64>
 
impl BitAndAssign for Be<i64>
Source§impl BitAndAssign for Be<i8>
 
impl BitAndAssign for Be<i8>
Source§impl BitAndAssign for Be<isize>
 
impl BitAndAssign for Be<isize>
Source§impl BitAndAssign for Be<u128>
 
impl BitAndAssign for Be<u128>
Source§impl BitAndAssign for Be<u16>
 
impl BitAndAssign for Be<u16>
Source§impl BitAndAssign for Be<u32>
 
impl BitAndAssign for Be<u32>
Source§impl BitAndAssign for Be<u64>
 
impl BitAndAssign for Be<u64>
Source§impl BitAndAssign for Be<u8>
 
impl BitAndAssign for Be<u8>
Source§impl BitAndAssign for Be<usize>
 
impl BitAndAssign for Be<usize>
Source§impl BitOrAssign for Be<i128>
 
impl BitOrAssign for Be<i128>
Source§impl BitOrAssign for Be<i16>
 
impl BitOrAssign for Be<i16>
Source§impl BitOrAssign for Be<i32>
 
impl BitOrAssign for Be<i32>
Source§impl BitOrAssign for Be<i64>
 
impl BitOrAssign for Be<i64>
Source§impl BitOrAssign for Be<i8>
 
impl BitOrAssign for Be<i8>
Source§impl BitOrAssign for Be<isize>
 
impl BitOrAssign for Be<isize>
Source§impl BitOrAssign for Be<u128>
 
impl BitOrAssign for Be<u128>
Source§impl BitOrAssign for Be<u16>
 
impl BitOrAssign for Be<u16>
Source§impl BitOrAssign for Be<u32>
 
impl BitOrAssign for Be<u32>
Source§impl BitOrAssign for Be<u64>
 
impl BitOrAssign for Be<u64>
Source§impl BitOrAssign for Be<u8>
 
impl BitOrAssign for Be<u8>
Source§impl BitOrAssign for Be<usize>
 
impl BitOrAssign for Be<usize>
Source§impl BitXorAssign for Be<i128>
 
impl BitXorAssign for Be<i128>
Source§impl BitXorAssign for Be<i16>
 
impl BitXorAssign for Be<i16>
Source§impl BitXorAssign for Be<i32>
 
impl BitXorAssign for Be<i32>
Source§impl BitXorAssign for Be<i64>
 
impl BitXorAssign for Be<i64>
Source§impl BitXorAssign for Be<i8>
 
impl BitXorAssign for Be<i8>
Source§impl BitXorAssign for Be<isize>
 
impl BitXorAssign for Be<isize>
Source§impl BitXorAssign for Be<u128>
 
impl BitXorAssign for Be<u128>
Source§impl BitXorAssign for Be<u16>
 
impl BitXorAssign for Be<u16>
Source§impl BitXorAssign for Be<u32>
 
impl BitXorAssign for Be<u32>
Source§impl BitXorAssign for Be<u64>
 
impl BitXorAssign for Be<u64>
Source§impl BitXorAssign for Be<u8>
 
impl BitXorAssign for Be<u8>
Source§impl BitXorAssign for Be<usize>
 
impl BitXorAssign for Be<usize>
Source§impl<T> FromBytes for Be<T>where
    T: FromBytes,
 
impl<T> FromBytes for Be<T>where
    T: FromBytes,
Source§fn ref_from_bytes(
    source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
    Self: KnownLayout + Immutable,
 
fn ref_from_bytes(
    source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
    Self: KnownLayout + Immutable,
Source§fn ref_from_prefix(
    source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
    Self: KnownLayout + Immutable,
 
fn ref_from_prefix(
    source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
    Self: KnownLayout + Immutable,
Source§fn ref_from_suffix(
    source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
    Self: Immutable + KnownLayout,
 
fn ref_from_suffix(
    source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
    Self: Immutable + KnownLayout,
&Self. Read moreSource§fn mut_from_bytes(
    source: &mut [u8],
) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
    Self: IntoBytes + KnownLayout,
 
fn mut_from_bytes(
    source: &mut [u8],
) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
    Self: IntoBytes + KnownLayout,
Source§fn mut_from_prefix(
    source: &mut [u8],
) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
    Self: IntoBytes + KnownLayout,
 
fn mut_from_prefix(
    source: &mut [u8],
) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
    Self: IntoBytes + KnownLayout,
Source§fn mut_from_suffix(
    source: &mut [u8],
) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
    Self: IntoBytes + KnownLayout,
 
fn mut_from_suffix(
    source: &mut [u8],
) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
    Self: IntoBytes + KnownLayout,
Source§fn ref_from_bytes_with_elems(
    source: &[u8],
    count: usize,
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
 
fn ref_from_bytes_with_elems( source: &[u8], count: usize, ) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
Source§fn ref_from_prefix_with_elems(
    source: &[u8],
    count: usize,
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
 
fn ref_from_prefix_with_elems( source: &[u8], count: usize, ) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
Source§fn ref_from_suffix_with_elems(
    source: &[u8],
    count: usize,
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
 
fn ref_from_suffix_with_elems( source: &[u8], count: usize, ) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>
Source§fn mut_from_bytes_with_elems(
    source: &mut [u8],
    count: usize,
) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
 
fn mut_from_bytes_with_elems( source: &mut [u8], count: usize, ) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
Source§fn mut_from_prefix_with_elems(
    source: &mut [u8],
    count: usize,
) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
 
fn mut_from_prefix_with_elems( source: &mut [u8], count: usize, ) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
Source§fn mut_from_suffix_with_elems(
    source: &mut [u8],
    count: usize,
) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
 
fn mut_from_suffix_with_elems( source: &mut [u8], count: usize, ) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>
Source§impl<T> IntoBytes for Be<T>where
    T: IntoBytes,
 
impl<T> IntoBytes for Be<T>where
    T: IntoBytes,
Source§fn as_mut_bytes(&mut self) -> &mut [u8]where
    Self: FromBytes,
 
fn as_mut_bytes(&mut self) -> &mut [u8]where
    Self: FromBytes,
Source§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
    Self: Immutable,
 
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
    Self: Immutable,
Source§impl<T> KnownLayout for Be<T>
 
impl<T> KnownLayout for Be<T>
Source§type PointerMetadata = ()
 
type PointerMetadata = ()
Self. Read moreSource§fn size_for_metadata(meta: Self::PointerMetadata) -> Option<usize>
 
fn size_for_metadata(meta: Self::PointerMetadata) -> Option<usize>
Self with the given pointer
metadata. Read moreSource§impl Ord for Be<i128>
 
impl Ord for Be<i128>
Source§impl Ord for Be<i16>
 
impl Ord for Be<i16>
Source§impl Ord for Be<i32>
 
impl Ord for Be<i32>
Source§impl Ord for Be<i64>
 
impl Ord for Be<i64>
Source§impl Ord for Be<i8>
 
impl Ord for Be<i8>
Source§impl Ord for Be<isize>
 
impl Ord for Be<isize>
Source§impl Ord for Be<u128>
 
impl Ord for Be<u128>
Source§impl Ord for Be<u16>
 
impl Ord for Be<u16>
Source§impl Ord for Be<u32>
 
impl Ord for Be<u32>
Source§impl Ord for Be<u64>
 
impl Ord for Be<u64>
Source§impl Ord for Be<u8>
 
impl Ord for Be<u8>
Source§impl Ord for Be<usize>
 
impl Ord for Be<usize>
Source§impl PartialOrd for Be<i128>
 
impl PartialOrd for Be<i128>
Source§impl PartialOrd for Be<i16>
 
impl PartialOrd for Be<i16>
Source§impl PartialOrd for Be<i32>
 
impl PartialOrd for Be<i32>
Source§impl PartialOrd for Be<i64>
 
impl PartialOrd for Be<i64>
Source§impl PartialOrd for Be<i8>
 
impl PartialOrd for Be<i8>
Source§impl PartialOrd for Be<isize>
 
impl PartialOrd for Be<isize>
Source§impl PartialOrd for Be<u128>
 
impl PartialOrd for Be<u128>
Source§impl PartialOrd for Be<u16>
 
impl PartialOrd for Be<u16>
Source§impl PartialOrd for Be<u32>
 
impl PartialOrd for Be<u32>
Source§impl PartialOrd for Be<u64>
 
impl PartialOrd for Be<u64>
Source§impl PartialOrd for Be<u8>
 
impl PartialOrd for Be<u8>
Source§impl PartialOrd for Be<usize>
 
impl PartialOrd for Be<usize>
Source§impl ShlAssign<&i128> for Be<i128>
 
impl ShlAssign<&i128> for Be<i128>
Source§fn shl_assign(&mut self, rhs: &i128)
 
fn shl_assign(&mut self, rhs: &i128)
<<= operation. Read moreSource§impl ShlAssign<&i128> for Be<i16>
 
impl ShlAssign<&i128> for Be<i16>
Source§fn shl_assign(&mut self, rhs: &i128)
 
fn shl_assign(&mut self, rhs: &i128)
<<= operation. Read moreSource§impl ShlAssign<&i128> for Be<i32>
 
impl ShlAssign<&i128> for Be<i32>
Source§fn shl_assign(&mut self, rhs: &i128)
 
fn shl_assign(&mut self, rhs: &i128)
<<= operation. Read moreSource§impl ShlAssign<&i128> for Be<i64>
 
impl ShlAssign<&i128> for Be<i64>
Source§fn shl_assign(&mut self, rhs: &i128)
 
fn shl_assign(&mut self, rhs: &i128)
<<= operation. Read moreSource§impl ShlAssign<&i128> for Be<i8>
 
impl ShlAssign<&i128> for Be<i8>
Source§fn shl_assign(&mut self, rhs: &i128)
 
fn shl_assign(&mut self, rhs: &i128)
<<= operation. Read moreSource§impl ShlAssign<&i128> for Be<isize>
 
impl ShlAssign<&i128> for Be<isize>
Source§fn shl_assign(&mut self, rhs: &i128)
 
fn shl_assign(&mut self, rhs: &i128)
<<= operation. Read moreSource§impl ShlAssign<&i128> for Be<u128>
 
impl ShlAssign<&i128> for Be<u128>
Source§fn shl_assign(&mut self, rhs: &i128)
 
fn shl_assign(&mut self, rhs: &i128)
<<= operation. Read moreSource§impl ShlAssign<&i128> for Be<u16>
 
impl ShlAssign<&i128> for Be<u16>
Source§fn shl_assign(&mut self, rhs: &i128)
 
fn shl_assign(&mut self, rhs: &i128)
<<= operation. Read moreSource§impl ShlAssign<&i128> for Be<u32>
 
impl ShlAssign<&i128> for Be<u32>
Source§fn shl_assign(&mut self, rhs: &i128)
 
fn shl_assign(&mut self, rhs: &i128)
<<= operation. Read moreSource§impl ShlAssign<&i128> for Be<u64>
 
impl ShlAssign<&i128> for Be<u64>
Source§fn shl_assign(&mut self, rhs: &i128)
 
fn shl_assign(&mut self, rhs: &i128)
<<= operation. Read moreSource§impl ShlAssign<&i128> for Be<u8>
 
impl ShlAssign<&i128> for Be<u8>
Source§fn shl_assign(&mut self, rhs: &i128)
 
fn shl_assign(&mut self, rhs: &i128)
<<= operation. Read moreSource§impl ShlAssign<&i128> for Be<usize>
 
impl ShlAssign<&i128> for Be<usize>
Source§fn shl_assign(&mut self, rhs: &i128)
 
fn shl_assign(&mut self, rhs: &i128)
<<= operation. Read moreSource§impl ShlAssign<&i16> for Be<i128>
 
impl ShlAssign<&i16> for Be<i128>
Source§fn shl_assign(&mut self, rhs: &i16)
 
fn shl_assign(&mut self, rhs: &i16)
<<= operation. Read moreSource§impl ShlAssign<&i16> for Be<i16>
 
impl ShlAssign<&i16> for Be<i16>
Source§fn shl_assign(&mut self, rhs: &i16)
 
fn shl_assign(&mut self, rhs: &i16)
<<= operation. Read moreSource§impl ShlAssign<&i16> for Be<i32>
 
impl ShlAssign<&i16> for Be<i32>
Source§fn shl_assign(&mut self, rhs: &i16)
 
fn shl_assign(&mut self, rhs: &i16)
<<= operation. Read moreSource§impl ShlAssign<&i16> for Be<i64>
 
impl ShlAssign<&i16> for Be<i64>
Source§fn shl_assign(&mut self, rhs: &i16)
 
fn shl_assign(&mut self, rhs: &i16)
<<= operation. Read moreSource§impl ShlAssign<&i16> for Be<i8>
 
impl ShlAssign<&i16> for Be<i8>
Source§fn shl_assign(&mut self, rhs: &i16)
 
fn shl_assign(&mut self, rhs: &i16)
<<= operation. Read moreSource§impl ShlAssign<&i16> for Be<isize>
 
impl ShlAssign<&i16> for Be<isize>
Source§fn shl_assign(&mut self, rhs: &i16)
 
fn shl_assign(&mut self, rhs: &i16)
<<= operation. Read moreSource§impl ShlAssign<&i16> for Be<u128>
 
impl ShlAssign<&i16> for Be<u128>
Source§fn shl_assign(&mut self, rhs: &i16)
 
fn shl_assign(&mut self, rhs: &i16)
<<= operation. Read moreSource§impl ShlAssign<&i16> for Be<u16>
 
impl ShlAssign<&i16> for Be<u16>
Source§fn shl_assign(&mut self, rhs: &i16)
 
fn shl_assign(&mut self, rhs: &i16)
<<= operation. Read moreSource§impl ShlAssign<&i16> for Be<u32>
 
impl ShlAssign<&i16> for Be<u32>
Source§fn shl_assign(&mut self, rhs: &i16)
 
fn shl_assign(&mut self, rhs: &i16)
<<= operation. Read moreSource§impl ShlAssign<&i16> for Be<u64>
 
impl ShlAssign<&i16> for Be<u64>
Source§fn shl_assign(&mut self, rhs: &i16)
 
fn shl_assign(&mut self, rhs: &i16)
<<= operation. Read moreSource§impl ShlAssign<&i16> for Be<u8>
 
impl ShlAssign<&i16> for Be<u8>
Source§fn shl_assign(&mut self, rhs: &i16)
 
fn shl_assign(&mut self, rhs: &i16)
<<= operation. Read moreSource§impl ShlAssign<&i16> for Be<usize>
 
impl ShlAssign<&i16> for Be<usize>
Source§fn shl_assign(&mut self, rhs: &i16)
 
fn shl_assign(&mut self, rhs: &i16)
<<= operation. Read moreSource§impl ShlAssign<&i32> for Be<i128>
 
impl ShlAssign<&i32> for Be<i128>
Source§fn shl_assign(&mut self, rhs: &i32)
 
fn shl_assign(&mut self, rhs: &i32)
<<= operation. Read moreSource§impl ShlAssign<&i32> for Be<i16>
 
impl ShlAssign<&i32> for Be<i16>
Source§fn shl_assign(&mut self, rhs: &i32)
 
fn shl_assign(&mut self, rhs: &i32)
<<= operation. Read moreSource§impl ShlAssign<&i32> for Be<i32>
 
impl ShlAssign<&i32> for Be<i32>
Source§fn shl_assign(&mut self, rhs: &i32)
 
fn shl_assign(&mut self, rhs: &i32)
<<= operation. Read moreSource§impl ShlAssign<&i32> for Be<i64>
 
impl ShlAssign<&i32> for Be<i64>
Source§fn shl_assign(&mut self, rhs: &i32)
 
fn shl_assign(&mut self, rhs: &i32)
<<= operation. Read moreSource§impl ShlAssign<&i32> for Be<i8>
 
impl ShlAssign<&i32> for Be<i8>
Source§fn shl_assign(&mut self, rhs: &i32)
 
fn shl_assign(&mut self, rhs: &i32)
<<= operation. Read moreSource§impl ShlAssign<&i32> for Be<isize>
 
impl ShlAssign<&i32> for Be<isize>
Source§fn shl_assign(&mut self, rhs: &i32)
 
fn shl_assign(&mut self, rhs: &i32)
<<= operation. Read moreSource§impl ShlAssign<&i32> for Be<u128>
 
impl ShlAssign<&i32> for Be<u128>
Source§fn shl_assign(&mut self, rhs: &i32)
 
fn shl_assign(&mut self, rhs: &i32)
<<= operation. Read moreSource§impl ShlAssign<&i32> for Be<u16>
 
impl ShlAssign<&i32> for Be<u16>
Source§fn shl_assign(&mut self, rhs: &i32)
 
fn shl_assign(&mut self, rhs: &i32)
<<= operation. Read moreSource§impl ShlAssign<&i32> for Be<u32>
 
impl ShlAssign<&i32> for Be<u32>
Source§fn shl_assign(&mut self, rhs: &i32)
 
fn shl_assign(&mut self, rhs: &i32)
<<= operation. Read moreSource§impl ShlAssign<&i32> for Be<u64>
 
impl ShlAssign<&i32> for Be<u64>
Source§fn shl_assign(&mut self, rhs: &i32)
 
fn shl_assign(&mut self, rhs: &i32)
<<= operation. Read moreSource§impl ShlAssign<&i32> for Be<u8>
 
impl ShlAssign<&i32> for Be<u8>
Source§fn shl_assign(&mut self, rhs: &i32)
 
fn shl_assign(&mut self, rhs: &i32)
<<= operation. Read moreSource§impl ShlAssign<&i32> for Be<usize>
 
impl ShlAssign<&i32> for Be<usize>
Source§fn shl_assign(&mut self, rhs: &i32)
 
fn shl_assign(&mut self, rhs: &i32)
<<= operation. Read moreSource§impl ShlAssign<&i64> for Be<i128>
 
impl ShlAssign<&i64> for Be<i128>
Source§fn shl_assign(&mut self, rhs: &i64)
 
fn shl_assign(&mut self, rhs: &i64)
<<= operation. Read moreSource§impl ShlAssign<&i64> for Be<i16>
 
impl ShlAssign<&i64> for Be<i16>
Source§fn shl_assign(&mut self, rhs: &i64)
 
fn shl_assign(&mut self, rhs: &i64)
<<= operation. Read moreSource§impl ShlAssign<&i64> for Be<i32>
 
impl ShlAssign<&i64> for Be<i32>
Source§fn shl_assign(&mut self, rhs: &i64)
 
fn shl_assign(&mut self, rhs: &i64)
<<= operation. Read moreSource§impl ShlAssign<&i64> for Be<i64>
 
impl ShlAssign<&i64> for Be<i64>
Source§fn shl_assign(&mut self, rhs: &i64)
 
fn shl_assign(&mut self, rhs: &i64)
<<= operation. Read moreSource§impl ShlAssign<&i64> for Be<i8>
 
impl ShlAssign<&i64> for Be<i8>
Source§fn shl_assign(&mut self, rhs: &i64)
 
fn shl_assign(&mut self, rhs: &i64)
<<= operation. Read moreSource§impl ShlAssign<&i64> for Be<isize>
 
impl ShlAssign<&i64> for Be<isize>
Source§fn shl_assign(&mut self, rhs: &i64)
 
fn shl_assign(&mut self, rhs: &i64)
<<= operation. Read moreSource§impl ShlAssign<&i64> for Be<u128>
 
impl ShlAssign<&i64> for Be<u128>
Source§fn shl_assign(&mut self, rhs: &i64)
 
fn shl_assign(&mut self, rhs: &i64)
<<= operation. Read moreSource§impl ShlAssign<&i64> for Be<u16>
 
impl ShlAssign<&i64> for Be<u16>
Source§fn shl_assign(&mut self, rhs: &i64)
 
fn shl_assign(&mut self, rhs: &i64)
<<= operation. Read moreSource§impl ShlAssign<&i64> for Be<u32>
 
impl ShlAssign<&i64> for Be<u32>
Source§fn shl_assign(&mut self, rhs: &i64)
 
fn shl_assign(&mut self, rhs: &i64)
<<= operation. Read moreSource§impl ShlAssign<&i64> for Be<u64>
 
impl ShlAssign<&i64> for Be<u64>
Source§fn shl_assign(&mut self, rhs: &i64)
 
fn shl_assign(&mut self, rhs: &i64)
<<= operation. Read moreSource§impl ShlAssign<&i64> for Be<u8>
 
impl ShlAssign<&i64> for Be<u8>
Source§fn shl_assign(&mut self, rhs: &i64)
 
fn shl_assign(&mut self, rhs: &i64)
<<= operation. Read moreSource§impl ShlAssign<&i64> for Be<usize>
 
impl ShlAssign<&i64> for Be<usize>
Source§fn shl_assign(&mut self, rhs: &i64)
 
fn shl_assign(&mut self, rhs: &i64)
<<= operation. Read moreSource§impl ShlAssign<&i8> for Be<i128>
 
impl ShlAssign<&i8> for Be<i128>
Source§fn shl_assign(&mut self, rhs: &i8)
 
fn shl_assign(&mut self, rhs: &i8)
<<= operation. Read moreSource§impl ShlAssign<&i8> for Be<i16>
 
impl ShlAssign<&i8> for Be<i16>
Source§fn shl_assign(&mut self, rhs: &i8)
 
fn shl_assign(&mut self, rhs: &i8)
<<= operation. Read moreSource§impl ShlAssign<&i8> for Be<i32>
 
impl ShlAssign<&i8> for Be<i32>
Source§fn shl_assign(&mut self, rhs: &i8)
 
fn shl_assign(&mut self, rhs: &i8)
<<= operation. Read moreSource§impl ShlAssign<&i8> for Be<i64>
 
impl ShlAssign<&i8> for Be<i64>
Source§fn shl_assign(&mut self, rhs: &i8)
 
fn shl_assign(&mut self, rhs: &i8)
<<= operation. Read moreSource§impl ShlAssign<&i8> for Be<i8>
 
impl ShlAssign<&i8> for Be<i8>
Source§fn shl_assign(&mut self, rhs: &i8)
 
fn shl_assign(&mut self, rhs: &i8)
<<= operation. Read moreSource§impl ShlAssign<&i8> for Be<isize>
 
impl ShlAssign<&i8> for Be<isize>
Source§fn shl_assign(&mut self, rhs: &i8)
 
fn shl_assign(&mut self, rhs: &i8)
<<= operation. Read moreSource§impl ShlAssign<&i8> for Be<u128>
 
impl ShlAssign<&i8> for Be<u128>
Source§fn shl_assign(&mut self, rhs: &i8)
 
fn shl_assign(&mut self, rhs: &i8)
<<= operation. Read moreSource§impl ShlAssign<&i8> for Be<u16>
 
impl ShlAssign<&i8> for Be<u16>
Source§fn shl_assign(&mut self, rhs: &i8)
 
fn shl_assign(&mut self, rhs: &i8)
<<= operation. Read moreSource§impl ShlAssign<&i8> for Be<u32>
 
impl ShlAssign<&i8> for Be<u32>
Source§fn shl_assign(&mut self, rhs: &i8)
 
fn shl_assign(&mut self, rhs: &i8)
<<= operation. Read moreSource§impl ShlAssign<&i8> for Be<u64>
 
impl ShlAssign<&i8> for Be<u64>
Source§fn shl_assign(&mut self, rhs: &i8)
 
fn shl_assign(&mut self, rhs: &i8)
<<= operation. Read moreSource§impl ShlAssign<&i8> for Be<u8>
 
impl ShlAssign<&i8> for Be<u8>
Source§fn shl_assign(&mut self, rhs: &i8)
 
fn shl_assign(&mut self, rhs: &i8)
<<= operation. Read moreSource§impl ShlAssign<&i8> for Be<usize>
 
impl ShlAssign<&i8> for Be<usize>
Source§fn shl_assign(&mut self, rhs: &i8)
 
fn shl_assign(&mut self, rhs: &i8)
<<= operation. Read moreSource§impl ShlAssign<&isize> for Be<i128>
 
impl ShlAssign<&isize> for Be<i128>
Source§fn shl_assign(&mut self, rhs: &isize)
 
fn shl_assign(&mut self, rhs: &isize)
<<= operation. Read moreSource§impl ShlAssign<&isize> for Be<i16>
 
impl ShlAssign<&isize> for Be<i16>
Source§fn shl_assign(&mut self, rhs: &isize)
 
fn shl_assign(&mut self, rhs: &isize)
<<= operation. Read moreSource§impl ShlAssign<&isize> for Be<i32>
 
impl ShlAssign<&isize> for Be<i32>
Source§fn shl_assign(&mut self, rhs: &isize)
 
fn shl_assign(&mut self, rhs: &isize)
<<= operation. Read moreSource§impl ShlAssign<&isize> for Be<i64>
 
impl ShlAssign<&isize> for Be<i64>
Source§fn shl_assign(&mut self, rhs: &isize)
 
fn shl_assign(&mut self, rhs: &isize)
<<= operation. Read moreSource§impl ShlAssign<&isize> for Be<i8>
 
impl ShlAssign<&isize> for Be<i8>
Source§fn shl_assign(&mut self, rhs: &isize)
 
fn shl_assign(&mut self, rhs: &isize)
<<= operation. Read moreSource§impl ShlAssign<&isize> for Be<isize>
 
impl ShlAssign<&isize> for Be<isize>
Source§fn shl_assign(&mut self, rhs: &isize)
 
fn shl_assign(&mut self, rhs: &isize)
<<= operation. Read moreSource§impl ShlAssign<&isize> for Be<u128>
 
impl ShlAssign<&isize> for Be<u128>
Source§fn shl_assign(&mut self, rhs: &isize)
 
fn shl_assign(&mut self, rhs: &isize)
<<= operation. Read moreSource§impl ShlAssign<&isize> for Be<u16>
 
impl ShlAssign<&isize> for Be<u16>
Source§fn shl_assign(&mut self, rhs: &isize)
 
fn shl_assign(&mut self, rhs: &isize)
<<= operation. Read moreSource§impl ShlAssign<&isize> for Be<u32>
 
impl ShlAssign<&isize> for Be<u32>
Source§fn shl_assign(&mut self, rhs: &isize)
 
fn shl_assign(&mut self, rhs: &isize)
<<= operation. Read moreSource§impl ShlAssign<&isize> for Be<u64>
 
impl ShlAssign<&isize> for Be<u64>
Source§fn shl_assign(&mut self, rhs: &isize)
 
fn shl_assign(&mut self, rhs: &isize)
<<= operation. Read moreSource§impl ShlAssign<&isize> for Be<u8>
 
impl ShlAssign<&isize> for Be<u8>
Source§fn shl_assign(&mut self, rhs: &isize)
 
fn shl_assign(&mut self, rhs: &isize)
<<= operation. Read moreSource§impl ShlAssign<&isize> for Be<usize>
 
impl ShlAssign<&isize> for Be<usize>
Source§fn shl_assign(&mut self, rhs: &isize)
 
fn shl_assign(&mut self, rhs: &isize)
<<= operation. Read moreSource§impl ShlAssign<&u128> for Be<i128>
 
impl ShlAssign<&u128> for Be<i128>
Source§fn shl_assign(&mut self, rhs: &u128)
 
fn shl_assign(&mut self, rhs: &u128)
<<= operation. Read moreSource§impl ShlAssign<&u128> for Be<i16>
 
impl ShlAssign<&u128> for Be<i16>
Source§fn shl_assign(&mut self, rhs: &u128)
 
fn shl_assign(&mut self, rhs: &u128)
<<= operation. Read moreSource§impl ShlAssign<&u128> for Be<i32>
 
impl ShlAssign<&u128> for Be<i32>
Source§fn shl_assign(&mut self, rhs: &u128)
 
fn shl_assign(&mut self, rhs: &u128)
<<= operation. Read moreSource§impl ShlAssign<&u128> for Be<i64>
 
impl ShlAssign<&u128> for Be<i64>
Source§fn shl_assign(&mut self, rhs: &u128)
 
fn shl_assign(&mut self, rhs: &u128)
<<= operation. Read moreSource§impl ShlAssign<&u128> for Be<i8>
 
impl ShlAssign<&u128> for Be<i8>
Source§fn shl_assign(&mut self, rhs: &u128)
 
fn shl_assign(&mut self, rhs: &u128)
<<= operation. Read moreSource§impl ShlAssign<&u128> for Be<isize>
 
impl ShlAssign<&u128> for Be<isize>
Source§fn shl_assign(&mut self, rhs: &u128)
 
fn shl_assign(&mut self, rhs: &u128)
<<= operation. Read moreSource§impl ShlAssign<&u128> for Be<u128>
 
impl ShlAssign<&u128> for Be<u128>
Source§fn shl_assign(&mut self, rhs: &u128)
 
fn shl_assign(&mut self, rhs: &u128)
<<= operation. Read moreSource§impl ShlAssign<&u128> for Be<u16>
 
impl ShlAssign<&u128> for Be<u16>
Source§fn shl_assign(&mut self, rhs: &u128)
 
fn shl_assign(&mut self, rhs: &u128)
<<= operation. Read moreSource§impl ShlAssign<&u128> for Be<u32>
 
impl ShlAssign<&u128> for Be<u32>
Source§fn shl_assign(&mut self, rhs: &u128)
 
fn shl_assign(&mut self, rhs: &u128)
<<= operation. Read moreSource§impl ShlAssign<&u128> for Be<u64>
 
impl ShlAssign<&u128> for Be<u64>
Source§fn shl_assign(&mut self, rhs: &u128)
 
fn shl_assign(&mut self, rhs: &u128)
<<= operation. Read moreSource§impl ShlAssign<&u128> for Be<u8>
 
impl ShlAssign<&u128> for Be<u8>
Source§fn shl_assign(&mut self, rhs: &u128)
 
fn shl_assign(&mut self, rhs: &u128)
<<= operation. Read moreSource§impl ShlAssign<&u128> for Be<usize>
 
impl ShlAssign<&u128> for Be<usize>
Source§fn shl_assign(&mut self, rhs: &u128)
 
fn shl_assign(&mut self, rhs: &u128)
<<= operation. Read moreSource§impl ShlAssign<&u16> for Be<i128>
 
impl ShlAssign<&u16> for Be<i128>
Source§fn shl_assign(&mut self, rhs: &u16)
 
fn shl_assign(&mut self, rhs: &u16)
<<= operation. Read moreSource§impl ShlAssign<&u16> for Be<i16>
 
impl ShlAssign<&u16> for Be<i16>
Source§fn shl_assign(&mut self, rhs: &u16)
 
fn shl_assign(&mut self, rhs: &u16)
<<= operation. Read moreSource§impl ShlAssign<&u16> for Be<i32>
 
impl ShlAssign<&u16> for Be<i32>
Source§fn shl_assign(&mut self, rhs: &u16)
 
fn shl_assign(&mut self, rhs: &u16)
<<= operation. Read moreSource§impl ShlAssign<&u16> for Be<i64>
 
impl ShlAssign<&u16> for Be<i64>
Source§fn shl_assign(&mut self, rhs: &u16)
 
fn shl_assign(&mut self, rhs: &u16)
<<= operation. Read moreSource§impl ShlAssign<&u16> for Be<i8>
 
impl ShlAssign<&u16> for Be<i8>
Source§fn shl_assign(&mut self, rhs: &u16)
 
fn shl_assign(&mut self, rhs: &u16)
<<= operation. Read moreSource§impl ShlAssign<&u16> for Be<isize>
 
impl ShlAssign<&u16> for Be<isize>
Source§fn shl_assign(&mut self, rhs: &u16)
 
fn shl_assign(&mut self, rhs: &u16)
<<= operation. Read moreSource§impl ShlAssign<&u16> for Be<u128>
 
impl ShlAssign<&u16> for Be<u128>
Source§fn shl_assign(&mut self, rhs: &u16)
 
fn shl_assign(&mut self, rhs: &u16)
<<= operation. Read moreSource§impl ShlAssign<&u16> for Be<u16>
 
impl ShlAssign<&u16> for Be<u16>
Source§fn shl_assign(&mut self, rhs: &u16)
 
fn shl_assign(&mut self, rhs: &u16)
<<= operation. Read moreSource§impl ShlAssign<&u16> for Be<u32>
 
impl ShlAssign<&u16> for Be<u32>
Source§fn shl_assign(&mut self, rhs: &u16)
 
fn shl_assign(&mut self, rhs: &u16)
<<= operation. Read moreSource§impl ShlAssign<&u16> for Be<u64>
 
impl ShlAssign<&u16> for Be<u64>
Source§fn shl_assign(&mut self, rhs: &u16)
 
fn shl_assign(&mut self, rhs: &u16)
<<= operation. Read moreSource§impl ShlAssign<&u16> for Be<u8>
 
impl ShlAssign<&u16> for Be<u8>
Source§fn shl_assign(&mut self, rhs: &u16)
 
fn shl_assign(&mut self, rhs: &u16)
<<= operation. Read moreSource§impl ShlAssign<&u16> for Be<usize>
 
impl ShlAssign<&u16> for Be<usize>
Source§fn shl_assign(&mut self, rhs: &u16)
 
fn shl_assign(&mut self, rhs: &u16)
<<= operation. Read moreSource§impl ShlAssign<&u32> for Be<i128>
 
impl ShlAssign<&u32> for Be<i128>
Source§fn shl_assign(&mut self, rhs: &u32)
 
fn shl_assign(&mut self, rhs: &u32)
<<= operation. Read moreSource§impl ShlAssign<&u32> for Be<i16>
 
impl ShlAssign<&u32> for Be<i16>
Source§fn shl_assign(&mut self, rhs: &u32)
 
fn shl_assign(&mut self, rhs: &u32)
<<= operation. Read moreSource§impl ShlAssign<&u32> for Be<i32>
 
impl ShlAssign<&u32> for Be<i32>
Source§fn shl_assign(&mut self, rhs: &u32)
 
fn shl_assign(&mut self, rhs: &u32)
<<= operation. Read moreSource§impl ShlAssign<&u32> for Be<i64>
 
impl ShlAssign<&u32> for Be<i64>
Source§fn shl_assign(&mut self, rhs: &u32)
 
fn shl_assign(&mut self, rhs: &u32)
<<= operation. Read moreSource§impl ShlAssign<&u32> for Be<i8>
 
impl ShlAssign<&u32> for Be<i8>
Source§fn shl_assign(&mut self, rhs: &u32)
 
fn shl_assign(&mut self, rhs: &u32)
<<= operation. Read moreSource§impl ShlAssign<&u32> for Be<isize>
 
impl ShlAssign<&u32> for Be<isize>
Source§fn shl_assign(&mut self, rhs: &u32)
 
fn shl_assign(&mut self, rhs: &u32)
<<= operation. Read moreSource§impl ShlAssign<&u32> for Be<u128>
 
impl ShlAssign<&u32> for Be<u128>
Source§fn shl_assign(&mut self, rhs: &u32)
 
fn shl_assign(&mut self, rhs: &u32)
<<= operation. Read moreSource§impl ShlAssign<&u32> for Be<u16>
 
impl ShlAssign<&u32> for Be<u16>
Source§fn shl_assign(&mut self, rhs: &u32)
 
fn shl_assign(&mut self, rhs: &u32)
<<= operation. Read moreSource§impl ShlAssign<&u32> for Be<u32>
 
impl ShlAssign<&u32> for Be<u32>
Source§fn shl_assign(&mut self, rhs: &u32)
 
fn shl_assign(&mut self, rhs: &u32)
<<= operation. Read moreSource§impl ShlAssign<&u32> for Be<u64>
 
impl ShlAssign<&u32> for Be<u64>
Source§fn shl_assign(&mut self, rhs: &u32)
 
fn shl_assign(&mut self, rhs: &u32)
<<= operation. Read moreSource§impl ShlAssign<&u32> for Be<u8>
 
impl ShlAssign<&u32> for Be<u8>
Source§fn shl_assign(&mut self, rhs: &u32)
 
fn shl_assign(&mut self, rhs: &u32)
<<= operation. Read moreSource§impl ShlAssign<&u32> for Be<usize>
 
impl ShlAssign<&u32> for Be<usize>
Source§fn shl_assign(&mut self, rhs: &u32)
 
fn shl_assign(&mut self, rhs: &u32)
<<= operation. Read moreSource§impl ShlAssign<&u64> for Be<i128>
 
impl ShlAssign<&u64> for Be<i128>
Source§fn shl_assign(&mut self, rhs: &u64)
 
fn shl_assign(&mut self, rhs: &u64)
<<= operation. Read moreSource§impl ShlAssign<&u64> for Be<i16>
 
impl ShlAssign<&u64> for Be<i16>
Source§fn shl_assign(&mut self, rhs: &u64)
 
fn shl_assign(&mut self, rhs: &u64)
<<= operation. Read moreSource§impl ShlAssign<&u64> for Be<i32>
 
impl ShlAssign<&u64> for Be<i32>
Source§fn shl_assign(&mut self, rhs: &u64)
 
fn shl_assign(&mut self, rhs: &u64)
<<= operation. Read moreSource§impl ShlAssign<&u64> for Be<i64>
 
impl ShlAssign<&u64> for Be<i64>
Source§fn shl_assign(&mut self, rhs: &u64)
 
fn shl_assign(&mut self, rhs: &u64)
<<= operation. Read moreSource§impl ShlAssign<&u64> for Be<i8>
 
impl ShlAssign<&u64> for Be<i8>
Source§fn shl_assign(&mut self, rhs: &u64)
 
fn shl_assign(&mut self, rhs: &u64)
<<= operation. Read moreSource§impl ShlAssign<&u64> for Be<isize>
 
impl ShlAssign<&u64> for Be<isize>
Source§fn shl_assign(&mut self, rhs: &u64)
 
fn shl_assign(&mut self, rhs: &u64)
<<= operation. Read moreSource§impl ShlAssign<&u64> for Be<u128>
 
impl ShlAssign<&u64> for Be<u128>
Source§fn shl_assign(&mut self, rhs: &u64)
 
fn shl_assign(&mut self, rhs: &u64)
<<= operation. Read moreSource§impl ShlAssign<&u64> for Be<u16>
 
impl ShlAssign<&u64> for Be<u16>
Source§fn shl_assign(&mut self, rhs: &u64)
 
fn shl_assign(&mut self, rhs: &u64)
<<= operation. Read moreSource§impl ShlAssign<&u64> for Be<u32>
 
impl ShlAssign<&u64> for Be<u32>
Source§fn shl_assign(&mut self, rhs: &u64)
 
fn shl_assign(&mut self, rhs: &u64)
<<= operation. Read moreSource§impl ShlAssign<&u64> for Be<u64>
 
impl ShlAssign<&u64> for Be<u64>
Source§fn shl_assign(&mut self, rhs: &u64)
 
fn shl_assign(&mut self, rhs: &u64)
<<= operation. Read moreSource§impl ShlAssign<&u64> for Be<u8>
 
impl ShlAssign<&u64> for Be<u8>
Source§fn shl_assign(&mut self, rhs: &u64)
 
fn shl_assign(&mut self, rhs: &u64)
<<= operation. Read moreSource§impl ShlAssign<&u64> for Be<usize>
 
impl ShlAssign<&u64> for Be<usize>
Source§fn shl_assign(&mut self, rhs: &u64)
 
fn shl_assign(&mut self, rhs: &u64)
<<= operation. Read moreSource§impl ShlAssign<&u8> for Be<i128>
 
impl ShlAssign<&u8> for Be<i128>
Source§fn shl_assign(&mut self, rhs: &u8)
 
fn shl_assign(&mut self, rhs: &u8)
<<= operation. Read moreSource§impl ShlAssign<&u8> for Be<i16>
 
impl ShlAssign<&u8> for Be<i16>
Source§fn shl_assign(&mut self, rhs: &u8)
 
fn shl_assign(&mut self, rhs: &u8)
<<= operation. Read moreSource§impl ShlAssign<&u8> for Be<i32>
 
impl ShlAssign<&u8> for Be<i32>
Source§fn shl_assign(&mut self, rhs: &u8)
 
fn shl_assign(&mut self, rhs: &u8)
<<= operation. Read moreSource§impl ShlAssign<&u8> for Be<i64>
 
impl ShlAssign<&u8> for Be<i64>
Source§fn shl_assign(&mut self, rhs: &u8)
 
fn shl_assign(&mut self, rhs: &u8)
<<= operation. Read moreSource§impl ShlAssign<&u8> for Be<i8>
 
impl ShlAssign<&u8> for Be<i8>
Source§fn shl_assign(&mut self, rhs: &u8)
 
fn shl_assign(&mut self, rhs: &u8)
<<= operation. Read moreSource§impl ShlAssign<&u8> for Be<isize>
 
impl ShlAssign<&u8> for Be<isize>
Source§fn shl_assign(&mut self, rhs: &u8)
 
fn shl_assign(&mut self, rhs: &u8)
<<= operation. Read moreSource§impl ShlAssign<&u8> for Be<u128>
 
impl ShlAssign<&u8> for Be<u128>
Source§fn shl_assign(&mut self, rhs: &u8)
 
fn shl_assign(&mut self, rhs: &u8)
<<= operation. Read moreSource§impl ShlAssign<&u8> for Be<u16>
 
impl ShlAssign<&u8> for Be<u16>
Source§fn shl_assign(&mut self, rhs: &u8)
 
fn shl_assign(&mut self, rhs: &u8)
<<= operation. Read moreSource§impl ShlAssign<&u8> for Be<u32>
 
impl ShlAssign<&u8> for Be<u32>
Source§fn shl_assign(&mut self, rhs: &u8)
 
fn shl_assign(&mut self, rhs: &u8)
<<= operation. Read moreSource§impl ShlAssign<&u8> for Be<u64>
 
impl ShlAssign<&u8> for Be<u64>
Source§fn shl_assign(&mut self, rhs: &u8)
 
fn shl_assign(&mut self, rhs: &u8)
<<= operation. Read moreSource§impl ShlAssign<&u8> for Be<u8>
 
impl ShlAssign<&u8> for Be<u8>
Source§fn shl_assign(&mut self, rhs: &u8)
 
fn shl_assign(&mut self, rhs: &u8)
<<= operation. Read moreSource§impl ShlAssign<&u8> for Be<usize>
 
impl ShlAssign<&u8> for Be<usize>
Source§fn shl_assign(&mut self, rhs: &u8)
 
fn shl_assign(&mut self, rhs: &u8)
<<= operation. Read moreSource§impl ShlAssign<&usize> for Be<i128>
 
impl ShlAssign<&usize> for Be<i128>
Source§fn shl_assign(&mut self, rhs: &usize)
 
fn shl_assign(&mut self, rhs: &usize)
<<= operation. Read moreSource§impl ShlAssign<&usize> for Be<i16>
 
impl ShlAssign<&usize> for Be<i16>
Source§fn shl_assign(&mut self, rhs: &usize)
 
fn shl_assign(&mut self, rhs: &usize)
<<= operation. Read moreSource§impl ShlAssign<&usize> for Be<i32>
 
impl ShlAssign<&usize> for Be<i32>
Source§fn shl_assign(&mut self, rhs: &usize)
 
fn shl_assign(&mut self, rhs: &usize)
<<= operation. Read moreSource§impl ShlAssign<&usize> for Be<i64>
 
impl ShlAssign<&usize> for Be<i64>
Source§fn shl_assign(&mut self, rhs: &usize)
 
fn shl_assign(&mut self, rhs: &usize)
<<= operation. Read moreSource§impl ShlAssign<&usize> for Be<i8>
 
impl ShlAssign<&usize> for Be<i8>
Source§fn shl_assign(&mut self, rhs: &usize)
 
fn shl_assign(&mut self, rhs: &usize)
<<= operation. Read moreSource§impl ShlAssign<&usize> for Be<isize>
 
impl ShlAssign<&usize> for Be<isize>
Source§fn shl_assign(&mut self, rhs: &usize)
 
fn shl_assign(&mut self, rhs: &usize)
<<= operation. Read moreSource§impl ShlAssign<&usize> for Be<u128>
 
impl ShlAssign<&usize> for Be<u128>
Source§fn shl_assign(&mut self, rhs: &usize)
 
fn shl_assign(&mut self, rhs: &usize)
<<= operation. Read moreSource§impl ShlAssign<&usize> for Be<u16>
 
impl ShlAssign<&usize> for Be<u16>
Source§fn shl_assign(&mut self, rhs: &usize)
 
fn shl_assign(&mut self, rhs: &usize)
<<= operation. Read moreSource§impl ShlAssign<&usize> for Be<u32>
 
impl ShlAssign<&usize> for Be<u32>
Source§fn shl_assign(&mut self, rhs: &usize)
 
fn shl_assign(&mut self, rhs: &usize)
<<= operation. Read moreSource§impl ShlAssign<&usize> for Be<u64>
 
impl ShlAssign<&usize> for Be<u64>
Source§fn shl_assign(&mut self, rhs: &usize)
 
fn shl_assign(&mut self, rhs: &usize)
<<= operation. Read moreSource§impl ShlAssign<&usize> for Be<u8>
 
impl ShlAssign<&usize> for Be<u8>
Source§fn shl_assign(&mut self, rhs: &usize)
 
fn shl_assign(&mut self, rhs: &usize)
<<= operation. Read moreSource§impl ShlAssign<&usize> for Be<usize>
 
impl ShlAssign<&usize> for Be<usize>
Source§fn shl_assign(&mut self, rhs: &usize)
 
fn shl_assign(&mut self, rhs: &usize)
<<= operation. Read moreSource§impl ShlAssign<i128> for Be<i128>
 
impl ShlAssign<i128> for Be<i128>
Source§fn shl_assign(&mut self, rhs: i128)
 
fn shl_assign(&mut self, rhs: i128)
<<= operation. Read moreSource§impl ShlAssign<i128> for Be<i16>
 
impl ShlAssign<i128> for Be<i16>
Source§fn shl_assign(&mut self, rhs: i128)
 
fn shl_assign(&mut self, rhs: i128)
<<= operation. Read moreSource§impl ShlAssign<i128> for Be<i32>
 
impl ShlAssign<i128> for Be<i32>
Source§fn shl_assign(&mut self, rhs: i128)
 
fn shl_assign(&mut self, rhs: i128)
<<= operation. Read moreSource§impl ShlAssign<i128> for Be<i64>
 
impl ShlAssign<i128> for Be<i64>
Source§fn shl_assign(&mut self, rhs: i128)
 
fn shl_assign(&mut self, rhs: i128)
<<= operation. Read moreSource§impl ShlAssign<i128> for Be<i8>
 
impl ShlAssign<i128> for Be<i8>
Source§fn shl_assign(&mut self, rhs: i128)
 
fn shl_assign(&mut self, rhs: i128)
<<= operation. Read moreSource§impl ShlAssign<i128> for Be<isize>
 
impl ShlAssign<i128> for Be<isize>
Source§fn shl_assign(&mut self, rhs: i128)
 
fn shl_assign(&mut self, rhs: i128)
<<= operation. Read moreSource§impl ShlAssign<i128> for Be<u128>
 
impl ShlAssign<i128> for Be<u128>
Source§fn shl_assign(&mut self, rhs: i128)
 
fn shl_assign(&mut self, rhs: i128)
<<= operation. Read moreSource§impl ShlAssign<i128> for Be<u16>
 
impl ShlAssign<i128> for Be<u16>
Source§fn shl_assign(&mut self, rhs: i128)
 
fn shl_assign(&mut self, rhs: i128)
<<= operation. Read moreSource§impl ShlAssign<i128> for Be<u32>
 
impl ShlAssign<i128> for Be<u32>
Source§fn shl_assign(&mut self, rhs: i128)
 
fn shl_assign(&mut self, rhs: i128)
<<= operation. Read moreSource§impl ShlAssign<i128> for Be<u64>
 
impl ShlAssign<i128> for Be<u64>
Source§fn shl_assign(&mut self, rhs: i128)
 
fn shl_assign(&mut self, rhs: i128)
<<= operation. Read moreSource§impl ShlAssign<i128> for Be<u8>
 
impl ShlAssign<i128> for Be<u8>
Source§fn shl_assign(&mut self, rhs: i128)
 
fn shl_assign(&mut self, rhs: i128)
<<= operation. Read moreSource§impl ShlAssign<i128> for Be<usize>
 
impl ShlAssign<i128> for Be<usize>
Source§fn shl_assign(&mut self, rhs: i128)
 
fn shl_assign(&mut self, rhs: i128)
<<= operation. Read moreSource§impl ShlAssign<i16> for Be<i128>
 
impl ShlAssign<i16> for Be<i128>
Source§fn shl_assign(&mut self, rhs: i16)
 
fn shl_assign(&mut self, rhs: i16)
<<= operation. Read moreSource§impl ShlAssign<i16> for Be<i16>
 
impl ShlAssign<i16> for Be<i16>
Source§fn shl_assign(&mut self, rhs: i16)
 
fn shl_assign(&mut self, rhs: i16)
<<= operation. Read moreSource§impl ShlAssign<i16> for Be<i32>
 
impl ShlAssign<i16> for Be<i32>
Source§fn shl_assign(&mut self, rhs: i16)
 
fn shl_assign(&mut self, rhs: i16)
<<= operation. Read moreSource§impl ShlAssign<i16> for Be<i64>
 
impl ShlAssign<i16> for Be<i64>
Source§fn shl_assign(&mut self, rhs: i16)
 
fn shl_assign(&mut self, rhs: i16)
<<= operation. Read moreSource§impl ShlAssign<i16> for Be<i8>
 
impl ShlAssign<i16> for Be<i8>
Source§fn shl_assign(&mut self, rhs: i16)
 
fn shl_assign(&mut self, rhs: i16)
<<= operation. Read moreSource§impl ShlAssign<i16> for Be<isize>
 
impl ShlAssign<i16> for Be<isize>
Source§fn shl_assign(&mut self, rhs: i16)
 
fn shl_assign(&mut self, rhs: i16)
<<= operation. Read moreSource§impl ShlAssign<i16> for Be<u128>
 
impl ShlAssign<i16> for Be<u128>
Source§fn shl_assign(&mut self, rhs: i16)
 
fn shl_assign(&mut self, rhs: i16)
<<= operation. Read moreSource§impl ShlAssign<i16> for Be<u16>
 
impl ShlAssign<i16> for Be<u16>
Source§fn shl_assign(&mut self, rhs: i16)
 
fn shl_assign(&mut self, rhs: i16)
<<= operation. Read moreSource§impl ShlAssign<i16> for Be<u32>
 
impl ShlAssign<i16> for Be<u32>
Source§fn shl_assign(&mut self, rhs: i16)
 
fn shl_assign(&mut self, rhs: i16)
<<= operation. Read moreSource§impl ShlAssign<i16> for Be<u64>
 
impl ShlAssign<i16> for Be<u64>
Source§fn shl_assign(&mut self, rhs: i16)
 
fn shl_assign(&mut self, rhs: i16)
<<= operation. Read moreSource§impl ShlAssign<i16> for Be<u8>
 
impl ShlAssign<i16> for Be<u8>
Source§fn shl_assign(&mut self, rhs: i16)
 
fn shl_assign(&mut self, rhs: i16)
<<= operation. Read moreSource§impl ShlAssign<i16> for Be<usize>
 
impl ShlAssign<i16> for Be<usize>
Source§fn shl_assign(&mut self, rhs: i16)
 
fn shl_assign(&mut self, rhs: i16)
<<= operation. Read moreSource§impl ShlAssign<i32> for Be<i128>
 
impl ShlAssign<i32> for Be<i128>
Source§fn shl_assign(&mut self, rhs: i32)
 
fn shl_assign(&mut self, rhs: i32)
<<= operation. Read moreSource§impl ShlAssign<i32> for Be<i16>
 
impl ShlAssign<i32> for Be<i16>
Source§fn shl_assign(&mut self, rhs: i32)
 
fn shl_assign(&mut self, rhs: i32)
<<= operation. Read moreSource§impl ShlAssign<i32> for Be<i32>
 
impl ShlAssign<i32> for Be<i32>
Source§fn shl_assign(&mut self, rhs: i32)
 
fn shl_assign(&mut self, rhs: i32)
<<= operation. Read moreSource§impl ShlAssign<i32> for Be<i64>
 
impl ShlAssign<i32> for Be<i64>
Source§fn shl_assign(&mut self, rhs: i32)
 
fn shl_assign(&mut self, rhs: i32)
<<= operation. Read moreSource§impl ShlAssign<i32> for Be<i8>
 
impl ShlAssign<i32> for Be<i8>
Source§fn shl_assign(&mut self, rhs: i32)
 
fn shl_assign(&mut self, rhs: i32)
<<= operation. Read moreSource§impl ShlAssign<i32> for Be<isize>
 
impl ShlAssign<i32> for Be<isize>
Source§fn shl_assign(&mut self, rhs: i32)
 
fn shl_assign(&mut self, rhs: i32)
<<= operation. Read moreSource§impl ShlAssign<i32> for Be<u128>
 
impl ShlAssign<i32> for Be<u128>
Source§fn shl_assign(&mut self, rhs: i32)
 
fn shl_assign(&mut self, rhs: i32)
<<= operation. Read moreSource§impl ShlAssign<i32> for Be<u16>
 
impl ShlAssign<i32> for Be<u16>
Source§fn shl_assign(&mut self, rhs: i32)
 
fn shl_assign(&mut self, rhs: i32)
<<= operation. Read moreSource§impl ShlAssign<i32> for Be<u32>
 
impl ShlAssign<i32> for Be<u32>
Source§fn shl_assign(&mut self, rhs: i32)
 
fn shl_assign(&mut self, rhs: i32)
<<= operation. Read moreSource§impl ShlAssign<i32> for Be<u64>
 
impl ShlAssign<i32> for Be<u64>
Source§fn shl_assign(&mut self, rhs: i32)
 
fn shl_assign(&mut self, rhs: i32)
<<= operation. Read moreSource§impl ShlAssign<i32> for Be<u8>
 
impl ShlAssign<i32> for Be<u8>
Source§fn shl_assign(&mut self, rhs: i32)
 
fn shl_assign(&mut self, rhs: i32)
<<= operation. Read moreSource§impl ShlAssign<i32> for Be<usize>
 
impl ShlAssign<i32> for Be<usize>
Source§fn shl_assign(&mut self, rhs: i32)
 
fn shl_assign(&mut self, rhs: i32)
<<= operation. Read moreSource§impl ShlAssign<i64> for Be<i128>
 
impl ShlAssign<i64> for Be<i128>
Source§fn shl_assign(&mut self, rhs: i64)
 
fn shl_assign(&mut self, rhs: i64)
<<= operation. Read moreSource§impl ShlAssign<i64> for Be<i16>
 
impl ShlAssign<i64> for Be<i16>
Source§fn shl_assign(&mut self, rhs: i64)
 
fn shl_assign(&mut self, rhs: i64)
<<= operation. Read moreSource§impl ShlAssign<i64> for Be<i32>
 
impl ShlAssign<i64> for Be<i32>
Source§fn shl_assign(&mut self, rhs: i64)
 
fn shl_assign(&mut self, rhs: i64)
<<= operation. Read moreSource§impl ShlAssign<i64> for Be<i64>
 
impl ShlAssign<i64> for Be<i64>
Source§fn shl_assign(&mut self, rhs: i64)
 
fn shl_assign(&mut self, rhs: i64)
<<= operation. Read moreSource§impl ShlAssign<i64> for Be<i8>
 
impl ShlAssign<i64> for Be<i8>
Source§fn shl_assign(&mut self, rhs: i64)
 
fn shl_assign(&mut self, rhs: i64)
<<= operation. Read moreSource§impl ShlAssign<i64> for Be<isize>
 
impl ShlAssign<i64> for Be<isize>
Source§fn shl_assign(&mut self, rhs: i64)
 
fn shl_assign(&mut self, rhs: i64)
<<= operation. Read moreSource§impl ShlAssign<i64> for Be<u128>
 
impl ShlAssign<i64> for Be<u128>
Source§fn shl_assign(&mut self, rhs: i64)
 
fn shl_assign(&mut self, rhs: i64)
<<= operation. Read moreSource§impl ShlAssign<i64> for Be<u16>
 
impl ShlAssign<i64> for Be<u16>
Source§fn shl_assign(&mut self, rhs: i64)
 
fn shl_assign(&mut self, rhs: i64)
<<= operation. Read moreSource§impl ShlAssign<i64> for Be<u32>
 
impl ShlAssign<i64> for Be<u32>
Source§fn shl_assign(&mut self, rhs: i64)
 
fn shl_assign(&mut self, rhs: i64)
<<= operation. Read moreSource§impl ShlAssign<i64> for Be<u64>
 
impl ShlAssign<i64> for Be<u64>
Source§fn shl_assign(&mut self, rhs: i64)
 
fn shl_assign(&mut self, rhs: i64)
<<= operation. Read moreSource§impl ShlAssign<i64> for Be<u8>
 
impl ShlAssign<i64> for Be<u8>
Source§fn shl_assign(&mut self, rhs: i64)
 
fn shl_assign(&mut self, rhs: i64)
<<= operation. Read moreSource§impl ShlAssign<i64> for Be<usize>
 
impl ShlAssign<i64> for Be<usize>
Source§fn shl_assign(&mut self, rhs: i64)
 
fn shl_assign(&mut self, rhs: i64)
<<= operation. Read moreSource§impl ShlAssign<i8> for Be<i128>
 
impl ShlAssign<i8> for Be<i128>
Source§fn shl_assign(&mut self, rhs: i8)
 
fn shl_assign(&mut self, rhs: i8)
<<= operation. Read moreSource§impl ShlAssign<i8> for Be<i16>
 
impl ShlAssign<i8> for Be<i16>
Source§fn shl_assign(&mut self, rhs: i8)
 
fn shl_assign(&mut self, rhs: i8)
<<= operation. Read moreSource§impl ShlAssign<i8> for Be<i32>
 
impl ShlAssign<i8> for Be<i32>
Source§fn shl_assign(&mut self, rhs: i8)
 
fn shl_assign(&mut self, rhs: i8)
<<= operation. Read moreSource§impl ShlAssign<i8> for Be<i64>
 
impl ShlAssign<i8> for Be<i64>
Source§fn shl_assign(&mut self, rhs: i8)
 
fn shl_assign(&mut self, rhs: i8)
<<= operation. Read moreSource§impl ShlAssign<i8> for Be<i8>
 
impl ShlAssign<i8> for Be<i8>
Source§fn shl_assign(&mut self, rhs: i8)
 
fn shl_assign(&mut self, rhs: i8)
<<= operation. Read moreSource§impl ShlAssign<i8> for Be<isize>
 
impl ShlAssign<i8> for Be<isize>
Source§fn shl_assign(&mut self, rhs: i8)
 
fn shl_assign(&mut self, rhs: i8)
<<= operation. Read moreSource§impl ShlAssign<i8> for Be<u128>
 
impl ShlAssign<i8> for Be<u128>
Source§fn shl_assign(&mut self, rhs: i8)
 
fn shl_assign(&mut self, rhs: i8)
<<= operation. Read moreSource§impl ShlAssign<i8> for Be<u16>
 
impl ShlAssign<i8> for Be<u16>
Source§fn shl_assign(&mut self, rhs: i8)
 
fn shl_assign(&mut self, rhs: i8)
<<= operation. Read moreSource§impl ShlAssign<i8> for Be<u32>
 
impl ShlAssign<i8> for Be<u32>
Source§fn shl_assign(&mut self, rhs: i8)
 
fn shl_assign(&mut self, rhs: i8)
<<= operation. Read moreSource§impl ShlAssign<i8> for Be<u64>
 
impl ShlAssign<i8> for Be<u64>
Source§fn shl_assign(&mut self, rhs: i8)
 
fn shl_assign(&mut self, rhs: i8)
<<= operation. Read moreSource§impl ShlAssign<i8> for Be<u8>
 
impl ShlAssign<i8> for Be<u8>
Source§fn shl_assign(&mut self, rhs: i8)
 
fn shl_assign(&mut self, rhs: i8)
<<= operation. Read moreSource§impl ShlAssign<i8> for Be<usize>
 
impl ShlAssign<i8> for Be<usize>
Source§fn shl_assign(&mut self, rhs: i8)
 
fn shl_assign(&mut self, rhs: i8)
<<= operation. Read moreSource§impl ShlAssign<isize> for Be<i128>
 
impl ShlAssign<isize> for Be<i128>
Source§fn shl_assign(&mut self, rhs: isize)
 
fn shl_assign(&mut self, rhs: isize)
<<= operation. Read moreSource§impl ShlAssign<isize> for Be<i16>
 
impl ShlAssign<isize> for Be<i16>
Source§fn shl_assign(&mut self, rhs: isize)
 
fn shl_assign(&mut self, rhs: isize)
<<= operation. Read moreSource§impl ShlAssign<isize> for Be<i32>
 
impl ShlAssign<isize> for Be<i32>
Source§fn shl_assign(&mut self, rhs: isize)
 
fn shl_assign(&mut self, rhs: isize)
<<= operation. Read moreSource§impl ShlAssign<isize> for Be<i64>
 
impl ShlAssign<isize> for Be<i64>
Source§fn shl_assign(&mut self, rhs: isize)
 
fn shl_assign(&mut self, rhs: isize)
<<= operation. Read moreSource§impl ShlAssign<isize> for Be<i8>
 
impl ShlAssign<isize> for Be<i8>
Source§fn shl_assign(&mut self, rhs: isize)
 
fn shl_assign(&mut self, rhs: isize)
<<= operation. Read moreSource§impl ShlAssign<isize> for Be<isize>
 
impl ShlAssign<isize> for Be<isize>
Source§fn shl_assign(&mut self, rhs: isize)
 
fn shl_assign(&mut self, rhs: isize)
<<= operation. Read moreSource§impl ShlAssign<isize> for Be<u128>
 
impl ShlAssign<isize> for Be<u128>
Source§fn shl_assign(&mut self, rhs: isize)
 
fn shl_assign(&mut self, rhs: isize)
<<= operation. Read moreSource§impl ShlAssign<isize> for Be<u16>
 
impl ShlAssign<isize> for Be<u16>
Source§fn shl_assign(&mut self, rhs: isize)
 
fn shl_assign(&mut self, rhs: isize)
<<= operation. Read moreSource§impl ShlAssign<isize> for Be<u32>
 
impl ShlAssign<isize> for Be<u32>
Source§fn shl_assign(&mut self, rhs: isize)
 
fn shl_assign(&mut self, rhs: isize)
<<= operation. Read moreSource§impl ShlAssign<isize> for Be<u64>
 
impl ShlAssign<isize> for Be<u64>
Source§fn shl_assign(&mut self, rhs: isize)
 
fn shl_assign(&mut self, rhs: isize)
<<= operation. Read moreSource§impl ShlAssign<isize> for Be<u8>
 
impl ShlAssign<isize> for Be<u8>
Source§fn shl_assign(&mut self, rhs: isize)
 
fn shl_assign(&mut self, rhs: isize)
<<= operation. Read moreSource§impl ShlAssign<isize> for Be<usize>
 
impl ShlAssign<isize> for Be<usize>
Source§fn shl_assign(&mut self, rhs: isize)
 
fn shl_assign(&mut self, rhs: isize)
<<= operation. Read moreSource§impl ShlAssign<u128> for Be<i128>
 
impl ShlAssign<u128> for Be<i128>
Source§fn shl_assign(&mut self, rhs: u128)
 
fn shl_assign(&mut self, rhs: u128)
<<= operation. Read moreSource§impl ShlAssign<u128> for Be<i16>
 
impl ShlAssign<u128> for Be<i16>
Source§fn shl_assign(&mut self, rhs: u128)
 
fn shl_assign(&mut self, rhs: u128)
<<= operation. Read moreSource§impl ShlAssign<u128> for Be<i32>
 
impl ShlAssign<u128> for Be<i32>
Source§fn shl_assign(&mut self, rhs: u128)
 
fn shl_assign(&mut self, rhs: u128)
<<= operation. Read moreSource§impl ShlAssign<u128> for Be<i64>
 
impl ShlAssign<u128> for Be<i64>
Source§fn shl_assign(&mut self, rhs: u128)
 
fn shl_assign(&mut self, rhs: u128)
<<= operation. Read moreSource§impl ShlAssign<u128> for Be<i8>
 
impl ShlAssign<u128> for Be<i8>
Source§fn shl_assign(&mut self, rhs: u128)
 
fn shl_assign(&mut self, rhs: u128)
<<= operation. Read moreSource§impl ShlAssign<u128> for Be<isize>
 
impl ShlAssign<u128> for Be<isize>
Source§fn shl_assign(&mut self, rhs: u128)
 
fn shl_assign(&mut self, rhs: u128)
<<= operation. Read moreSource§impl ShlAssign<u128> for Be<u128>
 
impl ShlAssign<u128> for Be<u128>
Source§fn shl_assign(&mut self, rhs: u128)
 
fn shl_assign(&mut self, rhs: u128)
<<= operation. Read moreSource§impl ShlAssign<u128> for Be<u16>
 
impl ShlAssign<u128> for Be<u16>
Source§fn shl_assign(&mut self, rhs: u128)
 
fn shl_assign(&mut self, rhs: u128)
<<= operation. Read moreSource§impl ShlAssign<u128> for Be<u32>
 
impl ShlAssign<u128> for Be<u32>
Source§fn shl_assign(&mut self, rhs: u128)
 
fn shl_assign(&mut self, rhs: u128)
<<= operation. Read moreSource§impl ShlAssign<u128> for Be<u64>
 
impl ShlAssign<u128> for Be<u64>
Source§fn shl_assign(&mut self, rhs: u128)
 
fn shl_assign(&mut self, rhs: u128)
<<= operation. Read moreSource§impl ShlAssign<u128> for Be<u8>
 
impl ShlAssign<u128> for Be<u8>
Source§fn shl_assign(&mut self, rhs: u128)
 
fn shl_assign(&mut self, rhs: u128)
<<= operation. Read moreSource§impl ShlAssign<u128> for Be<usize>
 
impl ShlAssign<u128> for Be<usize>
Source§fn shl_assign(&mut self, rhs: u128)
 
fn shl_assign(&mut self, rhs: u128)
<<= operation. Read moreSource§impl ShlAssign<u16> for Be<i128>
 
impl ShlAssign<u16> for Be<i128>
Source§fn shl_assign(&mut self, rhs: u16)
 
fn shl_assign(&mut self, rhs: u16)
<<= operation. Read moreSource§impl ShlAssign<u16> for Be<i16>
 
impl ShlAssign<u16> for Be<i16>
Source§fn shl_assign(&mut self, rhs: u16)
 
fn shl_assign(&mut self, rhs: u16)
<<= operation. Read moreSource§impl ShlAssign<u16> for Be<i32>
 
impl ShlAssign<u16> for Be<i32>
Source§fn shl_assign(&mut self, rhs: u16)
 
fn shl_assign(&mut self, rhs: u16)
<<= operation. Read moreSource§impl ShlAssign<u16> for Be<i64>
 
impl ShlAssign<u16> for Be<i64>
Source§fn shl_assign(&mut self, rhs: u16)
 
fn shl_assign(&mut self, rhs: u16)
<<= operation. Read moreSource§impl ShlAssign<u16> for Be<i8>
 
impl ShlAssign<u16> for Be<i8>
Source§fn shl_assign(&mut self, rhs: u16)
 
fn shl_assign(&mut self, rhs: u16)
<<= operation. Read moreSource§impl ShlAssign<u16> for Be<isize>
 
impl ShlAssign<u16> for Be<isize>
Source§fn shl_assign(&mut self, rhs: u16)
 
fn shl_assign(&mut self, rhs: u16)
<<= operation. Read moreSource§impl ShlAssign<u16> for Be<u128>
 
impl ShlAssign<u16> for Be<u128>
Source§fn shl_assign(&mut self, rhs: u16)
 
fn shl_assign(&mut self, rhs: u16)
<<= operation. Read moreSource§impl ShlAssign<u16> for Be<u16>
 
impl ShlAssign<u16> for Be<u16>
Source§fn shl_assign(&mut self, rhs: u16)
 
fn shl_assign(&mut self, rhs: u16)
<<= operation. Read moreSource§impl ShlAssign<u16> for Be<u32>
 
impl ShlAssign<u16> for Be<u32>
Source§fn shl_assign(&mut self, rhs: u16)
 
fn shl_assign(&mut self, rhs: u16)
<<= operation. Read moreSource§impl ShlAssign<u16> for Be<u64>
 
impl ShlAssign<u16> for Be<u64>
Source§fn shl_assign(&mut self, rhs: u16)
 
fn shl_assign(&mut self, rhs: u16)
<<= operation. Read moreSource§impl ShlAssign<u16> for Be<u8>
 
impl ShlAssign<u16> for Be<u8>
Source§fn shl_assign(&mut self, rhs: u16)
 
fn shl_assign(&mut self, rhs: u16)
<<= operation. Read moreSource§impl ShlAssign<u16> for Be<usize>
 
impl ShlAssign<u16> for Be<usize>
Source§fn shl_assign(&mut self, rhs: u16)
 
fn shl_assign(&mut self, rhs: u16)
<<= operation. Read moreSource§impl ShlAssign<u32> for Be<i128>
 
impl ShlAssign<u32> for Be<i128>
Source§fn shl_assign(&mut self, rhs: u32)
 
fn shl_assign(&mut self, rhs: u32)
<<= operation. Read moreSource§impl ShlAssign<u32> for Be<i16>
 
impl ShlAssign<u32> for Be<i16>
Source§fn shl_assign(&mut self, rhs: u32)
 
fn shl_assign(&mut self, rhs: u32)
<<= operation. Read moreSource§impl ShlAssign<u32> for Be<i32>
 
impl ShlAssign<u32> for Be<i32>
Source§fn shl_assign(&mut self, rhs: u32)
 
fn shl_assign(&mut self, rhs: u32)
<<= operation. Read moreSource§impl ShlAssign<u32> for Be<i64>
 
impl ShlAssign<u32> for Be<i64>
Source§fn shl_assign(&mut self, rhs: u32)
 
fn shl_assign(&mut self, rhs: u32)
<<= operation. Read moreSource§impl ShlAssign<u32> for Be<i8>
 
impl ShlAssign<u32> for Be<i8>
Source§fn shl_assign(&mut self, rhs: u32)
 
fn shl_assign(&mut self, rhs: u32)
<<= operation. Read moreSource§impl ShlAssign<u32> for Be<isize>
 
impl ShlAssign<u32> for Be<isize>
Source§fn shl_assign(&mut self, rhs: u32)
 
fn shl_assign(&mut self, rhs: u32)
<<= operation. Read moreSource§impl ShlAssign<u32> for Be<u128>
 
impl ShlAssign<u32> for Be<u128>
Source§fn shl_assign(&mut self, rhs: u32)
 
fn shl_assign(&mut self, rhs: u32)
<<= operation. Read moreSource§impl ShlAssign<u32> for Be<u16>
 
impl ShlAssign<u32> for Be<u16>
Source§fn shl_assign(&mut self, rhs: u32)
 
fn shl_assign(&mut self, rhs: u32)
<<= operation. Read moreSource§impl ShlAssign<u32> for Be<u32>
 
impl ShlAssign<u32> for Be<u32>
Source§fn shl_assign(&mut self, rhs: u32)
 
fn shl_assign(&mut self, rhs: u32)
<<= operation. Read moreSource§impl ShlAssign<u32> for Be<u64>
 
impl ShlAssign<u32> for Be<u64>
Source§fn shl_assign(&mut self, rhs: u32)
 
fn shl_assign(&mut self, rhs: u32)
<<= operation. Read moreSource§impl ShlAssign<u32> for Be<u8>
 
impl ShlAssign<u32> for Be<u8>
Source§fn shl_assign(&mut self, rhs: u32)
 
fn shl_assign(&mut self, rhs: u32)
<<= operation. Read moreSource§impl ShlAssign<u32> for Be<usize>
 
impl ShlAssign<u32> for Be<usize>
Source§fn shl_assign(&mut self, rhs: u32)
 
fn shl_assign(&mut self, rhs: u32)
<<= operation. Read moreSource§impl ShlAssign<u64> for Be<i128>
 
impl ShlAssign<u64> for Be<i128>
Source§fn shl_assign(&mut self, rhs: u64)
 
fn shl_assign(&mut self, rhs: u64)
<<= operation. Read moreSource§impl ShlAssign<u64> for Be<i16>
 
impl ShlAssign<u64> for Be<i16>
Source§fn shl_assign(&mut self, rhs: u64)
 
fn shl_assign(&mut self, rhs: u64)
<<= operation. Read moreSource§impl ShlAssign<u64> for Be<i32>
 
impl ShlAssign<u64> for Be<i32>
Source§fn shl_assign(&mut self, rhs: u64)
 
fn shl_assign(&mut self, rhs: u64)
<<= operation. Read moreSource§impl ShlAssign<u64> for Be<i64>
 
impl ShlAssign<u64> for Be<i64>
Source§fn shl_assign(&mut self, rhs: u64)
 
fn shl_assign(&mut self, rhs: u64)
<<= operation. Read moreSource§impl ShlAssign<u64> for Be<i8>
 
impl ShlAssign<u64> for Be<i8>
Source§fn shl_assign(&mut self, rhs: u64)
 
fn shl_assign(&mut self, rhs: u64)
<<= operation. Read moreSource§impl ShlAssign<u64> for Be<isize>
 
impl ShlAssign<u64> for Be<isize>
Source§fn shl_assign(&mut self, rhs: u64)
 
fn shl_assign(&mut self, rhs: u64)
<<= operation. Read moreSource§impl ShlAssign<u64> for Be<u128>
 
impl ShlAssign<u64> for Be<u128>
Source§fn shl_assign(&mut self, rhs: u64)
 
fn shl_assign(&mut self, rhs: u64)
<<= operation. Read moreSource§impl ShlAssign<u64> for Be<u16>
 
impl ShlAssign<u64> for Be<u16>
Source§fn shl_assign(&mut self, rhs: u64)
 
fn shl_assign(&mut self, rhs: u64)
<<= operation. Read moreSource§impl ShlAssign<u64> for Be<u32>
 
impl ShlAssign<u64> for Be<u32>
Source§fn shl_assign(&mut self, rhs: u64)
 
fn shl_assign(&mut self, rhs: u64)
<<= operation. Read moreSource§impl ShlAssign<u64> for Be<u64>
 
impl ShlAssign<u64> for Be<u64>
Source§fn shl_assign(&mut self, rhs: u64)
 
fn shl_assign(&mut self, rhs: u64)
<<= operation. Read moreSource§impl ShlAssign<u64> for Be<u8>
 
impl ShlAssign<u64> for Be<u8>
Source§fn shl_assign(&mut self, rhs: u64)
 
fn shl_assign(&mut self, rhs: u64)
<<= operation. Read moreSource§impl ShlAssign<u64> for Be<usize>
 
impl ShlAssign<u64> for Be<usize>
Source§fn shl_assign(&mut self, rhs: u64)
 
fn shl_assign(&mut self, rhs: u64)
<<= operation. Read moreSource§impl ShlAssign<u8> for Be<i128>
 
impl ShlAssign<u8> for Be<i128>
Source§fn shl_assign(&mut self, rhs: u8)
 
fn shl_assign(&mut self, rhs: u8)
<<= operation. Read moreSource§impl ShlAssign<u8> for Be<i16>
 
impl ShlAssign<u8> for Be<i16>
Source§fn shl_assign(&mut self, rhs: u8)
 
fn shl_assign(&mut self, rhs: u8)
<<= operation. Read moreSource§impl ShlAssign<u8> for Be<i32>
 
impl ShlAssign<u8> for Be<i32>
Source§fn shl_assign(&mut self, rhs: u8)
 
fn shl_assign(&mut self, rhs: u8)
<<= operation. Read moreSource§impl ShlAssign<u8> for Be<i64>
 
impl ShlAssign<u8> for Be<i64>
Source§fn shl_assign(&mut self, rhs: u8)
 
fn shl_assign(&mut self, rhs: u8)
<<= operation. Read moreSource§impl ShlAssign<u8> for Be<i8>
 
impl ShlAssign<u8> for Be<i8>
Source§fn shl_assign(&mut self, rhs: u8)
 
fn shl_assign(&mut self, rhs: u8)
<<= operation. Read moreSource§impl ShlAssign<u8> for Be<isize>
 
impl ShlAssign<u8> for Be<isize>
Source§fn shl_assign(&mut self, rhs: u8)
 
fn shl_assign(&mut self, rhs: u8)
<<= operation. Read moreSource§impl ShlAssign<u8> for Be<u128>
 
impl ShlAssign<u8> for Be<u128>
Source§fn shl_assign(&mut self, rhs: u8)
 
fn shl_assign(&mut self, rhs: u8)
<<= operation. Read moreSource§impl ShlAssign<u8> for Be<u16>
 
impl ShlAssign<u8> for Be<u16>
Source§fn shl_assign(&mut self, rhs: u8)
 
fn shl_assign(&mut self, rhs: u8)
<<= operation. Read moreSource§impl ShlAssign<u8> for Be<u32>
 
impl ShlAssign<u8> for Be<u32>
Source§fn shl_assign(&mut self, rhs: u8)
 
fn shl_assign(&mut self, rhs: u8)
<<= operation. Read moreSource§impl ShlAssign<u8> for Be<u64>
 
impl ShlAssign<u8> for Be<u64>
Source§fn shl_assign(&mut self, rhs: u8)
 
fn shl_assign(&mut self, rhs: u8)
<<= operation. Read moreSource§impl ShlAssign<u8> for Be<u8>
 
impl ShlAssign<u8> for Be<u8>
Source§fn shl_assign(&mut self, rhs: u8)
 
fn shl_assign(&mut self, rhs: u8)
<<= operation. Read moreSource§impl ShlAssign<u8> for Be<usize>
 
impl ShlAssign<u8> for Be<usize>
Source§fn shl_assign(&mut self, rhs: u8)
 
fn shl_assign(&mut self, rhs: u8)
<<= operation. Read moreSource§impl ShlAssign<usize> for Be<i128>
 
impl ShlAssign<usize> for Be<i128>
Source§fn shl_assign(&mut self, rhs: usize)
 
fn shl_assign(&mut self, rhs: usize)
<<= operation. Read moreSource§impl ShlAssign<usize> for Be<i16>
 
impl ShlAssign<usize> for Be<i16>
Source§fn shl_assign(&mut self, rhs: usize)
 
fn shl_assign(&mut self, rhs: usize)
<<= operation. Read moreSource§impl ShlAssign<usize> for Be<i32>
 
impl ShlAssign<usize> for Be<i32>
Source§fn shl_assign(&mut self, rhs: usize)
 
fn shl_assign(&mut self, rhs: usize)
<<= operation. Read moreSource§impl ShlAssign<usize> for Be<i64>
 
impl ShlAssign<usize> for Be<i64>
Source§fn shl_assign(&mut self, rhs: usize)
 
fn shl_assign(&mut self, rhs: usize)
<<= operation. Read moreSource§impl ShlAssign<usize> for Be<i8>
 
impl ShlAssign<usize> for Be<i8>
Source§fn shl_assign(&mut self, rhs: usize)
 
fn shl_assign(&mut self, rhs: usize)
<<= operation. Read moreSource§impl ShlAssign<usize> for Be<isize>
 
impl ShlAssign<usize> for Be<isize>
Source§fn shl_assign(&mut self, rhs: usize)
 
fn shl_assign(&mut self, rhs: usize)
<<= operation. Read moreSource§impl ShlAssign<usize> for Be<u128>
 
impl ShlAssign<usize> for Be<u128>
Source§fn shl_assign(&mut self, rhs: usize)
 
fn shl_assign(&mut self, rhs: usize)
<<= operation. Read moreSource§impl ShlAssign<usize> for Be<u16>
 
impl ShlAssign<usize> for Be<u16>
Source§fn shl_assign(&mut self, rhs: usize)
 
fn shl_assign(&mut self, rhs: usize)
<<= operation. Read moreSource§impl ShlAssign<usize> for Be<u32>
 
impl ShlAssign<usize> for Be<u32>
Source§fn shl_assign(&mut self, rhs: usize)
 
fn shl_assign(&mut self, rhs: usize)
<<= operation. Read moreSource§impl ShlAssign<usize> for Be<u64>
 
impl ShlAssign<usize> for Be<u64>
Source§fn shl_assign(&mut self, rhs: usize)
 
fn shl_assign(&mut self, rhs: usize)
<<= operation. Read moreSource§impl ShlAssign<usize> for Be<u8>
 
impl ShlAssign<usize> for Be<u8>
Source§fn shl_assign(&mut self, rhs: usize)
 
fn shl_assign(&mut self, rhs: usize)
<<= operation. Read moreSource§impl ShlAssign<usize> for Be<usize>
 
impl ShlAssign<usize> for Be<usize>
Source§fn shl_assign(&mut self, rhs: usize)
 
fn shl_assign(&mut self, rhs: usize)
<<= operation. Read moreSource§impl ShrAssign<&i128> for Be<i128>
 
impl ShrAssign<&i128> for Be<i128>
Source§fn shr_assign(&mut self, rhs: &i128)
 
fn shr_assign(&mut self, rhs: &i128)
>>= operation. Read moreSource§impl ShrAssign<&i128> for Be<i16>
 
impl ShrAssign<&i128> for Be<i16>
Source§fn shr_assign(&mut self, rhs: &i128)
 
fn shr_assign(&mut self, rhs: &i128)
>>= operation. Read moreSource§impl ShrAssign<&i128> for Be<i32>
 
impl ShrAssign<&i128> for Be<i32>
Source§fn shr_assign(&mut self, rhs: &i128)
 
fn shr_assign(&mut self, rhs: &i128)
>>= operation. Read moreSource§impl ShrAssign<&i128> for Be<i64>
 
impl ShrAssign<&i128> for Be<i64>
Source§fn shr_assign(&mut self, rhs: &i128)
 
fn shr_assign(&mut self, rhs: &i128)
>>= operation. Read moreSource§impl ShrAssign<&i128> for Be<i8>
 
impl ShrAssign<&i128> for Be<i8>
Source§fn shr_assign(&mut self, rhs: &i128)
 
fn shr_assign(&mut self, rhs: &i128)
>>= operation. Read moreSource§impl ShrAssign<&i128> for Be<isize>
 
impl ShrAssign<&i128> for Be<isize>
Source§fn shr_assign(&mut self, rhs: &i128)
 
fn shr_assign(&mut self, rhs: &i128)
>>= operation. Read moreSource§impl ShrAssign<&i128> for Be<u128>
 
impl ShrAssign<&i128> for Be<u128>
Source§fn shr_assign(&mut self, rhs: &i128)
 
fn shr_assign(&mut self, rhs: &i128)
>>= operation. Read moreSource§impl ShrAssign<&i128> for Be<u16>
 
impl ShrAssign<&i128> for Be<u16>
Source§fn shr_assign(&mut self, rhs: &i128)
 
fn shr_assign(&mut self, rhs: &i128)
>>= operation. Read moreSource§impl ShrAssign<&i128> for Be<u32>
 
impl ShrAssign<&i128> for Be<u32>
Source§fn shr_assign(&mut self, rhs: &i128)
 
fn shr_assign(&mut self, rhs: &i128)
>>= operation. Read moreSource§impl ShrAssign<&i128> for Be<u64>
 
impl ShrAssign<&i128> for Be<u64>
Source§fn shr_assign(&mut self, rhs: &i128)
 
fn shr_assign(&mut self, rhs: &i128)
>>= operation. Read moreSource§impl ShrAssign<&i128> for Be<u8>
 
impl ShrAssign<&i128> for Be<u8>
Source§fn shr_assign(&mut self, rhs: &i128)
 
fn shr_assign(&mut self, rhs: &i128)
>>= operation. Read moreSource§impl ShrAssign<&i128> for Be<usize>
 
impl ShrAssign<&i128> for Be<usize>
Source§fn shr_assign(&mut self, rhs: &i128)
 
fn shr_assign(&mut self, rhs: &i128)
>>= operation. Read moreSource§impl ShrAssign<&i16> for Be<i128>
 
impl ShrAssign<&i16> for Be<i128>
Source§fn shr_assign(&mut self, rhs: &i16)
 
fn shr_assign(&mut self, rhs: &i16)
>>= operation. Read moreSource§impl ShrAssign<&i16> for Be<i16>
 
impl ShrAssign<&i16> for Be<i16>
Source§fn shr_assign(&mut self, rhs: &i16)
 
fn shr_assign(&mut self, rhs: &i16)
>>= operation. Read moreSource§impl ShrAssign<&i16> for Be<i32>
 
impl ShrAssign<&i16> for Be<i32>
Source§fn shr_assign(&mut self, rhs: &i16)
 
fn shr_assign(&mut self, rhs: &i16)
>>= operation. Read moreSource§impl ShrAssign<&i16> for Be<i64>
 
impl ShrAssign<&i16> for Be<i64>
Source§fn shr_assign(&mut self, rhs: &i16)
 
fn shr_assign(&mut self, rhs: &i16)
>>= operation. Read moreSource§impl ShrAssign<&i16> for Be<i8>
 
impl ShrAssign<&i16> for Be<i8>
Source§fn shr_assign(&mut self, rhs: &i16)
 
fn shr_assign(&mut self, rhs: &i16)
>>= operation. Read moreSource§impl ShrAssign<&i16> for Be<isize>
 
impl ShrAssign<&i16> for Be<isize>
Source§fn shr_assign(&mut self, rhs: &i16)
 
fn shr_assign(&mut self, rhs: &i16)
>>= operation. Read moreSource§impl ShrAssign<&i16> for Be<u128>
 
impl ShrAssign<&i16> for Be<u128>
Source§fn shr_assign(&mut self, rhs: &i16)
 
fn shr_assign(&mut self, rhs: &i16)
>>= operation. Read moreSource§impl ShrAssign<&i16> for Be<u16>
 
impl ShrAssign<&i16> for Be<u16>
Source§fn shr_assign(&mut self, rhs: &i16)
 
fn shr_assign(&mut self, rhs: &i16)
>>= operation. Read moreSource§impl ShrAssign<&i16> for Be<u32>
 
impl ShrAssign<&i16> for Be<u32>
Source§fn shr_assign(&mut self, rhs: &i16)
 
fn shr_assign(&mut self, rhs: &i16)
>>= operation. Read moreSource§impl ShrAssign<&i16> for Be<u64>
 
impl ShrAssign<&i16> for Be<u64>
Source§fn shr_assign(&mut self, rhs: &i16)
 
fn shr_assign(&mut self, rhs: &i16)
>>= operation. Read moreSource§impl ShrAssign<&i16> for Be<u8>
 
impl ShrAssign<&i16> for Be<u8>
Source§fn shr_assign(&mut self, rhs: &i16)
 
fn shr_assign(&mut self, rhs: &i16)
>>= operation. Read moreSource§impl ShrAssign<&i16> for Be<usize>
 
impl ShrAssign<&i16> for Be<usize>
Source§fn shr_assign(&mut self, rhs: &i16)
 
fn shr_assign(&mut self, rhs: &i16)
>>= operation. Read moreSource§impl ShrAssign<&i32> for Be<i128>
 
impl ShrAssign<&i32> for Be<i128>
Source§fn shr_assign(&mut self, rhs: &i32)
 
fn shr_assign(&mut self, rhs: &i32)
>>= operation. Read moreSource§impl ShrAssign<&i32> for Be<i16>
 
impl ShrAssign<&i32> for Be<i16>
Source§fn shr_assign(&mut self, rhs: &i32)
 
fn shr_assign(&mut self, rhs: &i32)
>>= operation. Read moreSource§impl ShrAssign<&i32> for Be<i32>
 
impl ShrAssign<&i32> for Be<i32>
Source§fn shr_assign(&mut self, rhs: &i32)
 
fn shr_assign(&mut self, rhs: &i32)
>>= operation. Read moreSource§impl ShrAssign<&i32> for Be<i64>
 
impl ShrAssign<&i32> for Be<i64>
Source§fn shr_assign(&mut self, rhs: &i32)
 
fn shr_assign(&mut self, rhs: &i32)
>>= operation. Read moreSource§impl ShrAssign<&i32> for Be<i8>
 
impl ShrAssign<&i32> for Be<i8>
Source§fn shr_assign(&mut self, rhs: &i32)
 
fn shr_assign(&mut self, rhs: &i32)
>>= operation. Read moreSource§impl ShrAssign<&i32> for Be<isize>
 
impl ShrAssign<&i32> for Be<isize>
Source§fn shr_assign(&mut self, rhs: &i32)
 
fn shr_assign(&mut self, rhs: &i32)
>>= operation. Read moreSource§impl ShrAssign<&i32> for Be<u128>
 
impl ShrAssign<&i32> for Be<u128>
Source§fn shr_assign(&mut self, rhs: &i32)
 
fn shr_assign(&mut self, rhs: &i32)
>>= operation. Read moreSource§impl ShrAssign<&i32> for Be<u16>
 
impl ShrAssign<&i32> for Be<u16>
Source§fn shr_assign(&mut self, rhs: &i32)
 
fn shr_assign(&mut self, rhs: &i32)
>>= operation. Read moreSource§impl ShrAssign<&i32> for Be<u32>
 
impl ShrAssign<&i32> for Be<u32>
Source§fn shr_assign(&mut self, rhs: &i32)
 
fn shr_assign(&mut self, rhs: &i32)
>>= operation. Read moreSource§impl ShrAssign<&i32> for Be<u64>
 
impl ShrAssign<&i32> for Be<u64>
Source§fn shr_assign(&mut self, rhs: &i32)
 
fn shr_assign(&mut self, rhs: &i32)
>>= operation. Read moreSource§impl ShrAssign<&i32> for Be<u8>
 
impl ShrAssign<&i32> for Be<u8>
Source§fn shr_assign(&mut self, rhs: &i32)
 
fn shr_assign(&mut self, rhs: &i32)
>>= operation. Read moreSource§impl ShrAssign<&i32> for Be<usize>
 
impl ShrAssign<&i32> for Be<usize>
Source§fn shr_assign(&mut self, rhs: &i32)
 
fn shr_assign(&mut self, rhs: &i32)
>>= operation. Read moreSource§impl ShrAssign<&i64> for Be<i128>
 
impl ShrAssign<&i64> for Be<i128>
Source§fn shr_assign(&mut self, rhs: &i64)
 
fn shr_assign(&mut self, rhs: &i64)
>>= operation. Read moreSource§impl ShrAssign<&i64> for Be<i16>
 
impl ShrAssign<&i64> for Be<i16>
Source§fn shr_assign(&mut self, rhs: &i64)
 
fn shr_assign(&mut self, rhs: &i64)
>>= operation. Read moreSource§impl ShrAssign<&i64> for Be<i32>
 
impl ShrAssign<&i64> for Be<i32>
Source§fn shr_assign(&mut self, rhs: &i64)
 
fn shr_assign(&mut self, rhs: &i64)
>>= operation. Read moreSource§impl ShrAssign<&i64> for Be<i64>
 
impl ShrAssign<&i64> for Be<i64>
Source§fn shr_assign(&mut self, rhs: &i64)
 
fn shr_assign(&mut self, rhs: &i64)
>>= operation. Read moreSource§impl ShrAssign<&i64> for Be<i8>
 
impl ShrAssign<&i64> for Be<i8>
Source§fn shr_assign(&mut self, rhs: &i64)
 
fn shr_assign(&mut self, rhs: &i64)
>>= operation. Read moreSource§impl ShrAssign<&i64> for Be<isize>
 
impl ShrAssign<&i64> for Be<isize>
Source§fn shr_assign(&mut self, rhs: &i64)
 
fn shr_assign(&mut self, rhs: &i64)
>>= operation. Read moreSource§impl ShrAssign<&i64> for Be<u128>
 
impl ShrAssign<&i64> for Be<u128>
Source§fn shr_assign(&mut self, rhs: &i64)
 
fn shr_assign(&mut self, rhs: &i64)
>>= operation. Read moreSource§impl ShrAssign<&i64> for Be<u16>
 
impl ShrAssign<&i64> for Be<u16>
Source§fn shr_assign(&mut self, rhs: &i64)
 
fn shr_assign(&mut self, rhs: &i64)
>>= operation. Read moreSource§impl ShrAssign<&i64> for Be<u32>
 
impl ShrAssign<&i64> for Be<u32>
Source§fn shr_assign(&mut self, rhs: &i64)
 
fn shr_assign(&mut self, rhs: &i64)
>>= operation. Read moreSource§impl ShrAssign<&i64> for Be<u64>
 
impl ShrAssign<&i64> for Be<u64>
Source§fn shr_assign(&mut self, rhs: &i64)
 
fn shr_assign(&mut self, rhs: &i64)
>>= operation. Read moreSource§impl ShrAssign<&i64> for Be<u8>
 
impl ShrAssign<&i64> for Be<u8>
Source§fn shr_assign(&mut self, rhs: &i64)
 
fn shr_assign(&mut self, rhs: &i64)
>>= operation. Read moreSource§impl ShrAssign<&i64> for Be<usize>
 
impl ShrAssign<&i64> for Be<usize>
Source§fn shr_assign(&mut self, rhs: &i64)
 
fn shr_assign(&mut self, rhs: &i64)
>>= operation. Read moreSource§impl ShrAssign<&i8> for Be<i128>
 
impl ShrAssign<&i8> for Be<i128>
Source§fn shr_assign(&mut self, rhs: &i8)
 
fn shr_assign(&mut self, rhs: &i8)
>>= operation. Read moreSource§impl ShrAssign<&i8> for Be<i16>
 
impl ShrAssign<&i8> for Be<i16>
Source§fn shr_assign(&mut self, rhs: &i8)
 
fn shr_assign(&mut self, rhs: &i8)
>>= operation. Read moreSource§impl ShrAssign<&i8> for Be<i32>
 
impl ShrAssign<&i8> for Be<i32>
Source§fn shr_assign(&mut self, rhs: &i8)
 
fn shr_assign(&mut self, rhs: &i8)
>>= operation. Read moreSource§impl ShrAssign<&i8> for Be<i64>
 
impl ShrAssign<&i8> for Be<i64>
Source§fn shr_assign(&mut self, rhs: &i8)
 
fn shr_assign(&mut self, rhs: &i8)
>>= operation. Read moreSource§impl ShrAssign<&i8> for Be<i8>
 
impl ShrAssign<&i8> for Be<i8>
Source§fn shr_assign(&mut self, rhs: &i8)
 
fn shr_assign(&mut self, rhs: &i8)
>>= operation. Read moreSource§impl ShrAssign<&i8> for Be<isize>
 
impl ShrAssign<&i8> for Be<isize>
Source§fn shr_assign(&mut self, rhs: &i8)
 
fn shr_assign(&mut self, rhs: &i8)
>>= operation. Read moreSource§impl ShrAssign<&i8> for Be<u128>
 
impl ShrAssign<&i8> for Be<u128>
Source§fn shr_assign(&mut self, rhs: &i8)
 
fn shr_assign(&mut self, rhs: &i8)
>>= operation. Read moreSource§impl ShrAssign<&i8> for Be<u16>
 
impl ShrAssign<&i8> for Be<u16>
Source§fn shr_assign(&mut self, rhs: &i8)
 
fn shr_assign(&mut self, rhs: &i8)
>>= operation. Read moreSource§impl ShrAssign<&i8> for Be<u32>
 
impl ShrAssign<&i8> for Be<u32>
Source§fn shr_assign(&mut self, rhs: &i8)
 
fn shr_assign(&mut self, rhs: &i8)
>>= operation. Read moreSource§impl ShrAssign<&i8> for Be<u64>
 
impl ShrAssign<&i8> for Be<u64>
Source§fn shr_assign(&mut self, rhs: &i8)
 
fn shr_assign(&mut self, rhs: &i8)
>>= operation. Read moreSource§impl ShrAssign<&i8> for Be<u8>
 
impl ShrAssign<&i8> for Be<u8>
Source§fn shr_assign(&mut self, rhs: &i8)
 
fn shr_assign(&mut self, rhs: &i8)
>>= operation. Read moreSource§impl ShrAssign<&i8> for Be<usize>
 
impl ShrAssign<&i8> for Be<usize>
Source§fn shr_assign(&mut self, rhs: &i8)
 
fn shr_assign(&mut self, rhs: &i8)
>>= operation. Read moreSource§impl ShrAssign<&isize> for Be<i128>
 
impl ShrAssign<&isize> for Be<i128>
Source§fn shr_assign(&mut self, rhs: &isize)
 
fn shr_assign(&mut self, rhs: &isize)
>>= operation. Read moreSource§impl ShrAssign<&isize> for Be<i16>
 
impl ShrAssign<&isize> for Be<i16>
Source§fn shr_assign(&mut self, rhs: &isize)
 
fn shr_assign(&mut self, rhs: &isize)
>>= operation. Read moreSource§impl ShrAssign<&isize> for Be<i32>
 
impl ShrAssign<&isize> for Be<i32>
Source§fn shr_assign(&mut self, rhs: &isize)
 
fn shr_assign(&mut self, rhs: &isize)
>>= operation. Read moreSource§impl ShrAssign<&isize> for Be<i64>
 
impl ShrAssign<&isize> for Be<i64>
Source§fn shr_assign(&mut self, rhs: &isize)
 
fn shr_assign(&mut self, rhs: &isize)
>>= operation. Read moreSource§impl ShrAssign<&isize> for Be<i8>
 
impl ShrAssign<&isize> for Be<i8>
Source§fn shr_assign(&mut self, rhs: &isize)
 
fn shr_assign(&mut self, rhs: &isize)
>>= operation. Read moreSource§impl ShrAssign<&isize> for Be<isize>
 
impl ShrAssign<&isize> for Be<isize>
Source§fn shr_assign(&mut self, rhs: &isize)
 
fn shr_assign(&mut self, rhs: &isize)
>>= operation. Read moreSource§impl ShrAssign<&isize> for Be<u128>
 
impl ShrAssign<&isize> for Be<u128>
Source§fn shr_assign(&mut self, rhs: &isize)
 
fn shr_assign(&mut self, rhs: &isize)
>>= operation. Read moreSource§impl ShrAssign<&isize> for Be<u16>
 
impl ShrAssign<&isize> for Be<u16>
Source§fn shr_assign(&mut self, rhs: &isize)
 
fn shr_assign(&mut self, rhs: &isize)
>>= operation. Read moreSource§impl ShrAssign<&isize> for Be<u32>
 
impl ShrAssign<&isize> for Be<u32>
Source§fn shr_assign(&mut self, rhs: &isize)
 
fn shr_assign(&mut self, rhs: &isize)
>>= operation. Read moreSource§impl ShrAssign<&isize> for Be<u64>
 
impl ShrAssign<&isize> for Be<u64>
Source§fn shr_assign(&mut self, rhs: &isize)
 
fn shr_assign(&mut self, rhs: &isize)
>>= operation. Read moreSource§impl ShrAssign<&isize> for Be<u8>
 
impl ShrAssign<&isize> for Be<u8>
Source§fn shr_assign(&mut self, rhs: &isize)
 
fn shr_assign(&mut self, rhs: &isize)
>>= operation. Read moreSource§impl ShrAssign<&isize> for Be<usize>
 
impl ShrAssign<&isize> for Be<usize>
Source§fn shr_assign(&mut self, rhs: &isize)
 
fn shr_assign(&mut self, rhs: &isize)
>>= operation. Read moreSource§impl ShrAssign<&u128> for Be<i128>
 
impl ShrAssign<&u128> for Be<i128>
Source§fn shr_assign(&mut self, rhs: &u128)
 
fn shr_assign(&mut self, rhs: &u128)
>>= operation. Read moreSource§impl ShrAssign<&u128> for Be<i16>
 
impl ShrAssign<&u128> for Be<i16>
Source§fn shr_assign(&mut self, rhs: &u128)
 
fn shr_assign(&mut self, rhs: &u128)
>>= operation. Read moreSource§impl ShrAssign<&u128> for Be<i32>
 
impl ShrAssign<&u128> for Be<i32>
Source§fn shr_assign(&mut self, rhs: &u128)
 
fn shr_assign(&mut self, rhs: &u128)
>>= operation. Read moreSource§impl ShrAssign<&u128> for Be<i64>
 
impl ShrAssign<&u128> for Be<i64>
Source§fn shr_assign(&mut self, rhs: &u128)
 
fn shr_assign(&mut self, rhs: &u128)
>>= operation. Read moreSource§impl ShrAssign<&u128> for Be<i8>
 
impl ShrAssign<&u128> for Be<i8>
Source§fn shr_assign(&mut self, rhs: &u128)
 
fn shr_assign(&mut self, rhs: &u128)
>>= operation. Read moreSource§impl ShrAssign<&u128> for Be<isize>
 
impl ShrAssign<&u128> for Be<isize>
Source§fn shr_assign(&mut self, rhs: &u128)
 
fn shr_assign(&mut self, rhs: &u128)
>>= operation. Read moreSource§impl ShrAssign<&u128> for Be<u128>
 
impl ShrAssign<&u128> for Be<u128>
Source§fn shr_assign(&mut self, rhs: &u128)
 
fn shr_assign(&mut self, rhs: &u128)
>>= operation. Read moreSource§impl ShrAssign<&u128> for Be<u16>
 
impl ShrAssign<&u128> for Be<u16>
Source§fn shr_assign(&mut self, rhs: &u128)
 
fn shr_assign(&mut self, rhs: &u128)
>>= operation. Read moreSource§impl ShrAssign<&u128> for Be<u32>
 
impl ShrAssign<&u128> for Be<u32>
Source§fn shr_assign(&mut self, rhs: &u128)
 
fn shr_assign(&mut self, rhs: &u128)
>>= operation. Read moreSource§impl ShrAssign<&u128> for Be<u64>
 
impl ShrAssign<&u128> for Be<u64>
Source§fn shr_assign(&mut self, rhs: &u128)
 
fn shr_assign(&mut self, rhs: &u128)
>>= operation. Read moreSource§impl ShrAssign<&u128> for Be<u8>
 
impl ShrAssign<&u128> for Be<u8>
Source§fn shr_assign(&mut self, rhs: &u128)
 
fn shr_assign(&mut self, rhs: &u128)
>>= operation. Read moreSource§impl ShrAssign<&u128> for Be<usize>
 
impl ShrAssign<&u128> for Be<usize>
Source§fn shr_assign(&mut self, rhs: &u128)
 
fn shr_assign(&mut self, rhs: &u128)
>>= operation. Read moreSource§impl ShrAssign<&u16> for Be<i128>
 
impl ShrAssign<&u16> for Be<i128>
Source§fn shr_assign(&mut self, rhs: &u16)
 
fn shr_assign(&mut self, rhs: &u16)
>>= operation. Read moreSource§impl ShrAssign<&u16> for Be<i16>
 
impl ShrAssign<&u16> for Be<i16>
Source§fn shr_assign(&mut self, rhs: &u16)
 
fn shr_assign(&mut self, rhs: &u16)
>>= operation. Read moreSource§impl ShrAssign<&u16> for Be<i32>
 
impl ShrAssign<&u16> for Be<i32>
Source§fn shr_assign(&mut self, rhs: &u16)
 
fn shr_assign(&mut self, rhs: &u16)
>>= operation. Read moreSource§impl ShrAssign<&u16> for Be<i64>
 
impl ShrAssign<&u16> for Be<i64>
Source§fn shr_assign(&mut self, rhs: &u16)
 
fn shr_assign(&mut self, rhs: &u16)
>>= operation. Read moreSource§impl ShrAssign<&u16> for Be<i8>
 
impl ShrAssign<&u16> for Be<i8>
Source§fn shr_assign(&mut self, rhs: &u16)
 
fn shr_assign(&mut self, rhs: &u16)
>>= operation. Read moreSource§impl ShrAssign<&u16> for Be<isize>
 
impl ShrAssign<&u16> for Be<isize>
Source§fn shr_assign(&mut self, rhs: &u16)
 
fn shr_assign(&mut self, rhs: &u16)
>>= operation. Read moreSource§impl ShrAssign<&u16> for Be<u128>
 
impl ShrAssign<&u16> for Be<u128>
Source§fn shr_assign(&mut self, rhs: &u16)
 
fn shr_assign(&mut self, rhs: &u16)
>>= operation. Read moreSource§impl ShrAssign<&u16> for Be<u16>
 
impl ShrAssign<&u16> for Be<u16>
Source§fn shr_assign(&mut self, rhs: &u16)
 
fn shr_assign(&mut self, rhs: &u16)
>>= operation. Read moreSource§impl ShrAssign<&u16> for Be<u32>
 
impl ShrAssign<&u16> for Be<u32>
Source§fn shr_assign(&mut self, rhs: &u16)
 
fn shr_assign(&mut self, rhs: &u16)
>>= operation. Read moreSource§impl ShrAssign<&u16> for Be<u64>
 
impl ShrAssign<&u16> for Be<u64>
Source§fn shr_assign(&mut self, rhs: &u16)
 
fn shr_assign(&mut self, rhs: &u16)
>>= operation. Read moreSource§impl ShrAssign<&u16> for Be<u8>
 
impl ShrAssign<&u16> for Be<u8>
Source§fn shr_assign(&mut self, rhs: &u16)
 
fn shr_assign(&mut self, rhs: &u16)
>>= operation. Read moreSource§impl ShrAssign<&u16> for Be<usize>
 
impl ShrAssign<&u16> for Be<usize>
Source§fn shr_assign(&mut self, rhs: &u16)
 
fn shr_assign(&mut self, rhs: &u16)
>>= operation. Read moreSource§impl ShrAssign<&u32> for Be<i128>
 
impl ShrAssign<&u32> for Be<i128>
Source§fn shr_assign(&mut self, rhs: &u32)
 
fn shr_assign(&mut self, rhs: &u32)
>>= operation. Read moreSource§impl ShrAssign<&u32> for Be<i16>
 
impl ShrAssign<&u32> for Be<i16>
Source§fn shr_assign(&mut self, rhs: &u32)
 
fn shr_assign(&mut self, rhs: &u32)
>>= operation. Read moreSource§impl ShrAssign<&u32> for Be<i32>
 
impl ShrAssign<&u32> for Be<i32>
Source§fn shr_assign(&mut self, rhs: &u32)
 
fn shr_assign(&mut self, rhs: &u32)
>>= operation. Read moreSource§impl ShrAssign<&u32> for Be<i64>
 
impl ShrAssign<&u32> for Be<i64>
Source§fn shr_assign(&mut self, rhs: &u32)
 
fn shr_assign(&mut self, rhs: &u32)
>>= operation. Read moreSource§impl ShrAssign<&u32> for Be<i8>
 
impl ShrAssign<&u32> for Be<i8>
Source§fn shr_assign(&mut self, rhs: &u32)
 
fn shr_assign(&mut self, rhs: &u32)
>>= operation. Read moreSource§impl ShrAssign<&u32> for Be<isize>
 
impl ShrAssign<&u32> for Be<isize>
Source§fn shr_assign(&mut self, rhs: &u32)
 
fn shr_assign(&mut self, rhs: &u32)
>>= operation. Read moreSource§impl ShrAssign<&u32> for Be<u128>
 
impl ShrAssign<&u32> for Be<u128>
Source§fn shr_assign(&mut self, rhs: &u32)
 
fn shr_assign(&mut self, rhs: &u32)
>>= operation. Read moreSource§impl ShrAssign<&u32> for Be<u16>
 
impl ShrAssign<&u32> for Be<u16>
Source§fn shr_assign(&mut self, rhs: &u32)
 
fn shr_assign(&mut self, rhs: &u32)
>>= operation. Read moreSource§impl ShrAssign<&u32> for Be<u32>
 
impl ShrAssign<&u32> for Be<u32>
Source§fn shr_assign(&mut self, rhs: &u32)
 
fn shr_assign(&mut self, rhs: &u32)
>>= operation. Read moreSource§impl ShrAssign<&u32> for Be<u64>
 
impl ShrAssign<&u32> for Be<u64>
Source§fn shr_assign(&mut self, rhs: &u32)
 
fn shr_assign(&mut self, rhs: &u32)
>>= operation. Read moreSource§impl ShrAssign<&u32> for Be<u8>
 
impl ShrAssign<&u32> for Be<u8>
Source§fn shr_assign(&mut self, rhs: &u32)
 
fn shr_assign(&mut self, rhs: &u32)
>>= operation. Read moreSource§impl ShrAssign<&u32> for Be<usize>
 
impl ShrAssign<&u32> for Be<usize>
Source§fn shr_assign(&mut self, rhs: &u32)
 
fn shr_assign(&mut self, rhs: &u32)
>>= operation. Read moreSource§impl ShrAssign<&u64> for Be<i128>
 
impl ShrAssign<&u64> for Be<i128>
Source§fn shr_assign(&mut self, rhs: &u64)
 
fn shr_assign(&mut self, rhs: &u64)
>>= operation. Read moreSource§impl ShrAssign<&u64> for Be<i16>
 
impl ShrAssign<&u64> for Be<i16>
Source§fn shr_assign(&mut self, rhs: &u64)
 
fn shr_assign(&mut self, rhs: &u64)
>>= operation. Read moreSource§impl ShrAssign<&u64> for Be<i32>
 
impl ShrAssign<&u64> for Be<i32>
Source§fn shr_assign(&mut self, rhs: &u64)
 
fn shr_assign(&mut self, rhs: &u64)
>>= operation. Read moreSource§impl ShrAssign<&u64> for Be<i64>
 
impl ShrAssign<&u64> for Be<i64>
Source§fn shr_assign(&mut self, rhs: &u64)
 
fn shr_assign(&mut self, rhs: &u64)
>>= operation. Read moreSource§impl ShrAssign<&u64> for Be<i8>
 
impl ShrAssign<&u64> for Be<i8>
Source§fn shr_assign(&mut self, rhs: &u64)
 
fn shr_assign(&mut self, rhs: &u64)
>>= operation. Read moreSource§impl ShrAssign<&u64> for Be<isize>
 
impl ShrAssign<&u64> for Be<isize>
Source§fn shr_assign(&mut self, rhs: &u64)
 
fn shr_assign(&mut self, rhs: &u64)
>>= operation. Read moreSource§impl ShrAssign<&u64> for Be<u128>
 
impl ShrAssign<&u64> for Be<u128>
Source§fn shr_assign(&mut self, rhs: &u64)
 
fn shr_assign(&mut self, rhs: &u64)
>>= operation. Read moreSource§impl ShrAssign<&u64> for Be<u16>
 
impl ShrAssign<&u64> for Be<u16>
Source§fn shr_assign(&mut self, rhs: &u64)
 
fn shr_assign(&mut self, rhs: &u64)
>>= operation. Read moreSource§impl ShrAssign<&u64> for Be<u32>
 
impl ShrAssign<&u64> for Be<u32>
Source§fn shr_assign(&mut self, rhs: &u64)
 
fn shr_assign(&mut self, rhs: &u64)
>>= operation. Read moreSource§impl ShrAssign<&u64> for Be<u64>
 
impl ShrAssign<&u64> for Be<u64>
Source§fn shr_assign(&mut self, rhs: &u64)
 
fn shr_assign(&mut self, rhs: &u64)
>>= operation. Read moreSource§impl ShrAssign<&u64> for Be<u8>
 
impl ShrAssign<&u64> for Be<u8>
Source§fn shr_assign(&mut self, rhs: &u64)
 
fn shr_assign(&mut self, rhs: &u64)
>>= operation. Read moreSource§impl ShrAssign<&u64> for Be<usize>
 
impl ShrAssign<&u64> for Be<usize>
Source§fn shr_assign(&mut self, rhs: &u64)
 
fn shr_assign(&mut self, rhs: &u64)
>>= operation. Read moreSource§impl ShrAssign<&u8> for Be<i128>
 
impl ShrAssign<&u8> for Be<i128>
Source§fn shr_assign(&mut self, rhs: &u8)
 
fn shr_assign(&mut self, rhs: &u8)
>>= operation. Read moreSource§impl ShrAssign<&u8> for Be<i16>
 
impl ShrAssign<&u8> for Be<i16>
Source§fn shr_assign(&mut self, rhs: &u8)
 
fn shr_assign(&mut self, rhs: &u8)
>>= operation. Read moreSource§impl ShrAssign<&u8> for Be<i32>
 
impl ShrAssign<&u8> for Be<i32>
Source§fn shr_assign(&mut self, rhs: &u8)
 
fn shr_assign(&mut self, rhs: &u8)
>>= operation. Read moreSource§impl ShrAssign<&u8> for Be<i64>
 
impl ShrAssign<&u8> for Be<i64>
Source§fn shr_assign(&mut self, rhs: &u8)
 
fn shr_assign(&mut self, rhs: &u8)
>>= operation. Read moreSource§impl ShrAssign<&u8> for Be<i8>
 
impl ShrAssign<&u8> for Be<i8>
Source§fn shr_assign(&mut self, rhs: &u8)
 
fn shr_assign(&mut self, rhs: &u8)
>>= operation. Read moreSource§impl ShrAssign<&u8> for Be<isize>
 
impl ShrAssign<&u8> for Be<isize>
Source§fn shr_assign(&mut self, rhs: &u8)
 
fn shr_assign(&mut self, rhs: &u8)
>>= operation. Read moreSource§impl ShrAssign<&u8> for Be<u128>
 
impl ShrAssign<&u8> for Be<u128>
Source§fn shr_assign(&mut self, rhs: &u8)
 
fn shr_assign(&mut self, rhs: &u8)
>>= operation. Read moreSource§impl ShrAssign<&u8> for Be<u16>
 
impl ShrAssign<&u8> for Be<u16>
Source§fn shr_assign(&mut self, rhs: &u8)
 
fn shr_assign(&mut self, rhs: &u8)
>>= operation. Read moreSource§impl ShrAssign<&u8> for Be<u32>
 
impl ShrAssign<&u8> for Be<u32>
Source§fn shr_assign(&mut self, rhs: &u8)
 
fn shr_assign(&mut self, rhs: &u8)
>>= operation. Read moreSource§impl ShrAssign<&u8> for Be<u64>
 
impl ShrAssign<&u8> for Be<u64>
Source§fn shr_assign(&mut self, rhs: &u8)
 
fn shr_assign(&mut self, rhs: &u8)
>>= operation. Read moreSource§impl ShrAssign<&u8> for Be<u8>
 
impl ShrAssign<&u8> for Be<u8>
Source§fn shr_assign(&mut self, rhs: &u8)
 
fn shr_assign(&mut self, rhs: &u8)
>>= operation. Read moreSource§impl ShrAssign<&u8> for Be<usize>
 
impl ShrAssign<&u8> for Be<usize>
Source§fn shr_assign(&mut self, rhs: &u8)
 
fn shr_assign(&mut self, rhs: &u8)
>>= operation. Read moreSource§impl ShrAssign<&usize> for Be<i128>
 
impl ShrAssign<&usize> for Be<i128>
Source§fn shr_assign(&mut self, rhs: &usize)
 
fn shr_assign(&mut self, rhs: &usize)
>>= operation. Read moreSource§impl ShrAssign<&usize> for Be<i16>
 
impl ShrAssign<&usize> for Be<i16>
Source§fn shr_assign(&mut self, rhs: &usize)
 
fn shr_assign(&mut self, rhs: &usize)
>>= operation. Read moreSource§impl ShrAssign<&usize> for Be<i32>
 
impl ShrAssign<&usize> for Be<i32>
Source§fn shr_assign(&mut self, rhs: &usize)
 
fn shr_assign(&mut self, rhs: &usize)
>>= operation. Read moreSource§impl ShrAssign<&usize> for Be<i64>
 
impl ShrAssign<&usize> for Be<i64>
Source§fn shr_assign(&mut self, rhs: &usize)
 
fn shr_assign(&mut self, rhs: &usize)
>>= operation. Read moreSource§impl ShrAssign<&usize> for Be<i8>
 
impl ShrAssign<&usize> for Be<i8>
Source§fn shr_assign(&mut self, rhs: &usize)
 
fn shr_assign(&mut self, rhs: &usize)
>>= operation. Read moreSource§impl ShrAssign<&usize> for Be<isize>
 
impl ShrAssign<&usize> for Be<isize>
Source§fn shr_assign(&mut self, rhs: &usize)
 
fn shr_assign(&mut self, rhs: &usize)
>>= operation. Read moreSource§impl ShrAssign<&usize> for Be<u128>
 
impl ShrAssign<&usize> for Be<u128>
Source§fn shr_assign(&mut self, rhs: &usize)
 
fn shr_assign(&mut self, rhs: &usize)
>>= operation. Read moreSource§impl ShrAssign<&usize> for Be<u16>
 
impl ShrAssign<&usize> for Be<u16>
Source§fn shr_assign(&mut self, rhs: &usize)
 
fn shr_assign(&mut self, rhs: &usize)
>>= operation. Read moreSource§impl ShrAssign<&usize> for Be<u32>
 
impl ShrAssign<&usize> for Be<u32>
Source§fn shr_assign(&mut self, rhs: &usize)
 
fn shr_assign(&mut self, rhs: &usize)
>>= operation. Read moreSource§impl ShrAssign<&usize> for Be<u64>
 
impl ShrAssign<&usize> for Be<u64>
Source§fn shr_assign(&mut self, rhs: &usize)
 
fn shr_assign(&mut self, rhs: &usize)
>>= operation. Read moreSource§impl ShrAssign<&usize> for Be<u8>
 
impl ShrAssign<&usize> for Be<u8>
Source§fn shr_assign(&mut self, rhs: &usize)
 
fn shr_assign(&mut self, rhs: &usize)
>>= operation. Read moreSource§impl ShrAssign<&usize> for Be<usize>
 
impl ShrAssign<&usize> for Be<usize>
Source§fn shr_assign(&mut self, rhs: &usize)
 
fn shr_assign(&mut self, rhs: &usize)
>>= operation. Read moreSource§impl ShrAssign<i128> for Be<i128>
 
impl ShrAssign<i128> for Be<i128>
Source§fn shr_assign(&mut self, rhs: i128)
 
fn shr_assign(&mut self, rhs: i128)
>>= operation. Read moreSource§impl ShrAssign<i128> for Be<i16>
 
impl ShrAssign<i128> for Be<i16>
Source§fn shr_assign(&mut self, rhs: i128)
 
fn shr_assign(&mut self, rhs: i128)
>>= operation. Read moreSource§impl ShrAssign<i128> for Be<i32>
 
impl ShrAssign<i128> for Be<i32>
Source§fn shr_assign(&mut self, rhs: i128)
 
fn shr_assign(&mut self, rhs: i128)
>>= operation. Read moreSource§impl ShrAssign<i128> for Be<i64>
 
impl ShrAssign<i128> for Be<i64>
Source§fn shr_assign(&mut self, rhs: i128)
 
fn shr_assign(&mut self, rhs: i128)
>>= operation. Read moreSource§impl ShrAssign<i128> for Be<i8>
 
impl ShrAssign<i128> for Be<i8>
Source§fn shr_assign(&mut self, rhs: i128)
 
fn shr_assign(&mut self, rhs: i128)
>>= operation. Read moreSource§impl ShrAssign<i128> for Be<isize>
 
impl ShrAssign<i128> for Be<isize>
Source§fn shr_assign(&mut self, rhs: i128)
 
fn shr_assign(&mut self, rhs: i128)
>>= operation. Read moreSource§impl ShrAssign<i128> for Be<u128>
 
impl ShrAssign<i128> for Be<u128>
Source§fn shr_assign(&mut self, rhs: i128)
 
fn shr_assign(&mut self, rhs: i128)
>>= operation. Read moreSource§impl ShrAssign<i128> for Be<u16>
 
impl ShrAssign<i128> for Be<u16>
Source§fn shr_assign(&mut self, rhs: i128)
 
fn shr_assign(&mut self, rhs: i128)
>>= operation. Read moreSource§impl ShrAssign<i128> for Be<u32>
 
impl ShrAssign<i128> for Be<u32>
Source§fn shr_assign(&mut self, rhs: i128)
 
fn shr_assign(&mut self, rhs: i128)
>>= operation. Read moreSource§impl ShrAssign<i128> for Be<u64>
 
impl ShrAssign<i128> for Be<u64>
Source§fn shr_assign(&mut self, rhs: i128)
 
fn shr_assign(&mut self, rhs: i128)
>>= operation. Read moreSource§impl ShrAssign<i128> for Be<u8>
 
impl ShrAssign<i128> for Be<u8>
Source§fn shr_assign(&mut self, rhs: i128)
 
fn shr_assign(&mut self, rhs: i128)
>>= operation. Read moreSource§impl ShrAssign<i128> for Be<usize>
 
impl ShrAssign<i128> for Be<usize>
Source§fn shr_assign(&mut self, rhs: i128)
 
fn shr_assign(&mut self, rhs: i128)
>>= operation. Read moreSource§impl ShrAssign<i16> for Be<i128>
 
impl ShrAssign<i16> for Be<i128>
Source§fn shr_assign(&mut self, rhs: i16)
 
fn shr_assign(&mut self, rhs: i16)
>>= operation. Read moreSource§impl ShrAssign<i16> for Be<i16>
 
impl ShrAssign<i16> for Be<i16>
Source§fn shr_assign(&mut self, rhs: i16)
 
fn shr_assign(&mut self, rhs: i16)
>>= operation. Read moreSource§impl ShrAssign<i16> for Be<i32>
 
impl ShrAssign<i16> for Be<i32>
Source§fn shr_assign(&mut self, rhs: i16)
 
fn shr_assign(&mut self, rhs: i16)
>>= operation. Read moreSource§impl ShrAssign<i16> for Be<i64>
 
impl ShrAssign<i16> for Be<i64>
Source§fn shr_assign(&mut self, rhs: i16)
 
fn shr_assign(&mut self, rhs: i16)
>>= operation. Read moreSource§impl ShrAssign<i16> for Be<i8>
 
impl ShrAssign<i16> for Be<i8>
Source§fn shr_assign(&mut self, rhs: i16)
 
fn shr_assign(&mut self, rhs: i16)
>>= operation. Read moreSource§impl ShrAssign<i16> for Be<isize>
 
impl ShrAssign<i16> for Be<isize>
Source§fn shr_assign(&mut self, rhs: i16)
 
fn shr_assign(&mut self, rhs: i16)
>>= operation. Read moreSource§impl ShrAssign<i16> for Be<u128>
 
impl ShrAssign<i16> for Be<u128>
Source§fn shr_assign(&mut self, rhs: i16)
 
fn shr_assign(&mut self, rhs: i16)
>>= operation. Read moreSource§impl ShrAssign<i16> for Be<u16>
 
impl ShrAssign<i16> for Be<u16>
Source§fn shr_assign(&mut self, rhs: i16)
 
fn shr_assign(&mut self, rhs: i16)
>>= operation. Read moreSource§impl ShrAssign<i16> for Be<u32>
 
impl ShrAssign<i16> for Be<u32>
Source§fn shr_assign(&mut self, rhs: i16)
 
fn shr_assign(&mut self, rhs: i16)
>>= operation. Read moreSource§impl ShrAssign<i16> for Be<u64>
 
impl ShrAssign<i16> for Be<u64>
Source§fn shr_assign(&mut self, rhs: i16)
 
fn shr_assign(&mut self, rhs: i16)
>>= operation. Read moreSource§impl ShrAssign<i16> for Be<u8>
 
impl ShrAssign<i16> for Be<u8>
Source§fn shr_assign(&mut self, rhs: i16)
 
fn shr_assign(&mut self, rhs: i16)
>>= operation. Read moreSource§impl ShrAssign<i16> for Be<usize>
 
impl ShrAssign<i16> for Be<usize>
Source§fn shr_assign(&mut self, rhs: i16)
 
fn shr_assign(&mut self, rhs: i16)
>>= operation. Read moreSource§impl ShrAssign<i32> for Be<i128>
 
impl ShrAssign<i32> for Be<i128>
Source§fn shr_assign(&mut self, rhs: i32)
 
fn shr_assign(&mut self, rhs: i32)
>>= operation. Read moreSource§impl ShrAssign<i32> for Be<i16>
 
impl ShrAssign<i32> for Be<i16>
Source§fn shr_assign(&mut self, rhs: i32)
 
fn shr_assign(&mut self, rhs: i32)
>>= operation. Read moreSource§impl ShrAssign<i32> for Be<i32>
 
impl ShrAssign<i32> for Be<i32>
Source§fn shr_assign(&mut self, rhs: i32)
 
fn shr_assign(&mut self, rhs: i32)
>>= operation. Read moreSource§impl ShrAssign<i32> for Be<i64>
 
impl ShrAssign<i32> for Be<i64>
Source§fn shr_assign(&mut self, rhs: i32)
 
fn shr_assign(&mut self, rhs: i32)
>>= operation. Read moreSource§impl ShrAssign<i32> for Be<i8>
 
impl ShrAssign<i32> for Be<i8>
Source§fn shr_assign(&mut self, rhs: i32)
 
fn shr_assign(&mut self, rhs: i32)
>>= operation. Read moreSource§impl ShrAssign<i32> for Be<isize>
 
impl ShrAssign<i32> for Be<isize>
Source§fn shr_assign(&mut self, rhs: i32)
 
fn shr_assign(&mut self, rhs: i32)
>>= operation. Read moreSource§impl ShrAssign<i32> for Be<u128>
 
impl ShrAssign<i32> for Be<u128>
Source§fn shr_assign(&mut self, rhs: i32)
 
fn shr_assign(&mut self, rhs: i32)
>>= operation. Read moreSource§impl ShrAssign<i32> for Be<u16>
 
impl ShrAssign<i32> for Be<u16>
Source§fn shr_assign(&mut self, rhs: i32)
 
fn shr_assign(&mut self, rhs: i32)
>>= operation. Read moreSource§impl ShrAssign<i32> for Be<u32>
 
impl ShrAssign<i32> for Be<u32>
Source§fn shr_assign(&mut self, rhs: i32)
 
fn shr_assign(&mut self, rhs: i32)
>>= operation. Read moreSource§impl ShrAssign<i32> for Be<u64>
 
impl ShrAssign<i32> for Be<u64>
Source§fn shr_assign(&mut self, rhs: i32)
 
fn shr_assign(&mut self, rhs: i32)
>>= operation. Read moreSource§impl ShrAssign<i32> for Be<u8>
 
impl ShrAssign<i32> for Be<u8>
Source§fn shr_assign(&mut self, rhs: i32)
 
fn shr_assign(&mut self, rhs: i32)
>>= operation. Read moreSource§impl ShrAssign<i32> for Be<usize>
 
impl ShrAssign<i32> for Be<usize>
Source§fn shr_assign(&mut self, rhs: i32)
 
fn shr_assign(&mut self, rhs: i32)
>>= operation. Read moreSource§impl ShrAssign<i64> for Be<i128>
 
impl ShrAssign<i64> for Be<i128>
Source§fn shr_assign(&mut self, rhs: i64)
 
fn shr_assign(&mut self, rhs: i64)
>>= operation. Read moreSource§impl ShrAssign<i64> for Be<i16>
 
impl ShrAssign<i64> for Be<i16>
Source§fn shr_assign(&mut self, rhs: i64)
 
fn shr_assign(&mut self, rhs: i64)
>>= operation. Read moreSource§impl ShrAssign<i64> for Be<i32>
 
impl ShrAssign<i64> for Be<i32>
Source§fn shr_assign(&mut self, rhs: i64)
 
fn shr_assign(&mut self, rhs: i64)
>>= operation. Read moreSource§impl ShrAssign<i64> for Be<i64>
 
impl ShrAssign<i64> for Be<i64>
Source§fn shr_assign(&mut self, rhs: i64)
 
fn shr_assign(&mut self, rhs: i64)
>>= operation. Read moreSource§impl ShrAssign<i64> for Be<i8>
 
impl ShrAssign<i64> for Be<i8>
Source§fn shr_assign(&mut self, rhs: i64)
 
fn shr_assign(&mut self, rhs: i64)
>>= operation. Read moreSource§impl ShrAssign<i64> for Be<isize>
 
impl ShrAssign<i64> for Be<isize>
Source§fn shr_assign(&mut self, rhs: i64)
 
fn shr_assign(&mut self, rhs: i64)
>>= operation. Read moreSource§impl ShrAssign<i64> for Be<u128>
 
impl ShrAssign<i64> for Be<u128>
Source§fn shr_assign(&mut self, rhs: i64)
 
fn shr_assign(&mut self, rhs: i64)
>>= operation. Read moreSource§impl ShrAssign<i64> for Be<u16>
 
impl ShrAssign<i64> for Be<u16>
Source§fn shr_assign(&mut self, rhs: i64)
 
fn shr_assign(&mut self, rhs: i64)
>>= operation. Read moreSource§impl ShrAssign<i64> for Be<u32>
 
impl ShrAssign<i64> for Be<u32>
Source§fn shr_assign(&mut self, rhs: i64)
 
fn shr_assign(&mut self, rhs: i64)
>>= operation. Read moreSource§impl ShrAssign<i64> for Be<u64>
 
impl ShrAssign<i64> for Be<u64>
Source§fn shr_assign(&mut self, rhs: i64)
 
fn shr_assign(&mut self, rhs: i64)
>>= operation. Read moreSource§impl ShrAssign<i64> for Be<u8>
 
impl ShrAssign<i64> for Be<u8>
Source§fn shr_assign(&mut self, rhs: i64)
 
fn shr_assign(&mut self, rhs: i64)
>>= operation. Read moreSource§impl ShrAssign<i64> for Be<usize>
 
impl ShrAssign<i64> for Be<usize>
Source§fn shr_assign(&mut self, rhs: i64)
 
fn shr_assign(&mut self, rhs: i64)
>>= operation. Read moreSource§impl ShrAssign<i8> for Be<i128>
 
impl ShrAssign<i8> for Be<i128>
Source§fn shr_assign(&mut self, rhs: i8)
 
fn shr_assign(&mut self, rhs: i8)
>>= operation. Read moreSource§impl ShrAssign<i8> for Be<i16>
 
impl ShrAssign<i8> for Be<i16>
Source§fn shr_assign(&mut self, rhs: i8)
 
fn shr_assign(&mut self, rhs: i8)
>>= operation. Read moreSource§impl ShrAssign<i8> for Be<i32>
 
impl ShrAssign<i8> for Be<i32>
Source§fn shr_assign(&mut self, rhs: i8)
 
fn shr_assign(&mut self, rhs: i8)
>>= operation. Read moreSource§impl ShrAssign<i8> for Be<i64>
 
impl ShrAssign<i8> for Be<i64>
Source§fn shr_assign(&mut self, rhs: i8)
 
fn shr_assign(&mut self, rhs: i8)
>>= operation. Read moreSource§impl ShrAssign<i8> for Be<i8>
 
impl ShrAssign<i8> for Be<i8>
Source§fn shr_assign(&mut self, rhs: i8)
 
fn shr_assign(&mut self, rhs: i8)
>>= operation. Read moreSource§impl ShrAssign<i8> for Be<isize>
 
impl ShrAssign<i8> for Be<isize>
Source§fn shr_assign(&mut self, rhs: i8)
 
fn shr_assign(&mut self, rhs: i8)
>>= operation. Read moreSource§impl ShrAssign<i8> for Be<u128>
 
impl ShrAssign<i8> for Be<u128>
Source§fn shr_assign(&mut self, rhs: i8)
 
fn shr_assign(&mut self, rhs: i8)
>>= operation. Read moreSource§impl ShrAssign<i8> for Be<u16>
 
impl ShrAssign<i8> for Be<u16>
Source§fn shr_assign(&mut self, rhs: i8)
 
fn shr_assign(&mut self, rhs: i8)
>>= operation. Read moreSource§impl ShrAssign<i8> for Be<u32>
 
impl ShrAssign<i8> for Be<u32>
Source§fn shr_assign(&mut self, rhs: i8)
 
fn shr_assign(&mut self, rhs: i8)
>>= operation. Read moreSource§impl ShrAssign<i8> for Be<u64>
 
impl ShrAssign<i8> for Be<u64>
Source§fn shr_assign(&mut self, rhs: i8)
 
fn shr_assign(&mut self, rhs: i8)
>>= operation. Read moreSource§impl ShrAssign<i8> for Be<u8>
 
impl ShrAssign<i8> for Be<u8>
Source§fn shr_assign(&mut self, rhs: i8)
 
fn shr_assign(&mut self, rhs: i8)
>>= operation. Read moreSource§impl ShrAssign<i8> for Be<usize>
 
impl ShrAssign<i8> for Be<usize>
Source§fn shr_assign(&mut self, rhs: i8)
 
fn shr_assign(&mut self, rhs: i8)
>>= operation. Read moreSource§impl ShrAssign<isize> for Be<i128>
 
impl ShrAssign<isize> for Be<i128>
Source§fn shr_assign(&mut self, rhs: isize)
 
fn shr_assign(&mut self, rhs: isize)
>>= operation. Read moreSource§impl ShrAssign<isize> for Be<i16>
 
impl ShrAssign<isize> for Be<i16>
Source§fn shr_assign(&mut self, rhs: isize)
 
fn shr_assign(&mut self, rhs: isize)
>>= operation. Read moreSource§impl ShrAssign<isize> for Be<i32>
 
impl ShrAssign<isize> for Be<i32>
Source§fn shr_assign(&mut self, rhs: isize)
 
fn shr_assign(&mut self, rhs: isize)
>>= operation. Read moreSource§impl ShrAssign<isize> for Be<i64>
 
impl ShrAssign<isize> for Be<i64>
Source§fn shr_assign(&mut self, rhs: isize)
 
fn shr_assign(&mut self, rhs: isize)
>>= operation. Read moreSource§impl ShrAssign<isize> for Be<i8>
 
impl ShrAssign<isize> for Be<i8>
Source§fn shr_assign(&mut self, rhs: isize)
 
fn shr_assign(&mut self, rhs: isize)
>>= operation. Read moreSource§impl ShrAssign<isize> for Be<isize>
 
impl ShrAssign<isize> for Be<isize>
Source§fn shr_assign(&mut self, rhs: isize)
 
fn shr_assign(&mut self, rhs: isize)
>>= operation. Read moreSource§impl ShrAssign<isize> for Be<u128>
 
impl ShrAssign<isize> for Be<u128>
Source§fn shr_assign(&mut self, rhs: isize)
 
fn shr_assign(&mut self, rhs: isize)
>>= operation. Read moreSource§impl ShrAssign<isize> for Be<u16>
 
impl ShrAssign<isize> for Be<u16>
Source§fn shr_assign(&mut self, rhs: isize)
 
fn shr_assign(&mut self, rhs: isize)
>>= operation. Read moreSource§impl ShrAssign<isize> for Be<u32>
 
impl ShrAssign<isize> for Be<u32>
Source§fn shr_assign(&mut self, rhs: isize)
 
fn shr_assign(&mut self, rhs: isize)
>>= operation. Read moreSource§impl ShrAssign<isize> for Be<u64>
 
impl ShrAssign<isize> for Be<u64>
Source§fn shr_assign(&mut self, rhs: isize)
 
fn shr_assign(&mut self, rhs: isize)
>>= operation. Read moreSource§impl ShrAssign<isize> for Be<u8>
 
impl ShrAssign<isize> for Be<u8>
Source§fn shr_assign(&mut self, rhs: isize)
 
fn shr_assign(&mut self, rhs: isize)
>>= operation. Read moreSource§impl ShrAssign<isize> for Be<usize>
 
impl ShrAssign<isize> for Be<usize>
Source§fn shr_assign(&mut self, rhs: isize)
 
fn shr_assign(&mut self, rhs: isize)
>>= operation. Read moreSource§impl ShrAssign<u128> for Be<i128>
 
impl ShrAssign<u128> for Be<i128>
Source§fn shr_assign(&mut self, rhs: u128)
 
fn shr_assign(&mut self, rhs: u128)
>>= operation. Read moreSource§impl ShrAssign<u128> for Be<i16>
 
impl ShrAssign<u128> for Be<i16>
Source§fn shr_assign(&mut self, rhs: u128)
 
fn shr_assign(&mut self, rhs: u128)
>>= operation. Read moreSource§impl ShrAssign<u128> for Be<i32>
 
impl ShrAssign<u128> for Be<i32>
Source§fn shr_assign(&mut self, rhs: u128)
 
fn shr_assign(&mut self, rhs: u128)
>>= operation. Read moreSource§impl ShrAssign<u128> for Be<i64>
 
impl ShrAssign<u128> for Be<i64>
Source§fn shr_assign(&mut self, rhs: u128)
 
fn shr_assign(&mut self, rhs: u128)
>>= operation. Read moreSource§impl ShrAssign<u128> for Be<i8>
 
impl ShrAssign<u128> for Be<i8>
Source§fn shr_assign(&mut self, rhs: u128)
 
fn shr_assign(&mut self, rhs: u128)
>>= operation. Read moreSource§impl ShrAssign<u128> for Be<isize>
 
impl ShrAssign<u128> for Be<isize>
Source§fn shr_assign(&mut self, rhs: u128)
 
fn shr_assign(&mut self, rhs: u128)
>>= operation. Read moreSource§impl ShrAssign<u128> for Be<u128>
 
impl ShrAssign<u128> for Be<u128>
Source§fn shr_assign(&mut self, rhs: u128)
 
fn shr_assign(&mut self, rhs: u128)
>>= operation. Read moreSource§impl ShrAssign<u128> for Be<u16>
 
impl ShrAssign<u128> for Be<u16>
Source§fn shr_assign(&mut self, rhs: u128)
 
fn shr_assign(&mut self, rhs: u128)
>>= operation. Read moreSource§impl ShrAssign<u128> for Be<u32>
 
impl ShrAssign<u128> for Be<u32>
Source§fn shr_assign(&mut self, rhs: u128)
 
fn shr_assign(&mut self, rhs: u128)
>>= operation. Read moreSource§impl ShrAssign<u128> for Be<u64>
 
impl ShrAssign<u128> for Be<u64>
Source§fn shr_assign(&mut self, rhs: u128)
 
fn shr_assign(&mut self, rhs: u128)
>>= operation. Read moreSource§impl ShrAssign<u128> for Be<u8>
 
impl ShrAssign<u128> for Be<u8>
Source§fn shr_assign(&mut self, rhs: u128)
 
fn shr_assign(&mut self, rhs: u128)
>>= operation. Read moreSource§impl ShrAssign<u128> for Be<usize>
 
impl ShrAssign<u128> for Be<usize>
Source§fn shr_assign(&mut self, rhs: u128)
 
fn shr_assign(&mut self, rhs: u128)
>>= operation. Read moreSource§impl ShrAssign<u16> for Be<i128>
 
impl ShrAssign<u16> for Be<i128>
Source§fn shr_assign(&mut self, rhs: u16)
 
fn shr_assign(&mut self, rhs: u16)
>>= operation. Read moreSource§impl ShrAssign<u16> for Be<i16>
 
impl ShrAssign<u16> for Be<i16>
Source§fn shr_assign(&mut self, rhs: u16)
 
fn shr_assign(&mut self, rhs: u16)
>>= operation. Read moreSource§impl ShrAssign<u16> for Be<i32>
 
impl ShrAssign<u16> for Be<i32>
Source§fn shr_assign(&mut self, rhs: u16)
 
fn shr_assign(&mut self, rhs: u16)
>>= operation. Read moreSource§impl ShrAssign<u16> for Be<i64>
 
impl ShrAssign<u16> for Be<i64>
Source§fn shr_assign(&mut self, rhs: u16)
 
fn shr_assign(&mut self, rhs: u16)
>>= operation. Read moreSource§impl ShrAssign<u16> for Be<i8>
 
impl ShrAssign<u16> for Be<i8>
Source§fn shr_assign(&mut self, rhs: u16)
 
fn shr_assign(&mut self, rhs: u16)
>>= operation. Read moreSource§impl ShrAssign<u16> for Be<isize>
 
impl ShrAssign<u16> for Be<isize>
Source§fn shr_assign(&mut self, rhs: u16)
 
fn shr_assign(&mut self, rhs: u16)
>>= operation. Read moreSource§impl ShrAssign<u16> for Be<u128>
 
impl ShrAssign<u16> for Be<u128>
Source§fn shr_assign(&mut self, rhs: u16)
 
fn shr_assign(&mut self, rhs: u16)
>>= operation. Read moreSource§impl ShrAssign<u16> for Be<u16>
 
impl ShrAssign<u16> for Be<u16>
Source§fn shr_assign(&mut self, rhs: u16)
 
fn shr_assign(&mut self, rhs: u16)
>>= operation. Read moreSource§impl ShrAssign<u16> for Be<u32>
 
impl ShrAssign<u16> for Be<u32>
Source§fn shr_assign(&mut self, rhs: u16)
 
fn shr_assign(&mut self, rhs: u16)
>>= operation. Read moreSource§impl ShrAssign<u16> for Be<u64>
 
impl ShrAssign<u16> for Be<u64>
Source§fn shr_assign(&mut self, rhs: u16)
 
fn shr_assign(&mut self, rhs: u16)
>>= operation. Read moreSource§impl ShrAssign<u16> for Be<u8>
 
impl ShrAssign<u16> for Be<u8>
Source§fn shr_assign(&mut self, rhs: u16)
 
fn shr_assign(&mut self, rhs: u16)
>>= operation. Read moreSource§impl ShrAssign<u16> for Be<usize>
 
impl ShrAssign<u16> for Be<usize>
Source§fn shr_assign(&mut self, rhs: u16)
 
fn shr_assign(&mut self, rhs: u16)
>>= operation. Read moreSource§impl ShrAssign<u32> for Be<i128>
 
impl ShrAssign<u32> for Be<i128>
Source§fn shr_assign(&mut self, rhs: u32)
 
fn shr_assign(&mut self, rhs: u32)
>>= operation. Read moreSource§impl ShrAssign<u32> for Be<i16>
 
impl ShrAssign<u32> for Be<i16>
Source§fn shr_assign(&mut self, rhs: u32)
 
fn shr_assign(&mut self, rhs: u32)
>>= operation. Read moreSource§impl ShrAssign<u32> for Be<i32>
 
impl ShrAssign<u32> for Be<i32>
Source§fn shr_assign(&mut self, rhs: u32)
 
fn shr_assign(&mut self, rhs: u32)
>>= operation. Read moreSource§impl ShrAssign<u32> for Be<i64>
 
impl ShrAssign<u32> for Be<i64>
Source§fn shr_assign(&mut self, rhs: u32)
 
fn shr_assign(&mut self, rhs: u32)
>>= operation. Read moreSource§impl ShrAssign<u32> for Be<i8>
 
impl ShrAssign<u32> for Be<i8>
Source§fn shr_assign(&mut self, rhs: u32)
 
fn shr_assign(&mut self, rhs: u32)
>>= operation. Read moreSource§impl ShrAssign<u32> for Be<isize>
 
impl ShrAssign<u32> for Be<isize>
Source§fn shr_assign(&mut self, rhs: u32)
 
fn shr_assign(&mut self, rhs: u32)
>>= operation. Read moreSource§impl ShrAssign<u32> for Be<u128>
 
impl ShrAssign<u32> for Be<u128>
Source§fn shr_assign(&mut self, rhs: u32)
 
fn shr_assign(&mut self, rhs: u32)
>>= operation. Read moreSource§impl ShrAssign<u32> for Be<u16>
 
impl ShrAssign<u32> for Be<u16>
Source§fn shr_assign(&mut self, rhs: u32)
 
fn shr_assign(&mut self, rhs: u32)
>>= operation. Read moreSource§impl ShrAssign<u32> for Be<u32>
 
impl ShrAssign<u32> for Be<u32>
Source§fn shr_assign(&mut self, rhs: u32)
 
fn shr_assign(&mut self, rhs: u32)
>>= operation. Read moreSource§impl ShrAssign<u32> for Be<u64>
 
impl ShrAssign<u32> for Be<u64>
Source§fn shr_assign(&mut self, rhs: u32)
 
fn shr_assign(&mut self, rhs: u32)
>>= operation. Read moreSource§impl ShrAssign<u32> for Be<u8>
 
impl ShrAssign<u32> for Be<u8>
Source§fn shr_assign(&mut self, rhs: u32)
 
fn shr_assign(&mut self, rhs: u32)
>>= operation. Read moreSource§impl ShrAssign<u32> for Be<usize>
 
impl ShrAssign<u32> for Be<usize>
Source§fn shr_assign(&mut self, rhs: u32)
 
fn shr_assign(&mut self, rhs: u32)
>>= operation. Read moreSource§impl ShrAssign<u64> for Be<i128>
 
impl ShrAssign<u64> for Be<i128>
Source§fn shr_assign(&mut self, rhs: u64)
 
fn shr_assign(&mut self, rhs: u64)
>>= operation. Read moreSource§impl ShrAssign<u64> for Be<i16>
 
impl ShrAssign<u64> for Be<i16>
Source§fn shr_assign(&mut self, rhs: u64)
 
fn shr_assign(&mut self, rhs: u64)
>>= operation. Read moreSource§impl ShrAssign<u64> for Be<i32>
 
impl ShrAssign<u64> for Be<i32>
Source§fn shr_assign(&mut self, rhs: u64)
 
fn shr_assign(&mut self, rhs: u64)
>>= operation. Read moreSource§impl ShrAssign<u64> for Be<i64>
 
impl ShrAssign<u64> for Be<i64>
Source§fn shr_assign(&mut self, rhs: u64)
 
fn shr_assign(&mut self, rhs: u64)
>>= operation. Read moreSource§impl ShrAssign<u64> for Be<i8>
 
impl ShrAssign<u64> for Be<i8>
Source§fn shr_assign(&mut self, rhs: u64)
 
fn shr_assign(&mut self, rhs: u64)
>>= operation. Read moreSource§impl ShrAssign<u64> for Be<isize>
 
impl ShrAssign<u64> for Be<isize>
Source§fn shr_assign(&mut self, rhs: u64)
 
fn shr_assign(&mut self, rhs: u64)
>>= operation. Read moreSource§impl ShrAssign<u64> for Be<u128>
 
impl ShrAssign<u64> for Be<u128>
Source§fn shr_assign(&mut self, rhs: u64)
 
fn shr_assign(&mut self, rhs: u64)
>>= operation. Read moreSource§impl ShrAssign<u64> for Be<u16>
 
impl ShrAssign<u64> for Be<u16>
Source§fn shr_assign(&mut self, rhs: u64)
 
fn shr_assign(&mut self, rhs: u64)
>>= operation. Read moreSource§impl ShrAssign<u64> for Be<u32>
 
impl ShrAssign<u64> for Be<u32>
Source§fn shr_assign(&mut self, rhs: u64)
 
fn shr_assign(&mut self, rhs: u64)
>>= operation. Read moreSource§impl ShrAssign<u64> for Be<u64>
 
impl ShrAssign<u64> for Be<u64>
Source§fn shr_assign(&mut self, rhs: u64)
 
fn shr_assign(&mut self, rhs: u64)
>>= operation. Read moreSource§impl ShrAssign<u64> for Be<u8>
 
impl ShrAssign<u64> for Be<u8>
Source§fn shr_assign(&mut self, rhs: u64)
 
fn shr_assign(&mut self, rhs: u64)
>>= operation. Read moreSource§impl ShrAssign<u64> for Be<usize>
 
impl ShrAssign<u64> for Be<usize>
Source§fn shr_assign(&mut self, rhs: u64)
 
fn shr_assign(&mut self, rhs: u64)
>>= operation. Read moreSource§impl ShrAssign<u8> for Be<i128>
 
impl ShrAssign<u8> for Be<i128>
Source§fn shr_assign(&mut self, rhs: u8)
 
fn shr_assign(&mut self, rhs: u8)
>>= operation. Read moreSource§impl ShrAssign<u8> for Be<i16>
 
impl ShrAssign<u8> for Be<i16>
Source§fn shr_assign(&mut self, rhs: u8)
 
fn shr_assign(&mut self, rhs: u8)
>>= operation. Read moreSource§impl ShrAssign<u8> for Be<i32>
 
impl ShrAssign<u8> for Be<i32>
Source§fn shr_assign(&mut self, rhs: u8)
 
fn shr_assign(&mut self, rhs: u8)
>>= operation. Read moreSource§impl ShrAssign<u8> for Be<i64>
 
impl ShrAssign<u8> for Be<i64>
Source§fn shr_assign(&mut self, rhs: u8)
 
fn shr_assign(&mut self, rhs: u8)
>>= operation. Read moreSource§impl ShrAssign<u8> for Be<i8>
 
impl ShrAssign<u8> for Be<i8>
Source§fn shr_assign(&mut self, rhs: u8)
 
fn shr_assign(&mut self, rhs: u8)
>>= operation. Read moreSource§impl ShrAssign<u8> for Be<isize>
 
impl ShrAssign<u8> for Be<isize>
Source§fn shr_assign(&mut self, rhs: u8)
 
fn shr_assign(&mut self, rhs: u8)
>>= operation. Read moreSource§impl ShrAssign<u8> for Be<u128>
 
impl ShrAssign<u8> for Be<u128>
Source§fn shr_assign(&mut self, rhs: u8)
 
fn shr_assign(&mut self, rhs: u8)
>>= operation. Read moreSource§impl ShrAssign<u8> for Be<u16>
 
impl ShrAssign<u8> for Be<u16>
Source§fn shr_assign(&mut self, rhs: u8)
 
fn shr_assign(&mut self, rhs: u8)
>>= operation. Read moreSource§impl ShrAssign<u8> for Be<u32>
 
impl ShrAssign<u8> for Be<u32>
Source§fn shr_assign(&mut self, rhs: u8)
 
fn shr_assign(&mut self, rhs: u8)
>>= operation. Read moreSource§impl ShrAssign<u8> for Be<u64>
 
impl ShrAssign<u8> for Be<u64>
Source§fn shr_assign(&mut self, rhs: u8)
 
fn shr_assign(&mut self, rhs: u8)
>>= operation. Read moreSource§impl ShrAssign<u8> for Be<u8>
 
impl ShrAssign<u8> for Be<u8>
Source§fn shr_assign(&mut self, rhs: u8)
 
fn shr_assign(&mut self, rhs: u8)
>>= operation. Read moreSource§impl ShrAssign<u8> for Be<usize>
 
impl ShrAssign<u8> for Be<usize>
Source§fn shr_assign(&mut self, rhs: u8)
 
fn shr_assign(&mut self, rhs: u8)
>>= operation. Read moreSource§impl ShrAssign<usize> for Be<i128>
 
impl ShrAssign<usize> for Be<i128>
Source§fn shr_assign(&mut self, rhs: usize)
 
fn shr_assign(&mut self, rhs: usize)
>>= operation. Read moreSource§impl ShrAssign<usize> for Be<i16>
 
impl ShrAssign<usize> for Be<i16>
Source§fn shr_assign(&mut self, rhs: usize)
 
fn shr_assign(&mut self, rhs: usize)
>>= operation. Read moreSource§impl ShrAssign<usize> for Be<i32>
 
impl ShrAssign<usize> for Be<i32>
Source§fn shr_assign(&mut self, rhs: usize)
 
fn shr_assign(&mut self, rhs: usize)
>>= operation. Read moreSource§impl ShrAssign<usize> for Be<i64>
 
impl ShrAssign<usize> for Be<i64>
Source§fn shr_assign(&mut self, rhs: usize)
 
fn shr_assign(&mut self, rhs: usize)
>>= operation. Read moreSource§impl ShrAssign<usize> for Be<i8>
 
impl ShrAssign<usize> for Be<i8>
Source§fn shr_assign(&mut self, rhs: usize)
 
fn shr_assign(&mut self, rhs: usize)
>>= operation. Read moreSource§impl ShrAssign<usize> for Be<isize>
 
impl ShrAssign<usize> for Be<isize>
Source§fn shr_assign(&mut self, rhs: usize)
 
fn shr_assign(&mut self, rhs: usize)
>>= operation. Read moreSource§impl ShrAssign<usize> for Be<u128>
 
impl ShrAssign<usize> for Be<u128>
Source§fn shr_assign(&mut self, rhs: usize)
 
fn shr_assign(&mut self, rhs: usize)
>>= operation. Read moreSource§impl ShrAssign<usize> for Be<u16>
 
impl ShrAssign<usize> for Be<u16>
Source§fn shr_assign(&mut self, rhs: usize)
 
fn shr_assign(&mut self, rhs: usize)
>>= operation. Read moreSource§impl ShrAssign<usize> for Be<u32>
 
impl ShrAssign<usize> for Be<u32>
Source§fn shr_assign(&mut self, rhs: usize)
 
fn shr_assign(&mut self, rhs: usize)
>>= operation. Read moreSource§impl ShrAssign<usize> for Be<u64>
 
impl ShrAssign<usize> for Be<u64>
Source§fn shr_assign(&mut self, rhs: usize)
 
fn shr_assign(&mut self, rhs: usize)
>>= operation. Read moreSource§impl ShrAssign<usize> for Be<u8>
 
impl ShrAssign<usize> for Be<u8>
Source§fn shr_assign(&mut self, rhs: usize)
 
fn shr_assign(&mut self, rhs: usize)
>>= operation. Read moreSource§impl ShrAssign<usize> for Be<usize>
 
impl ShrAssign<usize> for Be<usize>
Source§fn shr_assign(&mut self, rhs: usize)
 
fn shr_assign(&mut self, rhs: usize)
>>= operation. Read moreSource§impl TryFrom<Be<i128>> for Be<i16>
 
impl TryFrom<Be<i128>> for Be<i16>
Source§fn try_from(
    u: Be<i128>,
) -> Result<Be<i16>, <Be<i16> as TryFrom<Be<i128>>>::Error>
 
fn try_from( u: Be<i128>, ) -> Result<Be<i16>, <Be<i16> as TryFrom<Be<i128>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i128>> for Be<i32>
 
impl TryFrom<Be<i128>> for Be<i32>
Source§fn try_from(
    u: Be<i128>,
) -> Result<Be<i32>, <Be<i32> as TryFrom<Be<i128>>>::Error>
 
fn try_from( u: Be<i128>, ) -> Result<Be<i32>, <Be<i32> as TryFrom<Be<i128>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i128>> for Be<i64>
 
impl TryFrom<Be<i128>> for Be<i64>
Source§fn try_from(
    u: Be<i128>,
) -> Result<Be<i64>, <Be<i64> as TryFrom<Be<i128>>>::Error>
 
fn try_from( u: Be<i128>, ) -> Result<Be<i64>, <Be<i64> as TryFrom<Be<i128>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i128>> for Be<i8>
 
impl TryFrom<Be<i128>> for Be<i8>
Source§fn try_from(u: Be<i128>) -> Result<Be<i8>, <Be<i8> as TryFrom<Be<i128>>>::Error>
 
fn try_from(u: Be<i128>) -> Result<Be<i8>, <Be<i8> as TryFrom<Be<i128>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i128>> for Be<u128>
 
impl TryFrom<Be<i128>> for Be<u128>
Source§fn try_from(
    u: Be<i128>,
) -> Result<Be<u128>, <Be<u128> as TryFrom<Be<i128>>>::Error>
 
fn try_from( u: Be<i128>, ) -> Result<Be<u128>, <Be<u128> as TryFrom<Be<i128>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i128>> for Be<u16>
 
impl TryFrom<Be<i128>> for Be<u16>
Source§fn try_from(
    u: Be<i128>,
) -> Result<Be<u16>, <Be<u16> as TryFrom<Be<i128>>>::Error>
 
fn try_from( u: Be<i128>, ) -> Result<Be<u16>, <Be<u16> as TryFrom<Be<i128>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i128>> for Be<u32>
 
impl TryFrom<Be<i128>> for Be<u32>
Source§fn try_from(
    u: Be<i128>,
) -> Result<Be<u32>, <Be<u32> as TryFrom<Be<i128>>>::Error>
 
fn try_from( u: Be<i128>, ) -> Result<Be<u32>, <Be<u32> as TryFrom<Be<i128>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i128>> for Be<u64>
 
impl TryFrom<Be<i128>> for Be<u64>
Source§fn try_from(
    u: Be<i128>,
) -> Result<Be<u64>, <Be<u64> as TryFrom<Be<i128>>>::Error>
 
fn try_from( u: Be<i128>, ) -> Result<Be<u64>, <Be<u64> as TryFrom<Be<i128>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i128>> for Be<u8>
 
impl TryFrom<Be<i128>> for Be<u8>
Source§fn try_from(u: Be<i128>) -> Result<Be<u8>, <Be<u8> as TryFrom<Be<i128>>>::Error>
 
fn try_from(u: Be<i128>) -> Result<Be<u8>, <Be<u8> as TryFrom<Be<i128>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i16>> for Be<i8>
 
impl TryFrom<Be<i16>> for Be<i8>
Source§fn try_from(u: Be<i16>) -> Result<Be<i8>, <Be<i8> as TryFrom<Be<i16>>>::Error>
 
fn try_from(u: Be<i16>) -> Result<Be<i8>, <Be<i8> as TryFrom<Be<i16>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i16>> for Be<u128>
 
impl TryFrom<Be<i16>> for Be<u128>
Source§fn try_from(
    u: Be<i16>,
) -> Result<Be<u128>, <Be<u128> as TryFrom<Be<i16>>>::Error>
 
fn try_from( u: Be<i16>, ) -> Result<Be<u128>, <Be<u128> as TryFrom<Be<i16>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i16>> for Be<u16>
 
impl TryFrom<Be<i16>> for Be<u16>
Source§fn try_from(u: Be<i16>) -> Result<Be<u16>, <Be<u16> as TryFrom<Be<i16>>>::Error>
 
fn try_from(u: Be<i16>) -> Result<Be<u16>, <Be<u16> as TryFrom<Be<i16>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i16>> for Be<u32>
 
impl TryFrom<Be<i16>> for Be<u32>
Source§fn try_from(u: Be<i16>) -> Result<Be<u32>, <Be<u32> as TryFrom<Be<i16>>>::Error>
 
fn try_from(u: Be<i16>) -> Result<Be<u32>, <Be<u32> as TryFrom<Be<i16>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i16>> for Be<u64>
 
impl TryFrom<Be<i16>> for Be<u64>
Source§fn try_from(u: Be<i16>) -> Result<Be<u64>, <Be<u64> as TryFrom<Be<i16>>>::Error>
 
fn try_from(u: Be<i16>) -> Result<Be<u64>, <Be<u64> as TryFrom<Be<i16>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i16>> for Be<u8>
 
impl TryFrom<Be<i16>> for Be<u8>
Source§fn try_from(u: Be<i16>) -> Result<Be<u8>, <Be<u8> as TryFrom<Be<i16>>>::Error>
 
fn try_from(u: Be<i16>) -> Result<Be<u8>, <Be<u8> as TryFrom<Be<i16>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i32>> for Be<i16>
 
impl TryFrom<Be<i32>> for Be<i16>
Source§fn try_from(u: Be<i32>) -> Result<Be<i16>, <Be<i16> as TryFrom<Be<i32>>>::Error>
 
fn try_from(u: Be<i32>) -> Result<Be<i16>, <Be<i16> as TryFrom<Be<i32>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i32>> for Be<i8>
 
impl TryFrom<Be<i32>> for Be<i8>
Source§fn try_from(u: Be<i32>) -> Result<Be<i8>, <Be<i8> as TryFrom<Be<i32>>>::Error>
 
fn try_from(u: Be<i32>) -> Result<Be<i8>, <Be<i8> as TryFrom<Be<i32>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i32>> for Be<u128>
 
impl TryFrom<Be<i32>> for Be<u128>
Source§fn try_from(
    u: Be<i32>,
) -> Result<Be<u128>, <Be<u128> as TryFrom<Be<i32>>>::Error>
 
fn try_from( u: Be<i32>, ) -> Result<Be<u128>, <Be<u128> as TryFrom<Be<i32>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i32>> for Be<u16>
 
impl TryFrom<Be<i32>> for Be<u16>
Source§fn try_from(u: Be<i32>) -> Result<Be<u16>, <Be<u16> as TryFrom<Be<i32>>>::Error>
 
fn try_from(u: Be<i32>) -> Result<Be<u16>, <Be<u16> as TryFrom<Be<i32>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i32>> for Be<u32>
 
impl TryFrom<Be<i32>> for Be<u32>
Source§fn try_from(u: Be<i32>) -> Result<Be<u32>, <Be<u32> as TryFrom<Be<i32>>>::Error>
 
fn try_from(u: Be<i32>) -> Result<Be<u32>, <Be<u32> as TryFrom<Be<i32>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i32>> for Be<u64>
 
impl TryFrom<Be<i32>> for Be<u64>
Source§fn try_from(u: Be<i32>) -> Result<Be<u64>, <Be<u64> as TryFrom<Be<i32>>>::Error>
 
fn try_from(u: Be<i32>) -> Result<Be<u64>, <Be<u64> as TryFrom<Be<i32>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i32>> for Be<u8>
 
impl TryFrom<Be<i32>> for Be<u8>
Source§fn try_from(u: Be<i32>) -> Result<Be<u8>, <Be<u8> as TryFrom<Be<i32>>>::Error>
 
fn try_from(u: Be<i32>) -> Result<Be<u8>, <Be<u8> as TryFrom<Be<i32>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i64>> for Be<i16>
 
impl TryFrom<Be<i64>> for Be<i16>
Source§fn try_from(u: Be<i64>) -> Result<Be<i16>, <Be<i16> as TryFrom<Be<i64>>>::Error>
 
fn try_from(u: Be<i64>) -> Result<Be<i16>, <Be<i16> as TryFrom<Be<i64>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i64>> for Be<i32>
 
impl TryFrom<Be<i64>> for Be<i32>
Source§fn try_from(u: Be<i64>) -> Result<Be<i32>, <Be<i32> as TryFrom<Be<i64>>>::Error>
 
fn try_from(u: Be<i64>) -> Result<Be<i32>, <Be<i32> as TryFrom<Be<i64>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i64>> for Be<i8>
 
impl TryFrom<Be<i64>> for Be<i8>
Source§fn try_from(u: Be<i64>) -> Result<Be<i8>, <Be<i8> as TryFrom<Be<i64>>>::Error>
 
fn try_from(u: Be<i64>) -> Result<Be<i8>, <Be<i8> as TryFrom<Be<i64>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i64>> for Be<u128>
 
impl TryFrom<Be<i64>> for Be<u128>
Source§fn try_from(
    u: Be<i64>,
) -> Result<Be<u128>, <Be<u128> as TryFrom<Be<i64>>>::Error>
 
fn try_from( u: Be<i64>, ) -> Result<Be<u128>, <Be<u128> as TryFrom<Be<i64>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i64>> for Be<u16>
 
impl TryFrom<Be<i64>> for Be<u16>
Source§fn try_from(u: Be<i64>) -> Result<Be<u16>, <Be<u16> as TryFrom<Be<i64>>>::Error>
 
fn try_from(u: Be<i64>) -> Result<Be<u16>, <Be<u16> as TryFrom<Be<i64>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i64>> for Be<u32>
 
impl TryFrom<Be<i64>> for Be<u32>
Source§fn try_from(u: Be<i64>) -> Result<Be<u32>, <Be<u32> as TryFrom<Be<i64>>>::Error>
 
fn try_from(u: Be<i64>) -> Result<Be<u32>, <Be<u32> as TryFrom<Be<i64>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i64>> for Be<u64>
 
impl TryFrom<Be<i64>> for Be<u64>
Source§fn try_from(u: Be<i64>) -> Result<Be<u64>, <Be<u64> as TryFrom<Be<i64>>>::Error>
 
fn try_from(u: Be<i64>) -> Result<Be<u64>, <Be<u64> as TryFrom<Be<i64>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i64>> for Be<u8>
 
impl TryFrom<Be<i64>> for Be<u8>
Source§fn try_from(u: Be<i64>) -> Result<Be<u8>, <Be<u8> as TryFrom<Be<i64>>>::Error>
 
fn try_from(u: Be<i64>) -> Result<Be<u8>, <Be<u8> as TryFrom<Be<i64>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i8>> for Be<u128>
 
impl TryFrom<Be<i8>> for Be<u128>
Source§fn try_from(u: Be<i8>) -> Result<Be<u128>, <Be<u128> as TryFrom<Be<i8>>>::Error>
 
fn try_from(u: Be<i8>) -> Result<Be<u128>, <Be<u128> as TryFrom<Be<i8>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i8>> for Be<u16>
 
impl TryFrom<Be<i8>> for Be<u16>
Source§fn try_from(u: Be<i8>) -> Result<Be<u16>, <Be<u16> as TryFrom<Be<i8>>>::Error>
 
fn try_from(u: Be<i8>) -> Result<Be<u16>, <Be<u16> as TryFrom<Be<i8>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i8>> for Be<u32>
 
impl TryFrom<Be<i8>> for Be<u32>
Source§fn try_from(u: Be<i8>) -> Result<Be<u32>, <Be<u32> as TryFrom<Be<i8>>>::Error>
 
fn try_from(u: Be<i8>) -> Result<Be<u32>, <Be<u32> as TryFrom<Be<i8>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i8>> for Be<u64>
 
impl TryFrom<Be<i8>> for Be<u64>
Source§fn try_from(u: Be<i8>) -> Result<Be<u64>, <Be<u64> as TryFrom<Be<i8>>>::Error>
 
fn try_from(u: Be<i8>) -> Result<Be<u64>, <Be<u64> as TryFrom<Be<i8>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<i8>> for Be<u8>
 
impl TryFrom<Be<i8>> for Be<u8>
Source§fn try_from(u: Be<i8>) -> Result<Be<u8>, <Be<u8> as TryFrom<Be<i8>>>::Error>
 
fn try_from(u: Be<i8>) -> Result<Be<u8>, <Be<u8> as TryFrom<Be<i8>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<isize>> for Be<usize>
 
impl TryFrom<Be<isize>> for Be<usize>
Source§fn try_from(
    u: Be<isize>,
) -> Result<Be<usize>, <Be<usize> as TryFrom<Be<isize>>>::Error>
 
fn try_from( u: Be<isize>, ) -> Result<Be<usize>, <Be<usize> as TryFrom<Be<isize>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<u128>> for Be<i128>
 
impl TryFrom<Be<u128>> for Be<i128>
Source§fn try_from(
    u: Be<u128>,
) -> Result<Be<i128>, <Be<i128> as TryFrom<Be<u128>>>::Error>
 
fn try_from( u: Be<u128>, ) -> Result<Be<i128>, <Be<i128> as TryFrom<Be<u128>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<u128>> for Be<i16>
 
impl TryFrom<Be<u128>> for Be<i16>
Source§fn try_from(
    u: Be<u128>,
) -> Result<Be<i16>, <Be<i16> as TryFrom<Be<u128>>>::Error>
 
fn try_from( u: Be<u128>, ) -> Result<Be<i16>, <Be<i16> as TryFrom<Be<u128>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<u128>> for Be<i32>
 
impl TryFrom<Be<u128>> for Be<i32>
Source§fn try_from(
    u: Be<u128>,
) -> Result<Be<i32>, <Be<i32> as TryFrom<Be<u128>>>::Error>
 
fn try_from( u: Be<u128>, ) -> Result<Be<i32>, <Be<i32> as TryFrom<Be<u128>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<u128>> for Be<i64>
 
impl TryFrom<Be<u128>> for Be<i64>
Source§fn try_from(
    u: Be<u128>,
) -> Result<Be<i64>, <Be<i64> as TryFrom<Be<u128>>>::Error>
 
fn try_from( u: Be<u128>, ) -> Result<Be<i64>, <Be<i64> as TryFrom<Be<u128>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<u128>> for Be<i8>
 
impl TryFrom<Be<u128>> for Be<i8>
Source§fn try_from(u: Be<u128>) -> Result<Be<i8>, <Be<i8> as TryFrom<Be<u128>>>::Error>
 
fn try_from(u: Be<u128>) -> Result<Be<i8>, <Be<i8> as TryFrom<Be<u128>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<u128>> for Be<u16>
 
impl TryFrom<Be<u128>> for Be<u16>
Source§fn try_from(
    u: Be<u128>,
) -> Result<Be<u16>, <Be<u16> as TryFrom<Be<u128>>>::Error>
 
fn try_from( u: Be<u128>, ) -> Result<Be<u16>, <Be<u16> as TryFrom<Be<u128>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<u128>> for Be<u32>
 
impl TryFrom<Be<u128>> for Be<u32>
Source§fn try_from(
    u: Be<u128>,
) -> Result<Be<u32>, <Be<u32> as TryFrom<Be<u128>>>::Error>
 
fn try_from( u: Be<u128>, ) -> Result<Be<u32>, <Be<u32> as TryFrom<Be<u128>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<u128>> for Be<u64>
 
impl TryFrom<Be<u128>> for Be<u64>
Source§fn try_from(
    u: Be<u128>,
) -> Result<Be<u64>, <Be<u64> as TryFrom<Be<u128>>>::Error>
 
fn try_from( u: Be<u128>, ) -> Result<Be<u64>, <Be<u64> as TryFrom<Be<u128>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<u128>> for Be<u8>
 
impl TryFrom<Be<u128>> for Be<u8>
Source§fn try_from(u: Be<u128>) -> Result<Be<u8>, <Be<u8> as TryFrom<Be<u128>>>::Error>
 
fn try_from(u: Be<u128>) -> Result<Be<u8>, <Be<u8> as TryFrom<Be<u128>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<u16>> for Be<i16>
 
impl TryFrom<Be<u16>> for Be<i16>
Source§fn try_from(u: Be<u16>) -> Result<Be<i16>, <Be<i16> as TryFrom<Be<u16>>>::Error>
 
fn try_from(u: Be<u16>) -> Result<Be<i16>, <Be<i16> as TryFrom<Be<u16>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<u16>> for Be<i8>
 
impl TryFrom<Be<u16>> for Be<i8>
Source§fn try_from(u: Be<u16>) -> Result<Be<i8>, <Be<i8> as TryFrom<Be<u16>>>::Error>
 
fn try_from(u: Be<u16>) -> Result<Be<i8>, <Be<i8> as TryFrom<Be<u16>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<u16>> for Be<u8>
 
impl TryFrom<Be<u16>> for Be<u8>
Source§fn try_from(u: Be<u16>) -> Result<Be<u8>, <Be<u8> as TryFrom<Be<u16>>>::Error>
 
fn try_from(u: Be<u16>) -> Result<Be<u8>, <Be<u8> as TryFrom<Be<u16>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<u32>> for Be<i16>
 
impl TryFrom<Be<u32>> for Be<i16>
Source§fn try_from(u: Be<u32>) -> Result<Be<i16>, <Be<i16> as TryFrom<Be<u32>>>::Error>
 
fn try_from(u: Be<u32>) -> Result<Be<i16>, <Be<i16> as TryFrom<Be<u32>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<u32>> for Be<i32>
 
impl TryFrom<Be<u32>> for Be<i32>
Source§fn try_from(u: Be<u32>) -> Result<Be<i32>, <Be<i32> as TryFrom<Be<u32>>>::Error>
 
fn try_from(u: Be<u32>) -> Result<Be<i32>, <Be<i32> as TryFrom<Be<u32>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<u32>> for Be<i8>
 
impl TryFrom<Be<u32>> for Be<i8>
Source§fn try_from(u: Be<u32>) -> Result<Be<i8>, <Be<i8> as TryFrom<Be<u32>>>::Error>
 
fn try_from(u: Be<u32>) -> Result<Be<i8>, <Be<i8> as TryFrom<Be<u32>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<u32>> for Be<u16>
 
impl TryFrom<Be<u32>> for Be<u16>
Source§fn try_from(u: Be<u32>) -> Result<Be<u16>, <Be<u16> as TryFrom<Be<u32>>>::Error>
 
fn try_from(u: Be<u32>) -> Result<Be<u16>, <Be<u16> as TryFrom<Be<u32>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<u32>> for Be<u8>
 
impl TryFrom<Be<u32>> for Be<u8>
Source§fn try_from(u: Be<u32>) -> Result<Be<u8>, <Be<u8> as TryFrom<Be<u32>>>::Error>
 
fn try_from(u: Be<u32>) -> Result<Be<u8>, <Be<u8> as TryFrom<Be<u32>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<u64>> for Be<i16>
 
impl TryFrom<Be<u64>> for Be<i16>
Source§fn try_from(u: Be<u64>) -> Result<Be<i16>, <Be<i16> as TryFrom<Be<u64>>>::Error>
 
fn try_from(u: Be<u64>) -> Result<Be<i16>, <Be<i16> as TryFrom<Be<u64>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<u64>> for Be<i32>
 
impl TryFrom<Be<u64>> for Be<i32>
Source§fn try_from(u: Be<u64>) -> Result<Be<i32>, <Be<i32> as TryFrom<Be<u64>>>::Error>
 
fn try_from(u: Be<u64>) -> Result<Be<i32>, <Be<i32> as TryFrom<Be<u64>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<u64>> for Be<i64>
 
impl TryFrom<Be<u64>> for Be<i64>
Source§fn try_from(u: Be<u64>) -> Result<Be<i64>, <Be<i64> as TryFrom<Be<u64>>>::Error>
 
fn try_from(u: Be<u64>) -> Result<Be<i64>, <Be<i64> as TryFrom<Be<u64>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<u64>> for Be<i8>
 
impl TryFrom<Be<u64>> for Be<i8>
Source§fn try_from(u: Be<u64>) -> Result<Be<i8>, <Be<i8> as TryFrom<Be<u64>>>::Error>
 
fn try_from(u: Be<u64>) -> Result<Be<i8>, <Be<i8> as TryFrom<Be<u64>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<u64>> for Be<u16>
 
impl TryFrom<Be<u64>> for Be<u16>
Source§fn try_from(u: Be<u64>) -> Result<Be<u16>, <Be<u16> as TryFrom<Be<u64>>>::Error>
 
fn try_from(u: Be<u64>) -> Result<Be<u16>, <Be<u16> as TryFrom<Be<u64>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<u64>> for Be<u32>
 
impl TryFrom<Be<u64>> for Be<u32>
Source§fn try_from(u: Be<u64>) -> Result<Be<u32>, <Be<u32> as TryFrom<Be<u64>>>::Error>
 
fn try_from(u: Be<u64>) -> Result<Be<u32>, <Be<u32> as TryFrom<Be<u64>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<u64>> for Be<u8>
 
impl TryFrom<Be<u64>> for Be<u8>
Source§fn try_from(u: Be<u64>) -> Result<Be<u8>, <Be<u8> as TryFrom<Be<u64>>>::Error>
 
fn try_from(u: Be<u64>) -> Result<Be<u8>, <Be<u8> as TryFrom<Be<u64>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<u8>> for Be<i8>
 
impl TryFrom<Be<u8>> for Be<i8>
Source§fn try_from(u: Be<u8>) -> Result<Be<i8>, <Be<i8> as TryFrom<Be<u8>>>::Error>
 
fn try_from(u: Be<u8>) -> Result<Be<i8>, <Be<i8> as TryFrom<Be<u8>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl TryFrom<Be<usize>> for Be<isize>
 
impl TryFrom<Be<usize>> for Be<isize>
Source§fn try_from(
    u: Be<usize>,
) -> Result<Be<isize>, <Be<isize> as TryFrom<Be<usize>>>::Error>
 
fn try_from( u: Be<usize>, ) -> Result<Be<isize>, <Be<isize> as TryFrom<Be<usize>>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
Source§type Error = TryFromIntError
 
type Error = TryFromIntError
Source§impl<T> TryFromBytes for Be<T>where
    T: TryFromBytes,
 
impl<T> TryFromBytes for Be<T>where
    T: TryFromBytes,
Source§fn try_ref_from_bytes(
    source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
    Self: KnownLayout + Immutable,
 
fn try_ref_from_bytes(
    source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
    Self: KnownLayout + Immutable,
Source§fn try_ref_from_prefix(
    source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
    Self: KnownLayout + Immutable,
 
fn try_ref_from_prefix(
    source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
    Self: KnownLayout + Immutable,
Source§fn try_ref_from_suffix(
    source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
    Self: KnownLayout + Immutable,
 
fn try_ref_from_suffix(
    source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
    Self: KnownLayout + Immutable,
Source§fn try_mut_from_bytes(
    bytes: &mut [u8],
) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
    Self: KnownLayout + IntoBytes,
 
fn try_mut_from_bytes(
    bytes: &mut [u8],
) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
    Self: KnownLayout + IntoBytes,
Source§fn try_mut_from_prefix(
    source: &mut [u8],
) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
    Self: KnownLayout + IntoBytes,
 
fn try_mut_from_prefix(
    source: &mut [u8],
) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
    Self: KnownLayout + IntoBytes,
Source§fn try_mut_from_suffix(
    source: &mut [u8],
) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
    Self: KnownLayout + IntoBytes,
 
fn try_mut_from_suffix(
    source: &mut [u8],
) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
    Self: KnownLayout + IntoBytes,
Source§fn try_ref_from_bytes_with_elems(
    source: &[u8],
    count: usize,
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
 
fn try_ref_from_bytes_with_elems( source: &[u8], count: usize, ) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
Source§fn try_ref_from_prefix_with_elems(
    source: &[u8],
    count: usize,
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
 
fn try_ref_from_prefix_with_elems( source: &[u8], count: usize, ) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
source as a &Self with
a DST length equal to count. Read moreSource§fn try_ref_from_suffix_with_elems(
    source: &[u8],
    count: usize,
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
 
fn try_ref_from_suffix_with_elems( source: &[u8], count: usize, ) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
source as a &Self with
a DST length equal to count. Read moreSource§fn try_mut_from_bytes_with_elems(
    source: &mut [u8],
    count: usize,
) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
 
fn try_mut_from_bytes_with_elems( source: &mut [u8], count: usize, ) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
Source§fn try_mut_from_prefix_with_elems(
    source: &mut [u8],
    count: usize,
) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
 
fn try_mut_from_prefix_with_elems( source: &mut [u8], count: usize, ) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
source as a &mut Self
with a DST length equal to count. Read moreSource§fn try_mut_from_suffix_with_elems(
    source: &mut [u8],
    count: usize,
) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
 
fn try_mut_from_suffix_with_elems( source: &mut [u8], count: usize, ) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>
source as a &mut Self
with a DST length equal to count. Read more