Struct prop_check_rs::gen::Gen

source ·
pub struct Gen<A> { /* private fields */ }
Expand description

Generator that generates values.
値を生成するジェネレータ。

Implementations§

Evaluates expressions held by the Gen and generates values.
Genが保持する式を評価し値を生成します。

Generate a Gen by specifying a State.
Stateを指定してGenを生成します。

Applies a function to Gen.
Genに関数を適用します。

Applies a function that takes the result of two Gen’s as arguments.
二つのGenの結果を引数に取る関数を適用します。

Applies a function to a Gen that takes the result of the Gen as an argument and returns the result.
Genに対してそのGenの結果を引数にとりGenを返す関数を適用しその結果を返します。

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.