pub fn into_font(self) -> Result<Option<Font>> {
        match self {
            Value::Font(v) => Ok(v),
            _ => Err(Error::WrongType),
        }
    }
/// Tries to convert the value into a font.
Tries to convert the value into a font.
Tries to convert the value into a font .
pub fn into_font(self) -> Result<Option<Font>> {
        match self {
            Value::Font(v) => Ok(v),
            _ => Err(Error::WrongType),
        }
    }
pub fn into_font ( self ) -> Result < Option < Font > > { match self { Value :: Font ( v ) => Ok ( v ) , _ => Err ( Error :: WrongType ) , } }
Tries to convert the value into a font.
Tries to convert the value into a font .
self
self