[][src]Struct fluid::core::assert::ConsumingAssert

pub struct ConsumingAssert<T>(pub T)
where
    T: AssertionImpl
;

Wrapper with a method to add an explanation. This can of assertion cannot be chained.

Methods

impl<T> ConsumingAssert<T> where
    T: AssertionImpl
[src]

pub fn because(self, message: &'static str)[src]

Add an explanation to the current assertion.

Trait Implementations

impl<T: Debug> Debug for ConsumingAssert<T> where
    T: AssertionImpl
[src]

Auto Trait Implementations

impl<T> Send for ConsumingAssert<T> where
    T: Send

impl<T> Sync for ConsumingAssert<T> where
    T: Sync

Blanket Implementations

impl<L> ShouldExtension for L where
    L: Debug
[src]

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]