Struct dprint_core::formatting::ConditionReference
source · pub struct ConditionReference { /* private fields */ }
Implementations§
source§impl ConditionReference
impl ConditionReference
sourcepub fn create_resolver(&self) -> ConditionResolver
pub fn create_resolver(&self) -> ConditionResolver
Creates a condition resolver that checks the value of the condition this references.
Trait Implementations§
source§impl Clone for ConditionReference
impl Clone for ConditionReference
source§fn clone(&self) -> ConditionReference
fn clone(&self) -> ConditionReference
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConditionReference
impl Debug for ConditionReference
source§impl PartialEq for ConditionReference
impl PartialEq for ConditionReference
source§fn eq(&self, other: &ConditionReference) -> bool
fn eq(&self, other: &ConditionReference) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ConditionReference
impl Eq for ConditionReference
impl StructuralPartialEq for ConditionReference
Auto Trait Implementations§
impl Freeze for ConditionReference
impl RefUnwindSafe for ConditionReference
impl Send for ConditionReference
impl Sync for ConditionReference
impl Unpin for ConditionReference
impl UnwindSafe for ConditionReference
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.