Struct chain_impl_mockchain::testing::arbitrary::NonZeroValue
source · pub struct NonZeroValue(pub Value);
Tuple Fields§
§0: Value
Trait Implementations§
source§impl Arbitrary for NonZeroValue
impl Arbitrary for NonZeroValue
source§impl Clone for NonZeroValue
impl Clone for NonZeroValue
source§fn clone(&self) -> NonZeroValue
fn clone(&self) -> NonZeroValue
Returns a copy 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 Debug for NonZeroValue
impl Debug for NonZeroValue
source§impl From<NonZeroValue> for Value
impl From<NonZeroValue> for Value
source§fn from(value: NonZeroValue) -> Self
fn from(value: NonZeroValue) -> Self
Converts to this type from the input type.
impl Copy for NonZeroValue
Auto Trait Implementations§
impl RefUnwindSafe for NonZeroValue
impl Send for NonZeroValue
impl Sync for NonZeroValue
impl Unpin for NonZeroValue
impl UnwindSafe for NonZeroValue
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