[][src]Module cargo_whatfeatures::output

Types used for displaying data

Structs

CompositeModel

A model which contains a SimpleModel, a FeaturesModel and a DependencyModel

DependencyModel

A model which contains a SimpleModel and a dependency mapping

FeaturesListModel

A list of FeaturesModels

FeaturesModel

A model which contains a SimpleModel and a crates::Version

Output

Output allows for writing different formats to a Writer

SimpleListModel

A list of SimpleModels

SimpleModel

A simple model consisting of a name, a version and a yanked flag

Functions

render_as_json

Render this model as json, using the provided writer

render_as_text

Render this model as text, using the provided writer