Skip to main content

WorkflowRandomValue

Trait WorkflowRandomValue 

Source
pub trait WorkflowRandomValue: Sized + Sealed { }
Expand description

A numeric value that can be generated by WorkflowContext::random.

This trait is sealed and implemented for u8, u16, u32, u64, u128, i8, i16, i32, i64, i128, f32, and f64.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl WorkflowRandomValue for f32

Source§

impl WorkflowRandomValue for f64

Source§

impl WorkflowRandomValue for i8

Source§

impl WorkflowRandomValue for i16

Source§

impl WorkflowRandomValue for i32

Source§

impl WorkflowRandomValue for i64

Source§

impl WorkflowRandomValue for i128

Source§

impl WorkflowRandomValue for u8

Source§

impl WorkflowRandomValue for u16

Source§

impl WorkflowRandomValue for u32

Source§

impl WorkflowRandomValue for u64

Source§

impl WorkflowRandomValue for u128

Implementors§