#[repr(C)]pub struct RandomApi {
pub next: Option<unsafe extern "C" fn() -> u64>,
pub next_n: Option<unsafe extern "C" fn(res: *mut u64, n: u32)>,
pub seed_new_state: Option<unsafe extern "C" fn(s: *mut u64)>,
}
Fields§
§next: Option<unsafe extern "C" fn() -> u64>
§next_n: Option<unsafe extern "C" fn(res: *mut u64, n: u32)>
§seed_new_state: Option<unsafe extern "C" fn(s: *mut u64)>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RandomApi
impl RefUnwindSafe for RandomApi
impl Send for RandomApi
impl Sync for RandomApi
impl Unpin for RandomApi
impl UnwindSafe for RandomApi
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