[][src]Struct fluid::core::should::LeftElement

#[must_use]
pub struct LeftElement<L: Debug> { /* fields omitted */ }

Structure to initiate the Should structure , when the should method is called. It is used by the macros.

Methods

impl<L: Debug> LeftElement<L>[src]

pub fn new(
    left: L,
    stringified: &'static str,
    location: &'static str,
    case: Option<&'static str>
) -> Self
[src]

Creates a new LeftElement. Not intended to be used directly, but through the custom attributes or the fact_ macro.

pub fn should(self) -> Should<L>[src]

Initiates a new assertion.

Trait Implementations

impl<L: Debug + Debug> Debug for LeftElement<L>[src]

Auto Trait Implementations

impl<L> Send for LeftElement<L> where
    L: Send

impl<L> Sync for LeftElement<L> where
    L: Sync

Blanket Implementations

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

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

impl<T> From for 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]