Struct capsules_core::test::virtual_rng::TestRng
source · pub struct TestRng<'a> { /* private fields */ }
Implementations§
source§impl<'a> TestRng<'a>
impl<'a> TestRng<'a>
pub fn new( device_id: usize, device: &'a VirtualRngMasterDevice<'a>, ) -> TestRng<'a>
pub fn get_random_nums(&self)
Trait Implementations§
Auto Trait Implementations§
impl<'a> !Freeze for TestRng<'a>
impl<'a> !RefUnwindSafe for TestRng<'a>
impl<'a> !Send for TestRng<'a>
impl<'a> !Sync for TestRng<'a>
impl<'a> Unpin for TestRng<'a>
impl<'a> !UnwindSafe for TestRng<'a>
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