[][src]Function cborian::random::gen_value

pub fn gen_value<GenType: Gen>(level: u16, make_value: &mut GenType) -> Value

Generate a random cborian::Value. Mostly useful for quickcheck related tests. The parameter level denotes the maximum nesting of this value.