pub struct I64Group(pub i64);
Expand description
See self
Tuple Fields§
§0: i64
Trait Implementations§
Source§impl AddAssign for I64Group
impl AddAssign for I64Group
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 I64Group
impl<const LAMBDA: usize> Group<LAMBDA> for I64Group
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 I64Group
impl StructuralPartialEq for I64Group
Auto Trait Implementations§
impl Freeze for I64Group
impl RefUnwindSafe for I64Group
impl Send for I64Group
impl Sync for I64Group
impl Unpin for I64Group
impl UnwindSafe for I64Group
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