Struct group_math::int::I128Group
source · pub struct I128Group(pub i128);Expand description
See self
Tuple Fields§
§0: i128Trait Implementations§
source§impl AddAssign for I128Group
impl AddAssign for I128Group
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 I128Group
impl<const LAMBDA: usize> Group<LAMBDA> for I128Group
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.source§impl PartialEq for I128Group
impl PartialEq for I128Group
impl Eq for I128Group
impl StructuralEq for I128Group
impl StructuralPartialEq for I128Group
Auto Trait Implementations§
impl RefUnwindSafe for I128Group
impl Send for I128Group
impl Sync for I128Group
impl Unpin for I128Group
impl UnwindSafe for I128Group
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