pub fn as_u32(&self) -> Option<u32> {
        match *self {
            Value::U32(val) => Some(val),
            Value::U16(val) => Some(u32::from(val)),
            Value::U8(val) => Some(u32::from(val)),
            _ => None,
        }
    }
/// Returns the value as a `Some(u32)` if it is an unsigned int smaller than or equal to u32,
/// or `None` otherwise.
Returns the value as a `Some(u32)` if it is an unsigned int smaller than or equal to u32,
or `None` otherwise.
Returns the value as a ` Some ( u32 ) ` if it is an unsigned int smaller than or equal to u32 or ` None ` otherwise .
pub fn as_u32(&self) -> Option<u32> {
        match *self {
            Value::U32(val) => Some(val),
            Value::U16(val) => Some(u32::from(val)),
            Value::U8(val) => Some(u32::from(val)),
            _ => None,
        }
    }
pub fn as_u32 ( & self ) -> Option < u32 > { match * self { Value :: U32 ( val ) => Some ( val ) , Value :: U16 ( val ) => Some ( u32 :: from ( val ) ) , Value :: U8 ( val ) => Some ( u32 :: from ( val ) ) , _ => None , } }
Returns the value as a `Some(u32)` if it is an unsigned int smaller than or equal to u32,
or `None` otherwise.
Returns the value as a ` Some ( u32 ) ` if it is an unsigned int smaller than or equal to u32 or ` None ` otherwise .
&self
&self