Struct spectral::SpecDescription
[−]
[src]
pub struct SpecDescription<'r> { /* fields omitted */ }
A description for an assertion.
This is created by the asserting
function.
Methods
impl<'r> SpecDescription<'r>
[src]
fn that<S>(self, subject: &'r S) -> Spec<'r, S>
Creates a new assertion, passing through its description.