pub struct AssertInput {
pub cond: Expr,
pub comma: Comma,
pub message: Option<LitStr>,
}
Expand description
Assert input
Fields§
§cond: Expr
§comma: Comma
§message: Option<LitStr>
Trait Implementations§
Source§impl Parse for AssertInput
impl Parse for AssertInput
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl Freeze for AssertInput
impl RefUnwindSafe for AssertInput
impl !Send for AssertInput
impl !Sync for AssertInput
impl Unpin for AssertInput
impl UnwindSafe for AssertInput
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