Struct fluid::LeftElement [−][src]
#[must_use]pub struct LeftElement<L> where
L: Debug, { /* fields omitted */ }
The left element of the assertion.
Methods
impl<L> LeftElement<L> where
L: Debug,
[src]
impl<L> LeftElement<L> where
L: Debug,
pub fn new(left: L, left_str: &'static str, location: &'static str) -> Self
[src]
pub fn new(left: L, left_str: &'static str, location: &'static str) -> Self
Creates a new LeftElement
. Not intended to be used directly,
but through the theory!
macro:
theory!(my_left_element)
pub fn should(self) -> Theory<L>
[src]
pub fn should(self) -> Theory<L>
Initiates a new assertion.
Trait Implementations
impl<L: Debug> Debug for LeftElement<L> where
L: Debug,
[src]
impl<L: Debug> Debug for LeftElement<L> where
L: Debug,
Auto Trait Implementations
impl<L> Send for LeftElement<L> where
L: Send,
impl<L> Send for LeftElement<L> where
L: Send,
impl<L> Sync for LeftElement<L> where
L: Sync,
impl<L> Sync for LeftElement<L> where
L: Sync,