pub struct P256Scalar(pub [u8; 32]);Expand description
Canonical P-256 scalar: big-endian, 32 bytes.
This is the portable representation that crosses the backend boundary.
Tuple Fields§
§0: [u8; 32]Trait Implementations§
Source§impl Clone for P256Scalar
impl Clone for P256Scalar
Source§fn clone(&self) -> P256Scalar
fn clone(&self) -> P256Scalar
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for P256Scalar
Source§impl Debug for P256Scalar
impl Debug for P256Scalar
Source§impl Default for P256Scalar
impl Default for P256Scalar
Source§fn default() -> P256Scalar
fn default() -> P256Scalar
Returns the “default value” for a type. Read more
impl Eq for P256Scalar
Source§impl PartialEq for P256Scalar
impl PartialEq for P256Scalar
impl StructuralPartialEq for P256Scalar
Auto Trait Implementations§
impl Freeze for P256Scalar
impl RefUnwindSafe for P256Scalar
impl Send for P256Scalar
impl Sync for P256Scalar
impl Unpin for P256Scalar
impl UnsafeUnpin for P256Scalar
impl UnwindSafe for P256Scalar
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