Struct bitcoin_muhash::Num3072
source · pub struct Num3072 { /* private fields */ }
Implementations§
source§impl Num3072
impl Num3072
sourcepub fn is_overflow(&self) -> bool
pub fn is_overflow(&self) -> bool
| Indicates whether d is larger than the | modulus. |
pub fn full_reduce(&mut self)
pub fn get_inverse(&self) -> Num3072
pub fn multiply(&mut self, a: &Num3072)
pub fn square(&mut self)
pub fn set_to_one(&mut self)
pub fn divide(&mut self, a: &Num3072)
pub fn new(data: &[u8; 384]) -> Self
pub fn to_bytes(&mut self, out: &mut [u8; 384])
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Num3072
impl Send for Num3072
impl Sync for Num3072
impl Unpin for Num3072
impl UnwindSafe for Num3072
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more