pub struct U128Group(pub u128);
Expand description
See self
Tuple Fields§
§0: u128
Trait Implementations§
Source§impl AddAssign for U128Group
impl AddAssign for U128Group
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+=
operation. Read moreSource§impl<const LAMBDA: usize> Group<LAMBDA> for U128Group
impl<const LAMBDA: usize> Group<LAMBDA> for U128Group
Source§fn add_inverse(self) -> Self
fn add_inverse(self) -> Self
Additive inverse in the group, e.g.,
-x
for x
in the integer groupSource§fn add_inverse_if(self, t: bool) -> Self
fn add_inverse_if(self, t: bool) -> Self
Helper to get the additive inverse if true.
Used for expressions like
$(-1)^n x$
, in which t
can be computed from n
.impl Eq for U128Group
impl StructuralPartialEq for U128Group
Auto Trait Implementations§
impl Freeze for U128Group
impl RefUnwindSafe for U128Group
impl Send for U128Group
impl Sync for U128Group
impl Unpin for U128Group
impl UnwindSafe for U128Group
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