Struct kaspa_math::int::SignedInteger
source · pub struct SignedInteger<T> { /* private fields */ }Implementations§
source§impl<T: From<u64>> SignedInteger<T>
impl<T: From<u64>> SignedInteger<T>
pub fn positive_u64(u: u64) -> Self
Trait Implementations§
source§impl<T: Clone> Clone for SignedInteger<T>
impl<T: Clone> Clone for SignedInteger<T>
source§fn clone(&self) -> SignedInteger<T>
fn clone(&self) -> SignedInteger<T>
Returns a copy 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<T: Debug> Debug for SignedInteger<T>
impl<T: Debug> Debug for SignedInteger<T>
source§impl<T: Display> Display for SignedInteger<T>
impl<T: Display> Display for SignedInteger<T>
source§impl<T: Div<Output = T>> Div<SignedInteger<T>> for SignedInteger<T>
impl<T: Div<Output = T>> Div<SignedInteger<T>> for SignedInteger<T>
source§impl<T> From<T> for SignedInteger<T>
impl<T> From<T> for SignedInteger<T>
source§impl<T: Mul<Output = T>> Mul<SignedInteger<T>> for SignedInteger<T>
impl<T: Mul<Output = T>> Mul<SignedInteger<T>> for SignedInteger<T>
source§impl<T: PartialEq> PartialEq<SignedInteger<T>> for SignedInteger<T>
impl<T: PartialEq> PartialEq<SignedInteger<T>> for SignedInteger<T>
source§fn eq(&self, other: &SignedInteger<T>) -> bool
fn eq(&self, other: &SignedInteger<T>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.