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 for Spec
impl PartialEq for Spec
impl Eq for Spec
impl StructuralPartialEq for Spec
Auto Trait Implementations§
impl Freeze for Spec
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
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.