Nokome Bentley2 min read

Inline

Union type for valid inline content.

Members

The Inline type has these members:

Bindings

The Inline type is represented in:

Testing

During property-based (a.k.a generative) testing, the variants of the Inline type are generated using the following strategies for each complexity level. Any variant not shown is generated using the default strategy for the corresponding type and complexity level.

Variant Complexity Description Strategy
Annotation Min+ Do not generate Annotation nodes in inline content. -
AudioObject Min+ Do not generate AudioObject nodes in inline content. -
High+ Generate AudioObject nodes in inline content. Default for level
Button Min+ Do not generate Button nodes in inline content. -
Cite Min+ Do not generate Cite nodes in inline content. -
CiteGroup Min+ Do not generate CiteGroup nodes in inline content. -
CodeExpression Min+ Do not generate CodeExpression nodes in inline content. -
Low+ Generate CodeExpression nodes in inline content. Default for level
Date Min+ Do not generate Date nodes in inline content. -
High+ Generate Date nodes in inline content. Default for level
DateTime Min+ Do not generate DateTime nodes in inline content. -
High+ Generate DateTime nodes in inline content. Default for level
Duration Min+ Do not generate Duration nodes in inline content. -
High+ Generate Duration nodes in inline content. Default for level
InstructionInline Min+ Do not generate InstructionInline nodes in inline content. -
Max Generate InstructionInline nodes in inline content. Default for level
MediaObject Min+ Do not generate MediaObject nodes in inline content. -
Note Min+ Do not generate Note nodes in inline content. -
Low+ Generate Note nodes in inline content. Default for level
Parameter Min+ Do not generate Parameter nodes in inline content. -
Low+ Generate Parameter nodes in inline content. Default for level
SuggestionInline Min+ Do not generate SuggestionInline nodes in inline content. -
Time Min+ Do not generate Time nodes in inline content. -
High+ Generate Time nodes in inline content. Default for level
Timestamp Min+ Do not generate Timestamp nodes in inline content. -
High+ Generate Timestamp nodes in inline content. Default for level
VideoObject Min+ Do not generate VideoObject nodes in inline content. -
High+ Generate VideoObject nodes in inline content. Default for level
Null Min+ Do not generate Null nodes in inline content. -
Max Generate a null value. Inline::Null(Null)
Boolean Min+ Do not generate Boolean nodes in inline content. -
Max Generate an arbitrary boolean value. Boolean::arbitrary().prop_map(Inline::Boolean)
Integer Min+ Do not generate Integer nodes in inline content. -
Max Generate an arbitrary integer value. Integer::arbitrary().prop_map(Inline::Integer)
UnsignedInteger Min+ Do not generate UnsignedInteger nodes in inline content (since roundtripconversion can not differentiate it from an Integer). -
Number Min+ Do not generate Number nodes in inline content. -
Max Generate a fixed number. Used at all levels because even with JSON (and other data serialization formats)round trip conversions can fail in the last significant digit of random numbers. Inline::Number(1.23)

Source

This documentation was generated from Inline.yaml by docs_types.rs.