Struct endian::End [−][src]
pub struct End<A, E: Endian>(_, _);
Trait Implementations
impl<A: Clone, E: Clone + Endian> Clone for End<A, E>
[src]
impl<A: Clone, E: Clone + Endian> Clone for End<A, E>
fn clone(&self) -> End<A, E>
[src]
fn clone(&self) -> End<A, E>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<A: Copy, E: Copy + Endian> Copy for End<A, E>
[src]
impl<A: Copy, E: Copy + Endian> Copy for End<A, E>
impl<A: Hash, E: Hash + Endian> Hash for End<A, E>
[src]
impl<A: Hash, E: Hash + Endian> Hash for End<A, E>
fn hash<__HAE: Hasher>(&self, state: &mut __HAE)
[src]
fn hash<__HAE: Hasher>(&self, state: &mut __HAE)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<A: PartialEq, E: Endian> PartialEq for End<A, E>
[src]
impl<A: PartialEq, E: Endian> PartialEq for End<A, E>
fn eq(&self, other: &Self) -> bool
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl<A: Eq, E: Endian> Eq for End<A, E>
[src]
impl<A: Eq, E: Endian> Eq for End<A, E>
impl<A: Copy, E: Copy + Endian> Debug for End<A, E> where
A: From<End<A, E>> + Debug,
[src]
impl<A: Copy, E: Copy + Endian> Debug for End<A, E> where
A: From<End<A, E>> + Debug,
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<A: Copy, E: Copy + Endian> Display for End<A, E> where
A: From<End<A, E>> + Display,
[src]
impl<A: Copy, E: Copy + Endian> Display for End<A, E> where
A: From<End<A, E>> + Display,
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<A: Copy, E: Copy + Endian> Octal for End<A, E> where
A: From<End<A, E>> + Octal,
[src]
impl<A: Copy, E: Copy + Endian> Octal for End<A, E> where
A: From<End<A, E>> + Octal,
impl<A: Copy, E: Copy + Endian> LowerHex for End<A, E> where
A: From<End<A, E>> + LowerHex,
[src]
impl<A: Copy, E: Copy + Endian> LowerHex for End<A, E> where
A: From<End<A, E>> + LowerHex,
impl<A: Copy, E: Copy + Endian> UpperHex for End<A, E> where
A: From<End<A, E>> + UpperHex,
[src]
impl<A: Copy, E: Copy + Endian> UpperHex for End<A, E> where
A: From<End<A, E>> + UpperHex,
impl<E: Endian> From<usize> for End<usize, E>
[src]
impl<E: Endian> From<usize> for End<usize, E>
impl<E: Endian> From<End<usize, E>> for usize
[src]
impl<E: Endian> From<End<usize, E>> for usize
impl<E: Endian> From<u8> for End<u8, E>
[src]
impl<E: Endian> From<u8> for End<u8, E>
impl<E: Endian> From<End<u8, E>> for u8
[src]
impl<E: Endian> From<End<u8, E>> for u8
impl<E: Endian> From<u16> for End<u16, E>
[src]
impl<E: Endian> From<u16> for End<u16, E>
impl<E: Endian> From<End<u16, E>> for u16
[src]
impl<E: Endian> From<End<u16, E>> for u16
impl<E: Endian> From<u32> for End<u32, E>
[src]
impl<E: Endian> From<u32> for End<u32, E>
impl<E: Endian> From<End<u32, E>> for u32
[src]
impl<E: Endian> From<End<u32, E>> for u32
impl<E: Endian> From<u64> for End<u64, E>
[src]
impl<E: Endian> From<u64> for End<u64, E>
impl<E: Endian> From<End<u64, E>> for u64
[src]
impl<E: Endian> From<End<u64, E>> for u64
impl<E: Endian> From<u128> for End<u128, E>
[src]
impl<E: Endian> From<u128> for End<u128, E>
impl<E: Endian> From<End<u128, E>> for u128
[src]
impl<E: Endian> From<End<u128, E>> for u128
impl<E: Endian> From<isize> for End<isize, E>
[src]
impl<E: Endian> From<isize> for End<isize, E>
impl<E: Endian> From<End<isize, E>> for isize
[src]
impl<E: Endian> From<End<isize, E>> for isize
impl<E: Endian> From<i8> for End<i8, E>
[src]
impl<E: Endian> From<i8> for End<i8, E>
impl<E: Endian> From<End<i8, E>> for i8
[src]
impl<E: Endian> From<End<i8, E>> for i8
impl<E: Endian> From<i16> for End<i16, E>
[src]
impl<E: Endian> From<i16> for End<i16, E>
impl<E: Endian> From<End<i16, E>> for i16
[src]
impl<E: Endian> From<End<i16, E>> for i16
impl<E: Endian> From<i32> for End<i32, E>
[src]
impl<E: Endian> From<i32> for End<i32, E>
impl<E: Endian> From<End<i32, E>> for i32
[src]
impl<E: Endian> From<End<i32, E>> for i32
impl<E: Endian> From<i64> for End<i64, E>
[src]
impl<E: Endian> From<i64> for End<i64, E>
impl<E: Endian> From<End<i64, E>> for i64
[src]
impl<E: Endian> From<End<i64, E>> for i64
impl<E: Endian> From<i128> for End<i128, E>
[src]
impl<E: Endian> From<i128> for End<i128, E>
impl<E: Endian> From<End<i128, E>> for i128
[src]
impl<E: Endian> From<End<i128, E>> for i128
impl<A: BitAnd<B>, B, E: Endian> BitAnd<B> for End<A, E> where
A: From<End<A, E>>,
End<<A as BitAnd<B>>::Output, E>: From<<A as BitAnd<B>>::Output>,
[src]
impl<A: BitAnd<B>, B, E: Endian> BitAnd<B> for End<A, E> where
A: From<End<A, E>>,
End<<A as BitAnd<B>>::Output, E>: From<<A as BitAnd<B>>::Output>,
type Output = End<<A as BitAnd<B>>::Output, E>
The resulting type after applying the &
operator.
fn bitand(self, other: B) -> Self::Output
[src]
fn bitand(self, other: B) -> Self::Output
Performs the &
operation.
impl<A: BitOr<B>, B, E: Endian> BitOr<B> for End<A, E> where
A: From<End<A, E>>,
End<<A as BitOr<B>>::Output, E>: From<<A as BitOr<B>>::Output>,
[src]
impl<A: BitOr<B>, B, E: Endian> BitOr<B> for End<A, E> where
A: From<End<A, E>>,
End<<A as BitOr<B>>::Output, E>: From<<A as BitOr<B>>::Output>,
type Output = End<<A as BitOr<B>>::Output, E>
The resulting type after applying the |
operator.
fn bitor(self, other: B) -> Self::Output
[src]
fn bitor(self, other: B) -> Self::Output
Performs the |
operation.
impl<A: BitXor<B>, B, E: Endian> BitXor<B> for End<A, E> where
A: From<End<A, E>>,
End<<A as BitXor<B>>::Output, E>: From<<A as BitXor<B>>::Output>,
[src]
impl<A: BitXor<B>, B, E: Endian> BitXor<B> for End<A, E> where
A: From<End<A, E>>,
End<<A as BitXor<B>>::Output, E>: From<<A as BitXor<B>>::Output>,
type Output = End<<A as BitXor<B>>::Output, E>
The resulting type after applying the ^
operator.
fn bitxor(self, other: B) -> Self::Output
[src]
fn bitxor(self, other: B) -> Self::Output
Performs the ^
operation.
impl<A: Add<B>, B, E: Endian> Add<B> for End<A, E> where
A: From<End<A, E>>,
End<<A as Add<B>>::Output, E>: From<<A as Add<B>>::Output>,
[src]
impl<A: Add<B>, B, E: Endian> Add<B> for End<A, E> where
A: From<End<A, E>>,
End<<A as Add<B>>::Output, E>: From<<A as Add<B>>::Output>,
type Output = End<<A as Add<B>>::Output, E>
The resulting type after applying the +
operator.
fn add(self, other: B) -> Self::Output
[src]
fn add(self, other: B) -> Self::Output
Performs the +
operation.
impl<A: Sub<B>, B, E: Endian> Sub<B> for End<A, E> where
A: From<End<A, E>>,
End<<A as Sub<B>>::Output, E>: From<<A as Sub<B>>::Output>,
[src]
impl<A: Sub<B>, B, E: Endian> Sub<B> for End<A, E> where
A: From<End<A, E>>,
End<<A as Sub<B>>::Output, E>: From<<A as Sub<B>>::Output>,
type Output = End<<A as Sub<B>>::Output, E>
The resulting type after applying the -
operator.
fn sub(self, other: B) -> Self::Output
[src]
fn sub(self, other: B) -> Self::Output
Performs the -
operation.
impl<A: Mul<B>, B, E: Endian> Mul<B> for End<A, E> where
A: From<End<A, E>>,
End<<A as Mul<B>>::Output, E>: From<<A as Mul<B>>::Output>,
[src]
impl<A: Mul<B>, B, E: Endian> Mul<B> for End<A, E> where
A: From<End<A, E>>,
End<<A as Mul<B>>::Output, E>: From<<A as Mul<B>>::Output>,
type Output = End<<A as Mul<B>>::Output, E>
The resulting type after applying the *
operator.
fn mul(self, other: B) -> Self::Output
[src]
fn mul(self, other: B) -> Self::Output
Performs the *
operation.
impl<A: Div<B>, B, E: Endian> Div<B> for End<A, E> where
A: From<End<A, E>>,
End<<A as Div<B>>::Output, E>: From<<A as Div<B>>::Output>,
[src]
impl<A: Div<B>, B, E: Endian> Div<B> for End<A, E> where
A: From<End<A, E>>,
End<<A as Div<B>>::Output, E>: From<<A as Div<B>>::Output>,
type Output = End<<A as Div<B>>::Output, E>
The resulting type after applying the /
operator.
fn div(self, other: B) -> Self::Output
[src]
fn div(self, other: B) -> Self::Output
Performs the /
operation.
impl<A: Rem<B>, B, E: Endian> Rem<B> for End<A, E> where
A: From<End<A, E>>,
End<<A as Rem<B>>::Output, E>: From<<A as Rem<B>>::Output>,
[src]
impl<A: Rem<B>, B, E: Endian> Rem<B> for End<A, E> where
A: From<End<A, E>>,
End<<A as Rem<B>>::Output, E>: From<<A as Rem<B>>::Output>,
type Output = End<<A as Rem<B>>::Output, E>
The resulting type after applying the %
operator.
fn rem(self, other: B) -> Self::Output
[src]
fn rem(self, other: B) -> Self::Output
Performs the %
operation.
impl<A: Shl<B>, B, E: Endian> Shl<B> for End<A, E> where
A: From<End<A, E>>,
End<<A as Shl<B>>::Output, E>: From<<A as Shl<B>>::Output>,
[src]
impl<A: Shl<B>, B, E: Endian> Shl<B> for End<A, E> where
A: From<End<A, E>>,
End<<A as Shl<B>>::Output, E>: From<<A as Shl<B>>::Output>,
type Output = End<<A as Shl<B>>::Output, E>
The resulting type after applying the <<
operator.
fn shl(self, other: B) -> Self::Output
[src]
fn shl(self, other: B) -> Self::Output
Performs the <<
operation.
impl<A: Shr<B>, B, E: Endian> Shr<B> for End<A, E> where
A: From<End<A, E>>,
End<<A as Shr<B>>::Output, E>: From<<A as Shr<B>>::Output>,
[src]
impl<A: Shr<B>, B, E: Endian> Shr<B> for End<A, E> where
A: From<End<A, E>>,
End<<A as Shr<B>>::Output, E>: From<<A as Shr<B>>::Output>,
type Output = End<<A as Shr<B>>::Output, E>
The resulting type after applying the >>
operator.
fn shr(self, other: B) -> Self::Output
[src]
fn shr(self, other: B) -> Self::Output
Performs the >>
operation.
impl<A: Neg, E: Endian> Neg for End<A, E> where
A: From<End<A, E>>,
End<<A as Neg>::Output, E>: From<<A as Neg>::Output>,
[src]
impl<A: Neg, E: Endian> Neg for End<A, E> where
A: From<End<A, E>>,
End<<A as Neg>::Output, E>: From<<A as Neg>::Output>,
type Output = End<<A as Neg>::Output, E>
The resulting type after applying the -
operator.
fn neg(self) -> Self::Output
[src]
fn neg(self) -> Self::Output
Performs the unary -
operation.
impl<A: Not, E: Endian> Not for End<A, E> where
A: From<End<A, E>>,
End<<A as Not>::Output, E>: From<<A as Not>::Output>,
[src]
impl<A: Not, E: Endian> Not for End<A, E> where
A: From<End<A, E>>,
End<<A as Not>::Output, E>: From<<A as Not>::Output>,
type Output = End<<A as Not>::Output, E>
The resulting type after applying the !
operator.
fn not(self) -> Self::Output
[src]
fn not(self) -> Self::Output
Performs the unary !
operation.
impl<A: BitAndAssign<B>, B, E: Endian> BitAndAssign<B> for End<A, E>
[src]
impl<A: BitAndAssign<B>, B, E: Endian> BitAndAssign<B> for End<A, E>
fn bitand_assign(&mut self, operand: B)
[src]
fn bitand_assign(&mut self, operand: B)
Performs the &=
operation.
impl<A: BitOrAssign<B>, B, E: Endian> BitOrAssign<B> for End<A, E>
[src]
impl<A: BitOrAssign<B>, B, E: Endian> BitOrAssign<B> for End<A, E>
fn bitor_assign(&mut self, operand: B)
[src]
fn bitor_assign(&mut self, operand: B)
Performs the |=
operation.
impl<A: BitXorAssign<B>, B, E: Endian> BitXorAssign<B> for End<A, E>
[src]
impl<A: BitXorAssign<B>, B, E: Endian> BitXorAssign<B> for End<A, E>
fn bitxor_assign(&mut self, operand: B)
[src]
fn bitxor_assign(&mut self, operand: B)
Performs the ^=
operation.
impl<A: Copy + PartialOrd, E: Copy + Endian> PartialOrd for End<A, E> where
Self: Into<A>,
[src]
impl<A: Copy + PartialOrd, E: Copy + Endian> PartialOrd for End<A, E> where
Self: Into<A>,
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
fn ge(&self, other: &Rhs) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl<A: Copy + Ord, E: Copy + Endian> Ord for End<A, E> where
Self: Into<A>,
[src]
impl<A: Copy + Ord, E: Copy + Endian> Ord for End<A, E> where
Self: Into<A>,
fn cmp(&self, other: &Self) -> Ordering
[src]
fn cmp(&self, other: &Self) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more