Skip to main content

Module asserting

Module asserting 

Source
๐Ÿ”ฌThis is a nightly-only experimental API. (generic_assert_internals #44838)

Re-exportsยง

use crate::fmt::Debug; ๐Ÿ”’
use crate::fmt::Debug; ๐Ÿ”’
use crate::fmt::Formatter; ๐Ÿ”’
use crate::marker::PhantomData; ๐Ÿ”’

Structsยง

CaptureExperimental
All possible captured assert! elements
TryCaptureWithDebugExperimental
Marker used by Capture
TryCaptureWithoutDebugExperimental
Marker used by Capture
WrapperExperimental
Necessary for the implementations of TryCapture*

Traitsยง

PrintableExperimental
Tells which elements can be copied and displayed
TryCaptureGenericExperimental
Catches an arbitrary E and modifies to accordingly
TryCapturePrintableExperimental
Catches an arbitrary E: Printable and modifies to accordingly