Struct ring::ec::curve25519::scalar::MaskedScalar
source · #[repr(transparent)]pub struct MaskedScalar([u8; 32]);
Tuple Fields§
§0: [u8; 32]
Implementations§
source§impl MaskedScalar
impl MaskedScalar
pub fn from_bytes_masked(bytes: [u8; 32]) -> Self
Trait Implementations§
source§impl From<MaskedScalar> for Scalar
impl From<MaskedScalar> for Scalar
source§fn from(MaskedScalar: MaskedScalar) -> Self
fn from(MaskedScalar: MaskedScalar) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MaskedScalar
impl RefUnwindSafe for MaskedScalar
impl Send for MaskedScalar
impl Sync for MaskedScalar
impl Unpin for MaskedScalar
impl UnwindSafe for MaskedScalar
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