pub fn to_byte_literal(&self) -> Option<u8> {
        if let Value::Literal(lit) = self {
            return match lit {
                Lit::Byte(x) => Some(x.value()),
                _ => None,
            };
        }

        None
    }
/// Returns the `byte` representation of this value or `None` if is not a byte literal.
Returns the `byte` representation of this value or `None` if is not a byte literal.
Returns the ` byte ` representation of this value or ` None ` if is not a byte literal .
pub fn to_byte_literal(&self) -> Option<u8> {
        if let Value::Literal(lit) = self {
            return match lit {
                Lit::Byte(x) => Some(x.value()),
                _ => None,
            };
        }
        None
    }
pub fn to_byte_literal ( & self ) -> Option < u8 > { if let Value :: Literal ( lit ) = self { return match lit { Lit :: Byte ( x ) => Some ( x . value ( ) ) , _ => None , } ; } None }
Returns the `byte` representation of this value or `None` if is not a byte literal.
Returns the ` byte ` representation of this value or ` None ` if is not a byte literal .
&self
&self