AssertableWithBounds

Trait AssertableWithBounds 

Source
pub trait AssertableWithBounds<'a, T> {
    type Output: RawAssertable<'a>;

    // Required method
    fn do_assert(&self, bounds: T) -> Self::Output;
}
Expand description

This Trait represents something that is assertable with some additional data. See Assertable for general details.

Required Associated Types§

Source

type Output: RawAssertable<'a>

The output of the assertion

Required Methods§

Source

fn do_assert(&self, bounds: T) -> Self::Output

Do the assertion with the given bounds

Implementations on Foreign Types§

Source§

impl<'a, T, U> AssertableWithBounds<'a, T> for &'a U
where U: AssertableWithBounds<'a, T>,

Source§

type Output = <U as AssertableWithBounds<'a, T>>::Output

Source§

fn do_assert(&self, bounds: T) -> Self::Output

Implementors§