1 2 3 4 5 6 7 8 9 10 11
use super::*; #[pqlfn] pub fn nth_rank( n: PQLCardCount, ranks: PQLRankSet, ) -> Result<PQLRank, RuntimeError> { ranks .nth_rank(n) .ok_or(RuntimeError::ValueRetrievalFailed(PQLType::RANK)) }