Trait ring::rand::sealed::RandomlyConstructable

source ·
pub trait RandomlyConstructable: Sized {
    // Required methods
    fn zero() -> Self;
    fn as_mut_bytes(&mut self) -> &mut [u8] ;
}

Required Methods§

source

fn zero() -> Self

source

fn as_mut_bytes(&mut self) -> &mut [u8]

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<const N: usize> RandomlyConstructable for [u8; N]

source§

fn zero() -> Self

source§

fn as_mut_bytes(&mut self) -> &mut [u8]

Implementors§