#[repr(transparent)]pub struct Le<T>(pub T);
Expand description
An integer stored in little-endian byte order.
§Examples
use endian_num::Le;
let n = 0x1Au32;
if cfg!(target_endian = "little") {
assert_eq!(Le::<u32>::from_ne(n).0, n);
} else {
assert_eq!(Le::<u32>::from_ne(n).0, n.swap_bytes());
}
Tuple Fields§
§0: T
Implementations§
Source§impl Le<u8>
impl Le<u8>
Sourcepub const MIN: Le<u8>
pub const MIN: Le<u8>
The smallest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Le;
assert_eq!(Le::<u8>::MIN, Le::<u8>::from_ne(u8::MIN));
Sourcepub const MAX: Le<u8>
pub const MAX: Le<u8>
The largest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Le;
assert_eq!(Le::<u8>::MAX, Le::<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::Le;
assert_eq!(Le::<u8>::BITS, u8::BITS);
Sourcepub const fn from_ne(n: u8) -> Le<u8>
pub const fn from_ne(n: u8) -> Le<u8>
Creates a new little-endian integer from a native-endian integer.
On little endian, this is a no-op. On big endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Au8;
if cfg!(target_endian = "little") {
assert_eq!(Le::<u8>::from_ne(n).0, n);
} else {
assert_eq!(Le::<u8>::from_ne(n).0, n.swap_bytes());
}
Sourcepub const fn from_be(n: Be<u8>) -> Le<u8>
pub const fn from_be(n: Be<u8>) -> Le<u8>
Creates a new little-endian integer from a big-endian integer.
This always swaps the bytes.
§Examples
use endian_num::{Be, Le};
let n = 0x1Au8;
assert_eq!(Le::<u8>::from_be(Be(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 little endian, this is a no-op. On big endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Au8;
if cfg!(target_endian = "little") {
assert_eq!(Le(n).to_ne(), n);
} else {
assert_eq!(Le(n).to_ne(), n.swap_bytes());
}
Sourcepub const fn to_be(self) -> Be<u8>
pub const fn to_be(self) -> Be<u8>
Returns the integer in big-endian byte order.
This always swaps the bytes.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Au8;
assert_eq!(Le(n).to_be().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::Le;
let bytes = Le::<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::Le;
let bytes = Le::<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::Le;
let bytes = Le::<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]) -> Le<u8>
pub const fn from_be_bytes(bytes: [u8; 1]) -> Le<u8>
Create a little endian integer value from its representation as a byte array in little endian.
§Examples
use endian_num::Le;
let value = Le::<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::Le;
fn read_be_u8(input: &mut &[u8]) -> Le<u8> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<u8>>());
*input = rest;
Le::<u8>::from_be_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn from_le_bytes(bytes: [u8; 1]) -> Le<u8>
pub const fn from_le_bytes(bytes: [u8; 1]) -> Le<u8>
Create a little endian integer value from its representation as a byte array in big endian.
§Examples
use endian_num::Le;
let value = Le::<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::Le;
fn read_le_u8(input: &mut &[u8]) -> Le<u8> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<u8>>());
*input = rest;
Le::<u8>::from_le_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn from_ne_bytes(bytes: [u8; 1]) -> Le<u8>
pub const fn from_ne_bytes(bytes: [u8; 1]) -> Le<u8>
Create a little 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::Le;
let value = Le::<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::Le;
fn read_ne_u8(input: &mut &[u8]) -> Le<u8> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<u8>>());
*input = rest;
Le::<u8>::from_ne_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn rotate_left(self, n: u32) -> Le<u8>
pub const fn rotate_left(self, n: u32) -> Le<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::Le;
let n = Le::<u8>::from_ne(0x82);
let m = Le::<u8>::from_ne(0xa);
assert_eq!(n.rotate_left(2), m);
Sourcepub const fn rotate_right(self, n: u32) -> Le<u8>
pub const fn rotate_right(self, n: u32) -> Le<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::Le;
let n = Le::<u8>::from_ne(0xa);
let m = Le::<u8>::from_ne(0x82);
assert_eq!(n.rotate_right(2), m);
Sourcepub const fn swap_bytes(self) -> Le<u8>
pub const fn swap_bytes(self) -> Le<u8>
Reverses the byte order of the integer.
§Examples
Basic usage:
use endian_num::Le;
let n = Le(0x12u8);
let m = n.swap_bytes();
assert_eq!(m, Le(0x12));
Sourcepub const fn reverse_bits(self) -> Le<u8>
pub const fn reverse_bits(self) -> Le<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::Le;
let n = Le(0x12u8);
let m = n.reverse_bits();
assert_eq!(m, Le(0x48));
assert_eq!(Le(0), Le(0u8).reverse_bits());
Source§impl Le<u16>
impl Le<u16>
Sourcepub const MIN: Le<u16>
pub const MIN: Le<u16>
The smallest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Le;
assert_eq!(Le::<u16>::MIN, Le::<u16>::from_ne(u16::MIN));
Sourcepub const MAX: Le<u16>
pub const MAX: Le<u16>
The largest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Le;
assert_eq!(Le::<u16>::MAX, Le::<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::Le;
assert_eq!(Le::<u16>::BITS, u16::BITS);
Sourcepub const fn from_ne(n: u16) -> Le<u16>
pub const fn from_ne(n: u16) -> Le<u16>
Creates a new little-endian integer from a native-endian integer.
On little endian, this is a no-op. On big endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Au16;
if cfg!(target_endian = "little") {
assert_eq!(Le::<u16>::from_ne(n).0, n);
} else {
assert_eq!(Le::<u16>::from_ne(n).0, n.swap_bytes());
}
Sourcepub const fn from_be(n: Be<u16>) -> Le<u16>
pub const fn from_be(n: Be<u16>) -> Le<u16>
Creates a new little-endian integer from a big-endian integer.
This always swaps the bytes.
§Examples
use endian_num::{Be, Le};
let n = 0x1Au16;
assert_eq!(Le::<u16>::from_be(Be(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 little endian, this is a no-op. On big endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Au16;
if cfg!(target_endian = "little") {
assert_eq!(Le(n).to_ne(), n);
} else {
assert_eq!(Le(n).to_ne(), n.swap_bytes());
}
Sourcepub const fn to_be(self) -> Be<u16>
pub const fn to_be(self) -> Be<u16>
Returns the integer in big-endian byte order.
This always swaps the bytes.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Au16;
assert_eq!(Le(n).to_be().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::Le;
let bytes = Le::<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::Le;
let bytes = Le::<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::Le;
let bytes = Le::<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]) -> Le<u16>
pub const fn from_be_bytes(bytes: [u8; 2]) -> Le<u16>
Create a little endian integer value from its representation as a byte array in little endian.
§Examples
use endian_num::Le;
let value = Le::<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::Le;
fn read_be_u16(input: &mut &[u8]) -> Le<u16> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<u16>>());
*input = rest;
Le::<u16>::from_be_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn from_le_bytes(bytes: [u8; 2]) -> Le<u16>
pub const fn from_le_bytes(bytes: [u8; 2]) -> Le<u16>
Create a little endian integer value from its representation as a byte array in big endian.
§Examples
use endian_num::Le;
let value = Le::<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::Le;
fn read_le_u16(input: &mut &[u8]) -> Le<u16> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<u16>>());
*input = rest;
Le::<u16>::from_le_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn from_ne_bytes(bytes: [u8; 2]) -> Le<u16>
pub const fn from_ne_bytes(bytes: [u8; 2]) -> Le<u16>
Create a little 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::Le;
let value = Le::<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::Le;
fn read_ne_u16(input: &mut &[u8]) -> Le<u16> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<u16>>());
*input = rest;
Le::<u16>::from_ne_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn rotate_left(self, n: u32) -> Le<u16>
pub const fn rotate_left(self, n: u32) -> Le<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::Le;
let n = Le::<u16>::from_ne(0xa003);
let m = Le::<u16>::from_ne(0x3a);
assert_eq!(n.rotate_left(4), m);
Sourcepub const fn rotate_right(self, n: u32) -> Le<u16>
pub const fn rotate_right(self, n: u32) -> Le<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::Le;
let n = Le::<u16>::from_ne(0x3a);
let m = Le::<u16>::from_ne(0xa003);
assert_eq!(n.rotate_right(4), m);
Sourcepub const fn swap_bytes(self) -> Le<u16>
pub const fn swap_bytes(self) -> Le<u16>
Reverses the byte order of the integer.
§Examples
Basic usage:
use endian_num::Le;
let n = Le(0x1234u16);
let m = n.swap_bytes();
assert_eq!(m, Le(0x3412));
Sourcepub const fn reverse_bits(self) -> Le<u16>
pub const fn reverse_bits(self) -> Le<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::Le;
let n = Le(0x1234u16);
let m = n.reverse_bits();
assert_eq!(m, Le(0x2c48));
assert_eq!(Le(0), Le(0u16).reverse_bits());
Source§impl Le<u32>
impl Le<u32>
Sourcepub const MIN: Le<u32>
pub const MIN: Le<u32>
The smallest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Le;
assert_eq!(Le::<u32>::MIN, Le::<u32>::from_ne(u32::MIN));
Sourcepub const MAX: Le<u32>
pub const MAX: Le<u32>
The largest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Le;
assert_eq!(Le::<u32>::MAX, Le::<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::Le;
assert_eq!(Le::<u32>::BITS, u32::BITS);
Sourcepub const fn from_ne(n: u32) -> Le<u32>
pub const fn from_ne(n: u32) -> Le<u32>
Creates a new little-endian integer from a native-endian integer.
On little endian, this is a no-op. On big endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Au32;
if cfg!(target_endian = "little") {
assert_eq!(Le::<u32>::from_ne(n).0, n);
} else {
assert_eq!(Le::<u32>::from_ne(n).0, n.swap_bytes());
}
Sourcepub const fn from_be(n: Be<u32>) -> Le<u32>
pub const fn from_be(n: Be<u32>) -> Le<u32>
Creates a new little-endian integer from a big-endian integer.
This always swaps the bytes.
§Examples
use endian_num::{Be, Le};
let n = 0x1Au32;
assert_eq!(Le::<u32>::from_be(Be(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 little endian, this is a no-op. On big endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Au32;
if cfg!(target_endian = "little") {
assert_eq!(Le(n).to_ne(), n);
} else {
assert_eq!(Le(n).to_ne(), n.swap_bytes());
}
Sourcepub const fn to_be(self) -> Be<u32>
pub const fn to_be(self) -> Be<u32>
Returns the integer in big-endian byte order.
This always swaps the bytes.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Au32;
assert_eq!(Le(n).to_be().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::Le;
let bytes = Le::<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::Le;
let bytes = Le::<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::Le;
let bytes = Le::<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]) -> Le<u32>
pub const fn from_be_bytes(bytes: [u8; 4]) -> Le<u32>
Create a little endian integer value from its representation as a byte array in little endian.
§Examples
use endian_num::Le;
let value = Le::<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::Le;
fn read_be_u32(input: &mut &[u8]) -> Le<u32> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<u32>>());
*input = rest;
Le::<u32>::from_be_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn from_le_bytes(bytes: [u8; 4]) -> Le<u32>
pub const fn from_le_bytes(bytes: [u8; 4]) -> Le<u32>
Create a little endian integer value from its representation as a byte array in big endian.
§Examples
use endian_num::Le;
let value = Le::<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::Le;
fn read_le_u32(input: &mut &[u8]) -> Le<u32> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<u32>>());
*input = rest;
Le::<u32>::from_le_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn from_ne_bytes(bytes: [u8; 4]) -> Le<u32>
pub const fn from_ne_bytes(bytes: [u8; 4]) -> Le<u32>
Create a little 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::Le;
let value = Le::<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::Le;
fn read_ne_u32(input: &mut &[u8]) -> Le<u32> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<u32>>());
*input = rest;
Le::<u32>::from_ne_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn rotate_left(self, n: u32) -> Le<u32>
pub const fn rotate_left(self, n: u32) -> Le<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::Le;
let n = Le::<u32>::from_ne(0x10000b3);
let m = Le::<u32>::from_ne(0xb301);
assert_eq!(n.rotate_left(8), m);
Sourcepub const fn rotate_right(self, n: u32) -> Le<u32>
pub const fn rotate_right(self, n: u32) -> Le<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::Le;
let n = Le::<u32>::from_ne(0xb301);
let m = Le::<u32>::from_ne(0x10000b3);
assert_eq!(n.rotate_right(8), m);
Sourcepub const fn swap_bytes(self) -> Le<u32>
pub const fn swap_bytes(self) -> Le<u32>
Reverses the byte order of the integer.
§Examples
Basic usage:
use endian_num::Le;
let n = Le(0x12345678u32);
let m = n.swap_bytes();
assert_eq!(m, Le(0x78563412));
Sourcepub const fn reverse_bits(self) -> Le<u32>
pub const fn reverse_bits(self) -> Le<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::Le;
let n = Le(0x12345678u32);
let m = n.reverse_bits();
assert_eq!(m, Le(0x1e6a2c48));
assert_eq!(Le(0), Le(0u32).reverse_bits());
Source§impl Le<u64>
impl Le<u64>
Sourcepub const MIN: Le<u64>
pub const MIN: Le<u64>
The smallest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Le;
assert_eq!(Le::<u64>::MIN, Le::<u64>::from_ne(u64::MIN));
Sourcepub const MAX: Le<u64>
pub const MAX: Le<u64>
The largest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Le;
assert_eq!(Le::<u64>::MAX, Le::<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::Le;
assert_eq!(Le::<u64>::BITS, u64::BITS);
Sourcepub const fn from_ne(n: u64) -> Le<u64>
pub const fn from_ne(n: u64) -> Le<u64>
Creates a new little-endian integer from a native-endian integer.
On little endian, this is a no-op. On big endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Au64;
if cfg!(target_endian = "little") {
assert_eq!(Le::<u64>::from_ne(n).0, n);
} else {
assert_eq!(Le::<u64>::from_ne(n).0, n.swap_bytes());
}
Sourcepub const fn from_be(n: Be<u64>) -> Le<u64>
pub const fn from_be(n: Be<u64>) -> Le<u64>
Creates a new little-endian integer from a big-endian integer.
This always swaps the bytes.
§Examples
use endian_num::{Be, Le};
let n = 0x1Au64;
assert_eq!(Le::<u64>::from_be(Be(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 little endian, this is a no-op. On big endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Au64;
if cfg!(target_endian = "little") {
assert_eq!(Le(n).to_ne(), n);
} else {
assert_eq!(Le(n).to_ne(), n.swap_bytes());
}
Sourcepub const fn to_be(self) -> Be<u64>
pub const fn to_be(self) -> Be<u64>
Returns the integer in big-endian byte order.
This always swaps the bytes.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Au64;
assert_eq!(Le(n).to_be().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::Le;
let bytes = Le::<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::Le;
let bytes = Le::<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::Le;
let bytes = Le::<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]) -> Le<u64>
pub const fn from_be_bytes(bytes: [u8; 8]) -> Le<u64>
Create a little endian integer value from its representation as a byte array in little endian.
§Examples
use endian_num::Le;
let value = Le::<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::Le;
fn read_be_u64(input: &mut &[u8]) -> Le<u64> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<u64>>());
*input = rest;
Le::<u64>::from_be_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn from_le_bytes(bytes: [u8; 8]) -> Le<u64>
pub const fn from_le_bytes(bytes: [u8; 8]) -> Le<u64>
Create a little endian integer value from its representation as a byte array in big endian.
§Examples
use endian_num::Le;
let value = Le::<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::Le;
fn read_le_u64(input: &mut &[u8]) -> Le<u64> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<u64>>());
*input = rest;
Le::<u64>::from_le_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn from_ne_bytes(bytes: [u8; 8]) -> Le<u64>
pub const fn from_ne_bytes(bytes: [u8; 8]) -> Le<u64>
Create a little 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::Le;
let value = Le::<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::Le;
fn read_ne_u64(input: &mut &[u8]) -> Le<u64> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<u64>>());
*input = rest;
Le::<u64>::from_ne_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn rotate_left(self, n: u32) -> Le<u64>
pub const fn rotate_left(self, n: u32) -> Le<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::Le;
let n = Le::<u64>::from_ne(0xaa00000000006e1);
let m = Le::<u64>::from_ne(0x6e10aa);
assert_eq!(n.rotate_left(12), m);
Sourcepub const fn rotate_right(self, n: u32) -> Le<u64>
pub const fn rotate_right(self, n: u32) -> Le<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::Le;
let n = Le::<u64>::from_ne(0x6e10aa);
let m = Le::<u64>::from_ne(0xaa00000000006e1);
assert_eq!(n.rotate_right(12), m);
Sourcepub const fn swap_bytes(self) -> Le<u64>
pub const fn swap_bytes(self) -> Le<u64>
Reverses the byte order of the integer.
§Examples
Basic usage:
use endian_num::Le;
let n = Le(0x1234567890123456u64);
let m = n.swap_bytes();
assert_eq!(m, Le(0x5634129078563412));
Sourcepub const fn reverse_bits(self) -> Le<u64>
pub const fn reverse_bits(self) -> Le<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::Le;
let n = Le(0x1234567890123456u64);
let m = n.reverse_bits();
assert_eq!(m, Le(0x6a2c48091e6a2c48));
assert_eq!(Le(0), Le(0u64).reverse_bits());
Source§impl Le<u128>
impl Le<u128>
Sourcepub const MIN: Le<u128>
pub const MIN: Le<u128>
The smallest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Le;
assert_eq!(Le::<u128>::MIN, Le::<u128>::from_ne(u128::MIN));
Sourcepub const MAX: Le<u128>
pub const MAX: Le<u128>
The largest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Le;
assert_eq!(Le::<u128>::MAX, Le::<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::Le;
assert_eq!(Le::<u128>::BITS, u128::BITS);
Sourcepub const fn from_ne(n: u128) -> Le<u128>
pub const fn from_ne(n: u128) -> Le<u128>
Creates a new little-endian integer from a native-endian integer.
On little endian, this is a no-op. On big endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Au128;
if cfg!(target_endian = "little") {
assert_eq!(Le::<u128>::from_ne(n).0, n);
} else {
assert_eq!(Le::<u128>::from_ne(n).0, n.swap_bytes());
}
Sourcepub const fn from_be(n: Be<u128>) -> Le<u128>
pub const fn from_be(n: Be<u128>) -> Le<u128>
Creates a new little-endian integer from a big-endian integer.
This always swaps the bytes.
§Examples
use endian_num::{Be, Le};
let n = 0x1Au128;
assert_eq!(Le::<u128>::from_be(Be(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 little endian, this is a no-op. On big endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Au128;
if cfg!(target_endian = "little") {
assert_eq!(Le(n).to_ne(), n);
} else {
assert_eq!(Le(n).to_ne(), n.swap_bytes());
}
Sourcepub const fn to_be(self) -> Be<u128>
pub const fn to_be(self) -> Be<u128>
Returns the integer in big-endian byte order.
This always swaps the bytes.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Au128;
assert_eq!(Le(n).to_be().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::Le;
let bytes = Le::<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::Le;
let bytes = Le::<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::Le;
let bytes = Le::<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]) -> Le<u128>
pub const fn from_be_bytes(bytes: [u8; 16]) -> Le<u128>
Create a little endian integer value from its representation as a byte array in little endian.
§Examples
use endian_num::Le;
let value = Le::<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::Le;
fn read_be_u128(input: &mut &[u8]) -> Le<u128> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<u128>>());
*input = rest;
Le::<u128>::from_be_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn from_le_bytes(bytes: [u8; 16]) -> Le<u128>
pub const fn from_le_bytes(bytes: [u8; 16]) -> Le<u128>
Create a little endian integer value from its representation as a byte array in big endian.
§Examples
use endian_num::Le;
let value = Le::<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::Le;
fn read_le_u128(input: &mut &[u8]) -> Le<u128> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<u128>>());
*input = rest;
Le::<u128>::from_le_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn from_ne_bytes(bytes: [u8; 16]) -> Le<u128>
pub const fn from_ne_bytes(bytes: [u8; 16]) -> Le<u128>
Create a little 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::Le;
let value = Le::<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::Le;
fn read_ne_u128(input: &mut &[u8]) -> Le<u128> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<u128>>());
*input = rest;
Le::<u128>::from_ne_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn rotate_left(self, n: u32) -> Le<u128>
pub const fn rotate_left(self, n: u32) -> Le<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::Le;
let n = Le::<u128>::from_ne(0x13f40000000000000000000000004f76);
let m = Le::<u128>::from_ne(0x4f7613f4);
assert_eq!(n.rotate_left(16), m);
Sourcepub const fn rotate_right(self, n: u32) -> Le<u128>
pub const fn rotate_right(self, n: u32) -> Le<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::Le;
let n = Le::<u128>::from_ne(0x4f7613f4);
let m = Le::<u128>::from_ne(0x13f40000000000000000000000004f76);
assert_eq!(n.rotate_right(16), m);
Sourcepub const fn swap_bytes(self) -> Le<u128>
pub const fn swap_bytes(self) -> Le<u128>
Reverses the byte order of the integer.
§Examples
Basic usage:
use endian_num::Le;
let n = Le(0x12345678901234567890123456789012u128);
let m = n.swap_bytes();
assert_eq!(m, Le(0x12907856341290785634129078563412));
Sourcepub const fn reverse_bits(self) -> Le<u128>
pub const fn reverse_bits(self) -> Le<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::Le;
let n = Le(0x12345678901234567890123456789012u128);
let m = n.reverse_bits();
assert_eq!(m, Le(0x48091e6a2c48091e6a2c48091e6a2c48));
assert_eq!(Le(0), Le(0u128).reverse_bits());
Source§impl Le<usize>
impl Le<usize>
Sourcepub const MIN: Le<usize>
pub const MIN: Le<usize>
The smallest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Le;
assert_eq!(Le::<usize>::MIN, Le::<usize>::from_ne(usize::MIN));
Sourcepub const MAX: Le<usize>
pub const MAX: Le<usize>
The largest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Le;
assert_eq!(Le::<usize>::MAX, Le::<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::Le;
assert_eq!(Le::<usize>::BITS, usize::BITS);
Sourcepub const fn from_ne(n: usize) -> Le<usize>
pub const fn from_ne(n: usize) -> Le<usize>
Creates a new little-endian integer from a native-endian integer.
On little endian, this is a no-op. On big endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Ausize;
if cfg!(target_endian = "little") {
assert_eq!(Le::<usize>::from_ne(n).0, n);
} else {
assert_eq!(Le::<usize>::from_ne(n).0, n.swap_bytes());
}
Sourcepub const fn from_be(n: Be<usize>) -> Le<usize>
pub const fn from_be(n: Be<usize>) -> Le<usize>
Creates a new little-endian integer from a big-endian integer.
This always swaps the bytes.
§Examples
use endian_num::{Be, Le};
let n = 0x1Ausize;
assert_eq!(Le::<usize>::from_be(Be(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 little endian, this is a no-op. On big endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Ausize;
if cfg!(target_endian = "little") {
assert_eq!(Le(n).to_ne(), n);
} else {
assert_eq!(Le(n).to_ne(), n.swap_bytes());
}
Sourcepub const fn to_be(self) -> Be<usize>
pub const fn to_be(self) -> Be<usize>
Returns the integer in big-endian byte order.
This always swaps the bytes.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Ausize;
assert_eq!(Le(n).to_be().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::Le;
let bytes = Le::<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::Le;
let bytes = Le::<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::Le;
let bytes = Le::<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]) -> Le<usize>
pub const fn from_be_bytes(bytes: [u8; 8]) -> Le<usize>
Create a little endian integer value from its representation as a byte array in little endian.
§Examples
use endian_num::Le;
let value = Le::<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::Le;
fn read_be_usize(input: &mut &[u8]) -> Le<usize> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<usize>>());
*input = rest;
Le::<usize>::from_be_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn from_le_bytes(bytes: [u8; 8]) -> Le<usize>
pub const fn from_le_bytes(bytes: [u8; 8]) -> Le<usize>
Create a little endian integer value from its representation as a byte array in big endian.
§Examples
use endian_num::Le;
let value = Le::<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::Le;
fn read_le_usize(input: &mut &[u8]) -> Le<usize> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<usize>>());
*input = rest;
Le::<usize>::from_le_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn from_ne_bytes(bytes: [u8; 8]) -> Le<usize>
pub const fn from_ne_bytes(bytes: [u8; 8]) -> Le<usize>
Create a little 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::Le;
let value = Le::<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::Le;
fn read_ne_usize(input: &mut &[u8]) -> Le<usize> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<usize>>());
*input = rest;
Le::<usize>::from_ne_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn rotate_left(self, n: u32) -> Le<usize>
pub const fn rotate_left(self, n: u32) -> Le<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::Le;
let n = Le::<usize>::from_ne(0xaa00000000006e1);
let m = Le::<usize>::from_ne(0x6e10aa);
assert_eq!(n.rotate_left(12), m);
Sourcepub const fn rotate_right(self, n: u32) -> Le<usize>
pub const fn rotate_right(self, n: u32) -> Le<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::Le;
let n = Le::<usize>::from_ne(0x6e10aa);
let m = Le::<usize>::from_ne(0xaa00000000006e1);
assert_eq!(n.rotate_right(12), m);
Sourcepub const fn swap_bytes(self) -> Le<usize>
pub const fn swap_bytes(self) -> Le<usize>
Reverses the byte order of the integer.
§Examples
Basic usage:
use endian_num::Le;
let n = Le(0x1234567890123456usize);
let m = n.swap_bytes();
assert_eq!(m, Le(0x5634129078563412));
Sourcepub const fn reverse_bits(self) -> Le<usize>
pub const fn reverse_bits(self) -> Le<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::Le;
let n = Le(0x1234567890123456usize);
let m = n.reverse_bits();
assert_eq!(m, Le(0x6a2c48091e6a2c48));
assert_eq!(Le(0), Le(0usize).reverse_bits());
Source§impl Le<i8>
impl Le<i8>
Sourcepub const MIN: Le<i8>
pub const MIN: Le<i8>
The smallest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Le;
assert_eq!(Le::<i8>::MIN, Le::<i8>::from_ne(i8::MIN));
Sourcepub const MAX: Le<i8>
pub const MAX: Le<i8>
The largest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Le;
assert_eq!(Le::<i8>::MAX, Le::<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::Le;
assert_eq!(Le::<i8>::BITS, i8::BITS);
Sourcepub const fn from_ne(n: i8) -> Le<i8>
pub const fn from_ne(n: i8) -> Le<i8>
Creates a new little-endian integer from a native-endian integer.
On little endian, this is a no-op. On big endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Ai8;
if cfg!(target_endian = "little") {
assert_eq!(Le::<i8>::from_ne(n).0, n);
} else {
assert_eq!(Le::<i8>::from_ne(n).0, n.swap_bytes());
}
Sourcepub const fn from_be(n: Be<i8>) -> Le<i8>
pub const fn from_be(n: Be<i8>) -> Le<i8>
Creates a new little-endian integer from a big-endian integer.
This always swaps the bytes.
§Examples
use endian_num::{Be, Le};
let n = 0x1Ai8;
assert_eq!(Le::<i8>::from_be(Be(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 little endian, this is a no-op. On big endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Ai8;
if cfg!(target_endian = "little") {
assert_eq!(Le(n).to_ne(), n);
} else {
assert_eq!(Le(n).to_ne(), n.swap_bytes());
}
Sourcepub const fn to_be(self) -> Be<i8>
pub const fn to_be(self) -> Be<i8>
Returns the integer in big-endian byte order.
This always swaps the bytes.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Ai8;
assert_eq!(Le(n).to_be().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::Le;
let bytes = Le::<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::Le;
let bytes = Le::<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::Le;
let bytes = Le::<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]) -> Le<i8>
pub const fn from_be_bytes(bytes: [u8; 1]) -> Le<i8>
Create a little endian integer value from its representation as a byte array in little endian.
§Examples
use endian_num::Le;
let value = Le::<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::Le;
fn read_be_i8(input: &mut &[u8]) -> Le<i8> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<i8>>());
*input = rest;
Le::<i8>::from_be_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn from_le_bytes(bytes: [u8; 1]) -> Le<i8>
pub const fn from_le_bytes(bytes: [u8; 1]) -> Le<i8>
Create a little endian integer value from its representation as a byte array in big endian.
§Examples
use endian_num::Le;
let value = Le::<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::Le;
fn read_le_i8(input: &mut &[u8]) -> Le<i8> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<i8>>());
*input = rest;
Le::<i8>::from_le_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn from_ne_bytes(bytes: [u8; 1]) -> Le<i8>
pub const fn from_ne_bytes(bytes: [u8; 1]) -> Le<i8>
Create a little 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::Le;
let value = Le::<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::Le;
fn read_ne_i8(input: &mut &[u8]) -> Le<i8> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<i8>>());
*input = rest;
Le::<i8>::from_ne_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn rotate_left(self, n: u32) -> Le<i8>
pub const fn rotate_left(self, n: u32) -> Le<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::Le;
let n = Le::<i8>::from_ne(-0x7e);
let m = Le::<i8>::from_ne(0xa);
assert_eq!(n.rotate_left(2), m);
Sourcepub const fn rotate_right(self, n: u32) -> Le<i8>
pub const fn rotate_right(self, n: u32) -> Le<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::Le;
let n = Le::<i8>::from_ne(0xa);
let m = Le::<i8>::from_ne(-0x7e);
assert_eq!(n.rotate_right(2), m);
Sourcepub const fn swap_bytes(self) -> Le<i8>
pub const fn swap_bytes(self) -> Le<i8>
Reverses the byte order of the integer.
§Examples
Basic usage:
use endian_num::Le;
let n = Le(0x12i8);
let m = n.swap_bytes();
assert_eq!(m, Le(0x12));
Sourcepub const fn reverse_bits(self) -> Le<i8>
pub const fn reverse_bits(self) -> Le<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::Le;
let n = Le(0x12i8);
let m = n.reverse_bits();
assert_eq!(m, Le(0x48));
assert_eq!(Le(0), Le(0i8).reverse_bits());
Source§impl Le<i16>
impl Le<i16>
Sourcepub const MIN: Le<i16>
pub const MIN: Le<i16>
The smallest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Le;
assert_eq!(Le::<i16>::MIN, Le::<i16>::from_ne(i16::MIN));
Sourcepub const MAX: Le<i16>
pub const MAX: Le<i16>
The largest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Le;
assert_eq!(Le::<i16>::MAX, Le::<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::Le;
assert_eq!(Le::<i16>::BITS, i16::BITS);
Sourcepub const fn from_ne(n: i16) -> Le<i16>
pub const fn from_ne(n: i16) -> Le<i16>
Creates a new little-endian integer from a native-endian integer.
On little endian, this is a no-op. On big endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Ai16;
if cfg!(target_endian = "little") {
assert_eq!(Le::<i16>::from_ne(n).0, n);
} else {
assert_eq!(Le::<i16>::from_ne(n).0, n.swap_bytes());
}
Sourcepub const fn from_be(n: Be<i16>) -> Le<i16>
pub const fn from_be(n: Be<i16>) -> Le<i16>
Creates a new little-endian integer from a big-endian integer.
This always swaps the bytes.
§Examples
use endian_num::{Be, Le};
let n = 0x1Ai16;
assert_eq!(Le::<i16>::from_be(Be(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 little endian, this is a no-op. On big endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Ai16;
if cfg!(target_endian = "little") {
assert_eq!(Le(n).to_ne(), n);
} else {
assert_eq!(Le(n).to_ne(), n.swap_bytes());
}
Sourcepub const fn to_be(self) -> Be<i16>
pub const fn to_be(self) -> Be<i16>
Returns the integer in big-endian byte order.
This always swaps the bytes.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Ai16;
assert_eq!(Le(n).to_be().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::Le;
let bytes = Le::<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::Le;
let bytes = Le::<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::Le;
let bytes = Le::<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]) -> Le<i16>
pub const fn from_be_bytes(bytes: [u8; 2]) -> Le<i16>
Create a little endian integer value from its representation as a byte array in little endian.
§Examples
use endian_num::Le;
let value = Le::<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::Le;
fn read_be_i16(input: &mut &[u8]) -> Le<i16> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<i16>>());
*input = rest;
Le::<i16>::from_be_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn from_le_bytes(bytes: [u8; 2]) -> Le<i16>
pub const fn from_le_bytes(bytes: [u8; 2]) -> Le<i16>
Create a little endian integer value from its representation as a byte array in big endian.
§Examples
use endian_num::Le;
let value = Le::<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::Le;
fn read_le_i16(input: &mut &[u8]) -> Le<i16> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<i16>>());
*input = rest;
Le::<i16>::from_le_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn from_ne_bytes(bytes: [u8; 2]) -> Le<i16>
pub const fn from_ne_bytes(bytes: [u8; 2]) -> Le<i16>
Create a little 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::Le;
let value = Le::<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::Le;
fn read_ne_i16(input: &mut &[u8]) -> Le<i16> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<i16>>());
*input = rest;
Le::<i16>::from_ne_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn rotate_left(self, n: u32) -> Le<i16>
pub const fn rotate_left(self, n: u32) -> Le<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::Le;
let n = Le::<i16>::from_ne(-0x5ffd);
let m = Le::<i16>::from_ne(0x3a);
assert_eq!(n.rotate_left(4), m);
Sourcepub const fn rotate_right(self, n: u32) -> Le<i16>
pub const fn rotate_right(self, n: u32) -> Le<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::Le;
let n = Le::<i16>::from_ne(0x3a);
let m = Le::<i16>::from_ne(-0x5ffd);
assert_eq!(n.rotate_right(4), m);
Sourcepub const fn swap_bytes(self) -> Le<i16>
pub const fn swap_bytes(self) -> Le<i16>
Reverses the byte order of the integer.
§Examples
Basic usage:
use endian_num::Le;
let n = Le(0x1234i16);
let m = n.swap_bytes();
assert_eq!(m, Le(0x3412));
Sourcepub const fn reverse_bits(self) -> Le<i16>
pub const fn reverse_bits(self) -> Le<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::Le;
let n = Le(0x1234i16);
let m = n.reverse_bits();
assert_eq!(m, Le(0x2c48));
assert_eq!(Le(0), Le(0i16).reverse_bits());
Source§impl Le<i32>
impl Le<i32>
Sourcepub const MIN: Le<i32>
pub const MIN: Le<i32>
The smallest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Le;
assert_eq!(Le::<i32>::MIN, Le::<i32>::from_ne(i32::MIN));
Sourcepub const MAX: Le<i32>
pub const MAX: Le<i32>
The largest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Le;
assert_eq!(Le::<i32>::MAX, Le::<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::Le;
assert_eq!(Le::<i32>::BITS, i32::BITS);
Sourcepub const fn from_ne(n: i32) -> Le<i32>
pub const fn from_ne(n: i32) -> Le<i32>
Creates a new little-endian integer from a native-endian integer.
On little endian, this is a no-op. On big endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Ai32;
if cfg!(target_endian = "little") {
assert_eq!(Le::<i32>::from_ne(n).0, n);
} else {
assert_eq!(Le::<i32>::from_ne(n).0, n.swap_bytes());
}
Sourcepub const fn from_be(n: Be<i32>) -> Le<i32>
pub const fn from_be(n: Be<i32>) -> Le<i32>
Creates a new little-endian integer from a big-endian integer.
This always swaps the bytes.
§Examples
use endian_num::{Be, Le};
let n = 0x1Ai32;
assert_eq!(Le::<i32>::from_be(Be(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 little endian, this is a no-op. On big endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Ai32;
if cfg!(target_endian = "little") {
assert_eq!(Le(n).to_ne(), n);
} else {
assert_eq!(Le(n).to_ne(), n.swap_bytes());
}
Sourcepub const fn to_be(self) -> Be<i32>
pub const fn to_be(self) -> Be<i32>
Returns the integer in big-endian byte order.
This always swaps the bytes.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Ai32;
assert_eq!(Le(n).to_be().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::Le;
let bytes = Le::<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::Le;
let bytes = Le::<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::Le;
let bytes = Le::<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]) -> Le<i32>
pub const fn from_be_bytes(bytes: [u8; 4]) -> Le<i32>
Create a little endian integer value from its representation as a byte array in little endian.
§Examples
use endian_num::Le;
let value = Le::<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::Le;
fn read_be_i32(input: &mut &[u8]) -> Le<i32> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<i32>>());
*input = rest;
Le::<i32>::from_be_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn from_le_bytes(bytes: [u8; 4]) -> Le<i32>
pub const fn from_le_bytes(bytes: [u8; 4]) -> Le<i32>
Create a little endian integer value from its representation as a byte array in big endian.
§Examples
use endian_num::Le;
let value = Le::<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::Le;
fn read_le_i32(input: &mut &[u8]) -> Le<i32> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<i32>>());
*input = rest;
Le::<i32>::from_le_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn from_ne_bytes(bytes: [u8; 4]) -> Le<i32>
pub const fn from_ne_bytes(bytes: [u8; 4]) -> Le<i32>
Create a little 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::Le;
let value = Le::<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::Le;
fn read_ne_i32(input: &mut &[u8]) -> Le<i32> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<i32>>());
*input = rest;
Le::<i32>::from_ne_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn rotate_left(self, n: u32) -> Le<i32>
pub const fn rotate_left(self, n: u32) -> Le<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::Le;
let n = Le::<i32>::from_ne(0x10000b3);
let m = Le::<i32>::from_ne(0xb301);
assert_eq!(n.rotate_left(8), m);
Sourcepub const fn rotate_right(self, n: u32) -> Le<i32>
pub const fn rotate_right(self, n: u32) -> Le<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::Le;
let n = Le::<i32>::from_ne(0xb301);
let m = Le::<i32>::from_ne(0x10000b3);
assert_eq!(n.rotate_right(8), m);
Sourcepub const fn swap_bytes(self) -> Le<i32>
pub const fn swap_bytes(self) -> Le<i32>
Reverses the byte order of the integer.
§Examples
Basic usage:
use endian_num::Le;
let n = Le(0x12345678i32);
let m = n.swap_bytes();
assert_eq!(m, Le(0x78563412));
Sourcepub const fn reverse_bits(self) -> Le<i32>
pub const fn reverse_bits(self) -> Le<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::Le;
let n = Le(0x12345678i32);
let m = n.reverse_bits();
assert_eq!(m, Le(0x1e6a2c48));
assert_eq!(Le(0), Le(0i32).reverse_bits());
Source§impl Le<i64>
impl Le<i64>
Sourcepub const MIN: Le<i64>
pub const MIN: Le<i64>
The smallest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Le;
assert_eq!(Le::<i64>::MIN, Le::<i64>::from_ne(i64::MIN));
Sourcepub const MAX: Le<i64>
pub const MAX: Le<i64>
The largest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Le;
assert_eq!(Le::<i64>::MAX, Le::<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::Le;
assert_eq!(Le::<i64>::BITS, i64::BITS);
Sourcepub const fn from_ne(n: i64) -> Le<i64>
pub const fn from_ne(n: i64) -> Le<i64>
Creates a new little-endian integer from a native-endian integer.
On little endian, this is a no-op. On big endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Ai64;
if cfg!(target_endian = "little") {
assert_eq!(Le::<i64>::from_ne(n).0, n);
} else {
assert_eq!(Le::<i64>::from_ne(n).0, n.swap_bytes());
}
Sourcepub const fn from_be(n: Be<i64>) -> Le<i64>
pub const fn from_be(n: Be<i64>) -> Le<i64>
Creates a new little-endian integer from a big-endian integer.
This always swaps the bytes.
§Examples
use endian_num::{Be, Le};
let n = 0x1Ai64;
assert_eq!(Le::<i64>::from_be(Be(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 little endian, this is a no-op. On big endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Ai64;
if cfg!(target_endian = "little") {
assert_eq!(Le(n).to_ne(), n);
} else {
assert_eq!(Le(n).to_ne(), n.swap_bytes());
}
Sourcepub const fn to_be(self) -> Be<i64>
pub const fn to_be(self) -> Be<i64>
Returns the integer in big-endian byte order.
This always swaps the bytes.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Ai64;
assert_eq!(Le(n).to_be().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::Le;
let bytes = Le::<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::Le;
let bytes = Le::<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::Le;
let bytes = Le::<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]) -> Le<i64>
pub const fn from_be_bytes(bytes: [u8; 8]) -> Le<i64>
Create a little endian integer value from its representation as a byte array in little endian.
§Examples
use endian_num::Le;
let value = Le::<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::Le;
fn read_be_i64(input: &mut &[u8]) -> Le<i64> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<i64>>());
*input = rest;
Le::<i64>::from_be_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn from_le_bytes(bytes: [u8; 8]) -> Le<i64>
pub const fn from_le_bytes(bytes: [u8; 8]) -> Le<i64>
Create a little endian integer value from its representation as a byte array in big endian.
§Examples
use endian_num::Le;
let value = Le::<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::Le;
fn read_le_i64(input: &mut &[u8]) -> Le<i64> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<i64>>());
*input = rest;
Le::<i64>::from_le_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn from_ne_bytes(bytes: [u8; 8]) -> Le<i64>
pub const fn from_ne_bytes(bytes: [u8; 8]) -> Le<i64>
Create a little 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::Le;
let value = Le::<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::Le;
fn read_ne_i64(input: &mut &[u8]) -> Le<i64> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<i64>>());
*input = rest;
Le::<i64>::from_ne_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn rotate_left(self, n: u32) -> Le<i64>
pub const fn rotate_left(self, n: u32) -> Le<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::Le;
let n = Le::<i64>::from_ne(0xaa00000000006e1);
let m = Le::<i64>::from_ne(0x6e10aa);
assert_eq!(n.rotate_left(12), m);
Sourcepub const fn rotate_right(self, n: u32) -> Le<i64>
pub const fn rotate_right(self, n: u32) -> Le<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::Le;
let n = Le::<i64>::from_ne(0x6e10aa);
let m = Le::<i64>::from_ne(0xaa00000000006e1);
assert_eq!(n.rotate_right(12), m);
Sourcepub const fn swap_bytes(self) -> Le<i64>
pub const fn swap_bytes(self) -> Le<i64>
Reverses the byte order of the integer.
§Examples
Basic usage:
use endian_num::Le;
let n = Le(0x1234567890123456i64);
let m = n.swap_bytes();
assert_eq!(m, Le(0x5634129078563412));
Sourcepub const fn reverse_bits(self) -> Le<i64>
pub const fn reverse_bits(self) -> Le<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::Le;
let n = Le(0x1234567890123456i64);
let m = n.reverse_bits();
assert_eq!(m, Le(0x6a2c48091e6a2c48));
assert_eq!(Le(0), Le(0i64).reverse_bits());
Source§impl Le<i128>
impl Le<i128>
Sourcepub const MIN: Le<i128>
pub const MIN: Le<i128>
The smallest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Le;
assert_eq!(Le::<i128>::MIN, Le::<i128>::from_ne(i128::MIN));
Sourcepub const MAX: Le<i128>
pub const MAX: Le<i128>
The largest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Le;
assert_eq!(Le::<i128>::MAX, Le::<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::Le;
assert_eq!(Le::<i128>::BITS, i128::BITS);
Sourcepub const fn from_ne(n: i128) -> Le<i128>
pub const fn from_ne(n: i128) -> Le<i128>
Creates a new little-endian integer from a native-endian integer.
On little endian, this is a no-op. On big endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Ai128;
if cfg!(target_endian = "little") {
assert_eq!(Le::<i128>::from_ne(n).0, n);
} else {
assert_eq!(Le::<i128>::from_ne(n).0, n.swap_bytes());
}
Sourcepub const fn from_be(n: Be<i128>) -> Le<i128>
pub const fn from_be(n: Be<i128>) -> Le<i128>
Creates a new little-endian integer from a big-endian integer.
This always swaps the bytes.
§Examples
use endian_num::{Be, Le};
let n = 0x1Ai128;
assert_eq!(Le::<i128>::from_be(Be(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 little endian, this is a no-op. On big endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Ai128;
if cfg!(target_endian = "little") {
assert_eq!(Le(n).to_ne(), n);
} else {
assert_eq!(Le(n).to_ne(), n.swap_bytes());
}
Sourcepub const fn to_be(self) -> Be<i128>
pub const fn to_be(self) -> Be<i128>
Returns the integer in big-endian byte order.
This always swaps the bytes.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Ai128;
assert_eq!(Le(n).to_be().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::Le;
let bytes = Le::<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::Le;
let bytes = Le::<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::Le;
let bytes = Le::<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]) -> Le<i128>
pub const fn from_be_bytes(bytes: [u8; 16]) -> Le<i128>
Create a little endian integer value from its representation as a byte array in little endian.
§Examples
use endian_num::Le;
let value = Le::<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::Le;
fn read_be_i128(input: &mut &[u8]) -> Le<i128> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<i128>>());
*input = rest;
Le::<i128>::from_be_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn from_le_bytes(bytes: [u8; 16]) -> Le<i128>
pub const fn from_le_bytes(bytes: [u8; 16]) -> Le<i128>
Create a little endian integer value from its representation as a byte array in big endian.
§Examples
use endian_num::Le;
let value = Le::<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::Le;
fn read_le_i128(input: &mut &[u8]) -> Le<i128> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<i128>>());
*input = rest;
Le::<i128>::from_le_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn from_ne_bytes(bytes: [u8; 16]) -> Le<i128>
pub const fn from_ne_bytes(bytes: [u8; 16]) -> Le<i128>
Create a little 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::Le;
let value = Le::<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::Le;
fn read_ne_i128(input: &mut &[u8]) -> Le<i128> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<i128>>());
*input = rest;
Le::<i128>::from_ne_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn rotate_left(self, n: u32) -> Le<i128>
pub const fn rotate_left(self, n: u32) -> Le<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::Le;
let n = Le::<i128>::from_ne(0x13f40000000000000000000000004f76);
let m = Le::<i128>::from_ne(0x4f7613f4);
assert_eq!(n.rotate_left(16), m);
Sourcepub const fn rotate_right(self, n: u32) -> Le<i128>
pub const fn rotate_right(self, n: u32) -> Le<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::Le;
let n = Le::<i128>::from_ne(0x4f7613f4);
let m = Le::<i128>::from_ne(0x13f40000000000000000000000004f76);
assert_eq!(n.rotate_right(16), m);
Sourcepub const fn swap_bytes(self) -> Le<i128>
pub const fn swap_bytes(self) -> Le<i128>
Reverses the byte order of the integer.
§Examples
Basic usage:
use endian_num::Le;
let n = Le(0x12345678901234567890123456789012i128);
let m = n.swap_bytes();
assert_eq!(m, Le(0x12907856341290785634129078563412));
Sourcepub const fn reverse_bits(self) -> Le<i128>
pub const fn reverse_bits(self) -> Le<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::Le;
let n = Le(0x12345678901234567890123456789012i128);
let m = n.reverse_bits();
assert_eq!(m, Le(0x48091e6a2c48091e6a2c48091e6a2c48));
assert_eq!(Le(0), Le(0i128).reverse_bits());
Source§impl Le<isize>
impl Le<isize>
Sourcepub const MIN: Le<isize>
pub const MIN: Le<isize>
The smallest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Le;
assert_eq!(Le::<isize>::MIN, Le::<isize>::from_ne(isize::MIN));
Sourcepub const MAX: Le<isize>
pub const MAX: Le<isize>
The largest value that can be represented by this integer type.
§Examples
Basic usage:
use endian_num::Le;
assert_eq!(Le::<isize>::MAX, Le::<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::Le;
assert_eq!(Le::<isize>::BITS, isize::BITS);
Sourcepub const fn from_ne(n: isize) -> Le<isize>
pub const fn from_ne(n: isize) -> Le<isize>
Creates a new little-endian integer from a native-endian integer.
On little endian, this is a no-op. On big endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Aisize;
if cfg!(target_endian = "little") {
assert_eq!(Le::<isize>::from_ne(n).0, n);
} else {
assert_eq!(Le::<isize>::from_ne(n).0, n.swap_bytes());
}
Sourcepub const fn from_be(n: Be<isize>) -> Le<isize>
pub const fn from_be(n: Be<isize>) -> Le<isize>
Creates a new little-endian integer from a big-endian integer.
This always swaps the bytes.
§Examples
use endian_num::{Be, Le};
let n = 0x1Aisize;
assert_eq!(Le::<isize>::from_be(Be(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 little endian, this is a no-op. On big endian, the bytes are swapped.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Aisize;
if cfg!(target_endian = "little") {
assert_eq!(Le(n).to_ne(), n);
} else {
assert_eq!(Le(n).to_ne(), n.swap_bytes());
}
Sourcepub const fn to_be(self) -> Be<isize>
pub const fn to_be(self) -> Be<isize>
Returns the integer in big-endian byte order.
This always swaps the bytes.
§Examples
Basic usage:
use endian_num::Le;
let n = 0x1Aisize;
assert_eq!(Le(n).to_be().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::Le;
let bytes = Le::<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::Le;
let bytes = Le::<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::Le;
let bytes = Le::<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]) -> Le<isize>
pub const fn from_be_bytes(bytes: [u8; 8]) -> Le<isize>
Create a little endian integer value from its representation as a byte array in little endian.
§Examples
use endian_num::Le;
let value = Le::<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::Le;
fn read_be_isize(input: &mut &[u8]) -> Le<isize> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<isize>>());
*input = rest;
Le::<isize>::from_be_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn from_le_bytes(bytes: [u8; 8]) -> Le<isize>
pub const fn from_le_bytes(bytes: [u8; 8]) -> Le<isize>
Create a little endian integer value from its representation as a byte array in big endian.
§Examples
use endian_num::Le;
let value = Le::<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::Le;
fn read_le_isize(input: &mut &[u8]) -> Le<isize> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<isize>>());
*input = rest;
Le::<isize>::from_le_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn from_ne_bytes(bytes: [u8; 8]) -> Le<isize>
pub const fn from_ne_bytes(bytes: [u8; 8]) -> Le<isize>
Create a little 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::Le;
let value = Le::<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::Le;
fn read_ne_isize(input: &mut &[u8]) -> Le<isize> {
let (int_bytes, rest) = input.split_at(std::mem::size_of::<Le<isize>>());
*input = rest;
Le::<isize>::from_ne_bytes(int_bytes.try_into().unwrap())
}
Sourcepub const fn rotate_left(self, n: u32) -> Le<isize>
pub const fn rotate_left(self, n: u32) -> Le<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::Le;
let n = Le::<isize>::from_ne(0xaa00000000006e1);
let m = Le::<isize>::from_ne(0x6e10aa);
assert_eq!(n.rotate_left(12), m);
Sourcepub const fn rotate_right(self, n: u32) -> Le<isize>
pub const fn rotate_right(self, n: u32) -> Le<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::Le;
let n = Le::<isize>::from_ne(0x6e10aa);
let m = Le::<isize>::from_ne(0xaa00000000006e1);
assert_eq!(n.rotate_right(12), m);
Sourcepub const fn swap_bytes(self) -> Le<isize>
pub const fn swap_bytes(self) -> Le<isize>
Reverses the byte order of the integer.
§Examples
Basic usage:
use endian_num::Le;
let n = Le(0x1234567890123456isize);
let m = n.swap_bytes();
assert_eq!(m, Le(0x5634129078563412));
Sourcepub const fn reverse_bits(self) -> Le<isize>
pub const fn reverse_bits(self) -> Le<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::Le;
let n = Le(0x1234567890123456isize);
let m = n.reverse_bits();
assert_eq!(m, Le(0x6a2c48091e6a2c48));
assert_eq!(Le(0), Le(0isize).reverse_bits());
Source§impl Le<i8>
impl Le<i8>
Sourcepub const fn signum(self) -> Le<i8>
pub const fn signum(self) -> Le<i8>
Returns a number representing sign of self
.
0
if the number is zero1
if the number is positive-1
if the number is negative
§Examples
Basic usage:
use endian_num::Le;
assert_eq!(Le::<i8>::from_ne(10).signum().to_ne(), 1);
assert_eq!(Le::<i8>::from_ne(0).signum().to_ne(), 0);
assert_eq!(Le::<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::Le;
assert!(Le::<i8>::from_ne(10).is_positive());
assert!(!Le::<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::Le;
assert!(Le::<i8>::from_ne(-10).is_negative());
assert!(!Le::<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::Le;
let n = Le(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::Le;
assert_eq!(Le::<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::Le;
let n = Le::<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::Le;
let n = Le::<i8>::from_ne(-4);
assert_eq!(n.trailing_zeros(), 2);
Source§impl Le<i16>
impl Le<i16>
Sourcepub const fn signum(self) -> Le<i16>
pub const fn signum(self) -> Le<i16>
Returns a number representing sign of self
.
0
if the number is zero1
if the number is positive-1
if the number is negative
§Examples
Basic usage:
use endian_num::Le;
assert_eq!(Le::<i16>::from_ne(10).signum().to_ne(), 1);
assert_eq!(Le::<i16>::from_ne(0).signum().to_ne(), 0);
assert_eq!(Le::<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::Le;
assert!(Le::<i16>::from_ne(10).is_positive());
assert!(!Le::<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::Le;
assert!(Le::<i16>::from_ne(-10).is_negative());
assert!(!Le::<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::Le;
let n = Le(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::Le;
assert_eq!(Le::<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::Le;
let n = Le::<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::Le;
let n = Le::<i16>::from_ne(-4);
assert_eq!(n.trailing_zeros(), 2);
Source§impl Le<i32>
impl Le<i32>
Sourcepub const fn signum(self) -> Le<i32>
pub const fn signum(self) -> Le<i32>
Returns a number representing sign of self
.
0
if the number is zero1
if the number is positive-1
if the number is negative
§Examples
Basic usage:
use endian_num::Le;
assert_eq!(Le::<i32>::from_ne(10).signum().to_ne(), 1);
assert_eq!(Le::<i32>::from_ne(0).signum().to_ne(), 0);
assert_eq!(Le::<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::Le;
assert!(Le::<i32>::from_ne(10).is_positive());
assert!(!Le::<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::Le;
assert!(Le::<i32>::from_ne(-10).is_negative());
assert!(!Le::<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::Le;
let n = Le(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::Le;
assert_eq!(Le::<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::Le;
let n = Le::<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::Le;
let n = Le::<i32>::from_ne(-4);
assert_eq!(n.trailing_zeros(), 2);
Source§impl Le<i64>
impl Le<i64>
Sourcepub const fn signum(self) -> Le<i64>
pub const fn signum(self) -> Le<i64>
Returns a number representing sign of self
.
0
if the number is zero1
if the number is positive-1
if the number is negative
§Examples
Basic usage:
use endian_num::Le;
assert_eq!(Le::<i64>::from_ne(10).signum().to_ne(), 1);
assert_eq!(Le::<i64>::from_ne(0).signum().to_ne(), 0);
assert_eq!(Le::<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::Le;
assert!(Le::<i64>::from_ne(10).is_positive());
assert!(!Le::<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::Le;
assert!(Le::<i64>::from_ne(-10).is_negative());
assert!(!Le::<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::Le;
let n = Le(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::Le;
assert_eq!(Le::<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::Le;
let n = Le::<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::Le;
let n = Le::<i64>::from_ne(-4);
assert_eq!(n.trailing_zeros(), 2);
Source§impl Le<i128>
impl Le<i128>
Sourcepub const fn signum(self) -> Le<i128>
pub const fn signum(self) -> Le<i128>
Returns a number representing sign of self
.
0
if the number is zero1
if the number is positive-1
if the number is negative
§Examples
Basic usage:
use endian_num::Le;
assert_eq!(Le::<i128>::from_ne(10).signum().to_ne(), 1);
assert_eq!(Le::<i128>::from_ne(0).signum().to_ne(), 0);
assert_eq!(Le::<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::Le;
assert!(Le::<i128>::from_ne(10).is_positive());
assert!(!Le::<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::Le;
assert!(Le::<i128>::from_ne(-10).is_negative());
assert!(!Le::<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::Le;
let n = Le(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::Le;
assert_eq!(Le::<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::Le;
let n = Le::<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::Le;
let n = Le::<i128>::from_ne(-4);
assert_eq!(n.trailing_zeros(), 2);
Source§impl Le<isize>
impl Le<isize>
Sourcepub const fn abs(self) -> Le<isize>
pub const fn abs(self) -> Le<isize>
Computes the absolute value of self.
See isize::abs
for documentation on overflow behavior.
§Examples
Basic usage:
use endian_num::Le;
assert_eq!(Le::<isize>::from_ne(10).abs(), Le::<isize>::from_ne(10));
assert_eq!(Le::<isize>::from_ne(-10).abs(), Le::<isize>::from_ne(10));
Sourcepub const fn signum(self) -> Le<isize>
pub const fn signum(self) -> Le<isize>
Returns a number representing sign of self
.
0
if the number is zero1
if the number is positive-1
if the number is negative
§Examples
Basic usage:
use endian_num::Le;
assert_eq!(Le::<isize>::from_ne(10).signum().to_ne(), 1);
assert_eq!(Le::<isize>::from_ne(0).signum().to_ne(), 0);
assert_eq!(Le::<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::Le;
assert!(Le::<isize>::from_ne(10).is_positive());
assert!(!Le::<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::Le;
assert!(Le::<isize>::from_ne(-10).is_negative());
assert!(!Le::<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::Le;
let n = Le(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::Le;
assert_eq!(Le::<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::Le;
let n = Le::<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::Le;
let n = Le::<isize>::from_ne(-4);
assert_eq!(n.trailing_zeros(), 2);
Source§impl Le<u8>
impl Le<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::Le;
let n = Le(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::Le;
assert_eq!(Le::<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::Le;
let n = Le::<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::Le;
let n = Le::<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::Le;
assert!(Le::<u8>::from_ne(16).is_power_of_two());
assert!(!Le::<u8>::from_ne(10).is_power_of_two());
Source§impl Le<u16>
impl Le<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::Le;
let n = Le(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::Le;
assert_eq!(Le::<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::Le;
let n = Le::<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::Le;
let n = Le::<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::Le;
assert!(Le::<u16>::from_ne(16).is_power_of_two());
assert!(!Le::<u16>::from_ne(10).is_power_of_two());
Source§impl Le<u32>
impl Le<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::Le;
let n = Le(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::Le;
assert_eq!(Le::<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::Le;
let n = Le::<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::Le;
let n = Le::<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::Le;
assert!(Le::<u32>::from_ne(16).is_power_of_two());
assert!(!Le::<u32>::from_ne(10).is_power_of_two());
Source§impl Le<u64>
impl Le<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::Le;
let n = Le(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::Le;
assert_eq!(Le::<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::Le;
let n = Le::<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::Le;
let n = Le::<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::Le;
assert!(Le::<u64>::from_ne(16).is_power_of_two());
assert!(!Le::<u64>::from_ne(10).is_power_of_two());
Source§impl Le<u128>
impl Le<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::Le;
let n = Le(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::Le;
assert_eq!(Le::<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::Le;
let n = Le::<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::Le;
let n = Le::<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::Le;
assert!(Le::<u128>::from_ne(16).is_power_of_two());
assert!(!Le::<u128>::from_ne(10).is_power_of_two());
Source§impl Le<usize>
impl Le<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::Le;
let n = Le(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::Le;
assert_eq!(Le::<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::Le;
let n = Le::<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::Le;
let n = Le::<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::Le;
assert!(Le::<usize>::from_ne(16).is_power_of_two());
assert!(!Le::<usize>::from_ne(10).is_power_of_two());
Trait Implementations§
Source§impl BitAndAssign for Le<i128>
impl BitAndAssign for Le<i128>
Source§impl BitAndAssign for Le<i16>
impl BitAndAssign for Le<i16>
Source§impl BitAndAssign for Le<i32>
impl BitAndAssign for Le<i32>
Source§impl BitAndAssign for Le<i64>
impl BitAndAssign for Le<i64>
Source§impl BitAndAssign for Le<i8>
impl BitAndAssign for Le<i8>
Source§impl BitAndAssign for Le<isize>
impl BitAndAssign for Le<isize>
Source§impl BitAndAssign for Le<u128>
impl BitAndAssign for Le<u128>
Source§impl BitAndAssign for Le<u16>
impl BitAndAssign for Le<u16>
Source§impl BitAndAssign for Le<u32>
impl BitAndAssign for Le<u32>
Source§impl BitAndAssign for Le<u64>
impl BitAndAssign for Le<u64>
Source§impl BitAndAssign for Le<u8>
impl BitAndAssign for Le<u8>
Source§impl BitAndAssign for Le<usize>
impl BitAndAssign for Le<usize>
Source§impl BitOrAssign for Le<i128>
impl BitOrAssign for Le<i128>
Source§impl BitOrAssign for Le<i16>
impl BitOrAssign for Le<i16>
Source§impl BitOrAssign for Le<i32>
impl BitOrAssign for Le<i32>
Source§impl BitOrAssign for Le<i64>
impl BitOrAssign for Le<i64>
Source§impl BitOrAssign for Le<i8>
impl BitOrAssign for Le<i8>
Source§impl BitOrAssign for Le<isize>
impl BitOrAssign for Le<isize>
Source§impl BitOrAssign for Le<u128>
impl BitOrAssign for Le<u128>
Source§impl BitOrAssign for Le<u16>
impl BitOrAssign for Le<u16>
Source§impl BitOrAssign for Le<u32>
impl BitOrAssign for Le<u32>
Source§impl BitOrAssign for Le<u64>
impl BitOrAssign for Le<u64>
Source§impl BitOrAssign for Le<u8>
impl BitOrAssign for Le<u8>
Source§impl BitOrAssign for Le<usize>
impl BitOrAssign for Le<usize>
Source§impl BitXorAssign for Le<i128>
impl BitXorAssign for Le<i128>
Source§impl BitXorAssign for Le<i16>
impl BitXorAssign for Le<i16>
Source§impl BitXorAssign for Le<i32>
impl BitXorAssign for Le<i32>
Source§impl BitXorAssign for Le<i64>
impl BitXorAssign for Le<i64>
Source§impl BitXorAssign for Le<i8>
impl BitXorAssign for Le<i8>
Source§impl BitXorAssign for Le<isize>
impl BitXorAssign for Le<isize>
Source§impl BitXorAssign for Le<u128>
impl BitXorAssign for Le<u128>
Source§impl BitXorAssign for Le<u16>
impl BitXorAssign for Le<u16>
Source§impl BitXorAssign for Le<u32>
impl BitXorAssign for Le<u32>
Source§impl BitXorAssign for Le<u64>
impl BitXorAssign for Le<u64>
Source§impl BitXorAssign for Le<u8>
impl BitXorAssign for Le<u8>
Source§impl BitXorAssign for Le<usize>
impl BitXorAssign for Le<usize>
Source§impl<T> FromBytes for Le<T>where
T: FromBytes,
impl<T> FromBytes for Le<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 Le<T>where
T: IntoBytes,
impl<T> IntoBytes for Le<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 Le<T>
impl<T> KnownLayout for Le<T>
Source§type PointerMetadata = ()
type PointerMetadata = ()
Self
. Read moreSource§impl Ord for Le<i128>
impl Ord for Le<i128>
Source§impl Ord for Le<i16>
impl Ord for Le<i16>
Source§impl Ord for Le<i32>
impl Ord for Le<i32>
Source§impl Ord for Le<i64>
impl Ord for Le<i64>
Source§impl Ord for Le<i8>
impl Ord for Le<i8>
Source§impl Ord for Le<isize>
impl Ord for Le<isize>
Source§impl Ord for Le<u128>
impl Ord for Le<u128>
Source§impl Ord for Le<u16>
impl Ord for Le<u16>
Source§impl Ord for Le<u32>
impl Ord for Le<u32>
Source§impl Ord for Le<u64>
impl Ord for Le<u64>
Source§impl Ord for Le<u8>
impl Ord for Le<u8>
Source§impl Ord for Le<usize>
impl Ord for Le<usize>
Source§impl OveralignedField<Le<u32>> for DeviceStatus
impl OveralignedField<Le<u32>> for DeviceStatus
Source§fn from_field(field: le32) -> Self
fn from_field(field: le32) -> Self
Source§fn into_field(self) -> le32
fn into_field(self) -> le32
Source§impl OveralignedField<Le<u32>> for Id
impl OveralignedField<Le<u32>> for Id
Source§fn from_field(field: le32) -> Self
fn from_field(field: le32) -> Self
Source§fn into_field(self) -> le32
fn into_field(self) -> le32
Source§impl OveralignedField<Le<u32>> for InterruptStatus
impl OveralignedField<Le<u32>> for InterruptStatus
Source§fn from_field(field: le32) -> Self
fn from_field(field: le32) -> Self
Source§fn into_field(self) -> le32
fn into_field(self) -> le32
Source§impl OveralignedField<Le<u32>> for le16
impl OveralignedField<Le<u32>> for le16
Source§fn from_field(field: le32) -> Self
fn from_field(field: le32) -> Self
Source§fn into_field(self) -> le32
fn into_field(self) -> le32
Source§impl OveralignedField<Le<u32>> for bool
impl OveralignedField<Le<u32>> for bool
Source§fn from_field(field: le32) -> Self
fn from_field(field: le32) -> Self
Source§fn into_field(self) -> le32
fn into_field(self) -> le32
Source§impl OveralignedField<Le<u32>> for u8
impl OveralignedField<Le<u32>> for u8
Source§fn from_field(field: le32) -> Self
fn from_field(field: le32) -> Self
Source§fn into_field(self) -> le32
fn into_field(self) -> le32
Source§impl PartialOrd for Le<i128>
impl PartialOrd for Le<i128>
Source§impl PartialOrd for Le<i16>
impl PartialOrd for Le<i16>
Source§impl PartialOrd for Le<i32>
impl PartialOrd for Le<i32>
Source§impl PartialOrd for Le<i64>
impl PartialOrd for Le<i64>
Source§impl PartialOrd for Le<i8>
impl PartialOrd for Le<i8>
Source§impl PartialOrd for Le<isize>
impl PartialOrd for Le<isize>
Source§impl PartialOrd for Le<u128>
impl PartialOrd for Le<u128>
Source§impl PartialOrd for Le<u16>
impl PartialOrd for Le<u16>
Source§impl PartialOrd for Le<u32>
impl PartialOrd for Le<u32>
Source§impl PartialOrd for Le<u64>
impl PartialOrd for Le<u64>
Source§impl PartialOrd for Le<u8>
impl PartialOrd for Le<u8>
Source§impl PartialOrd for Le<usize>
impl PartialOrd for Le<usize>
Source§impl ShlAssign<&i128> for Le<i128>
impl ShlAssign<&i128> for Le<i128>
Source§fn shl_assign(&mut self, rhs: &i128)
fn shl_assign(&mut self, rhs: &i128)
<<=
operation. Read moreSource§impl ShlAssign<&i128> for Le<i16>
impl ShlAssign<&i128> for Le<i16>
Source§fn shl_assign(&mut self, rhs: &i128)
fn shl_assign(&mut self, rhs: &i128)
<<=
operation. Read moreSource§impl ShlAssign<&i128> for Le<i32>
impl ShlAssign<&i128> for Le<i32>
Source§fn shl_assign(&mut self, rhs: &i128)
fn shl_assign(&mut self, rhs: &i128)
<<=
operation. Read moreSource§impl ShlAssign<&i128> for Le<i64>
impl ShlAssign<&i128> for Le<i64>
Source§fn shl_assign(&mut self, rhs: &i128)
fn shl_assign(&mut self, rhs: &i128)
<<=
operation. Read moreSource§impl ShlAssign<&i128> for Le<i8>
impl ShlAssign<&i128> for Le<i8>
Source§fn shl_assign(&mut self, rhs: &i128)
fn shl_assign(&mut self, rhs: &i128)
<<=
operation. Read moreSource§impl ShlAssign<&i128> for Le<isize>
impl ShlAssign<&i128> for Le<isize>
Source§fn shl_assign(&mut self, rhs: &i128)
fn shl_assign(&mut self, rhs: &i128)
<<=
operation. Read moreSource§impl ShlAssign<&i128> for Le<u128>
impl ShlAssign<&i128> for Le<u128>
Source§fn shl_assign(&mut self, rhs: &i128)
fn shl_assign(&mut self, rhs: &i128)
<<=
operation. Read moreSource§impl ShlAssign<&i128> for Le<u16>
impl ShlAssign<&i128> for Le<u16>
Source§fn shl_assign(&mut self, rhs: &i128)
fn shl_assign(&mut self, rhs: &i128)
<<=
operation. Read moreSource§impl ShlAssign<&i128> for Le<u32>
impl ShlAssign<&i128> for Le<u32>
Source§fn shl_assign(&mut self, rhs: &i128)
fn shl_assign(&mut self, rhs: &i128)
<<=
operation. Read moreSource§impl ShlAssign<&i128> for Le<u64>
impl ShlAssign<&i128> for Le<u64>
Source§fn shl_assign(&mut self, rhs: &i128)
fn shl_assign(&mut self, rhs: &i128)
<<=
operation. Read moreSource§impl ShlAssign<&i128> for Le<u8>
impl ShlAssign<&i128> for Le<u8>
Source§fn shl_assign(&mut self, rhs: &i128)
fn shl_assign(&mut self, rhs: &i128)
<<=
operation. Read moreSource§impl ShlAssign<&i128> for Le<usize>
impl ShlAssign<&i128> for Le<usize>
Source§fn shl_assign(&mut self, rhs: &i128)
fn shl_assign(&mut self, rhs: &i128)
<<=
operation. Read moreSource§impl ShlAssign<&i16> for Le<i128>
impl ShlAssign<&i16> for Le<i128>
Source§fn shl_assign(&mut self, rhs: &i16)
fn shl_assign(&mut self, rhs: &i16)
<<=
operation. Read moreSource§impl ShlAssign<&i16> for Le<i16>
impl ShlAssign<&i16> for Le<i16>
Source§fn shl_assign(&mut self, rhs: &i16)
fn shl_assign(&mut self, rhs: &i16)
<<=
operation. Read moreSource§impl ShlAssign<&i16> for Le<i32>
impl ShlAssign<&i16> for Le<i32>
Source§fn shl_assign(&mut self, rhs: &i16)
fn shl_assign(&mut self, rhs: &i16)
<<=
operation. Read moreSource§impl ShlAssign<&i16> for Le<i64>
impl ShlAssign<&i16> for Le<i64>
Source§fn shl_assign(&mut self, rhs: &i16)
fn shl_assign(&mut self, rhs: &i16)
<<=
operation. Read moreSource§impl ShlAssign<&i16> for Le<i8>
impl ShlAssign<&i16> for Le<i8>
Source§fn shl_assign(&mut self, rhs: &i16)
fn shl_assign(&mut self, rhs: &i16)
<<=
operation. Read moreSource§impl ShlAssign<&i16> for Le<isize>
impl ShlAssign<&i16> for Le<isize>
Source§fn shl_assign(&mut self, rhs: &i16)
fn shl_assign(&mut self, rhs: &i16)
<<=
operation. Read moreSource§impl ShlAssign<&i16> for Le<u128>
impl ShlAssign<&i16> for Le<u128>
Source§fn shl_assign(&mut self, rhs: &i16)
fn shl_assign(&mut self, rhs: &i16)
<<=
operation. Read moreSource§impl ShlAssign<&i16> for Le<u16>
impl ShlAssign<&i16> for Le<u16>
Source§fn shl_assign(&mut self, rhs: &i16)
fn shl_assign(&mut self, rhs: &i16)
<<=
operation. Read moreSource§impl ShlAssign<&i16> for Le<u32>
impl ShlAssign<&i16> for Le<u32>
Source§fn shl_assign(&mut self, rhs: &i16)
fn shl_assign(&mut self, rhs: &i16)
<<=
operation. Read moreSource§impl ShlAssign<&i16> for Le<u64>
impl ShlAssign<&i16> for Le<u64>
Source§fn shl_assign(&mut self, rhs: &i16)
fn shl_assign(&mut self, rhs: &i16)
<<=
operation. Read moreSource§impl ShlAssign<&i16> for Le<u8>
impl ShlAssign<&i16> for Le<u8>
Source§fn shl_assign(&mut self, rhs: &i16)
fn shl_assign(&mut self, rhs: &i16)
<<=
operation. Read moreSource§impl ShlAssign<&i16> for Le<usize>
impl ShlAssign<&i16> for Le<usize>
Source§fn shl_assign(&mut self, rhs: &i16)
fn shl_assign(&mut self, rhs: &i16)
<<=
operation. Read moreSource§impl ShlAssign<&i32> for Le<i128>
impl ShlAssign<&i32> for Le<i128>
Source§fn shl_assign(&mut self, rhs: &i32)
fn shl_assign(&mut self, rhs: &i32)
<<=
operation. Read moreSource§impl ShlAssign<&i32> for Le<i16>
impl ShlAssign<&i32> for Le<i16>
Source§fn shl_assign(&mut self, rhs: &i32)
fn shl_assign(&mut self, rhs: &i32)
<<=
operation. Read moreSource§impl ShlAssign<&i32> for Le<i32>
impl ShlAssign<&i32> for Le<i32>
Source§fn shl_assign(&mut self, rhs: &i32)
fn shl_assign(&mut self, rhs: &i32)
<<=
operation. Read moreSource§impl ShlAssign<&i32> for Le<i64>
impl ShlAssign<&i32> for Le<i64>
Source§fn shl_assign(&mut self, rhs: &i32)
fn shl_assign(&mut self, rhs: &i32)
<<=
operation. Read moreSource§impl ShlAssign<&i32> for Le<i8>
impl ShlAssign<&i32> for Le<i8>
Source§fn shl_assign(&mut self, rhs: &i32)
fn shl_assign(&mut self, rhs: &i32)
<<=
operation. Read moreSource§impl ShlAssign<&i32> for Le<isize>
impl ShlAssign<&i32> for Le<isize>
Source§fn shl_assign(&mut self, rhs: &i32)
fn shl_assign(&mut self, rhs: &i32)
<<=
operation. Read moreSource§impl ShlAssign<&i32> for Le<u128>
impl ShlAssign<&i32> for Le<u128>
Source§fn shl_assign(&mut self, rhs: &i32)
fn shl_assign(&mut self, rhs: &i32)
<<=
operation. Read moreSource§impl ShlAssign<&i32> for Le<u16>
impl ShlAssign<&i32> for Le<u16>
Source§fn shl_assign(&mut self, rhs: &i32)
fn shl_assign(&mut self, rhs: &i32)
<<=
operation. Read moreSource§impl ShlAssign<&i32> for Le<u32>
impl ShlAssign<&i32> for Le<u32>
Source§fn shl_assign(&mut self, rhs: &i32)
fn shl_assign(&mut self, rhs: &i32)
<<=
operation. Read moreSource§impl ShlAssign<&i32> for Le<u64>
impl ShlAssign<&i32> for Le<u64>
Source§fn shl_assign(&mut self, rhs: &i32)
fn shl_assign(&mut self, rhs: &i32)
<<=
operation. Read moreSource§impl ShlAssign<&i32> for Le<u8>
impl ShlAssign<&i32> for Le<u8>
Source§fn shl_assign(&mut self, rhs: &i32)
fn shl_assign(&mut self, rhs: &i32)
<<=
operation. Read moreSource§impl ShlAssign<&i32> for Le<usize>
impl ShlAssign<&i32> for Le<usize>
Source§fn shl_assign(&mut self, rhs: &i32)
fn shl_assign(&mut self, rhs: &i32)
<<=
operation. Read moreSource§impl ShlAssign<&i64> for Le<i128>
impl ShlAssign<&i64> for Le<i128>
Source§fn shl_assign(&mut self, rhs: &i64)
fn shl_assign(&mut self, rhs: &i64)
<<=
operation. Read moreSource§impl ShlAssign<&i64> for Le<i16>
impl ShlAssign<&i64> for Le<i16>
Source§fn shl_assign(&mut self, rhs: &i64)
fn shl_assign(&mut self, rhs: &i64)
<<=
operation. Read moreSource§impl ShlAssign<&i64> for Le<i32>
impl ShlAssign<&i64> for Le<i32>
Source§fn shl_assign(&mut self, rhs: &i64)
fn shl_assign(&mut self, rhs: &i64)
<<=
operation. Read moreSource§impl ShlAssign<&i64> for Le<i64>
impl ShlAssign<&i64> for Le<i64>
Source§fn shl_assign(&mut self, rhs: &i64)
fn shl_assign(&mut self, rhs: &i64)
<<=
operation. Read moreSource§impl ShlAssign<&i64> for Le<i8>
impl ShlAssign<&i64> for Le<i8>
Source§fn shl_assign(&mut self, rhs: &i64)
fn shl_assign(&mut self, rhs: &i64)
<<=
operation. Read moreSource§impl ShlAssign<&i64> for Le<isize>
impl ShlAssign<&i64> for Le<isize>
Source§fn shl_assign(&mut self, rhs: &i64)
fn shl_assign(&mut self, rhs: &i64)
<<=
operation. Read moreSource§impl ShlAssign<&i64> for Le<u128>
impl ShlAssign<&i64> for Le<u128>
Source§fn shl_assign(&mut self, rhs: &i64)
fn shl_assign(&mut self, rhs: &i64)
<<=
operation. Read moreSource§impl ShlAssign<&i64> for Le<u16>
impl ShlAssign<&i64> for Le<u16>
Source§fn shl_assign(&mut self, rhs: &i64)
fn shl_assign(&mut self, rhs: &i64)
<<=
operation. Read moreSource§impl ShlAssign<&i64> for Le<u32>
impl ShlAssign<&i64> for Le<u32>
Source§fn shl_assign(&mut self, rhs: &i64)
fn shl_assign(&mut self, rhs: &i64)
<<=
operation. Read moreSource§impl ShlAssign<&i64> for Le<u64>
impl ShlAssign<&i64> for Le<u64>
Source§fn shl_assign(&mut self, rhs: &i64)
fn shl_assign(&mut self, rhs: &i64)
<<=
operation. Read moreSource§impl ShlAssign<&i64> for Le<u8>
impl ShlAssign<&i64> for Le<u8>
Source§fn shl_assign(&mut self, rhs: &i64)
fn shl_assign(&mut self, rhs: &i64)
<<=
operation. Read moreSource§impl ShlAssign<&i64> for Le<usize>
impl ShlAssign<&i64> for Le<usize>
Source§fn shl_assign(&mut self, rhs: &i64)
fn shl_assign(&mut self, rhs: &i64)
<<=
operation. Read moreSource§impl ShlAssign<&i8> for Le<i128>
impl ShlAssign<&i8> for Le<i128>
Source§fn shl_assign(&mut self, rhs: &i8)
fn shl_assign(&mut self, rhs: &i8)
<<=
operation. Read moreSource§impl ShlAssign<&i8> for Le<i16>
impl ShlAssign<&i8> for Le<i16>
Source§fn shl_assign(&mut self, rhs: &i8)
fn shl_assign(&mut self, rhs: &i8)
<<=
operation. Read moreSource§impl ShlAssign<&i8> for Le<i32>
impl ShlAssign<&i8> for Le<i32>
Source§fn shl_assign(&mut self, rhs: &i8)
fn shl_assign(&mut self, rhs: &i8)
<<=
operation. Read moreSource§impl ShlAssign<&i8> for Le<i64>
impl ShlAssign<&i8> for Le<i64>
Source§fn shl_assign(&mut self, rhs: &i8)
fn shl_assign(&mut self, rhs: &i8)
<<=
operation. Read moreSource§impl ShlAssign<&i8> for Le<i8>
impl ShlAssign<&i8> for Le<i8>
Source§fn shl_assign(&mut self, rhs: &i8)
fn shl_assign(&mut self, rhs: &i8)
<<=
operation. Read moreSource§impl ShlAssign<&i8> for Le<isize>
impl ShlAssign<&i8> for Le<isize>
Source§fn shl_assign(&mut self, rhs: &i8)
fn shl_assign(&mut self, rhs: &i8)
<<=
operation. Read moreSource§impl ShlAssign<&i8> for Le<u128>
impl ShlAssign<&i8> for Le<u128>
Source§fn shl_assign(&mut self, rhs: &i8)
fn shl_assign(&mut self, rhs: &i8)
<<=
operation. Read moreSource§impl ShlAssign<&i8> for Le<u16>
impl ShlAssign<&i8> for Le<u16>
Source§fn shl_assign(&mut self, rhs: &i8)
fn shl_assign(&mut self, rhs: &i8)
<<=
operation. Read moreSource§impl ShlAssign<&i8> for Le<u32>
impl ShlAssign<&i8> for Le<u32>
Source§fn shl_assign(&mut self, rhs: &i8)
fn shl_assign(&mut self, rhs: &i8)
<<=
operation. Read moreSource§impl ShlAssign<&i8> for Le<u64>
impl ShlAssign<&i8> for Le<u64>
Source§fn shl_assign(&mut self, rhs: &i8)
fn shl_assign(&mut self, rhs: &i8)
<<=
operation. Read moreSource§impl ShlAssign<&i8> for Le<u8>
impl ShlAssign<&i8> for Le<u8>
Source§fn shl_assign(&mut self, rhs: &i8)
fn shl_assign(&mut self, rhs: &i8)
<<=
operation. Read moreSource§impl ShlAssign<&i8> for Le<usize>
impl ShlAssign<&i8> for Le<usize>
Source§fn shl_assign(&mut self, rhs: &i8)
fn shl_assign(&mut self, rhs: &i8)
<<=
operation. Read moreSource§impl ShlAssign<&isize> for Le<i128>
impl ShlAssign<&isize> for Le<i128>
Source§fn shl_assign(&mut self, rhs: &isize)
fn shl_assign(&mut self, rhs: &isize)
<<=
operation. Read moreSource§impl ShlAssign<&isize> for Le<i16>
impl ShlAssign<&isize> for Le<i16>
Source§fn shl_assign(&mut self, rhs: &isize)
fn shl_assign(&mut self, rhs: &isize)
<<=
operation. Read moreSource§impl ShlAssign<&isize> for Le<i32>
impl ShlAssign<&isize> for Le<i32>
Source§fn shl_assign(&mut self, rhs: &isize)
fn shl_assign(&mut self, rhs: &isize)
<<=
operation. Read moreSource§impl ShlAssign<&isize> for Le<i64>
impl ShlAssign<&isize> for Le<i64>
Source§fn shl_assign(&mut self, rhs: &isize)
fn shl_assign(&mut self, rhs: &isize)
<<=
operation. Read moreSource§impl ShlAssign<&isize> for Le<i8>
impl ShlAssign<&isize> for Le<i8>
Source§fn shl_assign(&mut self, rhs: &isize)
fn shl_assign(&mut self, rhs: &isize)
<<=
operation. Read moreSource§impl ShlAssign<&isize> for Le<isize>
impl ShlAssign<&isize> for Le<isize>
Source§fn shl_assign(&mut self, rhs: &isize)
fn shl_assign(&mut self, rhs: &isize)
<<=
operation. Read moreSource§impl ShlAssign<&isize> for Le<u128>
impl ShlAssign<&isize> for Le<u128>
Source§fn shl_assign(&mut self, rhs: &isize)
fn shl_assign(&mut self, rhs: &isize)
<<=
operation. Read moreSource§impl ShlAssign<&isize> for Le<u16>
impl ShlAssign<&isize> for Le<u16>
Source§fn shl_assign(&mut self, rhs: &isize)
fn shl_assign(&mut self, rhs: &isize)
<<=
operation. Read moreSource§impl ShlAssign<&isize> for Le<u32>
impl ShlAssign<&isize> for Le<u32>
Source§fn shl_assign(&mut self, rhs: &isize)
fn shl_assign(&mut self, rhs: &isize)
<<=
operation. Read moreSource§impl ShlAssign<&isize> for Le<u64>
impl ShlAssign<&isize> for Le<u64>
Source§fn shl_assign(&mut self, rhs: &isize)
fn shl_assign(&mut self, rhs: &isize)
<<=
operation. Read moreSource§impl ShlAssign<&isize> for Le<u8>
impl ShlAssign<&isize> for Le<u8>
Source§fn shl_assign(&mut self, rhs: &isize)
fn shl_assign(&mut self, rhs: &isize)
<<=
operation. Read moreSource§impl ShlAssign<&isize> for Le<usize>
impl ShlAssign<&isize> for Le<usize>
Source§fn shl_assign(&mut self, rhs: &isize)
fn shl_assign(&mut self, rhs: &isize)
<<=
operation. Read moreSource§impl ShlAssign<&u128> for Le<i128>
impl ShlAssign<&u128> for Le<i128>
Source§fn shl_assign(&mut self, rhs: &u128)
fn shl_assign(&mut self, rhs: &u128)
<<=
operation. Read moreSource§impl ShlAssign<&u128> for Le<i16>
impl ShlAssign<&u128> for Le<i16>
Source§fn shl_assign(&mut self, rhs: &u128)
fn shl_assign(&mut self, rhs: &u128)
<<=
operation. Read moreSource§impl ShlAssign<&u128> for Le<i32>
impl ShlAssign<&u128> for Le<i32>
Source§fn shl_assign(&mut self, rhs: &u128)
fn shl_assign(&mut self, rhs: &u128)
<<=
operation. Read moreSource§impl ShlAssign<&u128> for Le<i64>
impl ShlAssign<&u128> for Le<i64>
Source§fn shl_assign(&mut self, rhs: &u128)
fn shl_assign(&mut self, rhs: &u128)
<<=
operation. Read moreSource§impl ShlAssign<&u128> for Le<i8>
impl ShlAssign<&u128> for Le<i8>
Source§fn shl_assign(&mut self, rhs: &u128)
fn shl_assign(&mut self, rhs: &u128)
<<=
operation. Read moreSource§impl ShlAssign<&u128> for Le<isize>
impl ShlAssign<&u128> for Le<isize>
Source§fn shl_assign(&mut self, rhs: &u128)
fn shl_assign(&mut self, rhs: &u128)
<<=
operation. Read moreSource§impl ShlAssign<&u128> for Le<u128>
impl ShlAssign<&u128> for Le<u128>
Source§fn shl_assign(&mut self, rhs: &u128)
fn shl_assign(&mut self, rhs: &u128)
<<=
operation. Read moreSource§impl ShlAssign<&u128> for Le<u16>
impl ShlAssign<&u128> for Le<u16>
Source§fn shl_assign(&mut self, rhs: &u128)
fn shl_assign(&mut self, rhs: &u128)
<<=
operation. Read moreSource§impl ShlAssign<&u128> for Le<u32>
impl ShlAssign<&u128> for Le<u32>
Source§fn shl_assign(&mut self, rhs: &u128)
fn shl_assign(&mut self, rhs: &u128)
<<=
operation. Read moreSource§impl ShlAssign<&u128> for Le<u64>
impl ShlAssign<&u128> for Le<u64>
Source§fn shl_assign(&mut self, rhs: &u128)
fn shl_assign(&mut self, rhs: &u128)
<<=
operation. Read moreSource§impl ShlAssign<&u128> for Le<u8>
impl ShlAssign<&u128> for Le<u8>
Source§fn shl_assign(&mut self, rhs: &u128)
fn shl_assign(&mut self, rhs: &u128)
<<=
operation. Read moreSource§impl ShlAssign<&u128> for Le<usize>
impl ShlAssign<&u128> for Le<usize>
Source§fn shl_assign(&mut self, rhs: &u128)
fn shl_assign(&mut self, rhs: &u128)
<<=
operation. Read moreSource§impl ShlAssign<&u16> for Le<i128>
impl ShlAssign<&u16> for Le<i128>
Source§fn shl_assign(&mut self, rhs: &u16)
fn shl_assign(&mut self, rhs: &u16)
<<=
operation. Read moreSource§impl ShlAssign<&u16> for Le<i16>
impl ShlAssign<&u16> for Le<i16>
Source§fn shl_assign(&mut self, rhs: &u16)
fn shl_assign(&mut self, rhs: &u16)
<<=
operation. Read moreSource§impl ShlAssign<&u16> for Le<i32>
impl ShlAssign<&u16> for Le<i32>
Source§fn shl_assign(&mut self, rhs: &u16)
fn shl_assign(&mut self, rhs: &u16)
<<=
operation. Read moreSource§impl ShlAssign<&u16> for Le<i64>
impl ShlAssign<&u16> for Le<i64>
Source§fn shl_assign(&mut self, rhs: &u16)
fn shl_assign(&mut self, rhs: &u16)
<<=
operation. Read moreSource§impl ShlAssign<&u16> for Le<i8>
impl ShlAssign<&u16> for Le<i8>
Source§fn shl_assign(&mut self, rhs: &u16)
fn shl_assign(&mut self, rhs: &u16)
<<=
operation. Read moreSource§impl ShlAssign<&u16> for Le<isize>
impl ShlAssign<&u16> for Le<isize>
Source§fn shl_assign(&mut self, rhs: &u16)
fn shl_assign(&mut self, rhs: &u16)
<<=
operation. Read moreSource§impl ShlAssign<&u16> for Le<u128>
impl ShlAssign<&u16> for Le<u128>
Source§fn shl_assign(&mut self, rhs: &u16)
fn shl_assign(&mut self, rhs: &u16)
<<=
operation. Read moreSource§impl ShlAssign<&u16> for Le<u16>
impl ShlAssign<&u16> for Le<u16>
Source§fn shl_assign(&mut self, rhs: &u16)
fn shl_assign(&mut self, rhs: &u16)
<<=
operation. Read moreSource§impl ShlAssign<&u16> for Le<u32>
impl ShlAssign<&u16> for Le<u32>
Source§fn shl_assign(&mut self, rhs: &u16)
fn shl_assign(&mut self, rhs: &u16)
<<=
operation. Read moreSource§impl ShlAssign<&u16> for Le<u64>
impl ShlAssign<&u16> for Le<u64>
Source§fn shl_assign(&mut self, rhs: &u16)
fn shl_assign(&mut self, rhs: &u16)
<<=
operation. Read moreSource§impl ShlAssign<&u16> for Le<u8>
impl ShlAssign<&u16> for Le<u8>
Source§fn shl_assign(&mut self, rhs: &u16)
fn shl_assign(&mut self, rhs: &u16)
<<=
operation. Read moreSource§impl ShlAssign<&u16> for Le<usize>
impl ShlAssign<&u16> for Le<usize>
Source§fn shl_assign(&mut self, rhs: &u16)
fn shl_assign(&mut self, rhs: &u16)
<<=
operation. Read moreSource§impl ShlAssign<&u32> for Le<i128>
impl ShlAssign<&u32> for Le<i128>
Source§fn shl_assign(&mut self, rhs: &u32)
fn shl_assign(&mut self, rhs: &u32)
<<=
operation. Read moreSource§impl ShlAssign<&u32> for Le<i16>
impl ShlAssign<&u32> for Le<i16>
Source§fn shl_assign(&mut self, rhs: &u32)
fn shl_assign(&mut self, rhs: &u32)
<<=
operation. Read moreSource§impl ShlAssign<&u32> for Le<i32>
impl ShlAssign<&u32> for Le<i32>
Source§fn shl_assign(&mut self, rhs: &u32)
fn shl_assign(&mut self, rhs: &u32)
<<=
operation. Read moreSource§impl ShlAssign<&u32> for Le<i64>
impl ShlAssign<&u32> for Le<i64>
Source§fn shl_assign(&mut self, rhs: &u32)
fn shl_assign(&mut self, rhs: &u32)
<<=
operation. Read moreSource§impl ShlAssign<&u32> for Le<i8>
impl ShlAssign<&u32> for Le<i8>
Source§fn shl_assign(&mut self, rhs: &u32)
fn shl_assign(&mut self, rhs: &u32)
<<=
operation. Read moreSource§impl ShlAssign<&u32> for Le<isize>
impl ShlAssign<&u32> for Le<isize>
Source§fn shl_assign(&mut self, rhs: &u32)
fn shl_assign(&mut self, rhs: &u32)
<<=
operation. Read moreSource§impl ShlAssign<&u32> for Le<u128>
impl ShlAssign<&u32> for Le<u128>
Source§fn shl_assign(&mut self, rhs: &u32)
fn shl_assign(&mut self, rhs: &u32)
<<=
operation. Read moreSource§impl ShlAssign<&u32> for Le<u16>
impl ShlAssign<&u32> for Le<u16>
Source§fn shl_assign(&mut self, rhs: &u32)
fn shl_assign(&mut self, rhs: &u32)
<<=
operation. Read moreSource§impl ShlAssign<&u32> for Le<u32>
impl ShlAssign<&u32> for Le<u32>
Source§fn shl_assign(&mut self, rhs: &u32)
fn shl_assign(&mut self, rhs: &u32)
<<=
operation. Read moreSource§impl ShlAssign<&u32> for Le<u64>
impl ShlAssign<&u32> for Le<u64>
Source§fn shl_assign(&mut self, rhs: &u32)
fn shl_assign(&mut self, rhs: &u32)
<<=
operation. Read moreSource§impl ShlAssign<&u32> for Le<u8>
impl ShlAssign<&u32> for Le<u8>
Source§fn shl_assign(&mut self, rhs: &u32)
fn shl_assign(&mut self, rhs: &u32)
<<=
operation. Read moreSource§impl ShlAssign<&u32> for Le<usize>
impl ShlAssign<&u32> for Le<usize>
Source§fn shl_assign(&mut self, rhs: &u32)
fn shl_assign(&mut self, rhs: &u32)
<<=
operation. Read moreSource§impl ShlAssign<&u64> for Le<i128>
impl ShlAssign<&u64> for Le<i128>
Source§fn shl_assign(&mut self, rhs: &u64)
fn shl_assign(&mut self, rhs: &u64)
<<=
operation. Read moreSource§impl ShlAssign<&u64> for Le<i16>
impl ShlAssign<&u64> for Le<i16>
Source§fn shl_assign(&mut self, rhs: &u64)
fn shl_assign(&mut self, rhs: &u64)
<<=
operation. Read moreSource§impl ShlAssign<&u64> for Le<i32>
impl ShlAssign<&u64> for Le<i32>
Source§fn shl_assign(&mut self, rhs: &u64)
fn shl_assign(&mut self, rhs: &u64)
<<=
operation. Read moreSource§impl ShlAssign<&u64> for Le<i64>
impl ShlAssign<&u64> for Le<i64>
Source§fn shl_assign(&mut self, rhs: &u64)
fn shl_assign(&mut self, rhs: &u64)
<<=
operation. Read moreSource§impl ShlAssign<&u64> for Le<i8>
impl ShlAssign<&u64> for Le<i8>
Source§fn shl_assign(&mut self, rhs: &u64)
fn shl_assign(&mut self, rhs: &u64)
<<=
operation. Read moreSource§impl ShlAssign<&u64> for Le<isize>
impl ShlAssign<&u64> for Le<isize>
Source§fn shl_assign(&mut self, rhs: &u64)
fn shl_assign(&mut self, rhs: &u64)
<<=
operation. Read moreSource§impl ShlAssign<&u64> for Le<u128>
impl ShlAssign<&u64> for Le<u128>
Source§fn shl_assign(&mut self, rhs: &u64)
fn shl_assign(&mut self, rhs: &u64)
<<=
operation. Read moreSource§impl ShlAssign<&u64> for Le<u16>
impl ShlAssign<&u64> for Le<u16>
Source§fn shl_assign(&mut self, rhs: &u64)
fn shl_assign(&mut self, rhs: &u64)
<<=
operation. Read moreSource§impl ShlAssign<&u64> for Le<u32>
impl ShlAssign<&u64> for Le<u32>
Source§fn shl_assign(&mut self, rhs: &u64)
fn shl_assign(&mut self, rhs: &u64)
<<=
operation. Read moreSource§impl ShlAssign<&u64> for Le<u64>
impl ShlAssign<&u64> for Le<u64>
Source§fn shl_assign(&mut self, rhs: &u64)
fn shl_assign(&mut self, rhs: &u64)
<<=
operation. Read moreSource§impl ShlAssign<&u64> for Le<u8>
impl ShlAssign<&u64> for Le<u8>
Source§fn shl_assign(&mut self, rhs: &u64)
fn shl_assign(&mut self, rhs: &u64)
<<=
operation. Read moreSource§impl ShlAssign<&u64> for Le<usize>
impl ShlAssign<&u64> for Le<usize>
Source§fn shl_assign(&mut self, rhs: &u64)
fn shl_assign(&mut self, rhs: &u64)
<<=
operation. Read moreSource§impl ShlAssign<&u8> for Le<i128>
impl ShlAssign<&u8> for Le<i128>
Source§fn shl_assign(&mut self, rhs: &u8)
fn shl_assign(&mut self, rhs: &u8)
<<=
operation. Read moreSource§impl ShlAssign<&u8> for Le<i16>
impl ShlAssign<&u8> for Le<i16>
Source§fn shl_assign(&mut self, rhs: &u8)
fn shl_assign(&mut self, rhs: &u8)
<<=
operation. Read moreSource§impl ShlAssign<&u8> for Le<i32>
impl ShlAssign<&u8> for Le<i32>
Source§fn shl_assign(&mut self, rhs: &u8)
fn shl_assign(&mut self, rhs: &u8)
<<=
operation. Read moreSource§impl ShlAssign<&u8> for Le<i64>
impl ShlAssign<&u8> for Le<i64>
Source§fn shl_assign(&mut self, rhs: &u8)
fn shl_assign(&mut self, rhs: &u8)
<<=
operation. Read moreSource§impl ShlAssign<&u8> for Le<i8>
impl ShlAssign<&u8> for Le<i8>
Source§fn shl_assign(&mut self, rhs: &u8)
fn shl_assign(&mut self, rhs: &u8)
<<=
operation. Read moreSource§impl ShlAssign<&u8> for Le<isize>
impl ShlAssign<&u8> for Le<isize>
Source§fn shl_assign(&mut self, rhs: &u8)
fn shl_assign(&mut self, rhs: &u8)
<<=
operation. Read moreSource§impl ShlAssign<&u8> for Le<u128>
impl ShlAssign<&u8> for Le<u128>
Source§fn shl_assign(&mut self, rhs: &u8)
fn shl_assign(&mut self, rhs: &u8)
<<=
operation. Read moreSource§impl ShlAssign<&u8> for Le<u16>
impl ShlAssign<&u8> for Le<u16>
Source§fn shl_assign(&mut self, rhs: &u8)
fn shl_assign(&mut self, rhs: &u8)
<<=
operation. Read moreSource§impl ShlAssign<&u8> for Le<u32>
impl ShlAssign<&u8> for Le<u32>
Source§fn shl_assign(&mut self, rhs: &u8)
fn shl_assign(&mut self, rhs: &u8)
<<=
operation. Read moreSource§impl ShlAssign<&u8> for Le<u64>
impl ShlAssign<&u8> for Le<u64>
Source§fn shl_assign(&mut self, rhs: &u8)
fn shl_assign(&mut self, rhs: &u8)
<<=
operation. Read moreSource§impl ShlAssign<&u8> for Le<u8>
impl ShlAssign<&u8> for Le<u8>
Source§fn shl_assign(&mut self, rhs: &u8)
fn shl_assign(&mut self, rhs: &u8)
<<=
operation. Read moreSource§impl ShlAssign<&u8> for Le<usize>
impl ShlAssign<&u8> for Le<usize>
Source§fn shl_assign(&mut self, rhs: &u8)
fn shl_assign(&mut self, rhs: &u8)
<<=
operation. Read moreSource§impl ShlAssign<&usize> for Le<i128>
impl ShlAssign<&usize> for Le<i128>
Source§fn shl_assign(&mut self, rhs: &usize)
fn shl_assign(&mut self, rhs: &usize)
<<=
operation. Read moreSource§impl ShlAssign<&usize> for Le<i16>
impl ShlAssign<&usize> for Le<i16>
Source§fn shl_assign(&mut self, rhs: &usize)
fn shl_assign(&mut self, rhs: &usize)
<<=
operation. Read moreSource§impl ShlAssign<&usize> for Le<i32>
impl ShlAssign<&usize> for Le<i32>
Source§fn shl_assign(&mut self, rhs: &usize)
fn shl_assign(&mut self, rhs: &usize)
<<=
operation. Read moreSource§impl ShlAssign<&usize> for Le<i64>
impl ShlAssign<&usize> for Le<i64>
Source§fn shl_assign(&mut self, rhs: &usize)
fn shl_assign(&mut self, rhs: &usize)
<<=
operation. Read moreSource§impl ShlAssign<&usize> for Le<i8>
impl ShlAssign<&usize> for Le<i8>
Source§fn shl_assign(&mut self, rhs: &usize)
fn shl_assign(&mut self, rhs: &usize)
<<=
operation. Read moreSource§impl ShlAssign<&usize> for Le<isize>
impl ShlAssign<&usize> for Le<isize>
Source§fn shl_assign(&mut self, rhs: &usize)
fn shl_assign(&mut self, rhs: &usize)
<<=
operation. Read moreSource§impl ShlAssign<&usize> for Le<u128>
impl ShlAssign<&usize> for Le<u128>
Source§fn shl_assign(&mut self, rhs: &usize)
fn shl_assign(&mut self, rhs: &usize)
<<=
operation. Read moreSource§impl ShlAssign<&usize> for Le<u16>
impl ShlAssign<&usize> for Le<u16>
Source§fn shl_assign(&mut self, rhs: &usize)
fn shl_assign(&mut self, rhs: &usize)
<<=
operation. Read moreSource§impl ShlAssign<&usize> for Le<u32>
impl ShlAssign<&usize> for Le<u32>
Source§fn shl_assign(&mut self, rhs: &usize)
fn shl_assign(&mut self, rhs: &usize)
<<=
operation. Read moreSource§impl ShlAssign<&usize> for Le<u64>
impl ShlAssign<&usize> for Le<u64>
Source§fn shl_assign(&mut self, rhs: &usize)
fn shl_assign(&mut self, rhs: &usize)
<<=
operation. Read moreSource§impl ShlAssign<&usize> for Le<u8>
impl ShlAssign<&usize> for Le<u8>
Source§fn shl_assign(&mut self, rhs: &usize)
fn shl_assign(&mut self, rhs: &usize)
<<=
operation. Read moreSource§impl ShlAssign<&usize> for Le<usize>
impl ShlAssign<&usize> for Le<usize>
Source§fn shl_assign(&mut self, rhs: &usize)
fn shl_assign(&mut self, rhs: &usize)
<<=
operation. Read moreSource§impl ShlAssign<i128> for Le<i128>
impl ShlAssign<i128> for Le<i128>
Source§fn shl_assign(&mut self, rhs: i128)
fn shl_assign(&mut self, rhs: i128)
<<=
operation. Read moreSource§impl ShlAssign<i128> for Le<i16>
impl ShlAssign<i128> for Le<i16>
Source§fn shl_assign(&mut self, rhs: i128)
fn shl_assign(&mut self, rhs: i128)
<<=
operation. Read moreSource§impl ShlAssign<i128> for Le<i32>
impl ShlAssign<i128> for Le<i32>
Source§fn shl_assign(&mut self, rhs: i128)
fn shl_assign(&mut self, rhs: i128)
<<=
operation. Read moreSource§impl ShlAssign<i128> for Le<i64>
impl ShlAssign<i128> for Le<i64>
Source§fn shl_assign(&mut self, rhs: i128)
fn shl_assign(&mut self, rhs: i128)
<<=
operation. Read moreSource§impl ShlAssign<i128> for Le<i8>
impl ShlAssign<i128> for Le<i8>
Source§fn shl_assign(&mut self, rhs: i128)
fn shl_assign(&mut self, rhs: i128)
<<=
operation. Read moreSource§impl ShlAssign<i128> for Le<isize>
impl ShlAssign<i128> for Le<isize>
Source§fn shl_assign(&mut self, rhs: i128)
fn shl_assign(&mut self, rhs: i128)
<<=
operation. Read moreSource§impl ShlAssign<i128> for Le<u128>
impl ShlAssign<i128> for Le<u128>
Source§fn shl_assign(&mut self, rhs: i128)
fn shl_assign(&mut self, rhs: i128)
<<=
operation. Read moreSource§impl ShlAssign<i128> for Le<u16>
impl ShlAssign<i128> for Le<u16>
Source§fn shl_assign(&mut self, rhs: i128)
fn shl_assign(&mut self, rhs: i128)
<<=
operation. Read moreSource§impl ShlAssign<i128> for Le<u32>
impl ShlAssign<i128> for Le<u32>
Source§fn shl_assign(&mut self, rhs: i128)
fn shl_assign(&mut self, rhs: i128)
<<=
operation. Read moreSource§impl ShlAssign<i128> for Le<u64>
impl ShlAssign<i128> for Le<u64>
Source§fn shl_assign(&mut self, rhs: i128)
fn shl_assign(&mut self, rhs: i128)
<<=
operation. Read moreSource§impl ShlAssign<i128> for Le<u8>
impl ShlAssign<i128> for Le<u8>
Source§fn shl_assign(&mut self, rhs: i128)
fn shl_assign(&mut self, rhs: i128)
<<=
operation. Read moreSource§impl ShlAssign<i128> for Le<usize>
impl ShlAssign<i128> for Le<usize>
Source§fn shl_assign(&mut self, rhs: i128)
fn shl_assign(&mut self, rhs: i128)
<<=
operation. Read moreSource§impl ShlAssign<i16> for Le<i128>
impl ShlAssign<i16> for Le<i128>
Source§fn shl_assign(&mut self, rhs: i16)
fn shl_assign(&mut self, rhs: i16)
<<=
operation. Read moreSource§impl ShlAssign<i16> for Le<i16>
impl ShlAssign<i16> for Le<i16>
Source§fn shl_assign(&mut self, rhs: i16)
fn shl_assign(&mut self, rhs: i16)
<<=
operation. Read moreSource§impl ShlAssign<i16> for Le<i32>
impl ShlAssign<i16> for Le<i32>
Source§fn shl_assign(&mut self, rhs: i16)
fn shl_assign(&mut self, rhs: i16)
<<=
operation. Read moreSource§impl ShlAssign<i16> for Le<i64>
impl ShlAssign<i16> for Le<i64>
Source§fn shl_assign(&mut self, rhs: i16)
fn shl_assign(&mut self, rhs: i16)
<<=
operation. Read moreSource§impl ShlAssign<i16> for Le<i8>
impl ShlAssign<i16> for Le<i8>
Source§fn shl_assign(&mut self, rhs: i16)
fn shl_assign(&mut self, rhs: i16)
<<=
operation. Read moreSource§impl ShlAssign<i16> for Le<isize>
impl ShlAssign<i16> for Le<isize>
Source§fn shl_assign(&mut self, rhs: i16)
fn shl_assign(&mut self, rhs: i16)
<<=
operation. Read moreSource§impl ShlAssign<i16> for Le<u128>
impl ShlAssign<i16> for Le<u128>
Source§fn shl_assign(&mut self, rhs: i16)
fn shl_assign(&mut self, rhs: i16)
<<=
operation. Read moreSource§impl ShlAssign<i16> for Le<u16>
impl ShlAssign<i16> for Le<u16>
Source§fn shl_assign(&mut self, rhs: i16)
fn shl_assign(&mut self, rhs: i16)
<<=
operation. Read moreSource§impl ShlAssign<i16> for Le<u32>
impl ShlAssign<i16> for Le<u32>
Source§fn shl_assign(&mut self, rhs: i16)
fn shl_assign(&mut self, rhs: i16)
<<=
operation. Read moreSource§impl ShlAssign<i16> for Le<u64>
impl ShlAssign<i16> for Le<u64>
Source§fn shl_assign(&mut self, rhs: i16)
fn shl_assign(&mut self, rhs: i16)
<<=
operation. Read moreSource§impl ShlAssign<i16> for Le<u8>
impl ShlAssign<i16> for Le<u8>
Source§fn shl_assign(&mut self, rhs: i16)
fn shl_assign(&mut self, rhs: i16)
<<=
operation. Read moreSource§impl ShlAssign<i16> for Le<usize>
impl ShlAssign<i16> for Le<usize>
Source§fn shl_assign(&mut self, rhs: i16)
fn shl_assign(&mut self, rhs: i16)
<<=
operation. Read moreSource§impl ShlAssign<i32> for Le<i128>
impl ShlAssign<i32> for Le<i128>
Source§fn shl_assign(&mut self, rhs: i32)
fn shl_assign(&mut self, rhs: i32)
<<=
operation. Read moreSource§impl ShlAssign<i32> for Le<i16>
impl ShlAssign<i32> for Le<i16>
Source§fn shl_assign(&mut self, rhs: i32)
fn shl_assign(&mut self, rhs: i32)
<<=
operation. Read moreSource§impl ShlAssign<i32> for Le<i32>
impl ShlAssign<i32> for Le<i32>
Source§fn shl_assign(&mut self, rhs: i32)
fn shl_assign(&mut self, rhs: i32)
<<=
operation. Read moreSource§impl ShlAssign<i32> for Le<i64>
impl ShlAssign<i32> for Le<i64>
Source§fn shl_assign(&mut self, rhs: i32)
fn shl_assign(&mut self, rhs: i32)
<<=
operation. Read moreSource§impl ShlAssign<i32> for Le<i8>
impl ShlAssign<i32> for Le<i8>
Source§fn shl_assign(&mut self, rhs: i32)
fn shl_assign(&mut self, rhs: i32)
<<=
operation. Read moreSource§impl ShlAssign<i32> for Le<isize>
impl ShlAssign<i32> for Le<isize>
Source§fn shl_assign(&mut self, rhs: i32)
fn shl_assign(&mut self, rhs: i32)
<<=
operation. Read moreSource§impl ShlAssign<i32> for Le<u128>
impl ShlAssign<i32> for Le<u128>
Source§fn shl_assign(&mut self, rhs: i32)
fn shl_assign(&mut self, rhs: i32)
<<=
operation. Read moreSource§impl ShlAssign<i32> for Le<u16>
impl ShlAssign<i32> for Le<u16>
Source§fn shl_assign(&mut self, rhs: i32)
fn shl_assign(&mut self, rhs: i32)
<<=
operation. Read moreSource§impl ShlAssign<i32> for Le<u32>
impl ShlAssign<i32> for Le<u32>
Source§fn shl_assign(&mut self, rhs: i32)
fn shl_assign(&mut self, rhs: i32)
<<=
operation. Read moreSource§impl ShlAssign<i32> for Le<u64>
impl ShlAssign<i32> for Le<u64>
Source§fn shl_assign(&mut self, rhs: i32)
fn shl_assign(&mut self, rhs: i32)
<<=
operation. Read moreSource§impl ShlAssign<i32> for Le<u8>
impl ShlAssign<i32> for Le<u8>
Source§fn shl_assign(&mut self, rhs: i32)
fn shl_assign(&mut self, rhs: i32)
<<=
operation. Read moreSource§impl ShlAssign<i32> for Le<usize>
impl ShlAssign<i32> for Le<usize>
Source§fn shl_assign(&mut self, rhs: i32)
fn shl_assign(&mut self, rhs: i32)
<<=
operation. Read moreSource§impl ShlAssign<i64> for Le<i128>
impl ShlAssign<i64> for Le<i128>
Source§fn shl_assign(&mut self, rhs: i64)
fn shl_assign(&mut self, rhs: i64)
<<=
operation. Read moreSource§impl ShlAssign<i64> for Le<i16>
impl ShlAssign<i64> for Le<i16>
Source§fn shl_assign(&mut self, rhs: i64)
fn shl_assign(&mut self, rhs: i64)
<<=
operation. Read moreSource§impl ShlAssign<i64> for Le<i32>
impl ShlAssign<i64> for Le<i32>
Source§fn shl_assign(&mut self, rhs: i64)
fn shl_assign(&mut self, rhs: i64)
<<=
operation. Read moreSource§impl ShlAssign<i64> for Le<i64>
impl ShlAssign<i64> for Le<i64>
Source§fn shl_assign(&mut self, rhs: i64)
fn shl_assign(&mut self, rhs: i64)
<<=
operation. Read moreSource§impl ShlAssign<i64> for Le<i8>
impl ShlAssign<i64> for Le<i8>
Source§fn shl_assign(&mut self, rhs: i64)
fn shl_assign(&mut self, rhs: i64)
<<=
operation. Read moreSource§impl ShlAssign<i64> for Le<isize>
impl ShlAssign<i64> for Le<isize>
Source§fn shl_assign(&mut self, rhs: i64)
fn shl_assign(&mut self, rhs: i64)
<<=
operation. Read moreSource§impl ShlAssign<i64> for Le<u128>
impl ShlAssign<i64> for Le<u128>
Source§fn shl_assign(&mut self, rhs: i64)
fn shl_assign(&mut self, rhs: i64)
<<=
operation. Read moreSource§impl ShlAssign<i64> for Le<u16>
impl ShlAssign<i64> for Le<u16>
Source§fn shl_assign(&mut self, rhs: i64)
fn shl_assign(&mut self, rhs: i64)
<<=
operation. Read moreSource§impl ShlAssign<i64> for Le<u32>
impl ShlAssign<i64> for Le<u32>
Source§fn shl_assign(&mut self, rhs: i64)
fn shl_assign(&mut self, rhs: i64)
<<=
operation. Read moreSource§impl ShlAssign<i64> for Le<u64>
impl ShlAssign<i64> for Le<u64>
Source§fn shl_assign(&mut self, rhs: i64)
fn shl_assign(&mut self, rhs: i64)
<<=
operation. Read moreSource§impl ShlAssign<i64> for Le<u8>
impl ShlAssign<i64> for Le<u8>
Source§fn shl_assign(&mut self, rhs: i64)
fn shl_assign(&mut self, rhs: i64)
<<=
operation. Read moreSource§impl ShlAssign<i64> for Le<usize>
impl ShlAssign<i64> for Le<usize>
Source§fn shl_assign(&mut self, rhs: i64)
fn shl_assign(&mut self, rhs: i64)
<<=
operation. Read moreSource§impl ShlAssign<i8> for Le<i128>
impl ShlAssign<i8> for Le<i128>
Source§fn shl_assign(&mut self, rhs: i8)
fn shl_assign(&mut self, rhs: i8)
<<=
operation. Read moreSource§impl ShlAssign<i8> for Le<i16>
impl ShlAssign<i8> for Le<i16>
Source§fn shl_assign(&mut self, rhs: i8)
fn shl_assign(&mut self, rhs: i8)
<<=
operation. Read moreSource§impl ShlAssign<i8> for Le<i32>
impl ShlAssign<i8> for Le<i32>
Source§fn shl_assign(&mut self, rhs: i8)
fn shl_assign(&mut self, rhs: i8)
<<=
operation. Read moreSource§impl ShlAssign<i8> for Le<i64>
impl ShlAssign<i8> for Le<i64>
Source§fn shl_assign(&mut self, rhs: i8)
fn shl_assign(&mut self, rhs: i8)
<<=
operation. Read moreSource§impl ShlAssign<i8> for Le<i8>
impl ShlAssign<i8> for Le<i8>
Source§fn shl_assign(&mut self, rhs: i8)
fn shl_assign(&mut self, rhs: i8)
<<=
operation. Read moreSource§impl ShlAssign<i8> for Le<isize>
impl ShlAssign<i8> for Le<isize>
Source§fn shl_assign(&mut self, rhs: i8)
fn shl_assign(&mut self, rhs: i8)
<<=
operation. Read moreSource§impl ShlAssign<i8> for Le<u128>
impl ShlAssign<i8> for Le<u128>
Source§fn shl_assign(&mut self, rhs: i8)
fn shl_assign(&mut self, rhs: i8)
<<=
operation. Read moreSource§impl ShlAssign<i8> for Le<u16>
impl ShlAssign<i8> for Le<u16>
Source§fn shl_assign(&mut self, rhs: i8)
fn shl_assign(&mut self, rhs: i8)
<<=
operation. Read moreSource§impl ShlAssign<i8> for Le<u32>
impl ShlAssign<i8> for Le<u32>
Source§fn shl_assign(&mut self, rhs: i8)
fn shl_assign(&mut self, rhs: i8)
<<=
operation. Read moreSource§impl ShlAssign<i8> for Le<u64>
impl ShlAssign<i8> for Le<u64>
Source§fn shl_assign(&mut self, rhs: i8)
fn shl_assign(&mut self, rhs: i8)
<<=
operation. Read moreSource§impl ShlAssign<i8> for Le<u8>
impl ShlAssign<i8> for Le<u8>
Source§fn shl_assign(&mut self, rhs: i8)
fn shl_assign(&mut self, rhs: i8)
<<=
operation. Read moreSource§impl ShlAssign<i8> for Le<usize>
impl ShlAssign<i8> for Le<usize>
Source§fn shl_assign(&mut self, rhs: i8)
fn shl_assign(&mut self, rhs: i8)
<<=
operation. Read moreSource§impl ShlAssign<isize> for Le<i128>
impl ShlAssign<isize> for Le<i128>
Source§fn shl_assign(&mut self, rhs: isize)
fn shl_assign(&mut self, rhs: isize)
<<=
operation. Read moreSource§impl ShlAssign<isize> for Le<i16>
impl ShlAssign<isize> for Le<i16>
Source§fn shl_assign(&mut self, rhs: isize)
fn shl_assign(&mut self, rhs: isize)
<<=
operation. Read moreSource§impl ShlAssign<isize> for Le<i32>
impl ShlAssign<isize> for Le<i32>
Source§fn shl_assign(&mut self, rhs: isize)
fn shl_assign(&mut self, rhs: isize)
<<=
operation. Read moreSource§impl ShlAssign<isize> for Le<i64>
impl ShlAssign<isize> for Le<i64>
Source§fn shl_assign(&mut self, rhs: isize)
fn shl_assign(&mut self, rhs: isize)
<<=
operation. Read moreSource§impl ShlAssign<isize> for Le<i8>
impl ShlAssign<isize> for Le<i8>
Source§fn shl_assign(&mut self, rhs: isize)
fn shl_assign(&mut self, rhs: isize)
<<=
operation. Read moreSource§impl ShlAssign<isize> for Le<isize>
impl ShlAssign<isize> for Le<isize>
Source§fn shl_assign(&mut self, rhs: isize)
fn shl_assign(&mut self, rhs: isize)
<<=
operation. Read moreSource§impl ShlAssign<isize> for Le<u128>
impl ShlAssign<isize> for Le<u128>
Source§fn shl_assign(&mut self, rhs: isize)
fn shl_assign(&mut self, rhs: isize)
<<=
operation. Read moreSource§impl ShlAssign<isize> for Le<u16>
impl ShlAssign<isize> for Le<u16>
Source§fn shl_assign(&mut self, rhs: isize)
fn shl_assign(&mut self, rhs: isize)
<<=
operation. Read moreSource§impl ShlAssign<isize> for Le<u32>
impl ShlAssign<isize> for Le<u32>
Source§fn shl_assign(&mut self, rhs: isize)
fn shl_assign(&mut self, rhs: isize)
<<=
operation. Read moreSource§impl ShlAssign<isize> for Le<u64>
impl ShlAssign<isize> for Le<u64>
Source§fn shl_assign(&mut self, rhs: isize)
fn shl_assign(&mut self, rhs: isize)
<<=
operation. Read moreSource§impl ShlAssign<isize> for Le<u8>
impl ShlAssign<isize> for Le<u8>
Source§fn shl_assign(&mut self, rhs: isize)
fn shl_assign(&mut self, rhs: isize)
<<=
operation. Read moreSource§impl ShlAssign<isize> for Le<usize>
impl ShlAssign<isize> for Le<usize>
Source§fn shl_assign(&mut self, rhs: isize)
fn shl_assign(&mut self, rhs: isize)
<<=
operation. Read moreSource§impl ShlAssign<u128> for Le<i128>
impl ShlAssign<u128> for Le<i128>
Source§fn shl_assign(&mut self, rhs: u128)
fn shl_assign(&mut self, rhs: u128)
<<=
operation. Read moreSource§impl ShlAssign<u128> for Le<i16>
impl ShlAssign<u128> for Le<i16>
Source§fn shl_assign(&mut self, rhs: u128)
fn shl_assign(&mut self, rhs: u128)
<<=
operation. Read moreSource§impl ShlAssign<u128> for Le<i32>
impl ShlAssign<u128> for Le<i32>
Source§fn shl_assign(&mut self, rhs: u128)
fn shl_assign(&mut self, rhs: u128)
<<=
operation. Read moreSource§impl ShlAssign<u128> for Le<i64>
impl ShlAssign<u128> for Le<i64>
Source§fn shl_assign(&mut self, rhs: u128)
fn shl_assign(&mut self, rhs: u128)
<<=
operation. Read moreSource§impl ShlAssign<u128> for Le<i8>
impl ShlAssign<u128> for Le<i8>
Source§fn shl_assign(&mut self, rhs: u128)
fn shl_assign(&mut self, rhs: u128)
<<=
operation. Read moreSource§impl ShlAssign<u128> for Le<isize>
impl ShlAssign<u128> for Le<isize>
Source§fn shl_assign(&mut self, rhs: u128)
fn shl_assign(&mut self, rhs: u128)
<<=
operation. Read moreSource§impl ShlAssign<u128> for Le<u128>
impl ShlAssign<u128> for Le<u128>
Source§fn shl_assign(&mut self, rhs: u128)
fn shl_assign(&mut self, rhs: u128)
<<=
operation. Read moreSource§impl ShlAssign<u128> for Le<u16>
impl ShlAssign<u128> for Le<u16>
Source§fn shl_assign(&mut self, rhs: u128)
fn shl_assign(&mut self, rhs: u128)
<<=
operation. Read moreSource§impl ShlAssign<u128> for Le<u32>
impl ShlAssign<u128> for Le<u32>
Source§fn shl_assign(&mut self, rhs: u128)
fn shl_assign(&mut self, rhs: u128)
<<=
operation. Read moreSource§impl ShlAssign<u128> for Le<u64>
impl ShlAssign<u128> for Le<u64>
Source§fn shl_assign(&mut self, rhs: u128)
fn shl_assign(&mut self, rhs: u128)
<<=
operation. Read moreSource§impl ShlAssign<u128> for Le<u8>
impl ShlAssign<u128> for Le<u8>
Source§fn shl_assign(&mut self, rhs: u128)
fn shl_assign(&mut self, rhs: u128)
<<=
operation. Read moreSource§impl ShlAssign<u128> for Le<usize>
impl ShlAssign<u128> for Le<usize>
Source§fn shl_assign(&mut self, rhs: u128)
fn shl_assign(&mut self, rhs: u128)
<<=
operation. Read moreSource§impl ShlAssign<u16> for Le<i128>
impl ShlAssign<u16> for Le<i128>
Source§fn shl_assign(&mut self, rhs: u16)
fn shl_assign(&mut self, rhs: u16)
<<=
operation. Read moreSource§impl ShlAssign<u16> for Le<i16>
impl ShlAssign<u16> for Le<i16>
Source§fn shl_assign(&mut self, rhs: u16)
fn shl_assign(&mut self, rhs: u16)
<<=
operation. Read moreSource§impl ShlAssign<u16> for Le<i32>
impl ShlAssign<u16> for Le<i32>
Source§fn shl_assign(&mut self, rhs: u16)
fn shl_assign(&mut self, rhs: u16)
<<=
operation. Read moreSource§impl ShlAssign<u16> for Le<i64>
impl ShlAssign<u16> for Le<i64>
Source§fn shl_assign(&mut self, rhs: u16)
fn shl_assign(&mut self, rhs: u16)
<<=
operation. Read moreSource§impl ShlAssign<u16> for Le<i8>
impl ShlAssign<u16> for Le<i8>
Source§fn shl_assign(&mut self, rhs: u16)
fn shl_assign(&mut self, rhs: u16)
<<=
operation. Read moreSource§impl ShlAssign<u16> for Le<isize>
impl ShlAssign<u16> for Le<isize>
Source§fn shl_assign(&mut self, rhs: u16)
fn shl_assign(&mut self, rhs: u16)
<<=
operation. Read moreSource§impl ShlAssign<u16> for Le<u128>
impl ShlAssign<u16> for Le<u128>
Source§fn shl_assign(&mut self, rhs: u16)
fn shl_assign(&mut self, rhs: u16)
<<=
operation. Read moreSource§impl ShlAssign<u16> for Le<u16>
impl ShlAssign<u16> for Le<u16>
Source§fn shl_assign(&mut self, rhs: u16)
fn shl_assign(&mut self, rhs: u16)
<<=
operation. Read moreSource§impl ShlAssign<u16> for Le<u32>
impl ShlAssign<u16> for Le<u32>
Source§fn shl_assign(&mut self, rhs: u16)
fn shl_assign(&mut self, rhs: u16)
<<=
operation. Read moreSource§impl ShlAssign<u16> for Le<u64>
impl ShlAssign<u16> for Le<u64>
Source§fn shl_assign(&mut self, rhs: u16)
fn shl_assign(&mut self, rhs: u16)
<<=
operation. Read moreSource§impl ShlAssign<u16> for Le<u8>
impl ShlAssign<u16> for Le<u8>
Source§fn shl_assign(&mut self, rhs: u16)
fn shl_assign(&mut self, rhs: u16)
<<=
operation. Read moreSource§impl ShlAssign<u16> for Le<usize>
impl ShlAssign<u16> for Le<usize>
Source§fn shl_assign(&mut self, rhs: u16)
fn shl_assign(&mut self, rhs: u16)
<<=
operation. Read moreSource§impl ShlAssign<u32> for Le<i128>
impl ShlAssign<u32> for Le<i128>
Source§fn shl_assign(&mut self, rhs: u32)
fn shl_assign(&mut self, rhs: u32)
<<=
operation. Read moreSource§impl ShlAssign<u32> for Le<i16>
impl ShlAssign<u32> for Le<i16>
Source§fn shl_assign(&mut self, rhs: u32)
fn shl_assign(&mut self, rhs: u32)
<<=
operation. Read moreSource§impl ShlAssign<u32> for Le<i32>
impl ShlAssign<u32> for Le<i32>
Source§fn shl_assign(&mut self, rhs: u32)
fn shl_assign(&mut self, rhs: u32)
<<=
operation. Read moreSource§impl ShlAssign<u32> for Le<i64>
impl ShlAssign<u32> for Le<i64>
Source§fn shl_assign(&mut self, rhs: u32)
fn shl_assign(&mut self, rhs: u32)
<<=
operation. Read moreSource§impl ShlAssign<u32> for Le<i8>
impl ShlAssign<u32> for Le<i8>
Source§fn shl_assign(&mut self, rhs: u32)
fn shl_assign(&mut self, rhs: u32)
<<=
operation. Read moreSource§impl ShlAssign<u32> for Le<isize>
impl ShlAssign<u32> for Le<isize>
Source§fn shl_assign(&mut self, rhs: u32)
fn shl_assign(&mut self, rhs: u32)
<<=
operation. Read moreSource§impl ShlAssign<u32> for Le<u128>
impl ShlAssign<u32> for Le<u128>
Source§fn shl_assign(&mut self, rhs: u32)
fn shl_assign(&mut self, rhs: u32)
<<=
operation. Read moreSource§impl ShlAssign<u32> for Le<u16>
impl ShlAssign<u32> for Le<u16>
Source§fn shl_assign(&mut self, rhs: u32)
fn shl_assign(&mut self, rhs: u32)
<<=
operation. Read moreSource§impl ShlAssign<u32> for Le<u32>
impl ShlAssign<u32> for Le<u32>
Source§fn shl_assign(&mut self, rhs: u32)
fn shl_assign(&mut self, rhs: u32)
<<=
operation. Read moreSource§impl ShlAssign<u32> for Le<u64>
impl ShlAssign<u32> for Le<u64>
Source§fn shl_assign(&mut self, rhs: u32)
fn shl_assign(&mut self, rhs: u32)
<<=
operation. Read moreSource§impl ShlAssign<u32> for Le<u8>
impl ShlAssign<u32> for Le<u8>
Source§fn shl_assign(&mut self, rhs: u32)
fn shl_assign(&mut self, rhs: u32)
<<=
operation. Read moreSource§impl ShlAssign<u32> for Le<usize>
impl ShlAssign<u32> for Le<usize>
Source§fn shl_assign(&mut self, rhs: u32)
fn shl_assign(&mut self, rhs: u32)
<<=
operation. Read moreSource§impl ShlAssign<u64> for Le<i128>
impl ShlAssign<u64> for Le<i128>
Source§fn shl_assign(&mut self, rhs: u64)
fn shl_assign(&mut self, rhs: u64)
<<=
operation. Read moreSource§impl ShlAssign<u64> for Le<i16>
impl ShlAssign<u64> for Le<i16>
Source§fn shl_assign(&mut self, rhs: u64)
fn shl_assign(&mut self, rhs: u64)
<<=
operation. Read moreSource§impl ShlAssign<u64> for Le<i32>
impl ShlAssign<u64> for Le<i32>
Source§fn shl_assign(&mut self, rhs: u64)
fn shl_assign(&mut self, rhs: u64)
<<=
operation. Read moreSource§impl ShlAssign<u64> for Le<i64>
impl ShlAssign<u64> for Le<i64>
Source§fn shl_assign(&mut self, rhs: u64)
fn shl_assign(&mut self, rhs: u64)
<<=
operation. Read moreSource§impl ShlAssign<u64> for Le<i8>
impl ShlAssign<u64> for Le<i8>
Source§fn shl_assign(&mut self, rhs: u64)
fn shl_assign(&mut self, rhs: u64)
<<=
operation. Read moreSource§impl ShlAssign<u64> for Le<isize>
impl ShlAssign<u64> for Le<isize>
Source§fn shl_assign(&mut self, rhs: u64)
fn shl_assign(&mut self, rhs: u64)
<<=
operation. Read moreSource§impl ShlAssign<u64> for Le<u128>
impl ShlAssign<u64> for Le<u128>
Source§fn shl_assign(&mut self, rhs: u64)
fn shl_assign(&mut self, rhs: u64)
<<=
operation. Read moreSource§impl ShlAssign<u64> for Le<u16>
impl ShlAssign<u64> for Le<u16>
Source§fn shl_assign(&mut self, rhs: u64)
fn shl_assign(&mut self, rhs: u64)
<<=
operation. Read moreSource§impl ShlAssign<u64> for Le<u32>
impl ShlAssign<u64> for Le<u32>
Source§fn shl_assign(&mut self, rhs: u64)
fn shl_assign(&mut self, rhs: u64)
<<=
operation. Read moreSource§impl ShlAssign<u64> for Le<u64>
impl ShlAssign<u64> for Le<u64>
Source§fn shl_assign(&mut self, rhs: u64)
fn shl_assign(&mut self, rhs: u64)
<<=
operation. Read moreSource§impl ShlAssign<u64> for Le<u8>
impl ShlAssign<u64> for Le<u8>
Source§fn shl_assign(&mut self, rhs: u64)
fn shl_assign(&mut self, rhs: u64)
<<=
operation. Read moreSource§impl ShlAssign<u64> for Le<usize>
impl ShlAssign<u64> for Le<usize>
Source§fn shl_assign(&mut self, rhs: u64)
fn shl_assign(&mut self, rhs: u64)
<<=
operation. Read moreSource§impl ShlAssign<u8> for Le<i128>
impl ShlAssign<u8> for Le<i128>
Source§fn shl_assign(&mut self, rhs: u8)
fn shl_assign(&mut self, rhs: u8)
<<=
operation. Read moreSource§impl ShlAssign<u8> for Le<i16>
impl ShlAssign<u8> for Le<i16>
Source§fn shl_assign(&mut self, rhs: u8)
fn shl_assign(&mut self, rhs: u8)
<<=
operation. Read moreSource§impl ShlAssign<u8> for Le<i32>
impl ShlAssign<u8> for Le<i32>
Source§fn shl_assign(&mut self, rhs: u8)
fn shl_assign(&mut self, rhs: u8)
<<=
operation. Read moreSource§impl ShlAssign<u8> for Le<i64>
impl ShlAssign<u8> for Le<i64>
Source§fn shl_assign(&mut self, rhs: u8)
fn shl_assign(&mut self, rhs: u8)
<<=
operation. Read moreSource§impl ShlAssign<u8> for Le<i8>
impl ShlAssign<u8> for Le<i8>
Source§fn shl_assign(&mut self, rhs: u8)
fn shl_assign(&mut self, rhs: u8)
<<=
operation. Read moreSource§impl ShlAssign<u8> for Le<isize>
impl ShlAssign<u8> for Le<isize>
Source§fn shl_assign(&mut self, rhs: u8)
fn shl_assign(&mut self, rhs: u8)
<<=
operation. Read moreSource§impl ShlAssign<u8> for Le<u128>
impl ShlAssign<u8> for Le<u128>
Source§fn shl_assign(&mut self, rhs: u8)
fn shl_assign(&mut self, rhs: u8)
<<=
operation. Read moreSource§impl ShlAssign<u8> for Le<u16>
impl ShlAssign<u8> for Le<u16>
Source§fn shl_assign(&mut self, rhs: u8)
fn shl_assign(&mut self, rhs: u8)
<<=
operation. Read moreSource§impl ShlAssign<u8> for Le<u32>
impl ShlAssign<u8> for Le<u32>
Source§fn shl_assign(&mut self, rhs: u8)
fn shl_assign(&mut self, rhs: u8)
<<=
operation. Read moreSource§impl ShlAssign<u8> for Le<u64>
impl ShlAssign<u8> for Le<u64>
Source§fn shl_assign(&mut self, rhs: u8)
fn shl_assign(&mut self, rhs: u8)
<<=
operation. Read moreSource§impl ShlAssign<u8> for Le<u8>
impl ShlAssign<u8> for Le<u8>
Source§fn shl_assign(&mut self, rhs: u8)
fn shl_assign(&mut self, rhs: u8)
<<=
operation. Read moreSource§impl ShlAssign<u8> for Le<usize>
impl ShlAssign<u8> for Le<usize>
Source§fn shl_assign(&mut self, rhs: u8)
fn shl_assign(&mut self, rhs: u8)
<<=
operation. Read moreSource§impl ShlAssign<usize> for Le<i128>
impl ShlAssign<usize> for Le<i128>
Source§fn shl_assign(&mut self, rhs: usize)
fn shl_assign(&mut self, rhs: usize)
<<=
operation. Read moreSource§impl ShlAssign<usize> for Le<i16>
impl ShlAssign<usize> for Le<i16>
Source§fn shl_assign(&mut self, rhs: usize)
fn shl_assign(&mut self, rhs: usize)
<<=
operation. Read moreSource§impl ShlAssign<usize> for Le<i32>
impl ShlAssign<usize> for Le<i32>
Source§fn shl_assign(&mut self, rhs: usize)
fn shl_assign(&mut self, rhs: usize)
<<=
operation. Read moreSource§impl ShlAssign<usize> for Le<i64>
impl ShlAssign<usize> for Le<i64>
Source§fn shl_assign(&mut self, rhs: usize)
fn shl_assign(&mut self, rhs: usize)
<<=
operation. Read moreSource§impl ShlAssign<usize> for Le<i8>
impl ShlAssign<usize> for Le<i8>
Source§fn shl_assign(&mut self, rhs: usize)
fn shl_assign(&mut self, rhs: usize)
<<=
operation. Read moreSource§impl ShlAssign<usize> for Le<isize>
impl ShlAssign<usize> for Le<isize>
Source§fn shl_assign(&mut self, rhs: usize)
fn shl_assign(&mut self, rhs: usize)
<<=
operation. Read moreSource§impl ShlAssign<usize> for Le<u128>
impl ShlAssign<usize> for Le<u128>
Source§fn shl_assign(&mut self, rhs: usize)
fn shl_assign(&mut self, rhs: usize)
<<=
operation. Read moreSource§impl ShlAssign<usize> for Le<u16>
impl ShlAssign<usize> for Le<u16>
Source§fn shl_assign(&mut self, rhs: usize)
fn shl_assign(&mut self, rhs: usize)
<<=
operation. Read moreSource§impl ShlAssign<usize> for Le<u32>
impl ShlAssign<usize> for Le<u32>
Source§fn shl_assign(&mut self, rhs: usize)
fn shl_assign(&mut self, rhs: usize)
<<=
operation. Read moreSource§impl ShlAssign<usize> for Le<u64>
impl ShlAssign<usize> for Le<u64>
Source§fn shl_assign(&mut self, rhs: usize)
fn shl_assign(&mut self, rhs: usize)
<<=
operation. Read moreSource§impl ShlAssign<usize> for Le<u8>
impl ShlAssign<usize> for Le<u8>
Source§fn shl_assign(&mut self, rhs: usize)
fn shl_assign(&mut self, rhs: usize)
<<=
operation. Read moreSource§impl ShlAssign<usize> for Le<usize>
impl ShlAssign<usize> for Le<usize>
Source§fn shl_assign(&mut self, rhs: usize)
fn shl_assign(&mut self, rhs: usize)
<<=
operation. Read moreSource§impl ShrAssign<&i128> for Le<i128>
impl ShrAssign<&i128> for Le<i128>
Source§fn shr_assign(&mut self, rhs: &i128)
fn shr_assign(&mut self, rhs: &i128)
>>=
operation. Read moreSource§impl ShrAssign<&i128> for Le<i16>
impl ShrAssign<&i128> for Le<i16>
Source§fn shr_assign(&mut self, rhs: &i128)
fn shr_assign(&mut self, rhs: &i128)
>>=
operation. Read moreSource§impl ShrAssign<&i128> for Le<i32>
impl ShrAssign<&i128> for Le<i32>
Source§fn shr_assign(&mut self, rhs: &i128)
fn shr_assign(&mut self, rhs: &i128)
>>=
operation. Read moreSource§impl ShrAssign<&i128> for Le<i64>
impl ShrAssign<&i128> for Le<i64>
Source§fn shr_assign(&mut self, rhs: &i128)
fn shr_assign(&mut self, rhs: &i128)
>>=
operation. Read moreSource§impl ShrAssign<&i128> for Le<i8>
impl ShrAssign<&i128> for Le<i8>
Source§fn shr_assign(&mut self, rhs: &i128)
fn shr_assign(&mut self, rhs: &i128)
>>=
operation. Read moreSource§impl ShrAssign<&i128> for Le<isize>
impl ShrAssign<&i128> for Le<isize>
Source§fn shr_assign(&mut self, rhs: &i128)
fn shr_assign(&mut self, rhs: &i128)
>>=
operation. Read moreSource§impl ShrAssign<&i128> for Le<u128>
impl ShrAssign<&i128> for Le<u128>
Source§fn shr_assign(&mut self, rhs: &i128)
fn shr_assign(&mut self, rhs: &i128)
>>=
operation. Read moreSource§impl ShrAssign<&i128> for Le<u16>
impl ShrAssign<&i128> for Le<u16>
Source§fn shr_assign(&mut self, rhs: &i128)
fn shr_assign(&mut self, rhs: &i128)
>>=
operation. Read moreSource§impl ShrAssign<&i128> for Le<u32>
impl ShrAssign<&i128> for Le<u32>
Source§fn shr_assign(&mut self, rhs: &i128)
fn shr_assign(&mut self, rhs: &i128)
>>=
operation. Read moreSource§impl ShrAssign<&i128> for Le<u64>
impl ShrAssign<&i128> for Le<u64>
Source§fn shr_assign(&mut self, rhs: &i128)
fn shr_assign(&mut self, rhs: &i128)
>>=
operation. Read moreSource§impl ShrAssign<&i128> for Le<u8>
impl ShrAssign<&i128> for Le<u8>
Source§fn shr_assign(&mut self, rhs: &i128)
fn shr_assign(&mut self, rhs: &i128)
>>=
operation. Read moreSource§impl ShrAssign<&i128> for Le<usize>
impl ShrAssign<&i128> for Le<usize>
Source§fn shr_assign(&mut self, rhs: &i128)
fn shr_assign(&mut self, rhs: &i128)
>>=
operation. Read moreSource§impl ShrAssign<&i16> for Le<i128>
impl ShrAssign<&i16> for Le<i128>
Source§fn shr_assign(&mut self, rhs: &i16)
fn shr_assign(&mut self, rhs: &i16)
>>=
operation. Read moreSource§impl ShrAssign<&i16> for Le<i16>
impl ShrAssign<&i16> for Le<i16>
Source§fn shr_assign(&mut self, rhs: &i16)
fn shr_assign(&mut self, rhs: &i16)
>>=
operation. Read moreSource§impl ShrAssign<&i16> for Le<i32>
impl ShrAssign<&i16> for Le<i32>
Source§fn shr_assign(&mut self, rhs: &i16)
fn shr_assign(&mut self, rhs: &i16)
>>=
operation. Read moreSource§impl ShrAssign<&i16> for Le<i64>
impl ShrAssign<&i16> for Le<i64>
Source§fn shr_assign(&mut self, rhs: &i16)
fn shr_assign(&mut self, rhs: &i16)
>>=
operation. Read moreSource§impl ShrAssign<&i16> for Le<i8>
impl ShrAssign<&i16> for Le<i8>
Source§fn shr_assign(&mut self, rhs: &i16)
fn shr_assign(&mut self, rhs: &i16)
>>=
operation. Read moreSource§impl ShrAssign<&i16> for Le<isize>
impl ShrAssign<&i16> for Le<isize>
Source§fn shr_assign(&mut self, rhs: &i16)
fn shr_assign(&mut self, rhs: &i16)
>>=
operation. Read moreSource§impl ShrAssign<&i16> for Le<u128>
impl ShrAssign<&i16> for Le<u128>
Source§fn shr_assign(&mut self, rhs: &i16)
fn shr_assign(&mut self, rhs: &i16)
>>=
operation. Read moreSource§impl ShrAssign<&i16> for Le<u16>
impl ShrAssign<&i16> for Le<u16>
Source§fn shr_assign(&mut self, rhs: &i16)
fn shr_assign(&mut self, rhs: &i16)
>>=
operation. Read moreSource§impl ShrAssign<&i16> for Le<u32>
impl ShrAssign<&i16> for Le<u32>
Source§fn shr_assign(&mut self, rhs: &i16)
fn shr_assign(&mut self, rhs: &i16)
>>=
operation. Read moreSource§impl ShrAssign<&i16> for Le<u64>
impl ShrAssign<&i16> for Le<u64>
Source§fn shr_assign(&mut self, rhs: &i16)
fn shr_assign(&mut self, rhs: &i16)
>>=
operation. Read moreSource§impl ShrAssign<&i16> for Le<u8>
impl ShrAssign<&i16> for Le<u8>
Source§fn shr_assign(&mut self, rhs: &i16)
fn shr_assign(&mut self, rhs: &i16)
>>=
operation. Read moreSource§impl ShrAssign<&i16> for Le<usize>
impl ShrAssign<&i16> for Le<usize>
Source§fn shr_assign(&mut self, rhs: &i16)
fn shr_assign(&mut self, rhs: &i16)
>>=
operation. Read moreSource§impl ShrAssign<&i32> for Le<i128>
impl ShrAssign<&i32> for Le<i128>
Source§fn shr_assign(&mut self, rhs: &i32)
fn shr_assign(&mut self, rhs: &i32)
>>=
operation. Read moreSource§impl ShrAssign<&i32> for Le<i16>
impl ShrAssign<&i32> for Le<i16>
Source§fn shr_assign(&mut self, rhs: &i32)
fn shr_assign(&mut self, rhs: &i32)
>>=
operation. Read moreSource§impl ShrAssign<&i32> for Le<i32>
impl ShrAssign<&i32> for Le<i32>
Source§fn shr_assign(&mut self, rhs: &i32)
fn shr_assign(&mut self, rhs: &i32)
>>=
operation. Read moreSource§impl ShrAssign<&i32> for Le<i64>
impl ShrAssign<&i32> for Le<i64>
Source§fn shr_assign(&mut self, rhs: &i32)
fn shr_assign(&mut self, rhs: &i32)
>>=
operation. Read moreSource§impl ShrAssign<&i32> for Le<i8>
impl ShrAssign<&i32> for Le<i8>
Source§fn shr_assign(&mut self, rhs: &i32)
fn shr_assign(&mut self, rhs: &i32)
>>=
operation. Read moreSource§impl ShrAssign<&i32> for Le<isize>
impl ShrAssign<&i32> for Le<isize>
Source§fn shr_assign(&mut self, rhs: &i32)
fn shr_assign(&mut self, rhs: &i32)
>>=
operation. Read moreSource§impl ShrAssign<&i32> for Le<u128>
impl ShrAssign<&i32> for Le<u128>
Source§fn shr_assign(&mut self, rhs: &i32)
fn shr_assign(&mut self, rhs: &i32)
>>=
operation. Read moreSource§impl ShrAssign<&i32> for Le<u16>
impl ShrAssign<&i32> for Le<u16>
Source§fn shr_assign(&mut self, rhs: &i32)
fn shr_assign(&mut self, rhs: &i32)
>>=
operation. Read moreSource§impl ShrAssign<&i32> for Le<u32>
impl ShrAssign<&i32> for Le<u32>
Source§fn shr_assign(&mut self, rhs: &i32)
fn shr_assign(&mut self, rhs: &i32)
>>=
operation. Read moreSource§impl ShrAssign<&i32> for Le<u64>
impl ShrAssign<&i32> for Le<u64>
Source§fn shr_assign(&mut self, rhs: &i32)
fn shr_assign(&mut self, rhs: &i32)
>>=
operation. Read moreSource§impl ShrAssign<&i32> for Le<u8>
impl ShrAssign<&i32> for Le<u8>
Source§fn shr_assign(&mut self, rhs: &i32)
fn shr_assign(&mut self, rhs: &i32)
>>=
operation. Read moreSource§impl ShrAssign<&i32> for Le<usize>
impl ShrAssign<&i32> for Le<usize>
Source§fn shr_assign(&mut self, rhs: &i32)
fn shr_assign(&mut self, rhs: &i32)
>>=
operation. Read moreSource§impl ShrAssign<&i64> for Le<i128>
impl ShrAssign<&i64> for Le<i128>
Source§fn shr_assign(&mut self, rhs: &i64)
fn shr_assign(&mut self, rhs: &i64)
>>=
operation. Read moreSource§impl ShrAssign<&i64> for Le<i16>
impl ShrAssign<&i64> for Le<i16>
Source§fn shr_assign(&mut self, rhs: &i64)
fn shr_assign(&mut self, rhs: &i64)
>>=
operation. Read moreSource§impl ShrAssign<&i64> for Le<i32>
impl ShrAssign<&i64> for Le<i32>
Source§fn shr_assign(&mut self, rhs: &i64)
fn shr_assign(&mut self, rhs: &i64)
>>=
operation. Read moreSource§impl ShrAssign<&i64> for Le<i64>
impl ShrAssign<&i64> for Le<i64>
Source§fn shr_assign(&mut self, rhs: &i64)
fn shr_assign(&mut self, rhs: &i64)
>>=
operation. Read moreSource§impl ShrAssign<&i64> for Le<i8>
impl ShrAssign<&i64> for Le<i8>
Source§fn shr_assign(&mut self, rhs: &i64)
fn shr_assign(&mut self, rhs: &i64)
>>=
operation. Read moreSource§impl ShrAssign<&i64> for Le<isize>
impl ShrAssign<&i64> for Le<isize>
Source§fn shr_assign(&mut self, rhs: &i64)
fn shr_assign(&mut self, rhs: &i64)
>>=
operation. Read moreSource§impl ShrAssign<&i64> for Le<u128>
impl ShrAssign<&i64> for Le<u128>
Source§fn shr_assign(&mut self, rhs: &i64)
fn shr_assign(&mut self, rhs: &i64)
>>=
operation. Read moreSource§impl ShrAssign<&i64> for Le<u16>
impl ShrAssign<&i64> for Le<u16>
Source§fn shr_assign(&mut self, rhs: &i64)
fn shr_assign(&mut self, rhs: &i64)
>>=
operation. Read moreSource§impl ShrAssign<&i64> for Le<u32>
impl ShrAssign<&i64> for Le<u32>
Source§fn shr_assign(&mut self, rhs: &i64)
fn shr_assign(&mut self, rhs: &i64)
>>=
operation. Read moreSource§impl ShrAssign<&i64> for Le<u64>
impl ShrAssign<&i64> for Le<u64>
Source§fn shr_assign(&mut self, rhs: &i64)
fn shr_assign(&mut self, rhs: &i64)
>>=
operation. Read moreSource§impl ShrAssign<&i64> for Le<u8>
impl ShrAssign<&i64> for Le<u8>
Source§fn shr_assign(&mut self, rhs: &i64)
fn shr_assign(&mut self, rhs: &i64)
>>=
operation. Read moreSource§impl ShrAssign<&i64> for Le<usize>
impl ShrAssign<&i64> for Le<usize>
Source§fn shr_assign(&mut self, rhs: &i64)
fn shr_assign(&mut self, rhs: &i64)
>>=
operation. Read moreSource§impl ShrAssign<&i8> for Le<i128>
impl ShrAssign<&i8> for Le<i128>
Source§fn shr_assign(&mut self, rhs: &i8)
fn shr_assign(&mut self, rhs: &i8)
>>=
operation. Read moreSource§impl ShrAssign<&i8> for Le<i16>
impl ShrAssign<&i8> for Le<i16>
Source§fn shr_assign(&mut self, rhs: &i8)
fn shr_assign(&mut self, rhs: &i8)
>>=
operation. Read moreSource§impl ShrAssign<&i8> for Le<i32>
impl ShrAssign<&i8> for Le<i32>
Source§fn shr_assign(&mut self, rhs: &i8)
fn shr_assign(&mut self, rhs: &i8)
>>=
operation. Read moreSource§impl ShrAssign<&i8> for Le<i64>
impl ShrAssign<&i8> for Le<i64>
Source§fn shr_assign(&mut self, rhs: &i8)
fn shr_assign(&mut self, rhs: &i8)
>>=
operation. Read moreSource§impl ShrAssign<&i8> for Le<i8>
impl ShrAssign<&i8> for Le<i8>
Source§fn shr_assign(&mut self, rhs: &i8)
fn shr_assign(&mut self, rhs: &i8)
>>=
operation. Read moreSource§impl ShrAssign<&i8> for Le<isize>
impl ShrAssign<&i8> for Le<isize>
Source§fn shr_assign(&mut self, rhs: &i8)
fn shr_assign(&mut self, rhs: &i8)
>>=
operation. Read moreSource§impl ShrAssign<&i8> for Le<u128>
impl ShrAssign<&i8> for Le<u128>
Source§fn shr_assign(&mut self, rhs: &i8)
fn shr_assign(&mut self, rhs: &i8)
>>=
operation. Read moreSource§impl ShrAssign<&i8> for Le<u16>
impl ShrAssign<&i8> for Le<u16>
Source§fn shr_assign(&mut self, rhs: &i8)
fn shr_assign(&mut self, rhs: &i8)
>>=
operation. Read moreSource§impl ShrAssign<&i8> for Le<u32>
impl ShrAssign<&i8> for Le<u32>
Source§fn shr_assign(&mut self, rhs: &i8)
fn shr_assign(&mut self, rhs: &i8)
>>=
operation. Read moreSource§impl ShrAssign<&i8> for Le<u64>
impl ShrAssign<&i8> for Le<u64>
Source§fn shr_assign(&mut self, rhs: &i8)
fn shr_assign(&mut self, rhs: &i8)
>>=
operation. Read moreSource§impl ShrAssign<&i8> for Le<u8>
impl ShrAssign<&i8> for Le<u8>
Source§fn shr_assign(&mut self, rhs: &i8)
fn shr_assign(&mut self, rhs: &i8)
>>=
operation. Read moreSource§impl ShrAssign<&i8> for Le<usize>
impl ShrAssign<&i8> for Le<usize>
Source§fn shr_assign(&mut self, rhs: &i8)
fn shr_assign(&mut self, rhs: &i8)
>>=
operation. Read moreSource§impl ShrAssign<&isize> for Le<i128>
impl ShrAssign<&isize> for Le<i128>
Source§fn shr_assign(&mut self, rhs: &isize)
fn shr_assign(&mut self, rhs: &isize)
>>=
operation. Read moreSource§impl ShrAssign<&isize> for Le<i16>
impl ShrAssign<&isize> for Le<i16>
Source§fn shr_assign(&mut self, rhs: &isize)
fn shr_assign(&mut self, rhs: &isize)
>>=
operation. Read moreSource§impl ShrAssign<&isize> for Le<i32>
impl ShrAssign<&isize> for Le<i32>
Source§fn shr_assign(&mut self, rhs: &isize)
fn shr_assign(&mut self, rhs: &isize)
>>=
operation. Read moreSource§impl ShrAssign<&isize> for Le<i64>
impl ShrAssign<&isize> for Le<i64>
Source§fn shr_assign(&mut self, rhs: &isize)
fn shr_assign(&mut self, rhs: &isize)
>>=
operation. Read moreSource§impl ShrAssign<&isize> for Le<i8>
impl ShrAssign<&isize> for Le<i8>
Source§fn shr_assign(&mut self, rhs: &isize)
fn shr_assign(&mut self, rhs: &isize)
>>=
operation. Read moreSource§impl ShrAssign<&isize> for Le<isize>
impl ShrAssign<&isize> for Le<isize>
Source§fn shr_assign(&mut self, rhs: &isize)
fn shr_assign(&mut self, rhs: &isize)
>>=
operation. Read moreSource§impl ShrAssign<&isize> for Le<u128>
impl ShrAssign<&isize> for Le<u128>
Source§fn shr_assign(&mut self, rhs: &isize)
fn shr_assign(&mut self, rhs: &isize)
>>=
operation. Read moreSource§impl ShrAssign<&isize> for Le<u16>
impl ShrAssign<&isize> for Le<u16>
Source§fn shr_assign(&mut self, rhs: &isize)
fn shr_assign(&mut self, rhs: &isize)
>>=
operation. Read moreSource§impl ShrAssign<&isize> for Le<u32>
impl ShrAssign<&isize> for Le<u32>
Source§fn shr_assign(&mut self, rhs: &isize)
fn shr_assign(&mut self, rhs: &isize)
>>=
operation. Read moreSource§impl ShrAssign<&isize> for Le<u64>
impl ShrAssign<&isize> for Le<u64>
Source§fn shr_assign(&mut self, rhs: &isize)
fn shr_assign(&mut self, rhs: &isize)
>>=
operation. Read moreSource§impl ShrAssign<&isize> for Le<u8>
impl ShrAssign<&isize> for Le<u8>
Source§fn shr_assign(&mut self, rhs: &isize)
fn shr_assign(&mut self, rhs: &isize)
>>=
operation. Read moreSource§impl ShrAssign<&isize> for Le<usize>
impl ShrAssign<&isize> for Le<usize>
Source§fn shr_assign(&mut self, rhs: &isize)
fn shr_assign(&mut self, rhs: &isize)
>>=
operation. Read moreSource§impl ShrAssign<&u128> for Le<i128>
impl ShrAssign<&u128> for Le<i128>
Source§fn shr_assign(&mut self, rhs: &u128)
fn shr_assign(&mut self, rhs: &u128)
>>=
operation. Read moreSource§impl ShrAssign<&u128> for Le<i16>
impl ShrAssign<&u128> for Le<i16>
Source§fn shr_assign(&mut self, rhs: &u128)
fn shr_assign(&mut self, rhs: &u128)
>>=
operation. Read moreSource§impl ShrAssign<&u128> for Le<i32>
impl ShrAssign<&u128> for Le<i32>
Source§fn shr_assign(&mut self, rhs: &u128)
fn shr_assign(&mut self, rhs: &u128)
>>=
operation. Read moreSource§impl ShrAssign<&u128> for Le<i64>
impl ShrAssign<&u128> for Le<i64>
Source§fn shr_assign(&mut self, rhs: &u128)
fn shr_assign(&mut self, rhs: &u128)
>>=
operation. Read moreSource§impl ShrAssign<&u128> for Le<i8>
impl ShrAssign<&u128> for Le<i8>
Source§fn shr_assign(&mut self, rhs: &u128)
fn shr_assign(&mut self, rhs: &u128)
>>=
operation. Read moreSource§impl ShrAssign<&u128> for Le<isize>
impl ShrAssign<&u128> for Le<isize>
Source§fn shr_assign(&mut self, rhs: &u128)
fn shr_assign(&mut self, rhs: &u128)
>>=
operation. Read moreSource§impl ShrAssign<&u128> for Le<u128>
impl ShrAssign<&u128> for Le<u128>
Source§fn shr_assign(&mut self, rhs: &u128)
fn shr_assign(&mut self, rhs: &u128)
>>=
operation. Read moreSource§impl ShrAssign<&u128> for Le<u16>
impl ShrAssign<&u128> for Le<u16>
Source§fn shr_assign(&mut self, rhs: &u128)
fn shr_assign(&mut self, rhs: &u128)
>>=
operation. Read moreSource§impl ShrAssign<&u128> for Le<u32>
impl ShrAssign<&u128> for Le<u32>
Source§fn shr_assign(&mut self, rhs: &u128)
fn shr_assign(&mut self, rhs: &u128)
>>=
operation. Read moreSource§impl ShrAssign<&u128> for Le<u64>
impl ShrAssign<&u128> for Le<u64>
Source§fn shr_assign(&mut self, rhs: &u128)
fn shr_assign(&mut self, rhs: &u128)
>>=
operation. Read moreSource§impl ShrAssign<&u128> for Le<u8>
impl ShrAssign<&u128> for Le<u8>
Source§fn shr_assign(&mut self, rhs: &u128)
fn shr_assign(&mut self, rhs: &u128)
>>=
operation. Read moreSource§impl ShrAssign<&u128> for Le<usize>
impl ShrAssign<&u128> for Le<usize>
Source§fn shr_assign(&mut self, rhs: &u128)
fn shr_assign(&mut self, rhs: &u128)
>>=
operation. Read moreSource§impl ShrAssign<&u16> for Le<i128>
impl ShrAssign<&u16> for Le<i128>
Source§fn shr_assign(&mut self, rhs: &u16)
fn shr_assign(&mut self, rhs: &u16)
>>=
operation. Read moreSource§impl ShrAssign<&u16> for Le<i16>
impl ShrAssign<&u16> for Le<i16>
Source§fn shr_assign(&mut self, rhs: &u16)
fn shr_assign(&mut self, rhs: &u16)
>>=
operation. Read moreSource§impl ShrAssign<&u16> for Le<i32>
impl ShrAssign<&u16> for Le<i32>
Source§fn shr_assign(&mut self, rhs: &u16)
fn shr_assign(&mut self, rhs: &u16)
>>=
operation. Read moreSource§impl ShrAssign<&u16> for Le<i64>
impl ShrAssign<&u16> for Le<i64>
Source§fn shr_assign(&mut self, rhs: &u16)
fn shr_assign(&mut self, rhs: &u16)
>>=
operation. Read moreSource§impl ShrAssign<&u16> for Le<i8>
impl ShrAssign<&u16> for Le<i8>
Source§fn shr_assign(&mut self, rhs: &u16)
fn shr_assign(&mut self, rhs: &u16)
>>=
operation. Read moreSource§impl ShrAssign<&u16> for Le<isize>
impl ShrAssign<&u16> for Le<isize>
Source§fn shr_assign(&mut self, rhs: &u16)
fn shr_assign(&mut self, rhs: &u16)
>>=
operation. Read moreSource§impl ShrAssign<&u16> for Le<u128>
impl ShrAssign<&u16> for Le<u128>
Source§fn shr_assign(&mut self, rhs: &u16)
fn shr_assign(&mut self, rhs: &u16)
>>=
operation. Read moreSource§impl ShrAssign<&u16> for Le<u16>
impl ShrAssign<&u16> for Le<u16>
Source§fn shr_assign(&mut self, rhs: &u16)
fn shr_assign(&mut self, rhs: &u16)
>>=
operation. Read moreSource§impl ShrAssign<&u16> for Le<u32>
impl ShrAssign<&u16> for Le<u32>
Source§fn shr_assign(&mut self, rhs: &u16)
fn shr_assign(&mut self, rhs: &u16)
>>=
operation. Read moreSource§impl ShrAssign<&u16> for Le<u64>
impl ShrAssign<&u16> for Le<u64>
Source§fn shr_assign(&mut self, rhs: &u16)
fn shr_assign(&mut self, rhs: &u16)
>>=
operation. Read moreSource§impl ShrAssign<&u16> for Le<u8>
impl ShrAssign<&u16> for Le<u8>
Source§fn shr_assign(&mut self, rhs: &u16)
fn shr_assign(&mut self, rhs: &u16)
>>=
operation. Read moreSource§impl ShrAssign<&u16> for Le<usize>
impl ShrAssign<&u16> for Le<usize>
Source§fn shr_assign(&mut self, rhs: &u16)
fn shr_assign(&mut self, rhs: &u16)
>>=
operation. Read moreSource§impl ShrAssign<&u32> for Le<i128>
impl ShrAssign<&u32> for Le<i128>
Source§fn shr_assign(&mut self, rhs: &u32)
fn shr_assign(&mut self, rhs: &u32)
>>=
operation. Read moreSource§impl ShrAssign<&u32> for Le<i16>
impl ShrAssign<&u32> for Le<i16>
Source§fn shr_assign(&mut self, rhs: &u32)
fn shr_assign(&mut self, rhs: &u32)
>>=
operation. Read moreSource§impl ShrAssign<&u32> for Le<i32>
impl ShrAssign<&u32> for Le<i32>
Source§fn shr_assign(&mut self, rhs: &u32)
fn shr_assign(&mut self, rhs: &u32)
>>=
operation. Read moreSource§impl ShrAssign<&u32> for Le<i64>
impl ShrAssign<&u32> for Le<i64>
Source§fn shr_assign(&mut self, rhs: &u32)
fn shr_assign(&mut self, rhs: &u32)
>>=
operation. Read moreSource§impl ShrAssign<&u32> for Le<i8>
impl ShrAssign<&u32> for Le<i8>
Source§fn shr_assign(&mut self, rhs: &u32)
fn shr_assign(&mut self, rhs: &u32)
>>=
operation. Read moreSource§impl ShrAssign<&u32> for Le<isize>
impl ShrAssign<&u32> for Le<isize>
Source§fn shr_assign(&mut self, rhs: &u32)
fn shr_assign(&mut self, rhs: &u32)
>>=
operation. Read moreSource§impl ShrAssign<&u32> for Le<u128>
impl ShrAssign<&u32> for Le<u128>
Source§fn shr_assign(&mut self, rhs: &u32)
fn shr_assign(&mut self, rhs: &u32)
>>=
operation. Read moreSource§impl ShrAssign<&u32> for Le<u16>
impl ShrAssign<&u32> for Le<u16>
Source§fn shr_assign(&mut self, rhs: &u32)
fn shr_assign(&mut self, rhs: &u32)
>>=
operation. Read moreSource§impl ShrAssign<&u32> for Le<u32>
impl ShrAssign<&u32> for Le<u32>
Source§fn shr_assign(&mut self, rhs: &u32)
fn shr_assign(&mut self, rhs: &u32)
>>=
operation. Read moreSource§impl ShrAssign<&u32> for Le<u64>
impl ShrAssign<&u32> for Le<u64>
Source§fn shr_assign(&mut self, rhs: &u32)
fn shr_assign(&mut self, rhs: &u32)
>>=
operation. Read moreSource§impl ShrAssign<&u32> for Le<u8>
impl ShrAssign<&u32> for Le<u8>
Source§fn shr_assign(&mut self, rhs: &u32)
fn shr_assign(&mut self, rhs: &u32)
>>=
operation. Read moreSource§impl ShrAssign<&u32> for Le<usize>
impl ShrAssign<&u32> for Le<usize>
Source§fn shr_assign(&mut self, rhs: &u32)
fn shr_assign(&mut self, rhs: &u32)
>>=
operation. Read moreSource§impl ShrAssign<&u64> for Le<i128>
impl ShrAssign<&u64> for Le<i128>
Source§fn shr_assign(&mut self, rhs: &u64)
fn shr_assign(&mut self, rhs: &u64)
>>=
operation. Read moreSource§impl ShrAssign<&u64> for Le<i16>
impl ShrAssign<&u64> for Le<i16>
Source§fn shr_assign(&mut self, rhs: &u64)
fn shr_assign(&mut self, rhs: &u64)
>>=
operation. Read moreSource§impl ShrAssign<&u64> for Le<i32>
impl ShrAssign<&u64> for Le<i32>
Source§fn shr_assign(&mut self, rhs: &u64)
fn shr_assign(&mut self, rhs: &u64)
>>=
operation. Read moreSource§impl ShrAssign<&u64> for Le<i64>
impl ShrAssign<&u64> for Le<i64>
Source§fn shr_assign(&mut self, rhs: &u64)
fn shr_assign(&mut self, rhs: &u64)
>>=
operation. Read moreSource§impl ShrAssign<&u64> for Le<i8>
impl ShrAssign<&u64> for Le<i8>
Source§fn shr_assign(&mut self, rhs: &u64)
fn shr_assign(&mut self, rhs: &u64)
>>=
operation. Read moreSource§impl ShrAssign<&u64> for Le<isize>
impl ShrAssign<&u64> for Le<isize>
Source§fn shr_assign(&mut self, rhs: &u64)
fn shr_assign(&mut self, rhs: &u64)
>>=
operation. Read moreSource§impl ShrAssign<&u64> for Le<u128>
impl ShrAssign<&u64> for Le<u128>
Source§fn shr_assign(&mut self, rhs: &u64)
fn shr_assign(&mut self, rhs: &u64)
>>=
operation. Read moreSource§impl ShrAssign<&u64> for Le<u16>
impl ShrAssign<&u64> for Le<u16>
Source§fn shr_assign(&mut self, rhs: &u64)
fn shr_assign(&mut self, rhs: &u64)
>>=
operation. Read moreSource§impl ShrAssign<&u64> for Le<u32>
impl ShrAssign<&u64> for Le<u32>
Source§fn shr_assign(&mut self, rhs: &u64)
fn shr_assign(&mut self, rhs: &u64)
>>=
operation. Read moreSource§impl ShrAssign<&u64> for Le<u64>
impl ShrAssign<&u64> for Le<u64>
Source§fn shr_assign(&mut self, rhs: &u64)
fn shr_assign(&mut self, rhs: &u64)
>>=
operation. Read moreSource§impl ShrAssign<&u64> for Le<u8>
impl ShrAssign<&u64> for Le<u8>
Source§fn shr_assign(&mut self, rhs: &u64)
fn shr_assign(&mut self, rhs: &u64)
>>=
operation. Read moreSource§impl ShrAssign<&u64> for Le<usize>
impl ShrAssign<&u64> for Le<usize>
Source§fn shr_assign(&mut self, rhs: &u64)
fn shr_assign(&mut self, rhs: &u64)
>>=
operation. Read moreSource§impl ShrAssign<&u8> for Le<i128>
impl ShrAssign<&u8> for Le<i128>
Source§fn shr_assign(&mut self, rhs: &u8)
fn shr_assign(&mut self, rhs: &u8)
>>=
operation. Read moreSource§impl ShrAssign<&u8> for Le<i16>
impl ShrAssign<&u8> for Le<i16>
Source§fn shr_assign(&mut self, rhs: &u8)
fn shr_assign(&mut self, rhs: &u8)
>>=
operation. Read moreSource§impl ShrAssign<&u8> for Le<i32>
impl ShrAssign<&u8> for Le<i32>
Source§fn shr_assign(&mut self, rhs: &u8)
fn shr_assign(&mut self, rhs: &u8)
>>=
operation. Read moreSource§impl ShrAssign<&u8> for Le<i64>
impl ShrAssign<&u8> for Le<i64>
Source§fn shr_assign(&mut self, rhs: &u8)
fn shr_assign(&mut self, rhs: &u8)
>>=
operation. Read moreSource§impl ShrAssign<&u8> for Le<i8>
impl ShrAssign<&u8> for Le<i8>
Source§fn shr_assign(&mut self, rhs: &u8)
fn shr_assign(&mut self, rhs: &u8)
>>=
operation. Read moreSource§impl ShrAssign<&u8> for Le<isize>
impl ShrAssign<&u8> for Le<isize>
Source§fn shr_assign(&mut self, rhs: &u8)
fn shr_assign(&mut self, rhs: &u8)
>>=
operation. Read moreSource§impl ShrAssign<&u8> for Le<u128>
impl ShrAssign<&u8> for Le<u128>
Source§fn shr_assign(&mut self, rhs: &u8)
fn shr_assign(&mut self, rhs: &u8)
>>=
operation. Read moreSource§impl ShrAssign<&u8> for Le<u16>
impl ShrAssign<&u8> for Le<u16>
Source§fn shr_assign(&mut self, rhs: &u8)
fn shr_assign(&mut self, rhs: &u8)
>>=
operation. Read moreSource§impl ShrAssign<&u8> for Le<u32>
impl ShrAssign<&u8> for Le<u32>
Source§fn shr_assign(&mut self, rhs: &u8)
fn shr_assign(&mut self, rhs: &u8)
>>=
operation. Read moreSource§impl ShrAssign<&u8> for Le<u64>
impl ShrAssign<&u8> for Le<u64>
Source§fn shr_assign(&mut self, rhs: &u8)
fn shr_assign(&mut self, rhs: &u8)
>>=
operation. Read moreSource§impl ShrAssign<&u8> for Le<u8>
impl ShrAssign<&u8> for Le<u8>
Source§fn shr_assign(&mut self, rhs: &u8)
fn shr_assign(&mut self, rhs: &u8)
>>=
operation. Read moreSource§impl ShrAssign<&u8> for Le<usize>
impl ShrAssign<&u8> for Le<usize>
Source§fn shr_assign(&mut self, rhs: &u8)
fn shr_assign(&mut self, rhs: &u8)
>>=
operation. Read moreSource§impl ShrAssign<&usize> for Le<i128>
impl ShrAssign<&usize> for Le<i128>
Source§fn shr_assign(&mut self, rhs: &usize)
fn shr_assign(&mut self, rhs: &usize)
>>=
operation. Read moreSource§impl ShrAssign<&usize> for Le<i16>
impl ShrAssign<&usize> for Le<i16>
Source§fn shr_assign(&mut self, rhs: &usize)
fn shr_assign(&mut self, rhs: &usize)
>>=
operation. Read moreSource§impl ShrAssign<&usize> for Le<i32>
impl ShrAssign<&usize> for Le<i32>
Source§fn shr_assign(&mut self, rhs: &usize)
fn shr_assign(&mut self, rhs: &usize)
>>=
operation. Read moreSource§impl ShrAssign<&usize> for Le<i64>
impl ShrAssign<&usize> for Le<i64>
Source§fn shr_assign(&mut self, rhs: &usize)
fn shr_assign(&mut self, rhs: &usize)
>>=
operation. Read moreSource§impl ShrAssign<&usize> for Le<i8>
impl ShrAssign<&usize> for Le<i8>
Source§fn shr_assign(&mut self, rhs: &usize)
fn shr_assign(&mut self, rhs: &usize)
>>=
operation. Read moreSource§impl ShrAssign<&usize> for Le<isize>
impl ShrAssign<&usize> for Le<isize>
Source§fn shr_assign(&mut self, rhs: &usize)
fn shr_assign(&mut self, rhs: &usize)
>>=
operation. Read moreSource§impl ShrAssign<&usize> for Le<u128>
impl ShrAssign<&usize> for Le<u128>
Source§fn shr_assign(&mut self, rhs: &usize)
fn shr_assign(&mut self, rhs: &usize)
>>=
operation. Read moreSource§impl ShrAssign<&usize> for Le<u16>
impl ShrAssign<&usize> for Le<u16>
Source§fn shr_assign(&mut self, rhs: &usize)
fn shr_assign(&mut self, rhs: &usize)
>>=
operation. Read moreSource§impl ShrAssign<&usize> for Le<u32>
impl ShrAssign<&usize> for Le<u32>
Source§fn shr_assign(&mut self, rhs: &usize)
fn shr_assign(&mut self, rhs: &usize)
>>=
operation. Read moreSource§impl ShrAssign<&usize> for Le<u64>
impl ShrAssign<&usize> for Le<u64>
Source§fn shr_assign(&mut self, rhs: &usize)
fn shr_assign(&mut self, rhs: &usize)
>>=
operation. Read moreSource§impl ShrAssign<&usize> for Le<u8>
impl ShrAssign<&usize> for Le<u8>
Source§fn shr_assign(&mut self, rhs: &usize)
fn shr_assign(&mut self, rhs: &usize)
>>=
operation. Read moreSource§impl ShrAssign<&usize> for Le<usize>
impl ShrAssign<&usize> for Le<usize>
Source§fn shr_assign(&mut self, rhs: &usize)
fn shr_assign(&mut self, rhs: &usize)
>>=
operation. Read moreSource§impl ShrAssign<i128> for Le<i128>
impl ShrAssign<i128> for Le<i128>
Source§fn shr_assign(&mut self, rhs: i128)
fn shr_assign(&mut self, rhs: i128)
>>=
operation. Read moreSource§impl ShrAssign<i128> for Le<i16>
impl ShrAssign<i128> for Le<i16>
Source§fn shr_assign(&mut self, rhs: i128)
fn shr_assign(&mut self, rhs: i128)
>>=
operation. Read moreSource§impl ShrAssign<i128> for Le<i32>
impl ShrAssign<i128> for Le<i32>
Source§fn shr_assign(&mut self, rhs: i128)
fn shr_assign(&mut self, rhs: i128)
>>=
operation. Read moreSource§impl ShrAssign<i128> for Le<i64>
impl ShrAssign<i128> for Le<i64>
Source§fn shr_assign(&mut self, rhs: i128)
fn shr_assign(&mut self, rhs: i128)
>>=
operation. Read moreSource§impl ShrAssign<i128> for Le<i8>
impl ShrAssign<i128> for Le<i8>
Source§fn shr_assign(&mut self, rhs: i128)
fn shr_assign(&mut self, rhs: i128)
>>=
operation. Read moreSource§impl ShrAssign<i128> for Le<isize>
impl ShrAssign<i128> for Le<isize>
Source§fn shr_assign(&mut self, rhs: i128)
fn shr_assign(&mut self, rhs: i128)
>>=
operation. Read moreSource§impl ShrAssign<i128> for Le<u128>
impl ShrAssign<i128> for Le<u128>
Source§fn shr_assign(&mut self, rhs: i128)
fn shr_assign(&mut self, rhs: i128)
>>=
operation. Read moreSource§impl ShrAssign<i128> for Le<u16>
impl ShrAssign<i128> for Le<u16>
Source§fn shr_assign(&mut self, rhs: i128)
fn shr_assign(&mut self, rhs: i128)
>>=
operation. Read moreSource§impl ShrAssign<i128> for Le<u32>
impl ShrAssign<i128> for Le<u32>
Source§fn shr_assign(&mut self, rhs: i128)
fn shr_assign(&mut self, rhs: i128)
>>=
operation. Read moreSource§impl ShrAssign<i128> for Le<u64>
impl ShrAssign<i128> for Le<u64>
Source§fn shr_assign(&mut self, rhs: i128)
fn shr_assign(&mut self, rhs: i128)
>>=
operation. Read moreSource§impl ShrAssign<i128> for Le<u8>
impl ShrAssign<i128> for Le<u8>
Source§fn shr_assign(&mut self, rhs: i128)
fn shr_assign(&mut self, rhs: i128)
>>=
operation. Read moreSource§impl ShrAssign<i128> for Le<usize>
impl ShrAssign<i128> for Le<usize>
Source§fn shr_assign(&mut self, rhs: i128)
fn shr_assign(&mut self, rhs: i128)
>>=
operation. Read moreSource§impl ShrAssign<i16> for Le<i128>
impl ShrAssign<i16> for Le<i128>
Source§fn shr_assign(&mut self, rhs: i16)
fn shr_assign(&mut self, rhs: i16)
>>=
operation. Read moreSource§impl ShrAssign<i16> for Le<i16>
impl ShrAssign<i16> for Le<i16>
Source§fn shr_assign(&mut self, rhs: i16)
fn shr_assign(&mut self, rhs: i16)
>>=
operation. Read moreSource§impl ShrAssign<i16> for Le<i32>
impl ShrAssign<i16> for Le<i32>
Source§fn shr_assign(&mut self, rhs: i16)
fn shr_assign(&mut self, rhs: i16)
>>=
operation. Read moreSource§impl ShrAssign<i16> for Le<i64>
impl ShrAssign<i16> for Le<i64>
Source§fn shr_assign(&mut self, rhs: i16)
fn shr_assign(&mut self, rhs: i16)
>>=
operation. Read moreSource§impl ShrAssign<i16> for Le<i8>
impl ShrAssign<i16> for Le<i8>
Source§fn shr_assign(&mut self, rhs: i16)
fn shr_assign(&mut self, rhs: i16)
>>=
operation. Read moreSource§impl ShrAssign<i16> for Le<isize>
impl ShrAssign<i16> for Le<isize>
Source§fn shr_assign(&mut self, rhs: i16)
fn shr_assign(&mut self, rhs: i16)
>>=
operation. Read moreSource§impl ShrAssign<i16> for Le<u128>
impl ShrAssign<i16> for Le<u128>
Source§fn shr_assign(&mut self, rhs: i16)
fn shr_assign(&mut self, rhs: i16)
>>=
operation. Read moreSource§impl ShrAssign<i16> for Le<u16>
impl ShrAssign<i16> for Le<u16>
Source§fn shr_assign(&mut self, rhs: i16)
fn shr_assign(&mut self, rhs: i16)
>>=
operation. Read moreSource§impl ShrAssign<i16> for Le<u32>
impl ShrAssign<i16> for Le<u32>
Source§fn shr_assign(&mut self, rhs: i16)
fn shr_assign(&mut self, rhs: i16)
>>=
operation. Read moreSource§impl ShrAssign<i16> for Le<u64>
impl ShrAssign<i16> for Le<u64>
Source§fn shr_assign(&mut self, rhs: i16)
fn shr_assign(&mut self, rhs: i16)
>>=
operation. Read moreSource§impl ShrAssign<i16> for Le<u8>
impl ShrAssign<i16> for Le<u8>
Source§fn shr_assign(&mut self, rhs: i16)
fn shr_assign(&mut self, rhs: i16)
>>=
operation. Read moreSource§impl ShrAssign<i16> for Le<usize>
impl ShrAssign<i16> for Le<usize>
Source§fn shr_assign(&mut self, rhs: i16)
fn shr_assign(&mut self, rhs: i16)
>>=
operation. Read moreSource§impl ShrAssign<i32> for Le<i128>
impl ShrAssign<i32> for Le<i128>
Source§fn shr_assign(&mut self, rhs: i32)
fn shr_assign(&mut self, rhs: i32)
>>=
operation. Read moreSource§impl ShrAssign<i32> for Le<i16>
impl ShrAssign<i32> for Le<i16>
Source§fn shr_assign(&mut self, rhs: i32)
fn shr_assign(&mut self, rhs: i32)
>>=
operation. Read moreSource§impl ShrAssign<i32> for Le<i32>
impl ShrAssign<i32> for Le<i32>
Source§fn shr_assign(&mut self, rhs: i32)
fn shr_assign(&mut self, rhs: i32)
>>=
operation. Read moreSource§impl ShrAssign<i32> for Le<i64>
impl ShrAssign<i32> for Le<i64>
Source§fn shr_assign(&mut self, rhs: i32)
fn shr_assign(&mut self, rhs: i32)
>>=
operation. Read moreSource§impl ShrAssign<i32> for Le<i8>
impl ShrAssign<i32> for Le<i8>
Source§fn shr_assign(&mut self, rhs: i32)
fn shr_assign(&mut self, rhs: i32)
>>=
operation. Read moreSource§impl ShrAssign<i32> for Le<isize>
impl ShrAssign<i32> for Le<isize>
Source§fn shr_assign(&mut self, rhs: i32)
fn shr_assign(&mut self, rhs: i32)
>>=
operation. Read moreSource§impl ShrAssign<i32> for Le<u128>
impl ShrAssign<i32> for Le<u128>
Source§fn shr_assign(&mut self, rhs: i32)
fn shr_assign(&mut self, rhs: i32)
>>=
operation. Read moreSource§impl ShrAssign<i32> for Le<u16>
impl ShrAssign<i32> for Le<u16>
Source§fn shr_assign(&mut self, rhs: i32)
fn shr_assign(&mut self, rhs: i32)
>>=
operation. Read moreSource§impl ShrAssign<i32> for Le<u32>
impl ShrAssign<i32> for Le<u32>
Source§fn shr_assign(&mut self, rhs: i32)
fn shr_assign(&mut self, rhs: i32)
>>=
operation. Read moreSource§impl ShrAssign<i32> for Le<u64>
impl ShrAssign<i32> for Le<u64>
Source§fn shr_assign(&mut self, rhs: i32)
fn shr_assign(&mut self, rhs: i32)
>>=
operation. Read moreSource§impl ShrAssign<i32> for Le<u8>
impl ShrAssign<i32> for Le<u8>
Source§fn shr_assign(&mut self, rhs: i32)
fn shr_assign(&mut self, rhs: i32)
>>=
operation. Read moreSource§impl ShrAssign<i32> for Le<usize>
impl ShrAssign<i32> for Le<usize>
Source§fn shr_assign(&mut self, rhs: i32)
fn shr_assign(&mut self, rhs: i32)
>>=
operation. Read moreSource§impl ShrAssign<i64> for Le<i128>
impl ShrAssign<i64> for Le<i128>
Source§fn shr_assign(&mut self, rhs: i64)
fn shr_assign(&mut self, rhs: i64)
>>=
operation. Read moreSource§impl ShrAssign<i64> for Le<i16>
impl ShrAssign<i64> for Le<i16>
Source§fn shr_assign(&mut self, rhs: i64)
fn shr_assign(&mut self, rhs: i64)
>>=
operation. Read moreSource§impl ShrAssign<i64> for Le<i32>
impl ShrAssign<i64> for Le<i32>
Source§fn shr_assign(&mut self, rhs: i64)
fn shr_assign(&mut self, rhs: i64)
>>=
operation. Read moreSource§impl ShrAssign<i64> for Le<i64>
impl ShrAssign<i64> for Le<i64>
Source§fn shr_assign(&mut self, rhs: i64)
fn shr_assign(&mut self, rhs: i64)
>>=
operation. Read moreSource§impl ShrAssign<i64> for Le<i8>
impl ShrAssign<i64> for Le<i8>
Source§fn shr_assign(&mut self, rhs: i64)
fn shr_assign(&mut self, rhs: i64)
>>=
operation. Read moreSource§impl ShrAssign<i64> for Le<isize>
impl ShrAssign<i64> for Le<isize>
Source§fn shr_assign(&mut self, rhs: i64)
fn shr_assign(&mut self, rhs: i64)
>>=
operation. Read moreSource§impl ShrAssign<i64> for Le<u128>
impl ShrAssign<i64> for Le<u128>
Source§fn shr_assign(&mut self, rhs: i64)
fn shr_assign(&mut self, rhs: i64)
>>=
operation. Read moreSource§impl ShrAssign<i64> for Le<u16>
impl ShrAssign<i64> for Le<u16>
Source§fn shr_assign(&mut self, rhs: i64)
fn shr_assign(&mut self, rhs: i64)
>>=
operation. Read moreSource§impl ShrAssign<i64> for Le<u32>
impl ShrAssign<i64> for Le<u32>
Source§fn shr_assign(&mut self, rhs: i64)
fn shr_assign(&mut self, rhs: i64)
>>=
operation. Read moreSource§impl ShrAssign<i64> for Le<u64>
impl ShrAssign<i64> for Le<u64>
Source§fn shr_assign(&mut self, rhs: i64)
fn shr_assign(&mut self, rhs: i64)
>>=
operation. Read moreSource§impl ShrAssign<i64> for Le<u8>
impl ShrAssign<i64> for Le<u8>
Source§fn shr_assign(&mut self, rhs: i64)
fn shr_assign(&mut self, rhs: i64)
>>=
operation. Read moreSource§impl ShrAssign<i64> for Le<usize>
impl ShrAssign<i64> for Le<usize>
Source§fn shr_assign(&mut self, rhs: i64)
fn shr_assign(&mut self, rhs: i64)
>>=
operation. Read moreSource§impl ShrAssign<i8> for Le<i128>
impl ShrAssign<i8> for Le<i128>
Source§fn shr_assign(&mut self, rhs: i8)
fn shr_assign(&mut self, rhs: i8)
>>=
operation. Read moreSource§impl ShrAssign<i8> for Le<i16>
impl ShrAssign<i8> for Le<i16>
Source§fn shr_assign(&mut self, rhs: i8)
fn shr_assign(&mut self, rhs: i8)
>>=
operation. Read moreSource§impl ShrAssign<i8> for Le<i32>
impl ShrAssign<i8> for Le<i32>
Source§fn shr_assign(&mut self, rhs: i8)
fn shr_assign(&mut self, rhs: i8)
>>=
operation. Read moreSource§impl ShrAssign<i8> for Le<i64>
impl ShrAssign<i8> for Le<i64>
Source§fn shr_assign(&mut self, rhs: i8)
fn shr_assign(&mut self, rhs: i8)
>>=
operation. Read moreSource§impl ShrAssign<i8> for Le<i8>
impl ShrAssign<i8> for Le<i8>
Source§fn shr_assign(&mut self, rhs: i8)
fn shr_assign(&mut self, rhs: i8)
>>=
operation. Read moreSource§impl ShrAssign<i8> for Le<isize>
impl ShrAssign<i8> for Le<isize>
Source§fn shr_assign(&mut self, rhs: i8)
fn shr_assign(&mut self, rhs: i8)
>>=
operation. Read moreSource§impl ShrAssign<i8> for Le<u128>
impl ShrAssign<i8> for Le<u128>
Source§fn shr_assign(&mut self, rhs: i8)
fn shr_assign(&mut self, rhs: i8)
>>=
operation. Read moreSource§impl ShrAssign<i8> for Le<u16>
impl ShrAssign<i8> for Le<u16>
Source§fn shr_assign(&mut self, rhs: i8)
fn shr_assign(&mut self, rhs: i8)
>>=
operation. Read moreSource§impl ShrAssign<i8> for Le<u32>
impl ShrAssign<i8> for Le<u32>
Source§fn shr_assign(&mut self, rhs: i8)
fn shr_assign(&mut self, rhs: i8)
>>=
operation. Read moreSource§impl ShrAssign<i8> for Le<u64>
impl ShrAssign<i8> for Le<u64>
Source§fn shr_assign(&mut self, rhs: i8)
fn shr_assign(&mut self, rhs: i8)
>>=
operation. Read moreSource§impl ShrAssign<i8> for Le<u8>
impl ShrAssign<i8> for Le<u8>
Source§fn shr_assign(&mut self, rhs: i8)
fn shr_assign(&mut self, rhs: i8)
>>=
operation. Read moreSource§impl ShrAssign<i8> for Le<usize>
impl ShrAssign<i8> for Le<usize>
Source§fn shr_assign(&mut self, rhs: i8)
fn shr_assign(&mut self, rhs: i8)
>>=
operation. Read moreSource§impl ShrAssign<isize> for Le<i128>
impl ShrAssign<isize> for Le<i128>
Source§fn shr_assign(&mut self, rhs: isize)
fn shr_assign(&mut self, rhs: isize)
>>=
operation. Read moreSource§impl ShrAssign<isize> for Le<i16>
impl ShrAssign<isize> for Le<i16>
Source§fn shr_assign(&mut self, rhs: isize)
fn shr_assign(&mut self, rhs: isize)
>>=
operation. Read moreSource§impl ShrAssign<isize> for Le<i32>
impl ShrAssign<isize> for Le<i32>
Source§fn shr_assign(&mut self, rhs: isize)
fn shr_assign(&mut self, rhs: isize)
>>=
operation. Read moreSource§impl ShrAssign<isize> for Le<i64>
impl ShrAssign<isize> for Le<i64>
Source§fn shr_assign(&mut self, rhs: isize)
fn shr_assign(&mut self, rhs: isize)
>>=
operation. Read moreSource§impl ShrAssign<isize> for Le<i8>
impl ShrAssign<isize> for Le<i8>
Source§fn shr_assign(&mut self, rhs: isize)
fn shr_assign(&mut self, rhs: isize)
>>=
operation. Read moreSource§impl ShrAssign<isize> for Le<isize>
impl ShrAssign<isize> for Le<isize>
Source§fn shr_assign(&mut self, rhs: isize)
fn shr_assign(&mut self, rhs: isize)
>>=
operation. Read moreSource§impl ShrAssign<isize> for Le<u128>
impl ShrAssign<isize> for Le<u128>
Source§fn shr_assign(&mut self, rhs: isize)
fn shr_assign(&mut self, rhs: isize)
>>=
operation. Read moreSource§impl ShrAssign<isize> for Le<u16>
impl ShrAssign<isize> for Le<u16>
Source§fn shr_assign(&mut self, rhs: isize)
fn shr_assign(&mut self, rhs: isize)
>>=
operation. Read moreSource§impl ShrAssign<isize> for Le<u32>
impl ShrAssign<isize> for Le<u32>
Source§fn shr_assign(&mut self, rhs: isize)
fn shr_assign(&mut self, rhs: isize)
>>=
operation. Read moreSource§impl ShrAssign<isize> for Le<u64>
impl ShrAssign<isize> for Le<u64>
Source§fn shr_assign(&mut self, rhs: isize)
fn shr_assign(&mut self, rhs: isize)
>>=
operation. Read moreSource§impl ShrAssign<isize> for Le<u8>
impl ShrAssign<isize> for Le<u8>
Source§fn shr_assign(&mut self, rhs: isize)
fn shr_assign(&mut self, rhs: isize)
>>=
operation. Read moreSource§impl ShrAssign<isize> for Le<usize>
impl ShrAssign<isize> for Le<usize>
Source§fn shr_assign(&mut self, rhs: isize)
fn shr_assign(&mut self, rhs: isize)
>>=
operation. Read moreSource§impl ShrAssign<u128> for Le<i128>
impl ShrAssign<u128> for Le<i128>
Source§fn shr_assign(&mut self, rhs: u128)
fn shr_assign(&mut self, rhs: u128)
>>=
operation. Read moreSource§impl ShrAssign<u128> for Le<i16>
impl ShrAssign<u128> for Le<i16>
Source§fn shr_assign(&mut self, rhs: u128)
fn shr_assign(&mut self, rhs: u128)
>>=
operation. Read moreSource§impl ShrAssign<u128> for Le<i32>
impl ShrAssign<u128> for Le<i32>
Source§fn shr_assign(&mut self, rhs: u128)
fn shr_assign(&mut self, rhs: u128)
>>=
operation. Read moreSource§impl ShrAssign<u128> for Le<i64>
impl ShrAssign<u128> for Le<i64>
Source§fn shr_assign(&mut self, rhs: u128)
fn shr_assign(&mut self, rhs: u128)
>>=
operation. Read moreSource§impl ShrAssign<u128> for Le<i8>
impl ShrAssign<u128> for Le<i8>
Source§fn shr_assign(&mut self, rhs: u128)
fn shr_assign(&mut self, rhs: u128)
>>=
operation. Read moreSource§impl ShrAssign<u128> for Le<isize>
impl ShrAssign<u128> for Le<isize>
Source§fn shr_assign(&mut self, rhs: u128)
fn shr_assign(&mut self, rhs: u128)
>>=
operation. Read moreSource§impl ShrAssign<u128> for Le<u128>
impl ShrAssign<u128> for Le<u128>
Source§fn shr_assign(&mut self, rhs: u128)
fn shr_assign(&mut self, rhs: u128)
>>=
operation. Read moreSource§impl ShrAssign<u128> for Le<u16>
impl ShrAssign<u128> for Le<u16>
Source§fn shr_assign(&mut self, rhs: u128)
fn shr_assign(&mut self, rhs: u128)
>>=
operation. Read moreSource§impl ShrAssign<u128> for Le<u32>
impl ShrAssign<u128> for Le<u32>
Source§fn shr_assign(&mut self, rhs: u128)
fn shr_assign(&mut self, rhs: u128)
>>=
operation. Read moreSource§impl ShrAssign<u128> for Le<u64>
impl ShrAssign<u128> for Le<u64>
Source§fn shr_assign(&mut self, rhs: u128)
fn shr_assign(&mut self, rhs: u128)
>>=
operation. Read moreSource§impl ShrAssign<u128> for Le<u8>
impl ShrAssign<u128> for Le<u8>
Source§fn shr_assign(&mut self, rhs: u128)
fn shr_assign(&mut self, rhs: u128)
>>=
operation. Read moreSource§impl ShrAssign<u128> for Le<usize>
impl ShrAssign<u128> for Le<usize>
Source§fn shr_assign(&mut self, rhs: u128)
fn shr_assign(&mut self, rhs: u128)
>>=
operation. Read moreSource§impl ShrAssign<u16> for Le<i128>
impl ShrAssign<u16> for Le<i128>
Source§fn shr_assign(&mut self, rhs: u16)
fn shr_assign(&mut self, rhs: u16)
>>=
operation. Read moreSource§impl ShrAssign<u16> for Le<i16>
impl ShrAssign<u16> for Le<i16>
Source§fn shr_assign(&mut self, rhs: u16)
fn shr_assign(&mut self, rhs: u16)
>>=
operation. Read moreSource§impl ShrAssign<u16> for Le<i32>
impl ShrAssign<u16> for Le<i32>
Source§fn shr_assign(&mut self, rhs: u16)
fn shr_assign(&mut self, rhs: u16)
>>=
operation. Read moreSource§impl ShrAssign<u16> for Le<i64>
impl ShrAssign<u16> for Le<i64>
Source§fn shr_assign(&mut self, rhs: u16)
fn shr_assign(&mut self, rhs: u16)
>>=
operation. Read moreSource§impl ShrAssign<u16> for Le<i8>
impl ShrAssign<u16> for Le<i8>
Source§fn shr_assign(&mut self, rhs: u16)
fn shr_assign(&mut self, rhs: u16)
>>=
operation. Read moreSource§impl ShrAssign<u16> for Le<isize>
impl ShrAssign<u16> for Le<isize>
Source§fn shr_assign(&mut self, rhs: u16)
fn shr_assign(&mut self, rhs: u16)
>>=
operation. Read moreSource§impl ShrAssign<u16> for Le<u128>
impl ShrAssign<u16> for Le<u128>
Source§fn shr_assign(&mut self, rhs: u16)
fn shr_assign(&mut self, rhs: u16)
>>=
operation. Read moreSource§impl ShrAssign<u16> for Le<u16>
impl ShrAssign<u16> for Le<u16>
Source§fn shr_assign(&mut self, rhs: u16)
fn shr_assign(&mut self, rhs: u16)
>>=
operation. Read moreSource§impl ShrAssign<u16> for Le<u32>
impl ShrAssign<u16> for Le<u32>
Source§fn shr_assign(&mut self, rhs: u16)
fn shr_assign(&mut self, rhs: u16)
>>=
operation. Read moreSource§impl ShrAssign<u16> for Le<u64>
impl ShrAssign<u16> for Le<u64>
Source§fn shr_assign(&mut self, rhs: u16)
fn shr_assign(&mut self, rhs: u16)
>>=
operation. Read moreSource§impl ShrAssign<u16> for Le<u8>
impl ShrAssign<u16> for Le<u8>
Source§fn shr_assign(&mut self, rhs: u16)
fn shr_assign(&mut self, rhs: u16)
>>=
operation. Read moreSource§impl ShrAssign<u16> for Le<usize>
impl ShrAssign<u16> for Le<usize>
Source§fn shr_assign(&mut self, rhs: u16)
fn shr_assign(&mut self, rhs: u16)
>>=
operation. Read moreSource§impl ShrAssign<u32> for Le<i128>
impl ShrAssign<u32> for Le<i128>
Source§fn shr_assign(&mut self, rhs: u32)
fn shr_assign(&mut self, rhs: u32)
>>=
operation. Read moreSource§impl ShrAssign<u32> for Le<i16>
impl ShrAssign<u32> for Le<i16>
Source§fn shr_assign(&mut self, rhs: u32)
fn shr_assign(&mut self, rhs: u32)
>>=
operation. Read moreSource§impl ShrAssign<u32> for Le<i32>
impl ShrAssign<u32> for Le<i32>
Source§fn shr_assign(&mut self, rhs: u32)
fn shr_assign(&mut self, rhs: u32)
>>=
operation. Read moreSource§impl ShrAssign<u32> for Le<i64>
impl ShrAssign<u32> for Le<i64>
Source§fn shr_assign(&mut self, rhs: u32)
fn shr_assign(&mut self, rhs: u32)
>>=
operation. Read moreSource§impl ShrAssign<u32> for Le<i8>
impl ShrAssign<u32> for Le<i8>
Source§fn shr_assign(&mut self, rhs: u32)
fn shr_assign(&mut self, rhs: u32)
>>=
operation. Read moreSource§impl ShrAssign<u32> for Le<isize>
impl ShrAssign<u32> for Le<isize>
Source§fn shr_assign(&mut self, rhs: u32)
fn shr_assign(&mut self, rhs: u32)
>>=
operation. Read moreSource§impl ShrAssign<u32> for Le<u128>
impl ShrAssign<u32> for Le<u128>
Source§fn shr_assign(&mut self, rhs: u32)
fn shr_assign(&mut self, rhs: u32)
>>=
operation. Read moreSource§impl ShrAssign<u32> for Le<u16>
impl ShrAssign<u32> for Le<u16>
Source§fn shr_assign(&mut self, rhs: u32)
fn shr_assign(&mut self, rhs: u32)
>>=
operation. Read moreSource§impl ShrAssign<u32> for Le<u32>
impl ShrAssign<u32> for Le<u32>
Source§fn shr_assign(&mut self, rhs: u32)
fn shr_assign(&mut self, rhs: u32)
>>=
operation. Read moreSource§impl ShrAssign<u32> for Le<u64>
impl ShrAssign<u32> for Le<u64>
Source§fn shr_assign(&mut self, rhs: u32)
fn shr_assign(&mut self, rhs: u32)
>>=
operation. Read moreSource§impl ShrAssign<u32> for Le<u8>
impl ShrAssign<u32> for Le<u8>
Source§fn shr_assign(&mut self, rhs: u32)
fn shr_assign(&mut self, rhs: u32)
>>=
operation. Read moreSource§impl ShrAssign<u32> for Le<usize>
impl ShrAssign<u32> for Le<usize>
Source§fn shr_assign(&mut self, rhs: u32)
fn shr_assign(&mut self, rhs: u32)
>>=
operation. Read moreSource§impl ShrAssign<u64> for Le<i128>
impl ShrAssign<u64> for Le<i128>
Source§fn shr_assign(&mut self, rhs: u64)
fn shr_assign(&mut self, rhs: u64)
>>=
operation. Read moreSource§impl ShrAssign<u64> for Le<i16>
impl ShrAssign<u64> for Le<i16>
Source§fn shr_assign(&mut self, rhs: u64)
fn shr_assign(&mut self, rhs: u64)
>>=
operation. Read moreSource§impl ShrAssign<u64> for Le<i32>
impl ShrAssign<u64> for Le<i32>
Source§fn shr_assign(&mut self, rhs: u64)
fn shr_assign(&mut self, rhs: u64)
>>=
operation. Read moreSource§impl ShrAssign<u64> for Le<i64>
impl ShrAssign<u64> for Le<i64>
Source§fn shr_assign(&mut self, rhs: u64)
fn shr_assign(&mut self, rhs: u64)
>>=
operation. Read moreSource§impl ShrAssign<u64> for Le<i8>
impl ShrAssign<u64> for Le<i8>
Source§fn shr_assign(&mut self, rhs: u64)
fn shr_assign(&mut self, rhs: u64)
>>=
operation. Read moreSource§impl ShrAssign<u64> for Le<isize>
impl ShrAssign<u64> for Le<isize>
Source§fn shr_assign(&mut self, rhs: u64)
fn shr_assign(&mut self, rhs: u64)
>>=
operation. Read moreSource§impl ShrAssign<u64> for Le<u128>
impl ShrAssign<u64> for Le<u128>
Source§fn shr_assign(&mut self, rhs: u64)
fn shr_assign(&mut self, rhs: u64)
>>=
operation. Read moreSource§impl ShrAssign<u64> for Le<u16>
impl ShrAssign<u64> for Le<u16>
Source§fn shr_assign(&mut self, rhs: u64)
fn shr_assign(&mut self, rhs: u64)
>>=
operation. Read moreSource§impl ShrAssign<u64> for Le<u32>
impl ShrAssign<u64> for Le<u32>
Source§fn shr_assign(&mut self, rhs: u64)
fn shr_assign(&mut self, rhs: u64)
>>=
operation. Read moreSource§impl ShrAssign<u64> for Le<u64>
impl ShrAssign<u64> for Le<u64>
Source§fn shr_assign(&mut self, rhs: u64)
fn shr_assign(&mut self, rhs: u64)
>>=
operation. Read moreSource§impl ShrAssign<u64> for Le<u8>
impl ShrAssign<u64> for Le<u8>
Source§fn shr_assign(&mut self, rhs: u64)
fn shr_assign(&mut self, rhs: u64)
>>=
operation. Read moreSource§impl ShrAssign<u64> for Le<usize>
impl ShrAssign<u64> for Le<usize>
Source§fn shr_assign(&mut self, rhs: u64)
fn shr_assign(&mut self, rhs: u64)
>>=
operation. Read moreSource§impl ShrAssign<u8> for Le<i128>
impl ShrAssign<u8> for Le<i128>
Source§fn shr_assign(&mut self, rhs: u8)
fn shr_assign(&mut self, rhs: u8)
>>=
operation. Read moreSource§impl ShrAssign<u8> for Le<i16>
impl ShrAssign<u8> for Le<i16>
Source§fn shr_assign(&mut self, rhs: u8)
fn shr_assign(&mut self, rhs: u8)
>>=
operation. Read moreSource§impl ShrAssign<u8> for Le<i32>
impl ShrAssign<u8> for Le<i32>
Source§fn shr_assign(&mut self, rhs: u8)
fn shr_assign(&mut self, rhs: u8)
>>=
operation. Read moreSource§impl ShrAssign<u8> for Le<i64>
impl ShrAssign<u8> for Le<i64>
Source§fn shr_assign(&mut self, rhs: u8)
fn shr_assign(&mut self, rhs: u8)
>>=
operation. Read moreSource§impl ShrAssign<u8> for Le<i8>
impl ShrAssign<u8> for Le<i8>
Source§fn shr_assign(&mut self, rhs: u8)
fn shr_assign(&mut self, rhs: u8)
>>=
operation. Read moreSource§impl ShrAssign<u8> for Le<isize>
impl ShrAssign<u8> for Le<isize>
Source§fn shr_assign(&mut self, rhs: u8)
fn shr_assign(&mut self, rhs: u8)
>>=
operation. Read moreSource§impl ShrAssign<u8> for Le<u128>
impl ShrAssign<u8> for Le<u128>
Source§fn shr_assign(&mut self, rhs: u8)
fn shr_assign(&mut self, rhs: u8)
>>=
operation. Read moreSource§impl ShrAssign<u8> for Le<u16>
impl ShrAssign<u8> for Le<u16>
Source§fn shr_assign(&mut self, rhs: u8)
fn shr_assign(&mut self, rhs: u8)
>>=
operation. Read moreSource§impl ShrAssign<u8> for Le<u32>
impl ShrAssign<u8> for Le<u32>
Source§fn shr_assign(&mut self, rhs: u8)
fn shr_assign(&mut self, rhs: u8)
>>=
operation. Read moreSource§impl ShrAssign<u8> for Le<u64>
impl ShrAssign<u8> for Le<u64>
Source§fn shr_assign(&mut self, rhs: u8)
fn shr_assign(&mut self, rhs: u8)
>>=
operation. Read moreSource§impl ShrAssign<u8> for Le<u8>
impl ShrAssign<u8> for Le<u8>
Source§fn shr_assign(&mut self, rhs: u8)
fn shr_assign(&mut self, rhs: u8)
>>=
operation. Read moreSource§impl ShrAssign<u8> for Le<usize>
impl ShrAssign<u8> for Le<usize>
Source§fn shr_assign(&mut self, rhs: u8)
fn shr_assign(&mut self, rhs: u8)
>>=
operation. Read moreSource§impl ShrAssign<usize> for Le<i128>
impl ShrAssign<usize> for Le<i128>
Source§fn shr_assign(&mut self, rhs: usize)
fn shr_assign(&mut self, rhs: usize)
>>=
operation. Read moreSource§impl ShrAssign<usize> for Le<i16>
impl ShrAssign<usize> for Le<i16>
Source§fn shr_assign(&mut self, rhs: usize)
fn shr_assign(&mut self, rhs: usize)
>>=
operation. Read moreSource§impl ShrAssign<usize> for Le<i32>
impl ShrAssign<usize> for Le<i32>
Source§fn shr_assign(&mut self, rhs: usize)
fn shr_assign(&mut self, rhs: usize)
>>=
operation. Read moreSource§impl ShrAssign<usize> for Le<i64>
impl ShrAssign<usize> for Le<i64>
Source§fn shr_assign(&mut self, rhs: usize)
fn shr_assign(&mut self, rhs: usize)
>>=
operation. Read moreSource§impl ShrAssign<usize> for Le<i8>
impl ShrAssign<usize> for Le<i8>
Source§fn shr_assign(&mut self, rhs: usize)
fn shr_assign(&mut self, rhs: usize)
>>=
operation. Read moreSource§impl ShrAssign<usize> for Le<isize>
impl ShrAssign<usize> for Le<isize>
Source§fn shr_assign(&mut self, rhs: usize)
fn shr_assign(&mut self, rhs: usize)
>>=
operation. Read moreSource§impl ShrAssign<usize> for Le<u128>
impl ShrAssign<usize> for Le<u128>
Source§fn shr_assign(&mut self, rhs: usize)
fn shr_assign(&mut self, rhs: usize)
>>=
operation. Read moreSource§impl ShrAssign<usize> for Le<u16>
impl ShrAssign<usize> for Le<u16>
Source§fn shr_assign(&mut self, rhs: usize)
fn shr_assign(&mut self, rhs: usize)
>>=
operation. Read moreSource§impl ShrAssign<usize> for Le<u32>
impl ShrAssign<usize> for Le<u32>
Source§fn shr_assign(&mut self, rhs: usize)
fn shr_assign(&mut self, rhs: usize)
>>=
operation. Read moreSource§impl ShrAssign<usize> for Le<u64>
impl ShrAssign<usize> for Le<u64>
Source§fn shr_assign(&mut self, rhs: usize)
fn shr_assign(&mut self, rhs: usize)
>>=
operation. Read moreSource§impl ShrAssign<usize> for Le<u8>
impl ShrAssign<usize> for Le<u8>
Source§fn shr_assign(&mut self, rhs: usize)
fn shr_assign(&mut self, rhs: usize)
>>=
operation. Read moreSource§impl ShrAssign<usize> for Le<usize>
impl ShrAssign<usize> for Le<usize>
Source§fn shr_assign(&mut self, rhs: usize)
fn shr_assign(&mut self, rhs: usize)
>>=
operation. Read moreSource§impl TryFrom<Le<i128>> for Le<i16>
impl TryFrom<Le<i128>> for Le<i16>
Source§fn try_from(
u: Le<i128>,
) -> Result<Le<i16>, <Le<i16> as TryFrom<Le<i128>>>::Error>
fn try_from( u: Le<i128>, ) -> Result<Le<i16>, <Le<i16> as TryFrom<Le<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<Le<i128>> for Le<i32>
impl TryFrom<Le<i128>> for Le<i32>
Source§fn try_from(
u: Le<i128>,
) -> Result<Le<i32>, <Le<i32> as TryFrom<Le<i128>>>::Error>
fn try_from( u: Le<i128>, ) -> Result<Le<i32>, <Le<i32> as TryFrom<Le<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<Le<i128>> for Le<i64>
impl TryFrom<Le<i128>> for Le<i64>
Source§fn try_from(
u: Le<i128>,
) -> Result<Le<i64>, <Le<i64> as TryFrom<Le<i128>>>::Error>
fn try_from( u: Le<i128>, ) -> Result<Le<i64>, <Le<i64> as TryFrom<Le<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<Le<i128>> for Le<i8>
impl TryFrom<Le<i128>> for Le<i8>
Source§fn try_from(u: Le<i128>) -> Result<Le<i8>, <Le<i8> as TryFrom<Le<i128>>>::Error>
fn try_from(u: Le<i128>) -> Result<Le<i8>, <Le<i8> as TryFrom<Le<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<Le<i128>> for Le<u128>
impl TryFrom<Le<i128>> for Le<u128>
Source§fn try_from(
u: Le<i128>,
) -> Result<Le<u128>, <Le<u128> as TryFrom<Le<i128>>>::Error>
fn try_from( u: Le<i128>, ) -> Result<Le<u128>, <Le<u128> as TryFrom<Le<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<Le<i128>> for Le<u16>
impl TryFrom<Le<i128>> for Le<u16>
Source§fn try_from(
u: Le<i128>,
) -> Result<Le<u16>, <Le<u16> as TryFrom<Le<i128>>>::Error>
fn try_from( u: Le<i128>, ) -> Result<Le<u16>, <Le<u16> as TryFrom<Le<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<Le<i128>> for Le<u32>
impl TryFrom<Le<i128>> for Le<u32>
Source§fn try_from(
u: Le<i128>,
) -> Result<Le<u32>, <Le<u32> as TryFrom<Le<i128>>>::Error>
fn try_from( u: Le<i128>, ) -> Result<Le<u32>, <Le<u32> as TryFrom<Le<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<Le<i128>> for Le<u64>
impl TryFrom<Le<i128>> for Le<u64>
Source§fn try_from(
u: Le<i128>,
) -> Result<Le<u64>, <Le<u64> as TryFrom<Le<i128>>>::Error>
fn try_from( u: Le<i128>, ) -> Result<Le<u64>, <Le<u64> as TryFrom<Le<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<Le<i128>> for Le<u8>
impl TryFrom<Le<i128>> for Le<u8>
Source§fn try_from(u: Le<i128>) -> Result<Le<u8>, <Le<u8> as TryFrom<Le<i128>>>::Error>
fn try_from(u: Le<i128>) -> Result<Le<u8>, <Le<u8> as TryFrom<Le<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<Le<i16>> for Le<i8>
impl TryFrom<Le<i16>> for Le<i8>
Source§fn try_from(u: Le<i16>) -> Result<Le<i8>, <Le<i8> as TryFrom<Le<i16>>>::Error>
fn try_from(u: Le<i16>) -> Result<Le<i8>, <Le<i8> as TryFrom<Le<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<Le<i16>> for Le<u128>
impl TryFrom<Le<i16>> for Le<u128>
Source§fn try_from(
u: Le<i16>,
) -> Result<Le<u128>, <Le<u128> as TryFrom<Le<i16>>>::Error>
fn try_from( u: Le<i16>, ) -> Result<Le<u128>, <Le<u128> as TryFrom<Le<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<Le<i16>> for Le<u16>
impl TryFrom<Le<i16>> for Le<u16>
Source§fn try_from(u: Le<i16>) -> Result<Le<u16>, <Le<u16> as TryFrom<Le<i16>>>::Error>
fn try_from(u: Le<i16>) -> Result<Le<u16>, <Le<u16> as TryFrom<Le<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<Le<i16>> for Le<u32>
impl TryFrom<Le<i16>> for Le<u32>
Source§fn try_from(u: Le<i16>) -> Result<Le<u32>, <Le<u32> as TryFrom<Le<i16>>>::Error>
fn try_from(u: Le<i16>) -> Result<Le<u32>, <Le<u32> as TryFrom<Le<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<Le<i16>> for Le<u64>
impl TryFrom<Le<i16>> for Le<u64>
Source§fn try_from(u: Le<i16>) -> Result<Le<u64>, <Le<u64> as TryFrom<Le<i16>>>::Error>
fn try_from(u: Le<i16>) -> Result<Le<u64>, <Le<u64> as TryFrom<Le<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<Le<i16>> for Le<u8>
impl TryFrom<Le<i16>> for Le<u8>
Source§fn try_from(u: Le<i16>) -> Result<Le<u8>, <Le<u8> as TryFrom<Le<i16>>>::Error>
fn try_from(u: Le<i16>) -> Result<Le<u8>, <Le<u8> as TryFrom<Le<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<Le<i32>> for Le<i16>
impl TryFrom<Le<i32>> for Le<i16>
Source§fn try_from(u: Le<i32>) -> Result<Le<i16>, <Le<i16> as TryFrom<Le<i32>>>::Error>
fn try_from(u: Le<i32>) -> Result<Le<i16>, <Le<i16> as TryFrom<Le<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<Le<i32>> for Le<i8>
impl TryFrom<Le<i32>> for Le<i8>
Source§fn try_from(u: Le<i32>) -> Result<Le<i8>, <Le<i8> as TryFrom<Le<i32>>>::Error>
fn try_from(u: Le<i32>) -> Result<Le<i8>, <Le<i8> as TryFrom<Le<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<Le<i32>> for Le<u128>
impl TryFrom<Le<i32>> for Le<u128>
Source§fn try_from(
u: Le<i32>,
) -> Result<Le<u128>, <Le<u128> as TryFrom<Le<i32>>>::Error>
fn try_from( u: Le<i32>, ) -> Result<Le<u128>, <Le<u128> as TryFrom<Le<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<Le<i32>> for Le<u16>
impl TryFrom<Le<i32>> for Le<u16>
Source§fn try_from(u: Le<i32>) -> Result<Le<u16>, <Le<u16> as TryFrom<Le<i32>>>::Error>
fn try_from(u: Le<i32>) -> Result<Le<u16>, <Le<u16> as TryFrom<Le<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<Le<i32>> for Le<u32>
impl TryFrom<Le<i32>> for Le<u32>
Source§fn try_from(u: Le<i32>) -> Result<Le<u32>, <Le<u32> as TryFrom<Le<i32>>>::Error>
fn try_from(u: Le<i32>) -> Result<Le<u32>, <Le<u32> as TryFrom<Le<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<Le<i32>> for Le<u64>
impl TryFrom<Le<i32>> for Le<u64>
Source§fn try_from(u: Le<i32>) -> Result<Le<u64>, <Le<u64> as TryFrom<Le<i32>>>::Error>
fn try_from(u: Le<i32>) -> Result<Le<u64>, <Le<u64> as TryFrom<Le<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<Le<i32>> for Le<u8>
impl TryFrom<Le<i32>> for Le<u8>
Source§fn try_from(u: Le<i32>) -> Result<Le<u8>, <Le<u8> as TryFrom<Le<i32>>>::Error>
fn try_from(u: Le<i32>) -> Result<Le<u8>, <Le<u8> as TryFrom<Le<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<Le<i64>> for Le<i16>
impl TryFrom<Le<i64>> for Le<i16>
Source§fn try_from(u: Le<i64>) -> Result<Le<i16>, <Le<i16> as TryFrom<Le<i64>>>::Error>
fn try_from(u: Le<i64>) -> Result<Le<i16>, <Le<i16> as TryFrom<Le<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<Le<i64>> for Le<i32>
impl TryFrom<Le<i64>> for Le<i32>
Source§fn try_from(u: Le<i64>) -> Result<Le<i32>, <Le<i32> as TryFrom<Le<i64>>>::Error>
fn try_from(u: Le<i64>) -> Result<Le<i32>, <Le<i32> as TryFrom<Le<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<Le<i64>> for Le<i8>
impl TryFrom<Le<i64>> for Le<i8>
Source§fn try_from(u: Le<i64>) -> Result<Le<i8>, <Le<i8> as TryFrom<Le<i64>>>::Error>
fn try_from(u: Le<i64>) -> Result<Le<i8>, <Le<i8> as TryFrom<Le<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<Le<i64>> for Le<u128>
impl TryFrom<Le<i64>> for Le<u128>
Source§fn try_from(
u: Le<i64>,
) -> Result<Le<u128>, <Le<u128> as TryFrom<Le<i64>>>::Error>
fn try_from( u: Le<i64>, ) -> Result<Le<u128>, <Le<u128> as TryFrom<Le<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<Le<i64>> for Le<u16>
impl TryFrom<Le<i64>> for Le<u16>
Source§fn try_from(u: Le<i64>) -> Result<Le<u16>, <Le<u16> as TryFrom<Le<i64>>>::Error>
fn try_from(u: Le<i64>) -> Result<Le<u16>, <Le<u16> as TryFrom<Le<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<Le<i64>> for Le<u32>
impl TryFrom<Le<i64>> for Le<u32>
Source§fn try_from(u: Le<i64>) -> Result<Le<u32>, <Le<u32> as TryFrom<Le<i64>>>::Error>
fn try_from(u: Le<i64>) -> Result<Le<u32>, <Le<u32> as TryFrom<Le<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<Le<i64>> for Le<u64>
impl TryFrom<Le<i64>> for Le<u64>
Source§fn try_from(u: Le<i64>) -> Result<Le<u64>, <Le<u64> as TryFrom<Le<i64>>>::Error>
fn try_from(u: Le<i64>) -> Result<Le<u64>, <Le<u64> as TryFrom<Le<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<Le<i64>> for Le<u8>
impl TryFrom<Le<i64>> for Le<u8>
Source§fn try_from(u: Le<i64>) -> Result<Le<u8>, <Le<u8> as TryFrom<Le<i64>>>::Error>
fn try_from(u: Le<i64>) -> Result<Le<u8>, <Le<u8> as TryFrom<Le<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<Le<i8>> for Le<u128>
impl TryFrom<Le<i8>> for Le<u128>
Source§fn try_from(u: Le<i8>) -> Result<Le<u128>, <Le<u128> as TryFrom<Le<i8>>>::Error>
fn try_from(u: Le<i8>) -> Result<Le<u128>, <Le<u128> as TryFrom<Le<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<Le<i8>> for Le<u16>
impl TryFrom<Le<i8>> for Le<u16>
Source§fn try_from(u: Le<i8>) -> Result<Le<u16>, <Le<u16> as TryFrom<Le<i8>>>::Error>
fn try_from(u: Le<i8>) -> Result<Le<u16>, <Le<u16> as TryFrom<Le<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<Le<i8>> for Le<u32>
impl TryFrom<Le<i8>> for Le<u32>
Source§fn try_from(u: Le<i8>) -> Result<Le<u32>, <Le<u32> as TryFrom<Le<i8>>>::Error>
fn try_from(u: Le<i8>) -> Result<Le<u32>, <Le<u32> as TryFrom<Le<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<Le<i8>> for Le<u64>
impl TryFrom<Le<i8>> for Le<u64>
Source§fn try_from(u: Le<i8>) -> Result<Le<u64>, <Le<u64> as TryFrom<Le<i8>>>::Error>
fn try_from(u: Le<i8>) -> Result<Le<u64>, <Le<u64> as TryFrom<Le<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<Le<i8>> for Le<u8>
impl TryFrom<Le<i8>> for Le<u8>
Source§fn try_from(u: Le<i8>) -> Result<Le<u8>, <Le<u8> as TryFrom<Le<i8>>>::Error>
fn try_from(u: Le<i8>) -> Result<Le<u8>, <Le<u8> as TryFrom<Le<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<Le<isize>> for Le<usize>
impl TryFrom<Le<isize>> for Le<usize>
Source§fn try_from(
u: Le<isize>,
) -> Result<Le<usize>, <Le<usize> as TryFrom<Le<isize>>>::Error>
fn try_from( u: Le<isize>, ) -> Result<Le<usize>, <Le<usize> as TryFrom<Le<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<Le<u128>> for Le<i128>
impl TryFrom<Le<u128>> for Le<i128>
Source§fn try_from(
u: Le<u128>,
) -> Result<Le<i128>, <Le<i128> as TryFrom<Le<u128>>>::Error>
fn try_from( u: Le<u128>, ) -> Result<Le<i128>, <Le<i128> as TryFrom<Le<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<Le<u128>> for Le<i16>
impl TryFrom<Le<u128>> for Le<i16>
Source§fn try_from(
u: Le<u128>,
) -> Result<Le<i16>, <Le<i16> as TryFrom<Le<u128>>>::Error>
fn try_from( u: Le<u128>, ) -> Result<Le<i16>, <Le<i16> as TryFrom<Le<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<Le<u128>> for Le<i32>
impl TryFrom<Le<u128>> for Le<i32>
Source§fn try_from(
u: Le<u128>,
) -> Result<Le<i32>, <Le<i32> as TryFrom<Le<u128>>>::Error>
fn try_from( u: Le<u128>, ) -> Result<Le<i32>, <Le<i32> as TryFrom<Le<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<Le<u128>> for Le<i64>
impl TryFrom<Le<u128>> for Le<i64>
Source§fn try_from(
u: Le<u128>,
) -> Result<Le<i64>, <Le<i64> as TryFrom<Le<u128>>>::Error>
fn try_from( u: Le<u128>, ) -> Result<Le<i64>, <Le<i64> as TryFrom<Le<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<Le<u128>> for Le<i8>
impl TryFrom<Le<u128>> for Le<i8>
Source§fn try_from(u: Le<u128>) -> Result<Le<i8>, <Le<i8> as TryFrom<Le<u128>>>::Error>
fn try_from(u: Le<u128>) -> Result<Le<i8>, <Le<i8> as TryFrom<Le<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<Le<u128>> for Le<u16>
impl TryFrom<Le<u128>> for Le<u16>
Source§fn try_from(
u: Le<u128>,
) -> Result<Le<u16>, <Le<u16> as TryFrom<Le<u128>>>::Error>
fn try_from( u: Le<u128>, ) -> Result<Le<u16>, <Le<u16> as TryFrom<Le<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<Le<u128>> for Le<u32>
impl TryFrom<Le<u128>> for Le<u32>
Source§fn try_from(
u: Le<u128>,
) -> Result<Le<u32>, <Le<u32> as TryFrom<Le<u128>>>::Error>
fn try_from( u: Le<u128>, ) -> Result<Le<u32>, <Le<u32> as TryFrom<Le<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<Le<u128>> for Le<u64>
impl TryFrom<Le<u128>> for Le<u64>
Source§fn try_from(
u: Le<u128>,
) -> Result<Le<u64>, <Le<u64> as TryFrom<Le<u128>>>::Error>
fn try_from( u: Le<u128>, ) -> Result<Le<u64>, <Le<u64> as TryFrom<Le<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<Le<u128>> for Le<u8>
impl TryFrom<Le<u128>> for Le<u8>
Source§fn try_from(u: Le<u128>) -> Result<Le<u8>, <Le<u8> as TryFrom<Le<u128>>>::Error>
fn try_from(u: Le<u128>) -> Result<Le<u8>, <Le<u8> as TryFrom<Le<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<Le<u16>> for Le<i16>
impl TryFrom<Le<u16>> for Le<i16>
Source§fn try_from(u: Le<u16>) -> Result<Le<i16>, <Le<i16> as TryFrom<Le<u16>>>::Error>
fn try_from(u: Le<u16>) -> Result<Le<i16>, <Le<i16> as TryFrom<Le<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<Le<u16>> for Le<i8>
impl TryFrom<Le<u16>> for Le<i8>
Source§fn try_from(u: Le<u16>) -> Result<Le<i8>, <Le<i8> as TryFrom<Le<u16>>>::Error>
fn try_from(u: Le<u16>) -> Result<Le<i8>, <Le<i8> as TryFrom<Le<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<Le<u16>> for Le<u8>
impl TryFrom<Le<u16>> for Le<u8>
Source§fn try_from(u: Le<u16>) -> Result<Le<u8>, <Le<u8> as TryFrom<Le<u16>>>::Error>
fn try_from(u: Le<u16>) -> Result<Le<u8>, <Le<u8> as TryFrom<Le<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<Le<u32>> for Le<i16>
impl TryFrom<Le<u32>> for Le<i16>
Source§fn try_from(u: Le<u32>) -> Result<Le<i16>, <Le<i16> as TryFrom<Le<u32>>>::Error>
fn try_from(u: Le<u32>) -> Result<Le<i16>, <Le<i16> as TryFrom<Le<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<Le<u32>> for Le<i32>
impl TryFrom<Le<u32>> for Le<i32>
Source§fn try_from(u: Le<u32>) -> Result<Le<i32>, <Le<i32> as TryFrom<Le<u32>>>::Error>
fn try_from(u: Le<u32>) -> Result<Le<i32>, <Le<i32> as TryFrom<Le<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<Le<u32>> for Le<i8>
impl TryFrom<Le<u32>> for Le<i8>
Source§fn try_from(u: Le<u32>) -> Result<Le<i8>, <Le<i8> as TryFrom<Le<u32>>>::Error>
fn try_from(u: Le<u32>) -> Result<Le<i8>, <Le<i8> as TryFrom<Le<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<Le<u32>> for Le<u16>
impl TryFrom<Le<u32>> for Le<u16>
Source§fn try_from(u: Le<u32>) -> Result<Le<u16>, <Le<u16> as TryFrom<Le<u32>>>::Error>
fn try_from(u: Le<u32>) -> Result<Le<u16>, <Le<u16> as TryFrom<Le<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<Le<u32>> for Le<u8>
impl TryFrom<Le<u32>> for Le<u8>
Source§fn try_from(u: Le<u32>) -> Result<Le<u8>, <Le<u8> as TryFrom<Le<u32>>>::Error>
fn try_from(u: Le<u32>) -> Result<Le<u8>, <Le<u8> as TryFrom<Le<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<Le<u64>> for Le<i16>
impl TryFrom<Le<u64>> for Le<i16>
Source§fn try_from(u: Le<u64>) -> Result<Le<i16>, <Le<i16> as TryFrom<Le<u64>>>::Error>
fn try_from(u: Le<u64>) -> Result<Le<i16>, <Le<i16> as TryFrom<Le<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<Le<u64>> for Le<i32>
impl TryFrom<Le<u64>> for Le<i32>
Source§fn try_from(u: Le<u64>) -> Result<Le<i32>, <Le<i32> as TryFrom<Le<u64>>>::Error>
fn try_from(u: Le<u64>) -> Result<Le<i32>, <Le<i32> as TryFrom<Le<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<Le<u64>> for Le<i64>
impl TryFrom<Le<u64>> for Le<i64>
Source§fn try_from(u: Le<u64>) -> Result<Le<i64>, <Le<i64> as TryFrom<Le<u64>>>::Error>
fn try_from(u: Le<u64>) -> Result<Le<i64>, <Le<i64> as TryFrom<Le<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<Le<u64>> for Le<i8>
impl TryFrom<Le<u64>> for Le<i8>
Source§fn try_from(u: Le<u64>) -> Result<Le<i8>, <Le<i8> as TryFrom<Le<u64>>>::Error>
fn try_from(u: Le<u64>) -> Result<Le<i8>, <Le<i8> as TryFrom<Le<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<Le<u64>> for Le<u16>
impl TryFrom<Le<u64>> for Le<u16>
Source§fn try_from(u: Le<u64>) -> Result<Le<u16>, <Le<u16> as TryFrom<Le<u64>>>::Error>
fn try_from(u: Le<u64>) -> Result<Le<u16>, <Le<u16> as TryFrom<Le<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<Le<u64>> for Le<u32>
impl TryFrom<Le<u64>> for Le<u32>
Source§fn try_from(u: Le<u64>) -> Result<Le<u32>, <Le<u32> as TryFrom<Le<u64>>>::Error>
fn try_from(u: Le<u64>) -> Result<Le<u32>, <Le<u32> as TryFrom<Le<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<Le<u64>> for Le<u8>
impl TryFrom<Le<u64>> for Le<u8>
Source§fn try_from(u: Le<u64>) -> Result<Le<u8>, <Le<u8> as TryFrom<Le<u64>>>::Error>
fn try_from(u: Le<u64>) -> Result<Le<u8>, <Le<u8> as TryFrom<Le<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<Le<u8>> for Le<i8>
impl TryFrom<Le<u8>> for Le<i8>
Source§fn try_from(u: Le<u8>) -> Result<Le<i8>, <Le<i8> as TryFrom<Le<u8>>>::Error>
fn try_from(u: Le<u8>) -> Result<Le<i8>, <Le<i8> as TryFrom<Le<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<Le<usize>> for Le<isize>
impl TryFrom<Le<usize>> for Le<isize>
Source§fn try_from(
u: Le<usize>,
) -> Result<Le<isize>, <Le<isize> as TryFrom<Le<usize>>>::Error>
fn try_from( u: Le<usize>, ) -> Result<Le<isize>, <Le<isize> as TryFrom<Le<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 Le<T>where
T: TryFromBytes,
impl<T> TryFromBytes for Le<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