pub struct AssertStmt<Assert>(pub Assert);Expand description
An assertion. Renders as assert Assert; with a new line at the end
Tuple Fields§
§0: AssertTrait Implementations§
Source§impl<Assert: Clone> Clone for AssertStmt<Assert>
impl<Assert: Clone> Clone for AssertStmt<Assert>
Source§fn clone(&self) -> AssertStmt<Assert>
fn clone(&self) -> AssertStmt<Assert>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<Assert: Debug> Debug for AssertStmt<Assert>
impl<Assert: Debug> Debug for AssertStmt<Assert>
Auto Trait Implementations§
impl<Assert> Freeze for AssertStmt<Assert>where
Assert: Freeze,
impl<Assert> RefUnwindSafe for AssertStmt<Assert>where
Assert: RefUnwindSafe,
impl<Assert> Send for AssertStmt<Assert>where
Assert: Send,
impl<Assert> Sync for AssertStmt<Assert>where
Assert: Sync,
impl<Assert> Unpin for AssertStmt<Assert>where
Assert: Unpin,
impl<Assert> UnwindSafe for AssertStmt<Assert>where
Assert: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more