[−][src]Trait binjs::generic::pick::Pick
Required methods
Loading content...Implementors
impl Pick for NamedType
[src]
impl Pick for TypeSpec
[src]
impl Pick for Picker
[src]
impl Pick for Interface
[src]
fn random<T>(&self, syntax: &Spec, rng: &mut T, depth_limit: isize) -> Value where
T: Rng,
[src]
T: Rng,
Generate a random instance of this interface matching the syntax.
impl Pick for Spec
[src]
fn random<T>(&self, &Spec, rng: &mut T, depth_limit: isize) -> Value where
T: Rng,
[src]
T: Rng,
Generate a random AST matching the grammar.
depth_limit
is used as hint to control the depth of the tree