pub struct NonZeroI32(pub i32);
Tuple Fields§
§0: i32
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NonZeroI32
impl<'de> Deserialize<'de> for NonZeroI32
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<NonZeroI32> for i32
impl From<NonZeroI32> for i32
Source§fn from(val: NonZeroI32) -> Self
fn from(val: NonZeroI32) -> Self
Converts to this type from the input type.
Source§impl Serialize for NonZeroI32
impl Serialize for NonZeroI32
Source§impl ToEditorField for NonZeroI32
impl ToEditorField for NonZeroI32
Source§impl Validate for NonZeroI32
impl Validate for NonZeroI32
Auto Trait Implementations§
impl Freeze for NonZeroI32
impl RefUnwindSafe for NonZeroI32
impl Send for NonZeroI32
impl Sync for NonZeroI32
impl Unpin for NonZeroI32
impl UnwindSafe for NonZeroI32
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