[−][src]Struct gf::GF
The Golias Field Type.
use gf::GF; let val = GF(4); let typed_val1 = GF(5u8); let typed_val2 = GF::<u8>(5); assert_eq!(typed_val1, typed_val2)
Supports all basic Mathemtaical Functions
Implementations
impl GF<u8>
[src]
Trait Implementations
impl<'_> Add<&'_ GF<u128>> for GF<u128>
[src]
type Output = <GF<u128> as Add<GF<u128>>>::Output
The resulting type after applying the +
operator.
pub fn add(self, other: &GF<u128>) -> <GF<u128> as Add<GF<u128>>>::Output
[src]
impl<'_, '_> Add<&'_ GF<u128>> for &'_ GF<u128>
[src]
type Output = <GF<u128> as Add<GF<u128>>>::Output
The resulting type after applying the +
operator.
pub fn add(self, other: &GF<u128>) -> <GF<u128> as Add<GF<u128>>>::Output
[src]
impl<'_> Add<&'_ GF<u32>> for GF<u32>
[src]
type Output = <GF<u32> as Add<GF<u32>>>::Output
The resulting type after applying the +
operator.
pub fn add(self, other: &GF<u32>) -> <GF<u32> as Add<GF<u32>>>::Output
[src]
impl<'_, '_> Add<&'_ GF<u32>> for &'_ GF<u32>
[src]
type Output = <GF<u32> as Add<GF<u32>>>::Output
The resulting type after applying the +
operator.
pub fn add(self, other: &GF<u32>) -> <GF<u32> as Add<GF<u32>>>::Output
[src]
impl<'_> Add<&'_ GF<u64>> for GF<u64>
[src]
type Output = <GF<u64> as Add<GF<u64>>>::Output
The resulting type after applying the +
operator.
pub fn add(self, other: &GF<u64>) -> <GF<u64> as Add<GF<u64>>>::Output
[src]
impl<'_, '_> Add<&'_ GF<u64>> for &'_ GF<u64>
[src]
type Output = <GF<u64> as Add<GF<u64>>>::Output
The resulting type after applying the +
operator.
pub fn add(self, other: &GF<u64>) -> <GF<u64> as Add<GF<u64>>>::Output
[src]
impl<'_> Add<&'_ GF<u8>> for GF<u8>
[src]
type Output = <GF<u8> as Add<GF<u8>>>::Output
The resulting type after applying the +
operator.
pub fn add(self, other: &GF<u8>) -> <GF<u8> as Add<GF<u8>>>::Output
[src]
impl<'_, '_> Add<&'_ GF<u8>> for &'_ GF<u8>
[src]
type Output = <GF<u8> as Add<GF<u8>>>::Output
The resulting type after applying the +
operator.
pub fn add(self, other: &GF<u8>) -> <GF<u8> as Add<GF<u8>>>::Output
[src]
impl<'_> Add<&'_ GF<usize>> for GF<usize>
[src]
type Output = <GF<usize> as Add<GF<usize>>>::Output
The resulting type after applying the +
operator.
pub fn add(self, other: &GF<usize>) -> <GF<usize> as Add<GF<usize>>>::Output
[src]
impl<'_, '_> Add<&'_ GF<usize>> for &'_ GF<usize>
[src]
type Output = <GF<usize> as Add<GF<usize>>>::Output
The resulting type after applying the +
operator.
pub fn add(self, other: &GF<usize>) -> <GF<usize> as Add<GF<usize>>>::Output
[src]
impl Add<GF<u128>> for GF<u128>
[src]
type Output = GF<u128>
The resulting type after applying the +
operator.
pub fn add(self, other: GF<u128>) -> GF<u128>
[src]
impl<'a> Add<GF<u128>> for &'a GF<u128>
[src]
type Output = <GF<u128> as Add<GF<u128>>>::Output
The resulting type after applying the +
operator.
pub fn add(self, other: GF<u128>) -> <GF<u128> as Add<GF<u128>>>::Output
[src]
impl Add<GF<u32>> for GF<u32>
[src]
type Output = GF<u32>
The resulting type after applying the +
operator.
pub fn add(self, other: GF<u32>) -> GF<u32>
[src]
impl<'a> Add<GF<u32>> for &'a GF<u32>
[src]
type Output = <GF<u32> as Add<GF<u32>>>::Output
The resulting type after applying the +
operator.
pub fn add(self, other: GF<u32>) -> <GF<u32> as Add<GF<u32>>>::Output
[src]
impl Add<GF<u64>> for GF<u64>
[src]
type Output = GF<u64>
The resulting type after applying the +
operator.
pub fn add(self, other: GF<u64>) -> GF<u64>
[src]
impl<'a> Add<GF<u64>> for &'a GF<u64>
[src]
type Output = <GF<u64> as Add<GF<u64>>>::Output
The resulting type after applying the +
operator.
pub fn add(self, other: GF<u64>) -> <GF<u64> as Add<GF<u64>>>::Output
[src]
impl Add<GF<u8>> for GF<u8>
[src]
type Output = GF<u8>
The resulting type after applying the +
operator.
pub fn add(self, other: GF<u8>) -> GF<u8>
[src]
impl<'a> Add<GF<u8>> for &'a GF<u8>
[src]
type Output = <GF<u8> as Add<GF<u8>>>::Output
The resulting type after applying the +
operator.
pub fn add(self, other: GF<u8>) -> <GF<u8> as Add<GF<u8>>>::Output
[src]
impl Add<GF<usize>> for GF<usize>
[src]
type Output = GF<usize>
The resulting type after applying the +
operator.
pub fn add(self, other: GF<usize>) -> GF<usize>
[src]
impl<'a> Add<GF<usize>> for &'a GF<usize>
[src]
type Output = <GF<usize> as Add<GF<usize>>>::Output
The resulting type after applying the +
operator.
pub fn add(self, other: GF<usize>) -> <GF<usize> as Add<GF<usize>>>::Output
[src]
impl<'_> AddAssign<&'_ GF<u128>> for GF<u128>
[src]
pub fn add_assign(&mut self, other: &GF<u128>)
[src]
impl<'_> AddAssign<&'_ GF<u32>> for GF<u32>
[src]
pub fn add_assign(&mut self, other: &GF<u32>)
[src]
impl<'_> AddAssign<&'_ GF<u64>> for GF<u64>
[src]
pub fn add_assign(&mut self, other: &GF<u64>)
[src]
impl<'_> AddAssign<&'_ GF<u8>> for GF<u8>
[src]
pub fn add_assign(&mut self, other: &GF<u8>)
[src]
impl<'_> AddAssign<&'_ GF<usize>> for GF<usize>
[src]
pub fn add_assign(&mut self, other: &GF<usize>)
[src]
impl AddAssign<GF<u128>> for GF<u128>
[src]
pub fn add_assign(&mut self, other: GF<u128>)
[src]
impl AddAssign<GF<u32>> for GF<u32>
[src]
pub fn add_assign(&mut self, other: GF<u32>)
[src]
impl AddAssign<GF<u64>> for GF<u64>
[src]
pub fn add_assign(&mut self, other: GF<u64>)
[src]
impl AddAssign<GF<u8>> for GF<u8>
[src]
pub fn add_assign(&mut self, other: GF<u8>)
[src]
impl AddAssign<GF<usize>> for GF<usize>
[src]
pub fn add_assign(&mut self, other: GF<usize>)
[src]
impl<T: Binary> Binary for GF<T>
[src]
impl<'_> BitAnd<&'_ GF<u128>> for GF<u128>
[src]
type Output = <GF<u128> as BitAnd<GF<u128>>>::Output
The resulting type after applying the &
operator.
pub fn bitand(self, other: &GF<u128>) -> <GF<u128> as BitAnd<GF<u128>>>::Output
[src]
impl<'_, '_> BitAnd<&'_ GF<u128>> for &'_ GF<u128>
[src]
type Output = <GF<u128> as BitAnd<GF<u128>>>::Output
The resulting type after applying the &
operator.
pub fn bitand(self, other: &GF<u128>) -> <GF<u128> as BitAnd<GF<u128>>>::Output
[src]
impl<'_> BitAnd<&'_ GF<u32>> for GF<u32>
[src]
type Output = <GF<u32> as BitAnd<GF<u32>>>::Output
The resulting type after applying the &
operator.
pub fn bitand(self, other: &GF<u32>) -> <GF<u32> as BitAnd<GF<u32>>>::Output
[src]
impl<'_, '_> BitAnd<&'_ GF<u32>> for &'_ GF<u32>
[src]
type Output = <GF<u32> as BitAnd<GF<u32>>>::Output
The resulting type after applying the &
operator.
pub fn bitand(self, other: &GF<u32>) -> <GF<u32> as BitAnd<GF<u32>>>::Output
[src]
impl<'_> BitAnd<&'_ GF<u64>> for GF<u64>
[src]
type Output = <GF<u64> as BitAnd<GF<u64>>>::Output
The resulting type after applying the &
operator.
pub fn bitand(self, other: &GF<u64>) -> <GF<u64> as BitAnd<GF<u64>>>::Output
[src]
impl<'_, '_> BitAnd<&'_ GF<u64>> for &'_ GF<u64>
[src]
type Output = <GF<u64> as BitAnd<GF<u64>>>::Output
The resulting type after applying the &
operator.
pub fn bitand(self, other: &GF<u64>) -> <GF<u64> as BitAnd<GF<u64>>>::Output
[src]
impl<'_> BitAnd<&'_ GF<u8>> for GF<u8>
[src]
type Output = <GF<u8> as BitAnd<GF<u8>>>::Output
The resulting type after applying the &
operator.
pub fn bitand(self, other: &GF<u8>) -> <GF<u8> as BitAnd<GF<u8>>>::Output
[src]
impl<'_, '_> BitAnd<&'_ GF<u8>> for &'_ GF<u8>
[src]
type Output = <GF<u8> as BitAnd<GF<u8>>>::Output
The resulting type after applying the &
operator.
pub fn bitand(self, other: &GF<u8>) -> <GF<u8> as BitAnd<GF<u8>>>::Output
[src]
impl<'_> BitAnd<&'_ GF<usize>> for GF<usize>
[src]
type Output = <GF<usize> as BitAnd<GF<usize>>>::Output
The resulting type after applying the &
operator.
pub fn bitand(
self,
other: &GF<usize>
) -> <GF<usize> as BitAnd<GF<usize>>>::Output
[src]
self,
other: &GF<usize>
) -> <GF<usize> as BitAnd<GF<usize>>>::Output
impl<'_, '_> BitAnd<&'_ GF<usize>> for &'_ GF<usize>
[src]
type Output = <GF<usize> as BitAnd<GF<usize>>>::Output
The resulting type after applying the &
operator.
pub fn bitand(
self,
other: &GF<usize>
) -> <GF<usize> as BitAnd<GF<usize>>>::Output
[src]
self,
other: &GF<usize>
) -> <GF<usize> as BitAnd<GF<usize>>>::Output
impl BitAnd<GF<u128>> for GF<u128>
[src]
type Output = GF<u128>
The resulting type after applying the &
operator.
pub fn bitand(self, other: GF<u128>) -> GF<u128>
[src]
impl<'a> BitAnd<GF<u128>> for &'a GF<u128>
[src]
type Output = <GF<u128> as BitAnd<GF<u128>>>::Output
The resulting type after applying the &
operator.
pub fn bitand(self, other: GF<u128>) -> <GF<u128> as BitAnd<GF<u128>>>::Output
[src]
impl BitAnd<GF<u32>> for GF<u32>
[src]
type Output = GF<u32>
The resulting type after applying the &
operator.
pub fn bitand(self, other: GF<u32>) -> GF<u32>
[src]
impl<'a> BitAnd<GF<u32>> for &'a GF<u32>
[src]
type Output = <GF<u32> as BitAnd<GF<u32>>>::Output
The resulting type after applying the &
operator.
pub fn bitand(self, other: GF<u32>) -> <GF<u32> as BitAnd<GF<u32>>>::Output
[src]
impl BitAnd<GF<u64>> for GF<u64>
[src]
type Output = GF<u64>
The resulting type after applying the &
operator.
pub fn bitand(self, other: GF<u64>) -> GF<u64>
[src]
impl<'a> BitAnd<GF<u64>> for &'a GF<u64>
[src]
type Output = <GF<u64> as BitAnd<GF<u64>>>::Output
The resulting type after applying the &
operator.
pub fn bitand(self, other: GF<u64>) -> <GF<u64> as BitAnd<GF<u64>>>::Output
[src]
impl BitAnd<GF<u8>> for GF<u8>
[src]
type Output = GF<u8>
The resulting type after applying the &
operator.
pub fn bitand(self, other: GF<u8>) -> GF<u8>
[src]
impl<'a> BitAnd<GF<u8>> for &'a GF<u8>
[src]
type Output = <GF<u8> as BitAnd<GF<u8>>>::Output
The resulting type after applying the &
operator.
pub fn bitand(self, other: GF<u8>) -> <GF<u8> as BitAnd<GF<u8>>>::Output
[src]
impl BitAnd<GF<usize>> for GF<usize>
[src]
type Output = GF<usize>
The resulting type after applying the &
operator.
pub fn bitand(self, other: GF<usize>) -> GF<usize>
[src]
impl<'a> BitAnd<GF<usize>> for &'a GF<usize>
[src]
type Output = <GF<usize> as BitAnd<GF<usize>>>::Output
The resulting type after applying the &
operator.
pub fn bitand(
self,
other: GF<usize>
) -> <GF<usize> as BitAnd<GF<usize>>>::Output
[src]
self,
other: GF<usize>
) -> <GF<usize> as BitAnd<GF<usize>>>::Output
impl<'_> BitAndAssign<&'_ GF<u128>> for GF<u128>
[src]
pub fn bitand_assign(&mut self, other: &GF<u128>)
[src]
impl<'_> BitAndAssign<&'_ GF<u32>> for GF<u32>
[src]
pub fn bitand_assign(&mut self, other: &GF<u32>)
[src]
impl<'_> BitAndAssign<&'_ GF<u64>> for GF<u64>
[src]
pub fn bitand_assign(&mut self, other: &GF<u64>)
[src]
impl<'_> BitAndAssign<&'_ GF<u8>> for GF<u8>
[src]
pub fn bitand_assign(&mut self, other: &GF<u8>)
[src]
impl<'_> BitAndAssign<&'_ GF<usize>> for GF<usize>
[src]
pub fn bitand_assign(&mut self, other: &GF<usize>)
[src]
impl BitAndAssign<GF<u128>> for GF<u128>
[src]
pub fn bitand_assign(&mut self, other: GF<u128>)
[src]
impl BitAndAssign<GF<u32>> for GF<u32>
[src]
pub fn bitand_assign(&mut self, other: GF<u32>)
[src]
impl BitAndAssign<GF<u64>> for GF<u64>
[src]
pub fn bitand_assign(&mut self, other: GF<u64>)
[src]
impl BitAndAssign<GF<u8>> for GF<u8>
[src]
pub fn bitand_assign(&mut self, other: GF<u8>)
[src]
impl BitAndAssign<GF<usize>> for GF<usize>
[src]
pub fn bitand_assign(&mut self, other: GF<usize>)
[src]
impl<'_> BitOr<&'_ GF<u128>> for GF<u128>
[src]
type Output = <GF<u128> as BitOr<GF<u128>>>::Output
The resulting type after applying the |
operator.
pub fn bitor(self, other: &GF<u128>) -> <GF<u128> as BitOr<GF<u128>>>::Output
[src]
impl<'_, '_> BitOr<&'_ GF<u128>> for &'_ GF<u128>
[src]
type Output = <GF<u128> as BitOr<GF<u128>>>::Output
The resulting type after applying the |
operator.
pub fn bitor(self, other: &GF<u128>) -> <GF<u128> as BitOr<GF<u128>>>::Output
[src]
impl<'_> BitOr<&'_ GF<u32>> for GF<u32>
[src]
type Output = <GF<u32> as BitOr<GF<u32>>>::Output
The resulting type after applying the |
operator.
pub fn bitor(self, other: &GF<u32>) -> <GF<u32> as BitOr<GF<u32>>>::Output
[src]
impl<'_, '_> BitOr<&'_ GF<u32>> for &'_ GF<u32>
[src]
type Output = <GF<u32> as BitOr<GF<u32>>>::Output
The resulting type after applying the |
operator.
pub fn bitor(self, other: &GF<u32>) -> <GF<u32> as BitOr<GF<u32>>>::Output
[src]
impl<'_> BitOr<&'_ GF<u64>> for GF<u64>
[src]
type Output = <GF<u64> as BitOr<GF<u64>>>::Output
The resulting type after applying the |
operator.
pub fn bitor(self, other: &GF<u64>) -> <GF<u64> as BitOr<GF<u64>>>::Output
[src]
impl<'_, '_> BitOr<&'_ GF<u64>> for &'_ GF<u64>
[src]
type Output = <GF<u64> as BitOr<GF<u64>>>::Output
The resulting type after applying the |
operator.
pub fn bitor(self, other: &GF<u64>) -> <GF<u64> as BitOr<GF<u64>>>::Output
[src]
impl<'_> BitOr<&'_ GF<u8>> for GF<u8>
[src]
type Output = <GF<u8> as BitOr<GF<u8>>>::Output
The resulting type after applying the |
operator.
pub fn bitor(self, other: &GF<u8>) -> <GF<u8> as BitOr<GF<u8>>>::Output
[src]
impl<'_, '_> BitOr<&'_ GF<u8>> for &'_ GF<u8>
[src]
type Output = <GF<u8> as BitOr<GF<u8>>>::Output
The resulting type after applying the |
operator.
pub fn bitor(self, other: &GF<u8>) -> <GF<u8> as BitOr<GF<u8>>>::Output
[src]
impl<'_> BitOr<&'_ GF<usize>> for GF<usize>
[src]
type Output = <GF<usize> as BitOr<GF<usize>>>::Output
The resulting type after applying the |
operator.
pub fn bitor(self, other: &GF<usize>) -> <GF<usize> as BitOr<GF<usize>>>::Output
[src]
impl<'_, '_> BitOr<&'_ GF<usize>> for &'_ GF<usize>
[src]
type Output = <GF<usize> as BitOr<GF<usize>>>::Output
The resulting type after applying the |
operator.
pub fn bitor(self, other: &GF<usize>) -> <GF<usize> as BitOr<GF<usize>>>::Output
[src]
impl BitOr<GF<u128>> for GF<u128>
[src]
type Output = GF<u128>
The resulting type after applying the |
operator.
pub fn bitor(self, other: GF<u128>) -> GF<u128>
[src]
impl<'a> BitOr<GF<u128>> for &'a GF<u128>
[src]
type Output = <GF<u128> as BitOr<GF<u128>>>::Output
The resulting type after applying the |
operator.
pub fn bitor(self, other: GF<u128>) -> <GF<u128> as BitOr<GF<u128>>>::Output
[src]
impl BitOr<GF<u32>> for GF<u32>
[src]
type Output = GF<u32>
The resulting type after applying the |
operator.
pub fn bitor(self, other: GF<u32>) -> GF<u32>
[src]
impl<'a> BitOr<GF<u32>> for &'a GF<u32>
[src]
type Output = <GF<u32> as BitOr<GF<u32>>>::Output
The resulting type after applying the |
operator.
pub fn bitor(self, other: GF<u32>) -> <GF<u32> as BitOr<GF<u32>>>::Output
[src]
impl BitOr<GF<u64>> for GF<u64>
[src]
type Output = GF<u64>
The resulting type after applying the |
operator.
pub fn bitor(self, other: GF<u64>) -> GF<u64>
[src]
impl<'a> BitOr<GF<u64>> for &'a GF<u64>
[src]
type Output = <GF<u64> as BitOr<GF<u64>>>::Output
The resulting type after applying the |
operator.
pub fn bitor(self, other: GF<u64>) -> <GF<u64> as BitOr<GF<u64>>>::Output
[src]
impl BitOr<GF<u8>> for GF<u8>
[src]
type Output = GF<u8>
The resulting type after applying the |
operator.
pub fn bitor(self, other: GF<u8>) -> GF<u8>
[src]
impl<'a> BitOr<GF<u8>> for &'a GF<u8>
[src]
type Output = <GF<u8> as BitOr<GF<u8>>>::Output
The resulting type after applying the |
operator.
pub fn bitor(self, other: GF<u8>) -> <GF<u8> as BitOr<GF<u8>>>::Output
[src]
impl BitOr<GF<usize>> for GF<usize>
[src]
type Output = GF<usize>
The resulting type after applying the |
operator.
pub fn bitor(self, other: GF<usize>) -> GF<usize>
[src]
impl<'a> BitOr<GF<usize>> for &'a GF<usize>
[src]
type Output = <GF<usize> as BitOr<GF<usize>>>::Output
The resulting type after applying the |
operator.
pub fn bitor(self, other: GF<usize>) -> <GF<usize> as BitOr<GF<usize>>>::Output
[src]
impl<'_> BitOrAssign<&'_ GF<u128>> for GF<u128>
[src]
pub fn bitor_assign(&mut self, other: &GF<u128>)
[src]
impl<'_> BitOrAssign<&'_ GF<u32>> for GF<u32>
[src]
pub fn bitor_assign(&mut self, other: &GF<u32>)
[src]
impl<'_> BitOrAssign<&'_ GF<u64>> for GF<u64>
[src]
pub fn bitor_assign(&mut self, other: &GF<u64>)
[src]
impl<'_> BitOrAssign<&'_ GF<u8>> for GF<u8>
[src]
pub fn bitor_assign(&mut self, other: &GF<u8>)
[src]
impl<'_> BitOrAssign<&'_ GF<usize>> for GF<usize>
[src]
pub fn bitor_assign(&mut self, other: &GF<usize>)
[src]
impl BitOrAssign<GF<u128>> for GF<u128>
[src]
pub fn bitor_assign(&mut self, other: GF<u128>)
[src]
impl BitOrAssign<GF<u32>> for GF<u32>
[src]
pub fn bitor_assign(&mut self, other: GF<u32>)
[src]
impl BitOrAssign<GF<u64>> for GF<u64>
[src]
pub fn bitor_assign(&mut self, other: GF<u64>)
[src]
impl BitOrAssign<GF<u8>> for GF<u8>
[src]
pub fn bitor_assign(&mut self, other: GF<u8>)
[src]
impl BitOrAssign<GF<usize>> for GF<usize>
[src]
pub fn bitor_assign(&mut self, other: GF<usize>)
[src]
impl<'_> BitXor<&'_ GF<u128>> for GF<u128>
[src]
type Output = <GF<u128> as BitXor<GF<u128>>>::Output
The resulting type after applying the ^
operator.
pub fn bitxor(self, other: &GF<u128>) -> <GF<u128> as BitXor<GF<u128>>>::Output
[src]
impl<'_, '_> BitXor<&'_ GF<u128>> for &'_ GF<u128>
[src]
type Output = <GF<u128> as BitXor<GF<u128>>>::Output
The resulting type after applying the ^
operator.
pub fn bitxor(self, other: &GF<u128>) -> <GF<u128> as BitXor<GF<u128>>>::Output
[src]
impl<'_> BitXor<&'_ GF<u32>> for GF<u32>
[src]
type Output = <GF<u32> as BitXor<GF<u32>>>::Output
The resulting type after applying the ^
operator.
pub fn bitxor(self, other: &GF<u32>) -> <GF<u32> as BitXor<GF<u32>>>::Output
[src]
impl<'_, '_> BitXor<&'_ GF<u32>> for &'_ GF<u32>
[src]
type Output = <GF<u32> as BitXor<GF<u32>>>::Output
The resulting type after applying the ^
operator.
pub fn bitxor(self, other: &GF<u32>) -> <GF<u32> as BitXor<GF<u32>>>::Output
[src]
impl<'_> BitXor<&'_ GF<u64>> for GF<u64>
[src]
type Output = <GF<u64> as BitXor<GF<u64>>>::Output
The resulting type after applying the ^
operator.
pub fn bitxor(self, other: &GF<u64>) -> <GF<u64> as BitXor<GF<u64>>>::Output
[src]
impl<'_, '_> BitXor<&'_ GF<u64>> for &'_ GF<u64>
[src]
type Output = <GF<u64> as BitXor<GF<u64>>>::Output
The resulting type after applying the ^
operator.
pub fn bitxor(self, other: &GF<u64>) -> <GF<u64> as BitXor<GF<u64>>>::Output
[src]
impl<'_> BitXor<&'_ GF<u8>> for GF<u8>
[src]
type Output = <GF<u8> as BitXor<GF<u8>>>::Output
The resulting type after applying the ^
operator.
pub fn bitxor(self, other: &GF<u8>) -> <GF<u8> as BitXor<GF<u8>>>::Output
[src]
impl<'_, '_> BitXor<&'_ GF<u8>> for &'_ GF<u8>
[src]
type Output = <GF<u8> as BitXor<GF<u8>>>::Output
The resulting type after applying the ^
operator.
pub fn bitxor(self, other: &GF<u8>) -> <GF<u8> as BitXor<GF<u8>>>::Output
[src]
impl<'_> BitXor<&'_ GF<usize>> for GF<usize>
[src]
type Output = <GF<usize> as BitXor<GF<usize>>>::Output
The resulting type after applying the ^
operator.
pub fn bitxor(
self,
other: &GF<usize>
) -> <GF<usize> as BitXor<GF<usize>>>::Output
[src]
self,
other: &GF<usize>
) -> <GF<usize> as BitXor<GF<usize>>>::Output
impl<'_, '_> BitXor<&'_ GF<usize>> for &'_ GF<usize>
[src]
type Output = <GF<usize> as BitXor<GF<usize>>>::Output
The resulting type after applying the ^
operator.
pub fn bitxor(
self,
other: &GF<usize>
) -> <GF<usize> as BitXor<GF<usize>>>::Output
[src]
self,
other: &GF<usize>
) -> <GF<usize> as BitXor<GF<usize>>>::Output
impl BitXor<GF<u128>> for GF<u128>
[src]
type Output = GF<u128>
The resulting type after applying the ^
operator.
pub fn bitxor(self, other: GF<u128>) -> GF<u128>
[src]
impl<'a> BitXor<GF<u128>> for &'a GF<u128>
[src]
type Output = <GF<u128> as BitXor<GF<u128>>>::Output
The resulting type after applying the ^
operator.
pub fn bitxor(self, other: GF<u128>) -> <GF<u128> as BitXor<GF<u128>>>::Output
[src]
impl BitXor<GF<u32>> for GF<u32>
[src]
type Output = GF<u32>
The resulting type after applying the ^
operator.
pub fn bitxor(self, other: GF<u32>) -> GF<u32>
[src]
impl<'a> BitXor<GF<u32>> for &'a GF<u32>
[src]
type Output = <GF<u32> as BitXor<GF<u32>>>::Output
The resulting type after applying the ^
operator.
pub fn bitxor(self, other: GF<u32>) -> <GF<u32> as BitXor<GF<u32>>>::Output
[src]
impl BitXor<GF<u64>> for GF<u64>
[src]
type Output = GF<u64>
The resulting type after applying the ^
operator.
pub fn bitxor(self, other: GF<u64>) -> GF<u64>
[src]
impl<'a> BitXor<GF<u64>> for &'a GF<u64>
[src]
type Output = <GF<u64> as BitXor<GF<u64>>>::Output
The resulting type after applying the ^
operator.
pub fn bitxor(self, other: GF<u64>) -> <GF<u64> as BitXor<GF<u64>>>::Output
[src]
impl BitXor<GF<u8>> for GF<u8>
[src]
type Output = GF<u8>
The resulting type after applying the ^
operator.
pub fn bitxor(self, other: GF<u8>) -> GF<u8>
[src]
impl<'a> BitXor<GF<u8>> for &'a GF<u8>
[src]
type Output = <GF<u8> as BitXor<GF<u8>>>::Output
The resulting type after applying the ^
operator.
pub fn bitxor(self, other: GF<u8>) -> <GF<u8> as BitXor<GF<u8>>>::Output
[src]
impl BitXor<GF<usize>> for GF<usize>
[src]
type Output = GF<usize>
The resulting type after applying the ^
operator.
pub fn bitxor(self, other: GF<usize>) -> GF<usize>
[src]
impl<'a> BitXor<GF<usize>> for &'a GF<usize>
[src]
type Output = <GF<usize> as BitXor<GF<usize>>>::Output
The resulting type after applying the ^
operator.
pub fn bitxor(
self,
other: GF<usize>
) -> <GF<usize> as BitXor<GF<usize>>>::Output
[src]
self,
other: GF<usize>
) -> <GF<usize> as BitXor<GF<usize>>>::Output
impl<'_> BitXorAssign<&'_ GF<u128>> for GF<u128>
[src]
pub fn bitxor_assign(&mut self, other: &GF<u128>)
[src]
impl<'_> BitXorAssign<&'_ GF<u32>> for GF<u32>
[src]
pub fn bitxor_assign(&mut self, other: &GF<u32>)
[src]
impl<'_> BitXorAssign<&'_ GF<u64>> for GF<u64>
[src]
pub fn bitxor_assign(&mut self, other: &GF<u64>)
[src]
impl<'_> BitXorAssign<&'_ GF<u8>> for GF<u8>
[src]
pub fn bitxor_assign(&mut self, other: &GF<u8>)
[src]
impl<'_> BitXorAssign<&'_ GF<usize>> for GF<usize>
[src]
pub fn bitxor_assign(&mut self, other: &GF<usize>)
[src]
impl BitXorAssign<GF<u128>> for GF<u128>
[src]
pub fn bitxor_assign(&mut self, other: GF<u128>)
[src]
impl BitXorAssign<GF<u32>> for GF<u32>
[src]
pub fn bitxor_assign(&mut self, other: GF<u32>)
[src]
impl BitXorAssign<GF<u64>> for GF<u64>
[src]
pub fn bitxor_assign(&mut self, other: GF<u64>)
[src]
impl BitXorAssign<GF<u8>> for GF<u8>
[src]
pub fn bitxor_assign(&mut self, other: GF<u8>)
[src]
impl BitXorAssign<GF<usize>> for GF<usize>
[src]
pub fn bitxor_assign(&mut self, other: GF<usize>)
[src]
impl<T: Clone> Clone for GF<T>
[src]
pub fn clone(&self) -> GF<T>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: Copy> Copy for GF<T>
[src]
impl<T: Debug> Debug for GF<T>
[src]
impl<T: Default> Default for GF<T>
[src]
impl<T: Display> Display for GF<T>
[src]
impl<'_> Div<&'_ GF<u8>> for GF<u8>
[src]
type Output = <GF<u8> as Div<GF<u8>>>::Output
The resulting type after applying the /
operator.
pub fn div(self, other: &GF<u8>) -> <GF<u8> as Div<GF<u8>>>::Output
[src]
impl<'_, '_> Div<&'_ GF<u8>> for &'_ GF<u8>
[src]
type Output = <GF<u8> as Div<GF<u8>>>::Output
The resulting type after applying the /
operator.
pub fn div(self, other: &GF<u8>) -> <GF<u8> as Div<GF<u8>>>::Output
[src]
impl Div<GF<u8>> for GF<u8>
[src]
type Output = GF<u8>
The resulting type after applying the /
operator.
pub fn div(self, other: GF<u8>) -> GF<u8>
[src]
impl<'a> Div<GF<u8>> for &'a GF<u8>
[src]
type Output = <GF<u8> as Div<GF<u8>>>::Output
The resulting type after applying the /
operator.
pub fn div(self, other: GF<u8>) -> <GF<u8> as Div<GF<u8>>>::Output
[src]
impl<'_> DivAssign<&'_ GF<u8>> for GF<u8>
[src]
pub fn div_assign(&mut self, other: &GF<u8>)
[src]
impl DivAssign<GF<u8>> for GF<u8>
[src]
pub fn div_assign(&mut self, other: GF<u8>)
[src]
impl<T: Eq> Eq for GF<T>
[src]
impl From<GF<u128>> for u128
[src]
impl From<GF<u32>> for u32
[src]
impl From<GF<u64>> for u64
[src]
impl From<GF<u8>> for u8
[src]
impl From<GF<usize>> for usize
[src]
impl From<u128> for GF<u128>
[src]
impl From<u32> for GF<u32>
[src]
impl From<u64> for GF<u64>
[src]
impl From<u8> for GF<u8>
[src]
impl From<usize> for GF<usize>
[src]
impl<T: Hash> Hash for GF<T>
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<T: LowerHex> LowerHex for GF<T>
[src]
impl<'_> Mul<&'_ GF<u8>> for GF<u8>
[src]
type Output = <GF<u8> as Mul<GF<u8>>>::Output
The resulting type after applying the *
operator.
pub fn mul(self, other: &GF<u8>) -> <GF<u8> as Mul<GF<u8>>>::Output
[src]
impl<'_, '_> Mul<&'_ GF<u8>> for &'_ GF<u8>
[src]
type Output = <GF<u8> as Mul<GF<u8>>>::Output
The resulting type after applying the *
operator.
pub fn mul(self, other: &GF<u8>) -> <GF<u8> as Mul<GF<u8>>>::Output
[src]
impl Mul<GF<u8>> for GF<u8>
[src]
type Output = GF<u8>
The resulting type after applying the *
operator.
pub fn mul(self, other: GF<u8>) -> GF<u8>
[src]
impl<'a> Mul<GF<u8>> for &'a GF<u8>
[src]
type Output = <GF<u8> as Mul<GF<u8>>>::Output
The resulting type after applying the *
operator.
pub fn mul(self, other: GF<u8>) -> <GF<u8> as Mul<GF<u8>>>::Output
[src]
impl<'_> MulAssign<&'_ GF<u8>> for GF<u8>
[src]
pub fn mul_assign(&mut self, other: &GF<u8>)
[src]
impl MulAssign<GF<u8>> for GF<u8>
[src]
pub fn mul_assign(&mut self, other: GF<u8>)
[src]
impl Neg for GF<u8>
[src]
impl<'_> Neg for &'_ GF<u8>
[src]
type Output = <GF<u8> as Neg>::Output
The resulting type after applying the -
operator.
pub fn neg(self) -> <GF<u8> as Neg>::Output
[src]
impl Neg for GF<u32>
[src]
impl<'_> Neg for &'_ GF<u32>
[src]
type Output = <GF<u32> as Neg>::Output
The resulting type after applying the -
operator.
pub fn neg(self) -> <GF<u32> as Neg>::Output
[src]
impl Neg for GF<u64>
[src]
impl<'_> Neg for &'_ GF<u64>
[src]
type Output = <GF<u64> as Neg>::Output
The resulting type after applying the -
operator.
pub fn neg(self) -> <GF<u64> as Neg>::Output
[src]
impl Neg for GF<u128>
[src]
impl<'_> Neg for &'_ GF<u128>
[src]
type Output = <GF<u128> as Neg>::Output
The resulting type after applying the -
operator.
pub fn neg(self) -> <GF<u128> as Neg>::Output
[src]
impl Neg for GF<usize>
[src]
impl<'_> Neg for &'_ GF<usize>
[src]
type Output = <GF<usize> as Neg>::Output
The resulting type after applying the -
operator.
pub fn neg(self) -> <GF<usize> as Neg>::Output
[src]
impl Not for GF<u8>
[src]
type Output = GF<u8>
The resulting type after applying the !
operator.
pub fn not(self) -> GF<u8>
[src]
impl<'_> Not for &'_ GF<u8>
[src]
type Output = <GF<u8> as Not>::Output
The resulting type after applying the !
operator.
pub fn not(self) -> <GF<u8> as Not>::Output
[src]
impl Not for GF<u32>
[src]
type Output = GF<u32>
The resulting type after applying the !
operator.
pub fn not(self) -> GF<u32>
[src]
impl<'_> Not for &'_ GF<u32>
[src]
type Output = <GF<u32> as Not>::Output
The resulting type after applying the !
operator.
pub fn not(self) -> <GF<u32> as Not>::Output
[src]
impl Not for GF<u64>
[src]
type Output = GF<u64>
The resulting type after applying the !
operator.
pub fn not(self) -> GF<u64>
[src]
impl<'_> Not for &'_ GF<u64>
[src]
type Output = <GF<u64> as Not>::Output
The resulting type after applying the !
operator.
pub fn not(self) -> <GF<u64> as Not>::Output
[src]
impl Not for GF<u128>
[src]
type Output = GF<u128>
The resulting type after applying the !
operator.
pub fn not(self) -> GF<u128>
[src]
impl<'_> Not for &'_ GF<u128>
[src]
type Output = <GF<u128> as Not>::Output
The resulting type after applying the !
operator.
pub fn not(self) -> <GF<u128> as Not>::Output
[src]
impl Not for GF<usize>
[src]
type Output = GF<usize>
The resulting type after applying the !
operator.
pub fn not(self) -> GF<usize>
[src]
impl<'_> Not for &'_ GF<usize>
[src]
type Output = <GF<usize> as Not>::Output
The resulting type after applying the !
operator.
pub fn not(self) -> <GF<usize> as Not>::Output
[src]
impl<T: Octal> Octal for GF<T>
[src]
impl<T: Ord> Ord for GF<T>
[src]
pub fn cmp(&self, other: &GF<T>) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl<T: PartialEq> PartialEq<GF<T>> for GF<T>
[src]
impl<T: PartialOrd> PartialOrd<GF<T>> for GF<T>
[src]
pub fn partial_cmp(&self, other: &GF<T>) -> Option<Ordering>
[src]
pub fn lt(&self, other: &GF<T>) -> bool
[src]
pub fn le(&self, other: &GF<T>) -> bool
[src]
pub fn gt(&self, other: &GF<T>) -> bool
[src]
pub fn ge(&self, other: &GF<T>) -> bool
[src]
impl<'a> Product<&'a GF<u8>> for GF<u8>
[src]
impl Product<GF<u8>> for GF<u8>
[src]
impl<T> StructuralEq for GF<T>
[src]
impl<T> StructuralPartialEq for GF<T>
[src]
impl<'_> Sub<&'_ GF<u128>> for GF<u128>
[src]
type Output = <GF<u128> as Sub<GF<u128>>>::Output
The resulting type after applying the -
operator.
pub fn sub(self, other: &GF<u128>) -> <GF<u128> as Sub<GF<u128>>>::Output
[src]
impl<'_, '_> Sub<&'_ GF<u128>> for &'_ GF<u128>
[src]
type Output = <GF<u128> as Sub<GF<u128>>>::Output
The resulting type after applying the -
operator.
pub fn sub(self, other: &GF<u128>) -> <GF<u128> as Sub<GF<u128>>>::Output
[src]
impl<'_> Sub<&'_ GF<u32>> for GF<u32>
[src]
type Output = <GF<u32> as Sub<GF<u32>>>::Output
The resulting type after applying the -
operator.
pub fn sub(self, other: &GF<u32>) -> <GF<u32> as Sub<GF<u32>>>::Output
[src]
impl<'_, '_> Sub<&'_ GF<u32>> for &'_ GF<u32>
[src]
type Output = <GF<u32> as Sub<GF<u32>>>::Output
The resulting type after applying the -
operator.
pub fn sub(self, other: &GF<u32>) -> <GF<u32> as Sub<GF<u32>>>::Output
[src]
impl<'_> Sub<&'_ GF<u64>> for GF<u64>
[src]
type Output = <GF<u64> as Sub<GF<u64>>>::Output
The resulting type after applying the -
operator.
pub fn sub(self, other: &GF<u64>) -> <GF<u64> as Sub<GF<u64>>>::Output
[src]
impl<'_, '_> Sub<&'_ GF<u64>> for &'_ GF<u64>
[src]
type Output = <GF<u64> as Sub<GF<u64>>>::Output
The resulting type after applying the -
operator.
pub fn sub(self, other: &GF<u64>) -> <GF<u64> as Sub<GF<u64>>>::Output
[src]
impl<'_> Sub<&'_ GF<u8>> for GF<u8>
[src]
type Output = <GF<u8> as Sub<GF<u8>>>::Output
The resulting type after applying the -
operator.
pub fn sub(self, other: &GF<u8>) -> <GF<u8> as Sub<GF<u8>>>::Output
[src]
impl<'_, '_> Sub<&'_ GF<u8>> for &'_ GF<u8>
[src]
type Output = <GF<u8> as Sub<GF<u8>>>::Output
The resulting type after applying the -
operator.
pub fn sub(self, other: &GF<u8>) -> <GF<u8> as Sub<GF<u8>>>::Output
[src]
impl<'_> Sub<&'_ GF<usize>> for GF<usize>
[src]
type Output = <GF<usize> as Sub<GF<usize>>>::Output
The resulting type after applying the -
operator.
pub fn sub(self, other: &GF<usize>) -> <GF<usize> as Sub<GF<usize>>>::Output
[src]
impl<'_, '_> Sub<&'_ GF<usize>> for &'_ GF<usize>
[src]
type Output = <GF<usize> as Sub<GF<usize>>>::Output
The resulting type after applying the -
operator.
pub fn sub(self, other: &GF<usize>) -> <GF<usize> as Sub<GF<usize>>>::Output
[src]
impl Sub<GF<u128>> for GF<u128>
[src]
type Output = GF<u128>
The resulting type after applying the -
operator.
pub fn sub(self, other: GF<u128>) -> GF<u128>
[src]
impl<'a> Sub<GF<u128>> for &'a GF<u128>
[src]
type Output = <GF<u128> as Sub<GF<u128>>>::Output
The resulting type after applying the -
operator.
pub fn sub(self, other: GF<u128>) -> <GF<u128> as Sub<GF<u128>>>::Output
[src]
impl Sub<GF<u32>> for GF<u32>
[src]
type Output = GF<u32>
The resulting type after applying the -
operator.
pub fn sub(self, other: GF<u32>) -> GF<u32>
[src]
impl<'a> Sub<GF<u32>> for &'a GF<u32>
[src]
type Output = <GF<u32> as Sub<GF<u32>>>::Output
The resulting type after applying the -
operator.
pub fn sub(self, other: GF<u32>) -> <GF<u32> as Sub<GF<u32>>>::Output
[src]
impl Sub<GF<u64>> for GF<u64>
[src]
type Output = GF<u64>
The resulting type after applying the -
operator.
pub fn sub(self, other: GF<u64>) -> GF<u64>
[src]
impl<'a> Sub<GF<u64>> for &'a GF<u64>
[src]
type Output = <GF<u64> as Sub<GF<u64>>>::Output
The resulting type after applying the -
operator.
pub fn sub(self, other: GF<u64>) -> <GF<u64> as Sub<GF<u64>>>::Output
[src]
impl Sub<GF<u8>> for GF<u8>
[src]
type Output = GF<u8>
The resulting type after applying the -
operator.
pub fn sub(self, other: GF<u8>) -> GF<u8>
[src]
impl<'a> Sub<GF<u8>> for &'a GF<u8>
[src]
type Output = <GF<u8> as Sub<GF<u8>>>::Output
The resulting type after applying the -
operator.
pub fn sub(self, other: GF<u8>) -> <GF<u8> as Sub<GF<u8>>>::Output
[src]
impl Sub<GF<usize>> for GF<usize>
[src]
type Output = GF<usize>
The resulting type after applying the -
operator.
pub fn sub(self, other: GF<usize>) -> GF<usize>
[src]
impl<'a> Sub<GF<usize>> for &'a GF<usize>
[src]
type Output = <GF<usize> as Sub<GF<usize>>>::Output
The resulting type after applying the -
operator.
pub fn sub(self, other: GF<usize>) -> <GF<usize> as Sub<GF<usize>>>::Output
[src]
impl<'_> SubAssign<&'_ GF<u128>> for GF<u128>
[src]
pub fn sub_assign(&mut self, other: &GF<u128>)
[src]
impl<'_> SubAssign<&'_ GF<u32>> for GF<u32>
[src]
pub fn sub_assign(&mut self, other: &GF<u32>)
[src]
impl<'_> SubAssign<&'_ GF<u64>> for GF<u64>
[src]
pub fn sub_assign(&mut self, other: &GF<u64>)
[src]
impl<'_> SubAssign<&'_ GF<u8>> for GF<u8>
[src]
pub fn sub_assign(&mut self, other: &GF<u8>)
[src]
impl<'_> SubAssign<&'_ GF<usize>> for GF<usize>
[src]
pub fn sub_assign(&mut self, other: &GF<usize>)
[src]
impl SubAssign<GF<u128>> for GF<u128>
[src]
pub fn sub_assign(&mut self, other: GF<u128>)
[src]
impl SubAssign<GF<u32>> for GF<u32>
[src]
pub fn sub_assign(&mut self, other: GF<u32>)
[src]
impl SubAssign<GF<u64>> for GF<u64>
[src]
pub fn sub_assign(&mut self, other: GF<u64>)
[src]
impl SubAssign<GF<u8>> for GF<u8>
[src]
pub fn sub_assign(&mut self, other: GF<u8>)
[src]
impl SubAssign<GF<usize>> for GF<usize>
[src]
pub fn sub_assign(&mut self, other: GF<usize>)
[src]
impl<'a> Sum<&'a GF<u128>> for GF<u128>
[src]
impl<'a> Sum<&'a GF<u32>> for GF<u32>
[src]
impl<'a> Sum<&'a GF<u64>> for GF<u64>
[src]
impl<'a> Sum<&'a GF<u8>> for GF<u8>
[src]
impl<'a> Sum<&'a GF<usize>> for GF<usize>
[src]
impl Sum<GF<u128>> for GF<u128>
[src]
impl Sum<GF<u32>> for GF<u32>
[src]
impl Sum<GF<u64>> for GF<u64>
[src]
impl Sum<GF<u8>> for GF<u8>
[src]
impl Sum<GF<usize>> for GF<usize>
[src]
impl<T: UpperHex> UpperHex for GF<T>
[src]
Auto Trait Implementations
impl<T> Send for GF<T> where
T: Send,
T: Send,
impl<T> Sync for GF<T> where
T: Sync,
T: Sync,
impl<T> Unpin for GF<T> where
T: Unpin,
T: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,