Struct xpct::format::SomeFailuresFormat
source · #[non_exhaustive]pub struct SomeFailuresFormat;
Expand description
A formatter for SomeFailures
values.
This formatter just writes the pre-formatted FormattedFailure
values via
Formatter::write_fmt
. It’s mostly useful for combinator matchers which need to print the
output of the matchers they compose.
If you only need to print a single FormattedFailure
, use FailureFormat
.
Implementations§
source§impl SomeFailuresFormat
impl SomeFailuresFormat
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new SomeFailuresFormat
.
Trait Implementations§
source§impl Debug for SomeFailuresFormat
impl Debug for SomeFailuresFormat
source§impl Default for SomeFailuresFormat
impl Default for SomeFailuresFormat
source§fn default() -> SomeFailuresFormat
fn default() -> SomeFailuresFormat
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for SomeFailuresFormat
impl Send for SomeFailuresFormat
impl Sync for SomeFailuresFormat
impl Unpin for SomeFailuresFormat
impl UnwindSafe for SomeFailuresFormat
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