pub struct AssertConstraintMember {
pub body: ConstraintDefBody,
}Expand description
Occurrence-level assert member: assert constraint body.
Fields§
§body: ConstraintDefBodyTrait Implementations§
Source§impl Clone for AssertConstraintMember
impl Clone for AssertConstraintMember
Source§fn clone(&self) -> AssertConstraintMember
fn clone(&self) -> AssertConstraintMember
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AssertConstraintMember
impl Debug for AssertConstraintMember
impl Eq for AssertConstraintMember
Source§impl PartialEq for AssertConstraintMember
impl PartialEq for AssertConstraintMember
Source§fn eq(&self, other: &AssertConstraintMember) -> bool
fn eq(&self, other: &AssertConstraintMember) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AssertConstraintMember
Auto Trait Implementations§
impl Freeze for AssertConstraintMember
impl RefUnwindSafe for AssertConstraintMember
impl Send for AssertConstraintMember
impl Sync for AssertConstraintMember
impl Unpin for AssertConstraintMember
impl UnsafeUnpin for AssertConstraintMember
impl UnwindSafe for AssertConstraintMember
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