pub struct Assert1<T: Unify> { /* private fields */ }
Expand description
A projection goal that succeeds if the resolved value passes
an assertion test. Create with assert_1
.
Trait Implementations§
source§impl<T: Unify> Constraint for Assert1<T>
impl<T: Unify> Constraint for Assert1<T>
Auto Trait Implementations§
impl<T> !RefUnwindSafe for Assert1<T>
impl<T> !Send for Assert1<T>
impl<T> !Sync for Assert1<T>
impl<T> Unpin for Assert1<T>where T: Unpin,
impl<T> !UnwindSafe for Assert1<T>
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