pub trait SpecificEndian<T>{
// Required methods
fn to_big_endian(&self) -> T;
fn to_little_endian(&self) -> T;
fn from_big_endian(&self) -> T;
fn from_little_endian(&self) -> T;
// Provided method
fn endian(&self) -> Endian { ... }
}Required Methods§
fn to_big_endian(&self) -> T
fn to_little_endian(&self) -> T
fn from_big_endian(&self) -> T
fn from_little_endian(&self) -> T
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl SpecificEndian<bool> for bool
Available on crate features simple_specific_endian_bridge and simple_bool only.
impl SpecificEndian<bool> for bool
Available on crate features
simple_specific_endian_bridge and simple_bool only.fn to_big_endian(&self) -> bool
fn to_little_endian(&self) -> bool
fn from_big_endian(&self) -> bool
fn from_little_endian(&self) -> bool
Source§impl SpecificEndian<char> for char
Available on crate features simple_specific_endian_bridge and simple_char_impls only.
impl SpecificEndian<char> for char
Available on crate features
simple_specific_endian_bridge and simple_char_impls only.fn to_big_endian(&self) -> char
fn to_little_endian(&self) -> char
fn from_big_endian(&self) -> char
fn from_little_endian(&self) -> char
Source§impl SpecificEndian<f32> for f32
Available on crate feature float_impls only.
impl SpecificEndian<f32> for f32
Available on crate feature
float_impls only.fn to_big_endian(&self) -> Self
fn to_little_endian(&self) -> Self
fn from_big_endian(&self) -> Self
fn from_little_endian(&self) -> Self
Source§impl SpecificEndian<f64> for f64
Available on crate feature float_impls only.
impl SpecificEndian<f64> for f64
Available on crate feature
float_impls only.fn to_big_endian(&self) -> Self
fn to_little_endian(&self) -> Self
fn from_big_endian(&self) -> Self
fn from_little_endian(&self) -> Self
Source§impl SpecificEndian<i8> for i8
Available on crate features simple_specific_endian_bridge and simple_byte_impls only.
impl SpecificEndian<i8> for i8
Available on crate features
simple_specific_endian_bridge and simple_byte_impls only.fn to_big_endian(&self) -> i8
fn to_little_endian(&self) -> i8
fn from_big_endian(&self) -> i8
fn from_little_endian(&self) -> i8
Source§impl SpecificEndian<i16> for i16
Available on crate feature integer_impls only.
impl SpecificEndian<i16> for i16
Available on crate feature
integer_impls only.fn to_big_endian(&self) -> Self
fn to_little_endian(&self) -> Self
fn from_big_endian(&self) -> Self
fn from_little_endian(&self) -> Self
Source§impl SpecificEndian<i32> for i32
Available on crate feature integer_impls only.
impl SpecificEndian<i32> for i32
Available on crate feature
integer_impls only.fn to_big_endian(&self) -> Self
fn to_little_endian(&self) -> Self
fn from_big_endian(&self) -> Self
fn from_little_endian(&self) -> Self
Source§impl SpecificEndian<i64> for i64
Available on crate feature integer_impls only.
impl SpecificEndian<i64> for i64
Available on crate feature
integer_impls only.fn to_big_endian(&self) -> Self
fn to_little_endian(&self) -> Self
fn from_big_endian(&self) -> Self
fn from_little_endian(&self) -> Self
Source§impl SpecificEndian<i128> for i128
Available on crate feature integer_impls only.
impl SpecificEndian<i128> for i128
Available on crate feature
integer_impls only.fn to_big_endian(&self) -> Self
fn to_little_endian(&self) -> Self
fn from_big_endian(&self) -> Self
fn from_little_endian(&self) -> Self
Source§impl SpecificEndian<isize> for isize
Available on crate feature integer_impls only.
impl SpecificEndian<isize> for isize
Available on crate feature
integer_impls only.fn to_big_endian(&self) -> Self
fn to_little_endian(&self) -> Self
fn from_big_endian(&self) -> Self
fn from_little_endian(&self) -> Self
Source§impl SpecificEndian<u8> for u8
Available on crate features simple_specific_endian_bridge and simple_byte_impls only.
impl SpecificEndian<u8> for u8
Available on crate features
simple_specific_endian_bridge and simple_byte_impls only.fn to_big_endian(&self) -> u8
fn to_little_endian(&self) -> u8
fn from_big_endian(&self) -> u8
fn from_little_endian(&self) -> u8
Source§impl SpecificEndian<u16> for u16
Available on crate feature integer_impls only.
impl SpecificEndian<u16> for u16
Available on crate feature
integer_impls only.fn to_big_endian(&self) -> Self
fn to_little_endian(&self) -> Self
fn from_big_endian(&self) -> Self
fn from_little_endian(&self) -> Self
Source§impl SpecificEndian<u32> for u32
Available on crate feature integer_impls only.
impl SpecificEndian<u32> for u32
Available on crate feature
integer_impls only.fn to_big_endian(&self) -> Self
fn to_little_endian(&self) -> Self
fn from_big_endian(&self) -> Self
fn from_little_endian(&self) -> Self
Source§impl SpecificEndian<u64> for u64
Available on crate feature integer_impls only.
impl SpecificEndian<u64> for u64
Available on crate feature
integer_impls only.fn to_big_endian(&self) -> Self
fn to_little_endian(&self) -> Self
fn from_big_endian(&self) -> Self
fn from_little_endian(&self) -> Self
Source§impl SpecificEndian<u128> for u128
Available on crate feature integer_impls only.
impl SpecificEndian<u128> for u128
Available on crate feature
integer_impls only.fn to_big_endian(&self) -> Self
fn to_little_endian(&self) -> Self
fn from_big_endian(&self) -> Self
fn from_little_endian(&self) -> Self
Source§impl SpecificEndian<usize> for usize
Available on crate feature integer_impls only.
impl SpecificEndian<usize> for usize
Available on crate feature
integer_impls only.fn to_big_endian(&self) -> Self
fn to_little_endian(&self) -> Self
fn from_big_endian(&self) -> Self
fn from_little_endian(&self) -> Self
Source§impl SpecificEndian<NonZero<i8>> for NonZeroI8
Available on crate features integer_impls and nonzero only.
impl SpecificEndian<NonZero<i8>> for NonZeroI8
Available on crate features
integer_impls and nonzero only.fn to_big_endian(&self) -> Self
fn to_little_endian(&self) -> Self
fn from_big_endian(&self) -> Self
fn from_little_endian(&self) -> Self
Source§impl SpecificEndian<NonZero<i16>> for NonZeroI16
Available on crate features integer_impls and nonzero only.
impl SpecificEndian<NonZero<i16>> for NonZeroI16
Available on crate features
integer_impls and nonzero only.fn to_big_endian(&self) -> Self
fn to_little_endian(&self) -> Self
fn from_big_endian(&self) -> Self
fn from_little_endian(&self) -> Self
Source§impl SpecificEndian<NonZero<i32>> for NonZeroI32
Available on crate features integer_impls and nonzero only.
impl SpecificEndian<NonZero<i32>> for NonZeroI32
Available on crate features
integer_impls and nonzero only.fn to_big_endian(&self) -> Self
fn to_little_endian(&self) -> Self
fn from_big_endian(&self) -> Self
fn from_little_endian(&self) -> Self
Source§impl SpecificEndian<NonZero<i64>> for NonZeroI64
Available on crate features integer_impls and nonzero only.
impl SpecificEndian<NonZero<i64>> for NonZeroI64
Available on crate features
integer_impls and nonzero only.fn to_big_endian(&self) -> Self
fn to_little_endian(&self) -> Self
fn from_big_endian(&self) -> Self
fn from_little_endian(&self) -> Self
Source§impl SpecificEndian<NonZero<i128>> for NonZeroI128
Available on crate features integer_impls and nonzero only.
impl SpecificEndian<NonZero<i128>> for NonZeroI128
Available on crate features
integer_impls and nonzero only.fn to_big_endian(&self) -> Self
fn to_little_endian(&self) -> Self
fn from_big_endian(&self) -> Self
fn from_little_endian(&self) -> Self
Source§impl SpecificEndian<NonZero<isize>> for NonZeroIsize
Available on crate features integer_impls and nonzero only.
impl SpecificEndian<NonZero<isize>> for NonZeroIsize
Available on crate features
integer_impls and nonzero only.fn to_big_endian(&self) -> Self
fn to_little_endian(&self) -> Self
fn from_big_endian(&self) -> Self
fn from_little_endian(&self) -> Self
Source§impl SpecificEndian<NonZero<u8>> for NonZeroU8
Available on crate features integer_impls and nonzero only.
impl SpecificEndian<NonZero<u8>> for NonZeroU8
Available on crate features
integer_impls and nonzero only.fn to_big_endian(&self) -> Self
fn to_little_endian(&self) -> Self
fn from_big_endian(&self) -> Self
fn from_little_endian(&self) -> Self
Source§impl SpecificEndian<NonZero<u16>> for NonZeroU16
Available on crate features integer_impls and nonzero only.
impl SpecificEndian<NonZero<u16>> for NonZeroU16
Available on crate features
integer_impls and nonzero only.fn to_big_endian(&self) -> Self
fn to_little_endian(&self) -> Self
fn from_big_endian(&self) -> Self
fn from_little_endian(&self) -> Self
Source§impl SpecificEndian<NonZero<u32>> for NonZeroU32
Available on crate features integer_impls and nonzero only.
impl SpecificEndian<NonZero<u32>> for NonZeroU32
Available on crate features
integer_impls and nonzero only.fn to_big_endian(&self) -> Self
fn to_little_endian(&self) -> Self
fn from_big_endian(&self) -> Self
fn from_little_endian(&self) -> Self
Source§impl SpecificEndian<NonZero<u64>> for NonZeroU64
Available on crate features integer_impls and nonzero only.
impl SpecificEndian<NonZero<u64>> for NonZeroU64
Available on crate features
integer_impls and nonzero only.fn to_big_endian(&self) -> Self
fn to_little_endian(&self) -> Self
fn from_big_endian(&self) -> Self
fn from_little_endian(&self) -> Self
Source§impl SpecificEndian<NonZero<u128>> for NonZeroU128
Available on crate features integer_impls and nonzero only.
impl SpecificEndian<NonZero<u128>> for NonZeroU128
Available on crate features
integer_impls and nonzero only.fn to_big_endian(&self) -> Self
fn to_little_endian(&self) -> Self
fn from_big_endian(&self) -> Self
fn from_little_endian(&self) -> Self
Source§impl SpecificEndian<NonZero<usize>> for NonZeroUsize
Available on crate features integer_impls and nonzero only.
impl SpecificEndian<NonZero<usize>> for NonZeroUsize
Available on crate features
integer_impls and nonzero only.fn to_big_endian(&self) -> Self
fn to_little_endian(&self) -> Self
fn from_big_endian(&self) -> Self
fn from_little_endian(&self) -> Self
Source§impl<A, B> SpecificEndian<(A, B)> for (A, B)
impl<A, B> SpecificEndian<(A, B)> for (A, B)
fn to_big_endian(&self) -> (A, B)
fn to_little_endian(&self) -> (A, B)
fn from_big_endian(&self) -> (A, B)
fn from_little_endian(&self) -> (A, B)
Source§impl<A, B, C> SpecificEndian<(A, B, C)> for (A, B, C)where
A: SpecificEndian<A> + Copy + Clone,
B: SpecificEndian<B> + Copy + Clone,
C: SpecificEndian<C> + Copy + Clone,
impl<A, B, C> SpecificEndian<(A, B, C)> for (A, B, C)where
A: SpecificEndian<A> + Copy + Clone,
B: SpecificEndian<B> + Copy + Clone,
C: SpecificEndian<C> + Copy + Clone,
fn to_big_endian(&self) -> (A, B, C)
fn to_little_endian(&self) -> (A, B, C)
fn from_big_endian(&self) -> (A, B, C)
fn from_little_endian(&self) -> (A, B, C)
Source§impl<A, B, C, D> SpecificEndian<(A, B, C, D)> for (A, B, C, D)where
A: SpecificEndian<A> + Copy + Clone,
B: SpecificEndian<B> + Copy + Clone,
C: SpecificEndian<C> + Copy + Clone,
D: SpecificEndian<D> + Copy + Clone,
impl<A, B, C, D> SpecificEndian<(A, B, C, D)> for (A, B, C, D)where
A: SpecificEndian<A> + Copy + Clone,
B: SpecificEndian<B> + Copy + Clone,
C: SpecificEndian<C> + Copy + Clone,
D: SpecificEndian<D> + Copy + Clone,
fn to_big_endian(&self) -> (A, B, C, D)
fn to_little_endian(&self) -> (A, B, C, D)
fn from_big_endian(&self) -> (A, B, C, D)
fn from_little_endian(&self) -> (A, B, C, D)
Source§impl<A, B, C, D, E> SpecificEndian<(A, B, C, D, E)> for (A, B, C, D, E)where
A: SpecificEndian<A> + Copy + Clone,
B: SpecificEndian<B> + Copy + Clone,
C: SpecificEndian<C> + Copy + Clone,
D: SpecificEndian<D> + Copy + Clone,
E: SpecificEndian<E> + Copy + Clone,
impl<A, B, C, D, E> SpecificEndian<(A, B, C, D, E)> for (A, B, C, D, E)where
A: SpecificEndian<A> + Copy + Clone,
B: SpecificEndian<B> + Copy + Clone,
C: SpecificEndian<C> + Copy + Clone,
D: SpecificEndian<D> + Copy + Clone,
E: SpecificEndian<E> + Copy + Clone,
fn to_big_endian(&self) -> (A, B, C, D, E)
fn to_little_endian(&self) -> (A, B, C, D, E)
fn from_big_endian(&self) -> (A, B, C, D, E)
fn from_little_endian(&self) -> (A, B, C, D, E)
Source§impl<A, B, C, D, E, F> SpecificEndian<(A, B, C, D, E, F)> for (A, B, C, D, E, F)where
A: SpecificEndian<A> + Copy + Clone,
B: SpecificEndian<B> + Copy + Clone,
C: SpecificEndian<C> + Copy + Clone,
D: SpecificEndian<D> + Copy + Clone,
E: SpecificEndian<E> + Copy + Clone,
F: SpecificEndian<F> + Copy + Clone,
impl<A, B, C, D, E, F> SpecificEndian<(A, B, C, D, E, F)> for (A, B, C, D, E, F)where
A: SpecificEndian<A> + Copy + Clone,
B: SpecificEndian<B> + Copy + Clone,
C: SpecificEndian<C> + Copy + Clone,
D: SpecificEndian<D> + Copy + Clone,
E: SpecificEndian<E> + Copy + Clone,
F: SpecificEndian<F> + Copy + Clone,
fn to_big_endian(&self) -> (A, B, C, D, E, F)
fn to_little_endian(&self) -> (A, B, C, D, E, F)
fn from_big_endian(&self) -> (A, B, C, D, E, F)
fn from_little_endian(&self) -> (A, B, C, D, E, F)
Source§impl<A, B, C, D, E, F, G> SpecificEndian<(A, B, C, D, E, F, G)> for (A, B, C, D, E, F, G)where
A: SpecificEndian<A> + Copy + Clone,
B: SpecificEndian<B> + Copy + Clone,
C: SpecificEndian<C> + Copy + Clone,
D: SpecificEndian<D> + Copy + Clone,
E: SpecificEndian<E> + Copy + Clone,
F: SpecificEndian<F> + Copy + Clone,
G: SpecificEndian<G> + Copy + Clone,
impl<A, B, C, D, E, F, G> SpecificEndian<(A, B, C, D, E, F, G)> for (A, B, C, D, E, F, G)where
A: SpecificEndian<A> + Copy + Clone,
B: SpecificEndian<B> + Copy + Clone,
C: SpecificEndian<C> + Copy + Clone,
D: SpecificEndian<D> + Copy + Clone,
E: SpecificEndian<E> + Copy + Clone,
F: SpecificEndian<F> + Copy + Clone,
G: SpecificEndian<G> + Copy + Clone,
fn to_big_endian(&self) -> (A, B, C, D, E, F, G)
fn to_little_endian(&self) -> (A, B, C, D, E, F, G)
fn from_big_endian(&self) -> (A, B, C, D, E, F, G)
fn from_little_endian(&self) -> (A, B, C, D, E, F, G)
Source§impl<A, B, C, D, E, F, G, H> SpecificEndian<(A, B, C, D, E, F, G, H)> for (A, B, C, D, E, F, G, H)where
A: SpecificEndian<A> + Copy + Clone,
B: SpecificEndian<B> + Copy + Clone,
C: SpecificEndian<C> + Copy + Clone,
D: SpecificEndian<D> + Copy + Clone,
E: SpecificEndian<E> + Copy + Clone,
F: SpecificEndian<F> + Copy + Clone,
G: SpecificEndian<G> + Copy + Clone,
H: SpecificEndian<H> + Copy + Clone,
impl<A, B, C, D, E, F, G, H> SpecificEndian<(A, B, C, D, E, F, G, H)> for (A, B, C, D, E, F, G, H)where
A: SpecificEndian<A> + Copy + Clone,
B: SpecificEndian<B> + Copy + Clone,
C: SpecificEndian<C> + Copy + Clone,
D: SpecificEndian<D> + Copy + Clone,
E: SpecificEndian<E> + Copy + Clone,
F: SpecificEndian<F> + Copy + Clone,
G: SpecificEndian<G> + Copy + Clone,
H: SpecificEndian<H> + Copy + Clone,
fn to_big_endian(&self) -> (A, B, C, D, E, F, G, H)
fn to_little_endian(&self) -> (A, B, C, D, E, F, G, H)
fn from_big_endian(&self) -> (A, B, C, D, E, F, G, H)
fn from_little_endian(&self) -> (A, B, C, D, E, F, G, H)
Source§impl<A, B, C, D, E, F, G, H, I> SpecificEndian<(A, B, C, D, E, F, G, H, I)> for (A, B, C, D, E, F, G, H, I)where
A: SpecificEndian<A> + Copy + Clone,
B: SpecificEndian<B> + Copy + Clone,
C: SpecificEndian<C> + Copy + Clone,
D: SpecificEndian<D> + Copy + Clone,
E: SpecificEndian<E> + Copy + Clone,
F: SpecificEndian<F> + Copy + Clone,
G: SpecificEndian<G> + Copy + Clone,
H: SpecificEndian<H> + Copy + Clone,
I: SpecificEndian<I> + Copy + Clone,
impl<A, B, C, D, E, F, G, H, I> SpecificEndian<(A, B, C, D, E, F, G, H, I)> for (A, B, C, D, E, F, G, H, I)where
A: SpecificEndian<A> + Copy + Clone,
B: SpecificEndian<B> + Copy + Clone,
C: SpecificEndian<C> + Copy + Clone,
D: SpecificEndian<D> + Copy + Clone,
E: SpecificEndian<E> + Copy + Clone,
F: SpecificEndian<F> + Copy + Clone,
G: SpecificEndian<G> + Copy + Clone,
H: SpecificEndian<H> + Copy + Clone,
I: SpecificEndian<I> + Copy + Clone,
fn to_big_endian(&self) -> (A, B, C, D, E, F, G, H, I)
fn to_little_endian(&self) -> (A, B, C, D, E, F, G, H, I)
fn from_big_endian(&self) -> (A, B, C, D, E, F, G, H, I)
fn from_little_endian(&self) -> (A, B, C, D, E, F, G, H, I)
Source§impl<A, B, C, D, E, F, G, H, I, J> SpecificEndian<(A, B, C, D, E, F, G, H, I, J)> for (A, B, C, D, E, F, G, H, I, J)where
A: SpecificEndian<A> + Copy + Clone,
B: SpecificEndian<B> + Copy + Clone,
C: SpecificEndian<C> + Copy + Clone,
D: SpecificEndian<D> + Copy + Clone,
E: SpecificEndian<E> + Copy + Clone,
F: SpecificEndian<F> + Copy + Clone,
G: SpecificEndian<G> + Copy + Clone,
H: SpecificEndian<H> + Copy + Clone,
I: SpecificEndian<I> + Copy + Clone,
J: SpecificEndian<J> + Copy + Clone,
impl<A, B, C, D, E, F, G, H, I, J> SpecificEndian<(A, B, C, D, E, F, G, H, I, J)> for (A, B, C, D, E, F, G, H, I, J)where
A: SpecificEndian<A> + Copy + Clone,
B: SpecificEndian<B> + Copy + Clone,
C: SpecificEndian<C> + Copy + Clone,
D: SpecificEndian<D> + Copy + Clone,
E: SpecificEndian<E> + Copy + Clone,
F: SpecificEndian<F> + Copy + Clone,
G: SpecificEndian<G> + Copy + Clone,
H: SpecificEndian<H> + Copy + Clone,
I: SpecificEndian<I> + Copy + Clone,
J: SpecificEndian<J> + Copy + Clone,
fn to_big_endian(&self) -> (A, B, C, D, E, F, G, H, I, J)
fn to_little_endian(&self) -> (A, B, C, D, E, F, G, H, I, J)
fn from_big_endian(&self) -> (A, B, C, D, E, F, G, H, I, J)
fn from_little_endian(&self) -> (A, B, C, D, E, F, G, H, I, J)
Source§impl<A, B, C, D, E, F, G, H, I, J, K> SpecificEndian<(A, B, C, D, E, F, G, H, I, J, K)> for (A, B, C, D, E, F, G, H, I, J, K)where
A: SpecificEndian<A> + Copy + Clone,
B: SpecificEndian<B> + Copy + Clone,
C: SpecificEndian<C> + Copy + Clone,
D: SpecificEndian<D> + Copy + Clone,
E: SpecificEndian<E> + Copy + Clone,
F: SpecificEndian<F> + Copy + Clone,
G: SpecificEndian<G> + Copy + Clone,
H: SpecificEndian<H> + Copy + Clone,
I: SpecificEndian<I> + Copy + Clone,
J: SpecificEndian<J> + Copy + Clone,
K: SpecificEndian<K> + Copy + Clone,
impl<A, B, C, D, E, F, G, H, I, J, K> SpecificEndian<(A, B, C, D, E, F, G, H, I, J, K)> for (A, B, C, D, E, F, G, H, I, J, K)where
A: SpecificEndian<A> + Copy + Clone,
B: SpecificEndian<B> + Copy + Clone,
C: SpecificEndian<C> + Copy + Clone,
D: SpecificEndian<D> + Copy + Clone,
E: SpecificEndian<E> + Copy + Clone,
F: SpecificEndian<F> + Copy + Clone,
G: SpecificEndian<G> + Copy + Clone,
H: SpecificEndian<H> + Copy + Clone,
I: SpecificEndian<I> + Copy + Clone,
J: SpecificEndian<J> + Copy + Clone,
K: SpecificEndian<K> + Copy + Clone,
fn to_big_endian(&self) -> (A, B, C, D, E, F, G, H, I, J, K)
fn to_little_endian(&self) -> (A, B, C, D, E, F, G, H, I, J, K)
fn from_big_endian(&self) -> (A, B, C, D, E, F, G, H, I, J, K)
fn from_little_endian(&self) -> (A, B, C, D, E, F, G, H, I, J, K)
Source§impl<A, B, C, D, E, F, G, H, I, J, K, L> SpecificEndian<(A, B, C, D, E, F, G, H, I, J, K, L)> for (A, B, C, D, E, F, G, H, I, J, K, L)where
A: SpecificEndian<A> + Copy + Clone,
B: SpecificEndian<B> + Copy + Clone,
C: SpecificEndian<C> + Copy + Clone,
D: SpecificEndian<D> + Copy + Clone,
E: SpecificEndian<E> + Copy + Clone,
F: SpecificEndian<F> + Copy + Clone,
G: SpecificEndian<G> + Copy + Clone,
H: SpecificEndian<H> + Copy + Clone,
I: SpecificEndian<I> + Copy + Clone,
J: SpecificEndian<J> + Copy + Clone,
K: SpecificEndian<K> + Copy + Clone,
L: SpecificEndian<L> + Copy + Clone,
impl<A, B, C, D, E, F, G, H, I, J, K, L> SpecificEndian<(A, B, C, D, E, F, G, H, I, J, K, L)> for (A, B, C, D, E, F, G, H, I, J, K, L)where
A: SpecificEndian<A> + Copy + Clone,
B: SpecificEndian<B> + Copy + Clone,
C: SpecificEndian<C> + Copy + Clone,
D: SpecificEndian<D> + Copy + Clone,
E: SpecificEndian<E> + Copy + Clone,
F: SpecificEndian<F> + Copy + Clone,
G: SpecificEndian<G> + Copy + Clone,
H: SpecificEndian<H> + Copy + Clone,
I: SpecificEndian<I> + Copy + Clone,
J: SpecificEndian<J> + Copy + Clone,
K: SpecificEndian<K> + Copy + Clone,
L: SpecificEndian<L> + Copy + Clone,
Source§impl<T> SpecificEndian<Wrapping<T>> for Wrapping<T>where
T: SpecificEndian<T>,
Available on crate features integer_impls and wrapping only.
impl<T> SpecificEndian<Wrapping<T>> for Wrapping<T>where
T: SpecificEndian<T>,
Available on crate features
integer_impls and wrapping only.fn to_big_endian(&self) -> Self
fn to_little_endian(&self) -> Self
fn from_big_endian(&self) -> Self
fn from_little_endian(&self) -> Self
Implementors§
impl<const N: usize> SpecificEndian<FixedUtf16CodeUnitsEndian<BigEndian<u16>, N>> for FixedUtf16BeCodeUnits<N>
Available on crate feature
text_fixed and crate feature text_utf16 and (crate features text_utf8 or text_utf16 or text_utf32 or text_fixed) only.impl<const N: usize> SpecificEndian<FixedUtf16CodeUnitsEndian<LittleEndian<u16>, N>> for FixedUtf16LeCodeUnits<N>
Available on crate feature
text_fixed and crate feature text_utf16 and (crate features text_utf8 or text_utf16 or text_utf32 or text_fixed) only.impl<const N: usize> SpecificEndian<FixedUtf32CodeUnitsEndian<BigEndian<u32>, N>> for FixedUtf32BeCodeUnits<N>
Available on crate feature
text_fixed and crate feature text_utf32 and (crate features text_utf8 or text_utf16 or text_utf32 or text_fixed) only.impl<const N: usize> SpecificEndian<FixedUtf32CodeUnitsEndian<LittleEndian<u32>, N>> for FixedUtf32LeCodeUnits<N>
Available on crate feature
text_fixed and crate feature text_utf32 and (crate features text_utf8 or text_utf16 or text_utf32 or text_fixed) only.