pub fn new(ver: u8) -> Self {
        assert!(
            (Version::MIN.value()..=Version::MAX.value()).contains(&ver),
            "Version number out of range"
        );
        Self(ver)
    }
/// Creates a version object from the given number.
///
/// Panics if the number is outside the range [1, 40].
Creates a version object from the given number.
Panics if the number is outside the range [1, 40].
Creates a version object from the given number . Panics if the number is outside the range [ 1 40 ] .
pub fn new(ver: u8) -> Self {
        assert!(
            (Version::MIN.value()..=Version::MAX.value()).contains(&ver),
            "Version number out of range"
        );
        Self(ver)
    }
pub fn new ( ver : u8 ) -> Self { assert ! ( ( Version MIN value ( ) Version MAX value ( ) ) contains ( ver ) " " ) ; Self ( ver ) }
Creates a version object from the given number.
Creates a version object from the given number .
ver
u8