pub fn as_i32(&self) -> Option<i32> {
        match *self {
            Value::I32(val) => Some(val),
            Value::I16(val) => Some(i32::from(val)),
            _ => None,
        }
    }
/// Returns the value as a `Some(i32)` if it is a signed integer smaller than or equal to i32,
/// or `None` otherwise.
Returns the value as a `Some(i32)` if it is a signed integer smaller than or equal to i32,
or `None` otherwise.
Returns the value as a ` Some ( i32 ) ` if it is a signed integer smaller than or equal to i32 or ` None ` otherwise .
pub fn as_i32(&self) -> Option<i32> {
        match *self {
            Value::I32(val) => Some(val),
            Value::I16(val) => Some(i32::from(val)),
            _ => None,
        }
    }
pub fn as_i32 ( & self ) -> Option < i32 > { match * self { Value :: I32 ( val ) => Some ( val ) , Value :: I16 ( val ) => Some ( i32 :: from ( val ) ) , _ => None , } }
Returns the value as a `Some(i32)` if it is a signed integer smaller than or equal to i32,
or `None` otherwise.
Returns the value as a ` Some ( i32 ) ` if it is a signed integer smaller than or equal to i32 or ` None ` otherwise .
&self
&self