Struct dprint_core::formatting::Condition [−][src]
pub struct Condition { /* fields omitted */ }
Expand description
Conditionally print items based on a condition.
These conditions are extremely flexible and can even be resolved based on information found later on in the file.
Implementations
pub fn new_with_dependent_infos(
name: &'static str,
properties: ConditionProperties,
dependent_infos: Vec<Info>
) -> Condition
[src]Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Condition
impl !UnwindSafe for Condition
Blanket Implementations
Mutably borrows from an owned value. Read more