pub struct RngState { /* private fields */ }Expand description
RAII wrapper around cugraph_rng_state_t.
The RNG state is used by stochastic algorithms and is updated in-place with each call. Not thread-safe; must be used from the thread that created it.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RngState
impl !Send for RngState
impl !Sync for RngState
impl !UnwindSafe for RngState
impl Freeze for RngState
impl Unpin for RngState
impl UnsafeUnpin for RngState
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