Struct hotg_runicos_base_runtime::Random [−][src]
pub struct Random<R>(_);
Expand description
A Capability
that defers to a random number generator.
Implementations
Trait Implementations
Auto Trait Implementations
impl<R> RefUnwindSafe for Random<R> where
R: RefUnwindSafe,
impl<R> UnwindSafe for Random<R> where
R: UnwindSafe,
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more