[−][src]Trait binjs_generic::pick::Pick
Required methods
Loading content...Implementations on Foreign Types
impl Pick for NamedType
[src]
impl Pick for TypeSpec
[src]
impl Pick for Type
[src]
impl Pick for Interface
[src]
fn random<T: Rng>(&self, syntax: &Spec, rng: &mut T, depth_limit: isize) -> JSON
[src]
Generate a random instance of this interface matching the syntax.
impl Pick for Spec
[src]
fn random<T: Rng>(&self, _: &Spec, rng: &mut T, depth_limit: isize) -> JSON
[src]
Generate a random AST matching the grammar.
depth_limit
is used as hint to control the depth of the tree