Struct dprint_development::Spec
source · pub struct Spec {
pub file_name: String,
pub message: String,
pub file_text: String,
pub expected_text: String,
pub is_only: bool,
pub is_trace: bool,
pub skip: bool,
pub skip_format_twice: bool,
pub config: SpecConfigMap,
}
Fields§
§file_name: String
§message: String
§file_text: String
§expected_text: String
§is_only: bool
§is_trace: bool
§skip: bool
§skip_format_twice: bool
§config: SpecConfigMap
Trait Implementations§
source§impl PartialEq<Spec> for Spec
impl PartialEq<Spec> for Spec
impl Eq for Spec
impl StructuralEq for Spec
impl StructuralPartialEq for Spec
Auto Trait Implementations§
impl RefUnwindSafe for Spec
impl Send for Spec
impl Sync for Spec
impl Unpin for Spec
impl UnwindSafe for Spec
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.