Struct dprint_core::formatting::ConditionReference [−][src]
pub struct ConditionReference { /* fields omitted */ }Implementations
pub fn create_resolver(
&self
) -> impl Fn(&mut ConditionResolverContext<'_, '_>) -> Option<bool> + Clone + 'static[src]
pub fn create_resolver(
&self
) -> impl Fn(&mut ConditionResolverContext<'_, '_>) -> Option<bool> + Clone + 'static[src]Creates a condition resolver that checks the value of the condition this references.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ConditionReferenceimpl Send for ConditionReferenceimpl Sync for ConditionReferenceimpl Unpin for ConditionReferenceimpl UnwindSafe for ConditionReferenceBlanket Implementations
Mutably borrows from an owned value. Read more