pub struct NonZeroIntProperty;
Expand description
A PropertyAssertion that passes for non-zero, signed integers.
TODO(https://fxbug.dev/42140843): generalize this to use the >= operator.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NonZeroIntProperty
impl RefUnwindSafe for NonZeroIntProperty
impl Send for NonZeroIntProperty
impl Sync for NonZeroIntProperty
impl Unpin for NonZeroIntProperty
impl UnwindSafe for NonZeroIntProperty
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