/// Extracts the scalar value if it is a scalar.
Extracts the scalar value if it is a scalar.
Extracts the scalar value if it is a scalar .
pub fn as_scalar(&self) -> Option<&Scalar> {
        match *self {
            Value::Scalar(ref s) => Some(s),
            _ => None,
        }
    }
pub fn as_scalar ( & self ) -> Option < & Scalar > { match * self { Value :: Scalar ( ref s ) => Some ( s ) , _ => None , } }
Extracts the scalar value if it is a scalar.
Extracts the scalar value if it is a scalar .
&self