/// return the position type if it is a PositionType variant
return the position type if it is a PositionType variant
return the position type if it is a PositionType variant
pub fn as_position_type(&self) -> Option<PositionType> {
        match self {
            Value::PositionType(position) => Some(*position),
            _ => None,
        }
    }
pub fn as_position_type ( & self ) -> Option < PositionType > { match self { Value :: PositionType ( position ) => Some ( * position ) , _ => None , } }
return the position type if it is a PositionType variant
return the position type if it is a PositionType variant
&self