Struct esp_idf_sys::mbedtls_mpi
source · [−]#[repr(C)]pub struct mbedtls_mpi {
pub s: c_int,
pub n: usize,
pub p: *mut mbedtls_mpi_uint,
}
Expand description
\brief MPI structure
Fields
s: c_int
< Sign: -1 if the mpi is negative, 1 otherwise
n: usize
< total # of limbs
p: *mut mbedtls_mpi_uint
< pointer to limbs
Trait Implementations
sourceimpl Clone for mbedtls_mpi
impl Clone for mbedtls_mpi
sourcefn clone(&self) -> mbedtls_mpi
fn clone(&self) -> mbedtls_mpi
Returns a copy of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for mbedtls_mpi
impl Debug for mbedtls_mpi
sourceimpl Default for mbedtls_mpi
impl Default for mbedtls_mpi
impl Copy for mbedtls_mpi
Auto Trait Implementations
impl RefUnwindSafe for mbedtls_mpi
impl !Send for mbedtls_mpi
impl !Sync for mbedtls_mpi
impl Unpin for mbedtls_mpi
impl UnwindSafe for mbedtls_mpi
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more