pub fn as_tuple_index(&self) -> Option<usize> {
        use num::ToPrimitive as _;

        match self {
            Self::Integer(n) => n.to_usize(),
            _ => None,
        }
    }
/// Try to convert number into a tuple index.
Try to convert number into a tuple index.
Try to convert number into a tuple index .
pub fn as_tuple_index(&self) -> Option<usize> {
        use num::ToPrimitive as _;
        match self {
            Self::Integer(n) => n.to_usize(),
            _ => None,
        }
    }
pub fn as_tuple_index ( & self ) -> Option < usize > { use num :: ToPrimitive as _ ; match self { Self :: Integer ( n ) => n . to_usize ( ) , _ => None , } }
Try to convert number into a tuple index.
Try to convert number into a tuple index .
&self
&self