pub struct IsizeGroup(pub isize);
Expand description
See self
Tuple Fields§
§0: isize
Trait Implementations§
Source§impl Add for IsizeGroup
impl Add for IsizeGroup
Source§impl AddAssign for IsizeGroup
impl AddAssign for IsizeGroup
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+=
operation. Read moreSource§impl Clone for IsizeGroup
impl Clone for IsizeGroup
Source§fn clone(&self) -> IsizeGroup
fn clone(&self) -> IsizeGroup
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IsizeGroup
impl Debug for IsizeGroup
Source§impl<const LAMBDA: usize> From<IsizeGroup> for [u8; LAMBDA]
impl<const LAMBDA: usize> From<IsizeGroup> for [u8; LAMBDA]
Source§fn from(value: IsizeGroup) -> Self
fn from(value: IsizeGroup) -> Self
Converts to this type from the input type.
Source§impl<const LAMBDA: usize> Group<LAMBDA> for IsizeGroup
impl<const LAMBDA: usize> Group<LAMBDA> for IsizeGroup
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 IsizeGroup
impl PartialEq for IsizeGroup
impl Eq for IsizeGroup
impl StructuralPartialEq for IsizeGroup
Auto Trait Implementations§
impl Freeze for IsizeGroup
impl RefUnwindSafe for IsizeGroup
impl Send for IsizeGroup
impl Sync for IsizeGroup
impl Unpin for IsizeGroup
impl UnwindSafe for IsizeGroup
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