pub struct GF2(/* private fields */);Expand description
Finite field GF(2) element.
This struct represents an element of the finite field GF(2).
Trait Implementations§
Source§impl AddAssign<&GF2> for GF2
impl AddAssign<&GF2> for GF2
Source§fn add_assign(&mut self, rhs: &GF2)
fn add_assign(&mut self, rhs: &GF2)
Performs the
+= operation. Read moreSource§impl AddAssign for GF2
impl AddAssign for GF2
Source§fn add_assign(&mut self, rhs: GF2)
fn add_assign(&mut self, rhs: GF2)
Performs the
+= operation. Read moreSource§impl DivAssign<&GF2> for GF2
impl DivAssign<&GF2> for GF2
Source§fn div_assign(&mut self, rhs: &GF2)
fn div_assign(&mut self, rhs: &GF2)
Performs the
/= operation. Read moreSource§impl DivAssign for GF2
impl DivAssign for GF2
Source§fn div_assign(&mut self, rhs: GF2)
fn div_assign(&mut self, rhs: GF2)
Performs the
/= operation. Read moreSource§impl MulAssign<&GF2> for GF2
impl MulAssign<&GF2> for GF2
Source§fn mul_assign(&mut self, rhs: &GF2)
fn mul_assign(&mut self, rhs: &GF2)
Performs the
*= operation. Read moreSource§impl MulAssign for GF2
impl MulAssign for GF2
Source§fn mul_assign(&mut self, rhs: GF2)
fn mul_assign(&mut self, rhs: GF2)
Performs the
*= operation. Read moreSource§impl SubAssign<&GF2> for GF2
impl SubAssign<&GF2> for GF2
Source§fn sub_assign(&mut self, rhs: &GF2)
fn sub_assign(&mut self, rhs: &GF2)
Performs the
-= operation. Read moreSource§impl SubAssign for GF2
impl SubAssign for GF2
Source§fn sub_assign(&mut self, rhs: GF2)
fn sub_assign(&mut self, rhs: GF2)
Performs the
-= operation. Read moreimpl Copy for GF2
impl Eq for GF2
impl ScalarOperand for GF2
impl StructuralPartialEq for GF2
Auto Trait Implementations§
impl Freeze for GF2
impl RefUnwindSafe for GF2
impl Send for GF2
impl Sync for GF2
impl Unpin for GF2
impl UnwindSafe for GF2
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more