pub struct Assert<'a> {
pub test: Expression<'a>,
pub msg: Option<Expression<'a>>,
pub comma: Option<Comma<'a>>,
pub whitespace_after_assert: SimpleWhitespace<'a>,
pub semicolon: Option<Semicolon<'a>>,
}
Fields§
§test: Expression<'a>
§msg: Option<Expression<'a>>
§comma: Option<Comma<'a>>
§whitespace_after_assert: SimpleWhitespace<'a>
§semicolon: Option<Semicolon<'a>>
Trait Implementations§
impl<'a> Eq for Assert<'a>
impl<'a> StructuralPartialEq for Assert<'a>
Auto Trait Implementations§
impl<'a> Freeze for Assert<'a>
impl<'a> RefUnwindSafe for Assert<'a>
impl<'a> Send for Assert<'a>
impl<'a> Sync for Assert<'a>
impl<'a> Unpin for Assert<'a>
impl<'a> UnwindSafe for Assert<'a>
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