Trait rsa_cortex_m4::numbers::NumberMut[][src]

pub trait NumberMut: Number + DerefMut {
    fn from_slice(slice: &[Digit]) -> Self { ... }
fn try_from_slice(slice: &[Digit]) -> Result<Self> { ... }
fn from_bytes(bytes: &[u8]) -> Self { ... }
fn set_zero(&mut self) { ... }
fn one() -> Self { ... }
fn swap_order(self) -> Self { ... }
fn random(rng: impl CryptoRng + RngCore) -> Self { ... } }

Mutable access to a Number.

Provided methods

fn from_slice(slice: &[Digit]) -> Self[src]

fn try_from_slice(slice: &[Digit]) -> Result<Self>[src]

fn from_bytes(bytes: &[u8]) -> Self[src]

fn set_zero(&mut self)[src]

fn one() -> Self[src]

fn swap_order(self) -> Self[src]

Swap endianness of digits in Self and, if the platform is little-endian, endianness of bytes within digits.

fn random(rng: impl CryptoRng + RngCore) -> Self[src]

Loading content...

Implementors

impl<T: Number + NumberMut> NumberMut for Wrapping<T>[src]

impl<const D: usize, const E: usize> NumberMut for Unsigned<D, E>[src]

impl<const D: usize, const E: usize, const L: usize> NumberMut for Array<D, E, L>[src]

Loading content...