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 ConditionReference
impl Send for ConditionReference
impl Sync for ConditionReference
impl Unpin for ConditionReference
impl UnwindSafe for ConditionReference
Blanket Implementations
Mutably borrows from an owned value. Read more