[][src]Crate dprint_core

Modules

condition_resolvers
conditions
parser_helpers

Structs

Condition

Conditionally print items based on a condition.

ConditionProperties

Properties for the condition.

ConditionResolverContext

Context used when resolving a condition.

GetWriteItemsOptions

Options for getting the write items.

Info

Can be used to get information at a certain location being printed. These can be resolved by providing the info object to a condition context's get_resolved_info(&info) method.

PrintOptions

Options for printing the print items.

PrintWriteItemsOptions
WriterInfo

Information about a certain location being printed.

Enums

PrintItem

The different items the printer could encounter.

WriteItem

Traits

ConditionRef
InfoRef
StringRef

Functions

get_write_items

Gets write items from the print items.

print

Prints out the print items using the provided

print_write_items

Prints string based writer items.

Type Definitions

ConditionResolver

Function used to resolve a condition.