struct Version<const N: usize>;
Available on (crate features
formatting
or parsing
) and crate feature alloc
only.Expand description
A struct that is used to ensure that the version is valid.
Implementations§
Auto Trait Implementations§
impl<const N: usize> Freeze for Version<N>
impl<const N: usize> RefUnwindSafe for Version<N>
impl<const N: usize> Send for Version<N>
impl<const N: usize> Sync for Version<N>
impl<const N: usize> Unpin for Version<N>
impl<const N: usize> UnwindSafe for Version<N>
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