pub struct ConstraintAssert {
pub assert: ContextExpr,
pub error: Option<Expr>,
}Fields§
§assert: ContextExpr§error: Option<Expr>Trait Implementations§
Source§impl Clone for ConstraintAssert
impl Clone for ConstraintAssert
Source§fn clone(&self) -> ConstraintAssert
fn clone(&self) -> ConstraintAssert
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 Parse for ConstraintAssert
impl Parse for ConstraintAssert
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl Freeze for ConstraintAssert
impl RefUnwindSafe for ConstraintAssert
impl !Send for ConstraintAssert
impl !Sync for ConstraintAssert
impl Unpin for ConstraintAssert
impl UnsafeUnpin for ConstraintAssert
impl UnwindSafe for ConstraintAssert
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