pub fn to_f64(&self) -> Option<f64> {
        match self {
            AttributeValue::Number(f) => Some(*f),
            _ => None,
        }
    }
/// Returns the wrapped value as a float for numeric types, and None otherwise.
Returns the wrapped value as a float for numeric types, and None otherwise.
Returns the wrapped value as a float for numeric types and None otherwise .
pub fn to_f64(&self) -> Option<f64> {
        match self {
            AttributeValue::Number(f) => Some(*f),
            _ => None,
        }
    }
pub fn to_f64 ( & self ) -> Option < f64 > { match self { AttributeValue :: Number ( f ) => Some ( * f ) , _ => None , } }
Returns the wrapped value as a float for numeric types, and None otherwise.
Returns the wrapped value as a float for numeric types and None otherwise .
&self
&self