307 lines
4.3 MiB
307 lines
4.3 MiB
!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/
|
||
!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
|
||
!_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/
|
||
!_TAG_PROGRAM_NAME Exuberant Ctags //
|
||
!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
|
||
!_TAG_PROGRAM_VERSION Development //
|
||
SIDEBAR_ITEMS guessing_game/target/doc/cfg_if/sidebar-items.js /^window.SIDEBAR_ITEMS = {"macro":[["cfg_if","The main macro provided by this crate. See crate documentation for more information."]]};/;" c class:window
|
||
SIDEBAR_ITEMS guessing_game/target/doc/getrandom/sidebar-items.js /^window.SIDEBAR_ITEMS = {"fn":[["getrandom","Fill `dest` with random bytes from the system’s preferred random number source."]],"struct":[["Error","A small and `no_std` compatible error type"]]};/;" c class:window
|
||
SIDEBAR_ITEMS guessing_game/target/doc/guessing_game/sidebar-items.js /^window.SIDEBAR_ITEMS = {"fn":[["main",""]]};/;" c class:window
|
||
SIDEBAR_ITEMS guessing_game/target/doc/libc/sidebar-items.js /^window.SIDEBAR_ITEMS = {"constant":[["ABDAY_1",""],["ABDAY_2",""],["ABDAY_3",""],["ABDAY_4",""],["ABDAY_5",""],["ABDAY_6",""],["ABDAY_7",""],["ABMON_1",""],["ABMON_10",""],["ABMON_11",""],["ABMON_12",""],["ABMON_2",""],["ABMON_3",""],["ABMON_4",""],["ABMON_5",""],["ABMON_6",""],["ABMON_7",""],["ABMON_8",""],["ABMON_9",""],["ABS_CNT",""],["ABS_MAX",""],["ACCOUNTING",""],["ADDR_COMPAT_LAYOUT",""],["ADDR_LIMIT_32BIT",""],["ADDR_LIMIT_3GB",""],["ADDR_NO_RANDOMIZE",""],["ADFS_SUPER_MAGIC",""],["ADJ_ESTERROR",""],["ADJ_FREQUENCY",""],["ADJ_MAXERROR",""],["ADJ_MICRO",""],["ADJ_NANO",""],["ADJ_OFFSET",""],["ADJ_OFFSET_SINGLESHOT",""],["ADJ_OFFSET_SS_READ",""],["ADJ_SETOFFSET",""],["ADJ_STATUS",""],["ADJ_TAI",""],["ADJ_TICK",""],["ADJ_TIMECONST",""],["AFFS_SUPER_MAGIC",""],["AFS_SUPER_MAGIC",""],["AF_ALG",""],["AF_APPLETALK",""],["AF_ASH",""],["AF_ATMPVC",""],["AF_ATMSVC",""],["AF_AX25",""],["AF_BLUETOOTH",""],["AF_BRIDGE",""],["AF_CAIF",""],["AF_CAN",""],["AF_DECnet",""],["AF_ECONET",""],["AF_IB",""],["AF_IEEE802154",""],["AF_INET",""],["AF_INET6",""],["AF_IPX",""],["AF_IRDA",""],["AF_ISDN",""],["AF_IUCV",""],["AF_KEY",""],["AF_LLC",""],["AF_LOCAL",""],["AF_MPLS",""],["AF_NETBEUI",""],["AF_NETLINK",""],["AF_NETROM",""],["AF_NFC",""],["AF_PACKET",""],["AF_PHONET",""],["AF_PPPOX",""],["AF_RDS",""],["AF_ROSE",""],["AF_ROUTE",""],["AF_RXRPC",""],["AF_SECURITY",""],["AF_SNA",""],["AF_TIPC",""],["AF_UNIX",""],["AF_UNSPEC",""],["AF_VSOCK",""],["AF_WANPIPE",""],["AF_X25",""],["AF_XDP",""],["AIO_ALLDONE",""],["AIO_CANCELED",""],["AIO_NOTCANCELED",""],["AI_ADDRCONFIG",""],["AI_ALL",""],["AI_CANONNAME",""],["AI_NUMERICHOST",""],["AI_NUMERICSERV",""],["AI_PASSIVE",""],["AI_V4MAPPED",""],["ALG_OP_DECRYPT",""],["ALG_OP_ENCRYPT",""],["ALG_SET_AEAD_ASSOCLEN",""],["ALG_SET_AEAD_AUTHSIZE",""],["ALG_SET_IV",""],["ALG_SET_KEY",""],["ALG_SET_OP",""],["ALT_DIGITS",""],["AM_STR",""],["ARPD_FLUSH",""],["ARPD_LOOKUP",""],["ARPD_UPDATE",""],["ARPHRD_ADAPT",""],["ARPHRD_APPLETLK",""],["ARPHRD_ARCNET",""],["ARPHRD_ASH",""],["ARPHRD_ATM",""],["ARPHRD_AX25",""],["ARPHRD_BIF",""],["ARPHRD_CAN",""],["ARPHRD_CHAOS",""],["ARPHRD_CISCO",""],["ARPHRD_CSLIP",""],["ARPHRD_CSLIP6",""],["ARPHRD_DDCMP",""],["ARPHRD_DLCI",""],["ARPHRD_ECONET",""],["ARPHRD_EETHER",""],["ARPHRD_ETHER",""],["ARPHRD_EUI64",""],["ARPHRD_FCAL",""],["ARPHRD_FCFABRIC",""],["ARPHRD_FCPL",""],["ARPHRD_FCPP",""],["ARPHRD_FDDI",""],["ARPHRD_FRAD",""],["ARPHRD_HDLC",""],["ARPHRD_HIPPI",""],["ARPHRD_HWX25",""],["ARPHRD_IEEE1394",""],["ARPHRD_IEEE802",""],["ARPHRD_IEEE80211",""],["ARPHRD_IEEE80211_PRISM",""],["ARPHRD_IEEE80211_RADIOTAP",""],["ARPHRD_IEEE802154",""],["ARPHRD_IEEE802_TR",""],["ARPHRD_INFINIBAND",""],["ARPHRD_IPDDP",""],["ARPHRD_IPGRE",""],["ARPHRD_IRDA",""],["ARPHRD_LAPB",""],["ARPHRD_LOCALTLK",""],["ARPHRD_LOOPBACK",""],["ARPHRD_METRICOM",""],["ARPHRD_NETROM",""],["ARPHRD_NONE",""],["ARPHRD_PIMREG",""],["ARPHRD_PPP",""],["ARPHRD_PRONET",""],["ARPHRD_RAWHDLC",""],["ARPHRD_ROSE",""],["ARPHRD_RSRVD",""],["ARPHRD_SIT",""],["ARPHRD_SKIP",""],["ARPHRD_SLIP",""],["ARPHRD_SLIP6",""],["ARPHRD_TUNNEL",""],["ARPHRD_TUNNEL6",""],["ARPHRD_VOID",""],["ARPHRD_X25",""],["ARPOP_InREPLY",""],["ARPOP_InREQUEST",""],["ARPOP_NAK",""],["ARPOP_REPLY",""],["ARPOP_REQUEST",""],["ARPOP_RREPLY",""],["ARPOP_RREQUEST",""],["ATF_COM",""],["ATF_DONTPUB",""],["ATF_MAGIC",""],["ATF_NETMASK",""],["ATF_PERM",""],["ATF_PUBL",""],["ATF_USETRAILERS",""],["AT_BASE",""],["AT_BASE_PLATFORM",""],["AT_CLKTCK",""],["AT_EACCESS",""],["AT_EGID",""],["AT_EMPTY_PATH",""],["AT_ENTRY",""],["AT_EUID",""],["AT_EXECFD",""],["AT_EXECFN",""],["AT_FDCWD",""],["AT_FLAGS",""],["AT_GID",""],["AT_HWCAP",""],["AT_HWCAP2",""],["AT_IGNORE",""],["AT_NOTELF",""],["AT_NO_AUTOMOUNT",""],["AT_NULL",""],["AT_PAGESZ",""],["AT_PHDR",""],["AT_PHENT",""],["AT_PHNUM",""],["AT_PLATFORM",""],["AT_RANDOM",""],["AT_REMOVEDIR",""],["AT_SECURE",""],["AT_STATX_DONT_SYNC",""],["AT_STATX_FORCE_SYNC",""],["AT_STATX_SYNC_AS_STAT",""],["AT_STATX_SYNC_TYPE",""],["AT_SYMLINK_FOLLOW",""],["AT_SYMLINK_NOFOLLOW",""],["AT_SYSINFO_EHDR",""],["AT_UID",""],["AUTOFS_SUPER_MAGIC",""],["B0",""],["B1000000",""],["B110",""],["B115200",""],["B1152000",""],["B1200",""],["B134",""],["B150",""],["B1500000",""],["B1800",""],["B19200",""],["B200",""],["B2000000",""],["B230400",""],["B2400",""],["B2500000",""],["B300",""],["B3000000",""],["B3500000",""],["B38400",""],["B4000000",""],["B460800",""],["B4800",""],["B50",""],["B500000",""],["B57600",""],["B576000",""],["B600",""],["B75",""],["B921600",""],["B9600",""],["BINDERFS_SUPER_MAGIC",""],["BLKIOMIN",""],["BLKIOOPT",""],["BLKPBSZGET",""],["BLKSSZGET",""],["BOOT_TIME",""],["BOTHER",""],["BPF_ABS",""],["BPF_ADD",""],["BPF_ALU",""],["BPF_AND",""],["BPF_B",""],["BPF_DIV",""],["BPF_FS_MAGIC",""],["BPF_H",""],["BPF_IMM",""],["BPF_IND",""],["BPF_JA",""],["BPF_JEQ",""],["BPF_JGE",""],["BPF_JGT",""],["BPF_JMP",""],["BPF_JSET",""],["BPF_K",""],["BPF_LD",""],["BPF_LDX",""],["BPF_LEN",""],["BPF_LL_OFF",""],["BPF_LSH",""],["BPF_MAXINSNS",""],["BPF_MEM",""],["BPF_MEMWORDS",""],["BPF_MISC",""],["BPF_MOD",""],["BPF_MSH",""],["BPF_MUL",""],["BPF_NEG",""],["BPF_NET_OFF",""],["BPF_OR",""],["BPF_RET",""],["BPF_RSH",""],["BPF_ST",""],["BPF_STX",""],["BPF_SUB",""],["BPF_W",""],["BPF_X",""],["BPF_XOR",""],["BRKINT",""],["BS0",""],["BS1",""],["BSDLY",""],["BTRFS_SUPER_MAGIC",""],["BUFSIZ",""],["BUS_ADRALN",""],["BUS_ADRERR",""],["BUS_MCEERR_AO",""],["BUS_MCEERR_AR",""],["BUS_OBJERR",""],["CANFD_BRS",""],["CANFD_ESI",""],["CANFD_MAX_DLC",""],["CANFD_MAX_DLEN",""],["CANFD_MTU",""],["CAN_BCM",""],["CAN_EFF_FLAG",""],["CAN_EFF_ID_BITS",""],["CAN_EFF_MASK",""],["CAN_ERR_FLAG",""],["CAN_ERR_MASK",""],["CAN_INV_FILTER",""],["CAN_ISOTP",""],["CAN_J1939",""],["CAN_MAX_DLC",""],["CAN_MAX_DLEN",""],["CAN_MCNET",""],["CAN_MTU",""],["CAN_NPROTO",""],["CAN_RAW",""],["CAN_RAW_ERR_FILTER",""],["CAN_RAW_FD_FRAMES",""],["CAN_RAW_FILTER",""],["CAN_RAW_FILTER_MAX",""],["CAN_RAW_JOIN_FILTERS",""],["CAN_RAW_LOOPBACK",""],["CAN_RAW_RECV_OWN_MSGS",""],["CAN_RTR_FLAG",""],["CAN_SFF_ID_BITS",""],["CAN_SFF_MASK",""],["CAN_TP16",""],["CAN_TP20",""],["CBAUD",""],["CBAUDEX",""],["CGROUP2_SUPER_MAGIC",""],["CGROUP_SUPER_MAGIC",""],["CIBAUD",""],["CLD_CONTINUED",""],["CLD_DUMPED",""],["CLD_EXITED",""],["CLD_KILLED",""],["CLD_STOPPED",""],["CLD_TRAPPED",""],["CLOCAL",""],["CLOCK_BOOTTIME",""],["CLOCK_BOOTTIME_ALARM",""],["CLOCK_MONOTONIC",""],["CLOCK_MONOTONIC_COARSE",""],["CLOCK_MONOTONIC_RAW",""],["CLOCK_PROCESS_CPUTIME_ID",""],["CLOCK_REALTIME",""],["CLOCK_REALTIME_ALARM",""],["CLOCK_REALTIME_COARSE",""],["CLOCK_TAI",""],["CLOCK_THREAD_CPUTIME_ID",""],["CLONE_CHILD_CLEARTID",""],["CLONE_CHILD_SETTID",""],["CLONE_DETACHED",""],["CLONE_FILES",""],["CLONE_FS",""],["CLONE_IO",""],["CLONE_NEWCGROUP",""],["CLONE_NEWIPC",""],["CLONE_NEWNET",""],["CLONE_NEWNS",""],["CLONE_NEWPID",""],["CLONE_NEWUSER",""],["CLONE_NEWUTS",""],["CLONE_PARENT",""],["CLONE_PARENT_SETTID",""],["CLONE_PIDFD",""],["CLONE_PTRACE",""],["CLONE_SETTLS",""],["CLONE_SIGHAND",""],["CLONE_SYSVSEM",""],["CLONE_THREAD",""],["CLONE_UNTRACED",""],["CLONE_VFORK",""],["CLONE_VM",""],["CLOSE_RANGE_CLOEXEC",""],["CLOSE_RANGE_UNSHARE",""],["CMSPAR",""],["CODA_SUPER_MAGIC",""],["CODESET",""],["CPU_SETSIZE",""],["CR0",""],["CR1",""],["CR2",""],["CR3",""],["CRAMFS_MAGIC",""],["CRDLY",""],["CREAD",""],["CRNCYSTR",""],["CRTSCTS",""],["CS",""],["CS5",""],["CS6",""],["CS7",""],["CS8",""],["CSIZE",""],["CSTOPB",""],["CTRL_ATTR_FAMILY_ID",""],["CTRL_ATTR_FAMILY_NAME",""],["CTRL_ATTR_HDRSIZE",""],["CTRL_ATTR_MAXATTR",""],["CTRL_ATTR_MCAST_GROUPS",""],["CTRL_ATTR_MCAST_GRP_ID",""],["CTRL_ATTR_MCAST_GRP_NAME",""],["CTRL_ATTR_MCAST_GRP_UNSPEC",""],["CTRL_ATTR_OPS",""],["CTRL_ATTR_OP_FLAGS",""],["CTRL_ATTR_OP_ID",""],["CTRL_ATTR_OP_UNSPEC",""],["CTRL_ATTR_UNSPEC",""],["CTRL_ATTR_VERSION",""],["CTRL_CMD_DELFAMILY",""],["CTRL_CMD_DELMCAST_GRP",""],["CTRL_CMD_DELOPS",""],["CTRL_CMD_GETFAMILY",""],["CTRL_CMD_GETMCAST_GRP",""],["CTRL_CMD_GETOPS",""],["CTRL_CMD_NEWFAMILY",""],["CTRL_CMD_NEWMCAST_GRP",""],["CTRL_CMD_NEWOPS",""],["CTRL_CMD_UNSPEC",""],["DAY_1",""],["DAY_2",""],["DAY_3",""],["DAY_4",""],["DAY_5",""],["DAY_6",""],["DAY_7",""],["DCCP_SERVICE_LIST_MAX_LEN","maximum number of services provided on the same listening port"],["DCCP_SOCKOPT_AVAILABLE_CCIDS",""],["DCCP_SOCKOPT_CCID",""],["DCCP_SOCKOPT_CCID_RX_INFO",""],["DCCP_SOCKOPT_CCID_TX_INFO",""],["DCCP_SOCKOPT_CHANGE_L",""],["DCCP_SOCKOPT_CHANGE_R",""],["DCCP_SOCKOPT_GET_CUR_MPS",""],["DCCP_SOCKOPT_PACKET_SIZE",""],["DCCP_SOCKOPT_QPOLICY_ID",""],["DCCP_SOCKOPT_QPOLICY_TXQLEN",""],["DCCP_SOCKOPT_RECV_CSCOV",""],["DCCP_SOCKOPT_RX_CCID",""],["DCCP_SOCKOPT_SEND_CSCOV",""],["DCCP_SOCKOPT_SERVER_TIMEWAIT",""],["DCCP_SOCKOPT_SERVICE",""],["DCCP_SOCKOPT_TX_CCID",""],["DEAD_PROCESS",""],["DEBUGFS_MAGIC",""],["DEVPTS_SUPER_MAGIC",""],["DS",""],["DT_BLK",""],["DT_CHR",""],["DT_DIR",""],["DT_FIFO",""],["DT_LNK",""],["DT_REG",""],["DT_SOCK",""],["DT_UNKNOWN",""],["D_FMT",""],["D_T_FMT",""],["E2BIG",""],["EACCES",""],["EADDRINUSE",""],["EADDRNOTAVAIL",""],["EADV",""],["EAFNOSUPPORT",""],["EAGAIN",""],["EAI_AGAIN",""],["EAI_BADFLAGS",""],["EAI_FAIL",""],["EAI_FAMILY",""],["EAI_MEMORY",""],["EAI_NODATA",""],["EAI_NONAME",""],["EAI_OVERFLOW",""],["EAI_SERVICE",""],["EAI_SOCKTYPE",""],["EAI_SYSTEM",""],["EALREADY",""],["EBADE",""],["EBADF",""],["EBADFD",""],["EBADMSG",""],["EBADR",""],["EBADRQC",""],["EBADSLT",""],["EBFONT",""],["EBUSY",""],["ECANCELED",""],["ECHILD",""],["ECHO",""],["ECHOCTL",""],["ECHOE",""],["ECHOK",""],["ECHOKE",""],["ECHONL",""],["ECHOPRT",""],["ECHRNG",""],["ECOMM",""],["ECONNABORTED",""],["ECONNREFUSED",""],["ECONNRESET",""],["ECRYPTFS_SUPER_MAGIC",""],["EDEADLK",""],["EDEADLOCK",""],["EDESTADDRREQ",""],["EDOM",""],["EDOTDOT",""],["EDQUOT",""],["EEXIST",""],["EFAULT",""],["EFBIG",""],["EFD_CLOEXEC",""],["EFD_NONBLOCK",""],["EFD_SEMAPHORE",""],["EFLAGS",""],["EFS_SUPER_MAGIC",""],["EHOSTDOWN",""],["EHOSTUNREACH",""],["EHWPOISON",""],["EIDRM",""],["EILSEQ",""],["EINPROGRESS",""],["EINTR",""],["EINVAL",""],["EIO",""],["EISCONN",""],["EISDIR",""],["EISNAM",""],["EI_ABIVERSION",""],["EI_CLASS",""],["EI_DATA",""],["EI_MAG0",""],["EI_MAG1",""],["EI_MAG2",""],["EI_MAG3",""],["EI_NIDENT",""],["EI_OSABI",""],["EI_PAD",""],["EI_VERSION",""],["EKEYEXPIRED",""],["EKEYREJECTED",""],["EKEYREVOKED",""],["EL2HLT",""],["EL2NSYNC",""],["EL3HLT",""],["EL3RST",""],["ELFCLASS32",""],["ELFCLASS64",""],["ELFCLASSNONE",""],["ELFCLASSNUM",""],["ELFDATA2LSB",""],["ELFDATA2MSB",""],["ELFDATANONE",""],["ELFDATANUM",""],["ELFMAG0",""],["ELFMAG1",""],["ELFMAG2",""],["ELFMAG3",""],["ELFOSABI_AIX",""],["ELFOSABI_ARM",""],["ELFOSABI_ARM_AEABI",""],["ELFOSABI_FREEBSD",""],["ELFOSABI_GNU",""],["ELFOSABI_HPUX",""],["ELFOSABI_IRIX",""],["ELFOSABI_LINUX",""],["ELFOSABI_MODESTO",""],["ELFOSABI_NETBSD",""],["ELFOSABI_NONE",""],["ELFOSABI_OPENBSD",""],["ELFOSABI_SOLARIS",""],["ELFOSABI_STANDALONE",""],["ELFOSABI_SYSV",""],["ELFOSABI_TRU64",""],["ELIBACC",""],["ELIBBAD",""],["ELIBEXEC",""],["ELIBMAX",""],["ELIBSCN",""],["ELNRNG",""],["ELOOP",""],["EMEDIUMTYPE",""],["EMFILE",""],["EMLINK",""],["EMPTY",""],["EMSGSIZE",""],["EMULTIHOP",""],["EM_386",""],["EM_68HC05",""],["EM_68HC08",""],["EM_68HC11",""],["EM_68HC12",""],["EM_68HC16",""],["EM_68K",""],["EM_860",""],["EM_88K",""],["EM_960",""],["EM_AARCH64",""],["EM_ALPHA",""],["EM_ARC",""],["EM_ARC_A5",""],["EM_ARM",""],["EM_AVR",""],["EM_COLDFIRE",""],["EM_CRIS",""],["EM_D10V",""],["EM_D30V",""],["EM_FAKE_ALPHA",""],["EM_FIREPATH",""],["EM_FR20",""],["EM_FR30",""],["EM_FX66",""],["EM_H8S",""],["EM_H8_300",""],["EM_H8_300H",""],["EM_H8_500",""],["EM_HUANY",""],["EM_IA_64",""],["EM_JAVELIN",""],["EM_M32",""],["EM_M32R",""],["EM_ME16",""],["EM_MIPS",""],["EM_MIPS_RS3_LE",""],["EM_MIPS_X",""],["EM_MMA",""],["EM_MMIX",""],["EM_MN10200",""],["EM_MN10300",""],["EM_NCPU",""],["EM_NDR1",""],["EM_NONE",""],["EM_OPENRISC",""],["EM_PARISC",""],["EM_PCP",""],["EM_PDSP",""],["EM_PJ",""],["EM_PPC",""],["EM_PPC64",""],["EM_PRISM",""],["EM_RCE",""],["EM_RH32",""],["EM_S370",""],["EM_S390",""],["EM_SH",""],["EM_SPARC",""],["EM_SPARC32PLUS",""],["EM_SPARCV9",""],["EM_ST100",""],["EM_ST19",""],["EM_ST7",""],["EM_ST9PLUS",""],["EM_STARCORE",""],["EM_SVX",""],["EM_TILEGX",""],["EM_TILEPRO",""],["EM_TINYJ",""],["EM_TRICORE",""],["EM_V800",""],["EM_V850",""],["EM_VAX",""],["EM_VPP500",""],["EM_X86_64",""],["EM_XTENSA",""],["EM_ZSP",""],["ENAMETOOLONG",""],["ENAVAIL",""],["ENETDOWN",""],["ENETRESET",""],["ENETUNREACH",""],["ENFILE",""],["ENOANO",""],["ENOATTR",""],["ENOBUFS",""],["ENOCSI",""],["ENODATA",""],["ENODEV",""],["ENOENT",""],["ENOEXEC",""],["ENOKEY",""],["ENOLCK",""],["ENOLINK",""],["ENOMEDIUM",""],["ENOMEM",""],["ENOMSG",""],["ENONET",""],["ENOPKG",""],["ENOPROTOOPT",""],["ENOSPC",""],["ENOSR",""],["ENOSTR",""],["ENOSYS",""],["ENOTBLK",""],["ENOTCONN",""],["ENOTDIR",""],["ENOTEMPTY",""],["ENOTNAM",""],["ENOTRECOVERABLE",""],["ENOTSOCK",""],["ENOTSUP",""],["ENOTTY",""],["ENOTUNIQ",""],["ENXIO",""],["EOF",""],["EOPNOTSUPP",""],["EOVERFLOW",""],["EOWNERDEAD",""],["EPERM",""],["EPFNOSUPPORT",""],["EPIPE",""],["EPOLLERR",""],["EPOLLET",""],["EPOLLEXCLUSIVE",""],["EPOLLHUP",""],["EPOLLIN",""],["EPOLLMSG",""],["EPOLLONESHOT",""],["EPOLLOUT",""],["EPOLLPRI",""],["EPOLLRDBAND",""],["EPOLLRDHUP",""],["EPOLLRDNORM",""],["EPOLLWAKEUP",""],["EPOLLWRBAND",""],["EPOLLWRNORM",""],["EPOLL_CLOEXEC",""],["EPOLL_CTL_ADD",""],["EPOLL_CTL_DEL",""],["EPOLL_CTL_MOD",""],["EPROTO",""],["EPROTONOSUPPORT",""],["EPROTOTYPE",""],["ERA",""],["ERANGE",""],["ERA_D_FMT",""],["ERA_D_T_FMT",""],["ERA_T_FMT",""],["EREMCHG",""],["EREMOTE",""],["EREMOTEIO",""],["ERESTART",""],["ERFKILL",""],["EROFS",""],["ES",""],["ESHUTDOWN",""],["ESOCKTNOSUPPORT",""],["ESPIPE",""],["ESRCH",""],["ESRMNT",""],["ESTALE",""],["ESTRPIPE",""],["ETH_ALEN",""],["ETH_DATA_LEN",""],["ETH_FCS_LEN",""],["ETH_FRAME_LEN",""],["ETH_HLEN",""],["ETH_P_1588",""],["ETH_P_8021AD",""],["ETH_P_8021AH",""],["ETH_P_8021Q",""],["ETH_P_80221",""],["ETH_P_802_2",""],["ETH_P_802_3",""],["ETH_P_802_3_MIN",""],["ETH_P_802_EX1",""],["ETH_P_AARP",""],["ETH_P_AF_IUCV",""],["ETH_P_ALL",""],["ETH_P_AOE",""],["ETH_P_ARCNET",""],["ETH_P_ARP",""],["ETH_P_ATALK",""],["ETH_P_ATMFATE",""],["ETH_P_ATMMPOA",""],["ETH_P_AX25",""],["ETH_P_BATMAN",""],["ETH_P_BPQ",""],["ETH_P_CAIF",""],["ETH_P_CANFD",""],["ETH_P_CONTROL",""],["ETH_P_CUST",""],["ETH_P_DDCMP",""],["ETH_P_DEC",""],["ETH_P_DIAG",""],["ETH_P_DNA_DL",""],["ETH_P_DNA_RC",""],["ETH_P_DNA_RT",""],["ETH_P_DSA",""],["ETH_P_ECONET",""],["ETH_P_EDSA",""],["ETH_P_FCOE",""],["ETH_P_FIP",""],["ETH_P_HDLC",""],["ETH_P_IEEE802154",""],["ETH_P_IEEEPUP",""],["ETH_P_IEEEPUPAT",""],["ETH_P_IP",""],["ETH_P_IPV6",""],["ETH_P_IPX",""],["ETH_P_IRDA",""],["ETH_P_LAT",""],["ETH_P_LINK_CTL",""],["ETH_P_LOCALTALK",""],["ETH_P_LOOP",""],["ETH_P_LOOPBACK",""],["ETH_P_MACSEC",""],["ETH_P_MOBITEX",""],["ETH_P_MPLS_MC",""],["ETH_P_MPLS_UC",""],["ETH_P_MVRP",""],["ETH_P_PAE",""],["ETH_P_PAUSE",""],["ETH_P_PHONET",""],["ETH_P_PPPTALK",""],["ETH_P_PPP_DISC",""],["ETH_P_PPP_MP",""],["ETH_P_PPP_SES",""],["ETH_P_PRP",""],["ETH_P_PUP",""],["ETH_P_PUPAT",""],["ETH_P_QINQ1",""],["ETH_P_QINQ2",""],["ETH_P_QINQ3",""],["ETH_P_RARP",""],["ETH_P_SCA",""],["ETH_P_SLOW",""],["ETH_P_SNAP",""],["ETH_P_TDLS",""],["ETH_P_TEB",""],["ETH_P_TIPC",""],["ETH_P_TRAILER",""],["ETH_P_TR_802_2",""],["ETH_P_WAN_PPP",""],["ETH_P_WCCP",""],["ETH_P_X25",""],["ETH_ZLEN",""],["ETIME",""],["ETIMEDOUT",""],["ETOOMANYREFS",""],["ETXTBSY",""],["ET_CORE",""],["ET_DYN",""],["ET_EXEC",""],["ET_HIOS",""],["ET_HIPROC",""],["ET_LOOS",""],["ET_LOPROC",""],["ET_NONE",""],["ET_NUM",""],["ET_REL",""],["EUCLEAN",""],["EUNATCH",""],["EUSERS",""],["EV_CNT",""],["EV_CURRENT",""],["EV_MAX",""],["EV_NONE",""],["EV_NUM",""],["EWOULDBLOCK",""],["EXDEV",""],["EXFULL",""],["EXIT_FAILURE",""],["EXIT_SUCCESS",""],["EXT2_SUPER_MAGIC",""],["EXT3_SUPER_MAGIC",""],["EXT4_SUPER_MAGIC",""],["EXTA",""],["EXTB",""],["EXTPROC",""],["F2FS_SUPER_MAGIC",""],["FALLOC_FL_COLLAPSE_RANGE",""],["FALLOC_FL_INSERT_RANGE",""],["FALLOC_FL_KEEP_SIZE",""],["FALLOC_FL_PUNCH_HOLE",""],["FALLOC_FL_UNSHARE_RANGE",""],["FALLOC_FL_ZERO_RANGE",""],["FANOTIFY_METADATA_VERSION",""],["FAN_ACCESS",""],["FAN_ACCESS_PERM",""],["FAN_ALLOW",""],["FAN_CLASS_CONTENT",""],["FAN_CLASS_NOTIF",""],["FAN_CLASS_PRE_CONTENT",""],["FAN_CLOEXEC",""],["FAN_CLOSE",""],["FAN_CLOSE_NOWRITE",""],["FAN_CLOSE_WRITE",""],["FAN_DENY",""],["FAN_EVENT_ON_CHILD",""],["FAN_MARK_ADD",""],["FAN_MARK_DONT_FOLLOW",""],["FAN_MARK_FILESYSTEM",""],["FAN_MARK_FLUSH",""],["FAN_MARK_IGNORED_MASK",""],["FAN_MARK_IGNORED_SURV_MODIFY",""],["FAN_MARK_INODE",""],["FAN_MARK_MOUNT",""],["FAN_MARK_ONLYDIR",""],["FAN_MARK_REMOVE",""],["FAN_MODIFY",""],["FAN_NOFD",""],["FAN_NONBLOCK",""],["FAN_ONDIR",""],["FAN_OPEN",""],["FAN_OPEN_PERM",""],["FAN_Q_OVERFLOW",""],["FAN_UNLIMITED_MARKS",""],["FAN_UNLIMITED_QUEUE",""],["FDPIC_FUNCPTRS",""],["FD_CLOEXEC",""],["FD_SETSIZE",""],["FF0",""],["FF1",""],["FFDLY",""],["FF_CNT",""],["FF_MAX",""],["FICLONE",""],["FICLONERANGE",""],["FILENAME_MAX",""],["FIOASYNC",""],["FIOCLEX",""],["FIONBIO",""],["FIONCLEX",""],["FIONREAD",""],["FIOQSIZE",""],["FLUSHO",""],["FOPEN_MAX",""],["FS",""],["FS_BASE",""],["FUSE_SUPER_MAGIC",""],["FUTEXFS_SUPER_MAGIC",""],["FUTEX_CLOCK_REALTIME",""],["FUTEX_CMD_MASK",""],["FUTEX_CMP_REQUEUE",""],["FUTEX_CMP_REQUEUE_PI",""],["FUTEX_FD",""],["FUTEX_LOCK_PI",""],["FUTEX_LOCK_PI2",""],["FUTEX_PRIVATE_FLAG",""],["FUTEX_REQUEUE",""],["FUTEX_TRYLOCK_PI",""],["FUTEX_UNLOCK_PI",""],["FUTEX_WAIT",""],["FUTEX_WAIT_BITSET",""],["FUTEX_WAIT_REQUEUE_PI",""],["FUTEX_WAKE",""],["FUTEX_WAKE_BITSET",""],["FUTEX_WAKE_OP",""],["F_ADD_SEALS",""],["F_CANCELLK",""],["F_DUPFD",""],["F_DUPFD_CLOEXEC",""],["F_GETFD",""],["F_GETFL",""],["F_GETLEASE",""],["F_GETLK",""],["F_GETOWN",""],["F_GETPIPE_SZ",""],["F_GET_SEALS",""],["F_LOCK",""],["F_NOTIFY",""],["F_OFD_GETLK",""],["F_OFD_SETLK",""],["F_OFD_SETLKW",""],["F_OK",""],["F_RDLCK",""],["F_SEAL_FUTURE_WRITE",""],["F_SEAL_GROW",""],["F_SEAL_SEAL",""],["F_SEAL_SHRINK",""],["F_SEAL_WRITE",""],["F_SETFD",""],["F_SETFL",""],["F_SETLEASE",""],["F_SETLK",""],["F_SETLKW",""],["F_SETOWN",""],["F_SETPIPE_SZ",""],["F_TEST",""],["F_TLOCK",""],["F_ULOCK",""],["F_UNLCK",""],["F_WRLCK",""],["GENL_ADMIN_PERM",""],["GENL_CMD_CAP_DO",""],["GENL_CMD_CAP_DUMP",""],["GENL_CMD_CAP_HASPOL",""],["GENL_ID_CTRL",""],["GENL_ID_PMCRAID",""],["GENL_ID_VFS_DQUOT",""],["GENL_MAX_ID",""],["GENL_MIN_ID",""],["GENL_NAMSIZ",""],["GENL_UNS_ADMIN_PERM",""],["GLOB_ABORTED",""],["GLOB_APPEND",""],["GLOB_DOOFFS",""],["GLOB_ERR",""],["GLOB_MARK",""],["GLOB_NOCHECK",""],["GLOB_NOESCAPE",""],["GLOB_NOMATCH",""],["GLOB_NOSORT",""],["GLOB_NOSPACE",""],["GRND_INSECURE",""],["GRND_NONBLOCK",""],["GRND_RANDOM",""],["GRPQUOTA",""],["GS",""],["GS_BASE",""],["HOSTFS_SUPER_MAGIC",""],["HPFS_SUPER_MAGIC",""],["HUGETLBFS_MAGIC",""],["HUGETLB_FLAG_ENCODE_16GB",""],["HUGETLB_FLAG_ENCODE_16MB",""],["HUGETLB_FLAG_ENCODE_1GB",""],["HUGETLB_FLAG_ENCODE_1MB",""],["HUGETLB_FLAG_ENCODE_256MB",""],["HUGETLB_FLAG_ENCODE_2GB",""],["HUGETLB_FLAG_ENCODE_2MB",""],["HUGETLB_FLAG_ENCODE_32MB",""],["HUGETLB_FLAG_ENCODE_512KB",""],["HUGETLB_FLAG_ENCODE_512MB",""],["HUGETLB_FLAG_ENCODE_64KB",""],["HUGETLB_FLAG_ENCODE_8MB",""],["HUGETLB_FLAG_ENCODE_MASK",""],["HUGETLB_FLAG_ENCODE_SHIFT",""],["HUPCL",""],["IBSHIFT",""],["ICANON",""],["ICRNL",""],["IEXTEN",""],["IFA_ADDRESS",""],["IFA_ANYCAST",""],["IFA_BROADCAST",""],["IFA_CACHEINFO",""],["IFA_FLAGS",""],["IFA_F_DADFAILED",""],["IFA_F_DEPRECATED",""],["IFA_F_HOMEADDRESS",""],["IFA_F_MANAGETEMPADDR",""],["IFA_F_MCAUTOJOIN",""],["IFA_F_NODAD",""],["IFA_F_NOPREFIXROUTE",""],["IFA_F_OPTIMISTIC",""],["IFA_F_PERMANENT",""],["IFA_F_SECONDARY",""],["IFA_F_STABLE_PRIVACY",""],["IFA_F_TEMPORARY",""],["IFA_F_TENTATIVE",""],["IFA_LABEL",""],["IFA_LOCAL",""],["IFA_MULTICAST",""],["IFA_UNSPEC",""],["IFF_ALLMULTI",""],["IFF_ATTACH_QUEUE",""],["IFF_AUTOMEDIA",""],["IFF_BROADCAST",""],["IFF_DEBUG",""],["IFF_DETACH_QUEUE",""],["IFF_DORMANT",""],["IFF_DYNAMIC",""],["IFF_ECHO",""],["IFF_LOOPBACK",""],["IFF_LOWER_UP",""],["IFF_MASTER",""],["IFF_MULTICAST",""],["IFF_MULTI_QUEUE",""],["IFF_NOARP",""],["IFF_NOFILTER",""],["IFF_NOTRAILERS",""],["IFF_NO_PI",""],["IFF_ONE_QUEUE",""],["IFF_PERSIST",""],["IFF_POINTOPOINT",""],["IFF_PORTSEL",""],["IFF_PROMISC",""],["IFF_RUNNING",""],["IFF_SLAVE",""],["IFF_TAP",""],["IFF_TUN",""],["IFF_TUN_EXCL",""],["IFF_UP",""],["IFF_VNET_HDR",""],["IFLA_ADDRESS",""],["IFLA_AF_SPEC",""],["IFLA_ALT_IFNAME",""],["IFLA_BROADCAST",""],["IFLA_CARRIER",""],["IFLA_CARRIER_CHANGES",""],["IFLA_CARRIER_DOWN_COUNT",""],["IFLA_CARRIER_UP_COUNT",""],["IFLA_COST",""],["IFLA_EVENT",""],["IFLA_EXT_MASK",""],["IFLA_GROUP",""],["IFLA_GSO_MAX_SEGS",""],["IFLA_GSO_MAX_SIZE",""],["IFLA_IFALIAS",""],["IFLA_IFNAME",""],["IFLA_IF_NETNSID",""],["IFLA_INFO_DATA",""],["IFLA_INFO_KIND",""],["IFLA_INFO_SLAVE_DATA",""],["IFLA_INFO_SLAVE_KIND",""],["IFLA_INFO_UNSPEC",""],["IFLA_INFO_XSTATS",""],["IFLA_LINK",""],["IFLA_LINKINFO",""],["IFLA_LINKMODE",""],["IFLA_LINK_NETNSID",""],["IFLA_MAP",""],["IFLA_MASTER",""],["IFLA_MAX_MTU",""],["IFLA_MIN_MTU",""],["IFLA_MTU",""],["IFLA_NET_NS_FD",""],["IFLA_NET_NS_PID",""],["IFLA_NEW_IFINDEX",""],["IFLA_NEW_NETNSID",""],["IFLA_NUM_RX_QUEUES",""],["IFLA_NUM_TX_QUEUES",""],["IFLA_NUM_VF",""],["IFLA_OPERSTATE",""],["IFLA_PAD",""],["IFLA_PERM_ADDRESS",""],["IFLA_PHYS_PORT_ID",""],["IFLA_PHYS_PORT_NAME",""],["IFLA_PHYS_SWITCH_ID",""],["IFLA_PORT_SELF",""],["IFLA_PRIORITY",""],["IFLA_PROMISCUITY",""],["IFLA_PROP_LIST",""],["IFLA_PROTINFO",""],["IFLA_PROTO_DOWN",""],["IFLA_PROTO_DOWN_REASON",""],["IFLA_QDISC",""],["IFLA_STATS",""],["IFLA_STATS64",""],["IFLA_TARGET_NETNSID",""],["IFLA_TXQLEN",""],["IFLA_UNSPEC",""],["IFLA_VFINFO_LIST",""],["IFLA_VF_PORTS",""],["IFLA_WEIGHT",""],["IFLA_WIRELESS",""],["IFLA_XDP",""],["IFNAMSIZ",""],["IF_NAMESIZE",""],["IGNBRK",""],["IGNCR",""],["IGNPAR",""],["IMAXBEL",""],["INADDR_ANY",""],["INADDR_BROADCAST",""],["INADDR_LOOPBACK",""],["INADDR_NONE",""],["INIT_PROCESS",""],["INLCR",""],["INPCK",""],["INPUT_PROP_CNT",""],["INPUT_PROP_MAX",""],["INT_MAX",""],["INT_MIN",""],["IN_ACCESS",""],["IN_ALL_EVENTS",""],["IN_ATTRIB",""],["IN_CLOEXEC",""],["IN_CLOSE",""],["IN_CLOSE_NOWRITE",""],["IN_CLOSE_WRITE",""],["IN_CREATE",""],["IN_DELETE",""],["IN_DELETE_SELF",""],["IN_DONT_FOLLOW",""],["IN_EXCL_UNLINK",""],["IN_IGNORED",""],["IN_ISDIR",""],["IN_MASK_ADD",""],["IN_MASK_CREATE",""],["IN_MODIFY",""],["IN_MOVE",""],["IN_MOVED_FROM",""],["IN_MOVED_TO",""],["IN_MOVE_SELF",""],["IN_NONBLOCK",""],["IN_ONESHOT",""],["IN_ONLYDIR",""],["IN_OPEN",""],["IN_Q_OVERFLOW",""],["IN_UNMOUNT",""],["IP6T_SO_ORIGINAL_DST",""],["IPC_CREAT",""],["IPC_EXCL",""],["IPC_INFO",""],["IPC_NOWAIT",""],["IPC_PRIVATE",""],["IPC_RMID",""],["IPC_SET",""],["IPC_STAT",""],["IPDEFTTL",""],["IPOPT_CLASS_MASK",""],["IPOPT_CONTROL",""],["IPOPT_COPY",""],["IPOPT_END",""],["IPOPT_EOL",""],["IPOPT_LSRR",""],["IPOPT_MEASUREMENT",""],["IPOPT_MINOFF",""],["IPOPT_NOOP",""],["IPOPT_NOP",""],["IPOPT_NUMBER_MASK",""],["IPOPT_OFFSET",""],["IPOPT_OLEN",""],["IPOPT_OPTVAL",""],["IPOPT_RA",""],["IPOPT_RESERVED1",""],["IPOPT_RESERVED2",""],["IPOPT_RR",""],["IPOPT_SEC",""],["IPOPT_SID",""],["IPOPT_SSRR",""],["IPOPT_TIMESTAMP",""],["IPOPT_TS",""],["IPOPT_TS_PRESPEC",""],["IPOPT_TS_TSANDADDR",""],["IPOPT_TS_TSONLY",""],["IPPROTO_AH","IP6 Auth Header"],["IPPROTO_BEETPH",""],["IPPROTO_COMP","IP Payload Comp. Protocol"],["IPPROTO_DCCP","DCCP"],["IPPROTO_DSTOPTS","IP6 destination option"],["IPPROTO_EGP","exterior gateway protocol"],["IPPROTO_ENCAP","encapsulation header"],["IPPROTO_ESP","IP6 Encap Sec. Payload"],["IPPROTO_FRAGMENT","IP6 fragmentation header"],["IPPROTO_GRE","General Routing Encap."],["IPPROTO_HOPOPTS","Hop-by-hop option header"],["IPPROTO_ICMP",""],["IPPROTO_ICMPV6",""],["IPPROTO_IDP","xns idp"],["IPPROTO_IGMP","group mgmt protocol"],["IPPROTO_IP",""],["IPPROTO_IPIP","for compatibility"],["IPPROTO_IPV6",""],["IPPROTO_MAX",""],["IPPROTO_MH",""],["IPPROTO_MPLS",""],["IPPROTO_MPTCP","Multipath TCP"],["IPPROTO_MTP",""],["IPPROTO_NONE","IP6 no next header"],["IPPROTO_PIM","Protocol indep. multicast"],["IPPROTO_PUP","pup"],["IPPROTO_RAW","raw IP packet"],["IPPROTO_ROUTING","IP6 routing header"],["IPPROTO_RSVP","resource reservation"],["IPPROTO_SCTP","SCTP"],["IPPROTO_TCP",""],["IPPROTO_TP","tp-4 w\/ class negotiation"],["IPPROTO_UDP",""],["IPPROTO_UDPLITE",""],["IPTOS_ECN_CE",""],["IPTOS_ECN_ECT0",""],["IPTOS_ECN_ECT1",""],["IPTOS_ECN_MASK",""],["IPTOS_ECN_NOT_ECT",""],["IPTOS_LOWDELAY",""],["IPTOS_MINCOST",""],["IPTOS_PREC_CRITIC_ECP",""],["IPTOS_PREC_FLASH",""],["IPTOS_PREC_FLASHOVERRIDE",""],["IPTOS_PREC_IMMEDIATE",""],["IPTOS_PREC_INTERNETCONTROL",""],["IPTOS_PREC_MASK",""],["IPTOS_PREC_NETCONTROL",""],["IPTOS_PREC_PRIORITY",""],["IPTOS_PREC_ROUTINE",""],["IPTOS_RELIABILITY",""],["IPTOS_THROUGHPUT",""],["IPTOS_TOS_MASK",""],["IPV6_2292DSTOPTS",""],["IPV6_2292HOPLIMIT",""],["IPV6_2292HOPOPTS",""],["IPV6_2292PKTINFO",""],["IPV6_2292PKTOPTIONS",""],["IPV6_2292RTHDR",""],["IPV6_ADDRFORM",""],["IPV6_ADDR_PREFERENCES",""],["IPV6_ADD_MEMBERSHIP",""],["IPV6_AUTHHDR",""],["IPV6_AUTOFLOWLABEL",""],["IPV6_CHECKSUM",""],["IPV6_DONTFRAG",""],["IPV6_DROP_MEMBERSHIP",""],["IPV6_DSTOPTS",""],["IPV6_FLOWINFO",""],["IPV6_FLOWINFO_FLOWLABEL",""],["IPV6_FLOWINFO_PRIORITY",""],["IPV6_FLOWINFO_SEND",""],["IPV6_FLOWLABEL_MGR",""],["IPV6_FREEBIND",""],["IPV6_HDRINCL",""],["IPV6_HOPLIMIT",""],["IPV6_HOPOPTS",""],["IPV6_IPSEC_POLICY",""],["IPV6_JOIN_ANYCAST",""],["IPV6_LEAVE_ANYCAST",""],["IPV6_MINHOPCOUNT",""],["IPV6_MTU",""],["IPV6_MTU_DISCOVER",""],["IPV6_MULTICAST_ALL",""],["IPV6_MULTICAST_HOPS",""],["IPV6_MULTICAST_IF",""],["IPV6_MULTICAST_LOOP",""],["IPV6_NEXTHOP",""],["IPV6_ORIGDSTADDR",""],["IPV6_PATHMTU",""],["IPV6_PKTINFO",""],["IPV6_PMTUDISC_DO",""],["IPV6_PMTUDISC_DONT",""],["IPV6_PMTUDISC_INTERFACE",""],["IPV6_PMTUDISC_OMIT",""],["IPV6_PMTUDISC_PROBE",""],["IPV6_PMTUDISC_WANT",""],["IPV6_PREFER_SRC_CGA",""],["IPV6_PREFER_SRC_COA",""],["IPV6_PREFER_SRC_HOME",""],["IPV6_PREFER_SRC_NONCGA",""],["IPV6_PREFER_SRC_PUBLIC",""],["IPV6_PREFER_SRC_PUBTMP_DEFAULT",""],["IPV6_PREFER_SRC_TMP",""],["IPV6_RECVDSTOPTS",""],["IPV6_RECVERR",""],["IPV6_RECVFRAGSIZE",""],["IPV6_RECVHOPLIMIT",""],["IPV6_RECVHOPOPTS",""],["IPV6_RECVORIGDSTADDR",""],["IPV6_RECVPATHMTU",""],["IPV6_RECVPKTINFO",""],["IPV6_RECVRTHDR",""],["IPV6_RECVTCLASS",""],["IPV6_ROUTER_ALERT",""],["IPV6_ROUTER_ALERT_ISOLATE",""],["IPV6_RTHDR",""],["IPV6_RTHDRDSTOPTS",""],["IPV6_RTHDR_LOOSE",""],["IPV6_RTHDR_STRICT",""],["IPV6_TCLASS",""],["IPV6_TRANSPARENT",""],["IPV6_UNICAST_HOPS",""],["IPV6_UNICAST_IF",""],["IPV6_V6ONLY",""],["IPV6_XFRM_POLICY",""],["IPVERSION",""],["IP_ADD_MEMBERSHIP",""],["IP_ADD_SOURCE_MEMBERSHIP",""],["IP_BIND_ADDRESS_NO_PORT",""],["IP_BLOCK_SOURCE",""],["IP_CHECKSUM",""],["IP_DEFAULT_MULTICAST_LOOP",""],["IP_DEFAULT_MULTICAST_TTL",""],["IP_DROP_MEMBERSHIP",""],["IP_DROP_SOURCE_MEMBERSHIP",""],["IP_FREEBIND",""],["IP_HDRINCL",""],["IP_IPSEC_POLICY",""],["IP_MINTTL",""],["IP_MSFILTER",""],["IP_MTU",""],["IP_MTU_DISCOVER",""],["IP_MULTICAST_ALL",""],["IP_MULTICAST_IF",""],["IP_MULTICAST_LOOP",""],["IP_MULTICAST_TTL",""],["IP_NODEFRAG",""],["IP_OPTIONS",""],["IP_ORIGDSTADDR",""],["IP_PASSSEC",""],["IP_PKTINFO",""],["IP_PKTOPTIONS",""],["IP_PMTUDISC_DO",""],["IP_PMTUDISC_DONT",""],["IP_PMTUDISC_INTERFACE",""],["IP_PMTUDISC_OMIT",""],["IP_PMTUDISC_PROBE",""],["IP_PMTUDISC_WANT",""],["IP_RECVERR",""],["IP_RECVFRAGSIZE",""],["IP_RECVOPTS",""],["IP_RECVORIGDSTADDR",""],["IP_RECVTOS",""],["IP_RECVTTL",""],["IP_RETOPTS",""],["IP_ROUTER_ALERT",""],["IP_TOS",""],["IP_TRANSPARENT",""],["IP_TTL",""],["IP_UNBLOCK_SOURCE",""],["IP_UNICAST_IF",""],["IP_XFRM_POLICY",""],["ISIG",""],["ISOFS_SUPER_MAGIC",""],["ISTRIP",""],["ITIMER_PROF",""],["ITIMER_REAL",""],["ITIMER_VIRTUAL",""],["IUTF8",""],["IXANY",""],["IXOFF",""],["IXON",""],["J1939_EE_INFO_NONE",""],["J1939_EE_INFO_RX_ABORT",""],["J1939_EE_INFO_RX_DPO",""],["J1939_EE_INFO_RX_RTS",""],["J1939_EE_INFO_TX_ABORT",""],["J1939_FILTER_MAX",""],["J1939_IDLE_ADDR",""],["J1939_MAX_UNICAST_ADDR",""],["J1939_NLA_BYTES_ACKED",""],["J1939_NLA_DEST_ADDR",""],["J1939_NLA_DEST_NAME",""],["J1939_NLA_PAD",""],["J1939_NLA_PGN",""],["J1939_NLA_SRC_ADDR",""],["J1939_NLA_SRC_NAME",""],["J1939_NLA_TOTAL_SIZE",""],["J1939_NO_ADDR",""],["J1939_NO_NAME",""],["J1939_NO_PGN",""],["J1939_PGN_ADDRESS_CLAIMED",""],["J1939_PGN_ADDRESS_COMMANDED",""],["J1939_PGN_MAX",""],["J1939_PGN_PDU1_MAX",""],["J1939_PGN_REQUEST",""],["JFFS2_SUPER_MAGIC",""],["KEYCTL_ASSUME_AUTHORITY",""],["KEYCTL_CAPABILITIES",""],["KEYCTL_CAPS0_BIG_KEY",""],["KEYCTL_CAPS0_CAPABILITIES",""],["KEYCTL_CAPS0_DIFFIE_HELLMAN",""],["KEYCTL_CAPS0_INVALIDATE",""],["KEYCTL_CAPS0_MOVE",""],["KEYCTL_CAPS0_PERSISTENT_KEYRINGS",""],["KEYCTL_CAPS0_PUBLIC_KEY",""],["KEYCTL_CAPS0_RESTRICT_KEYRING",""],["KEYCTL_CAPS1_NS_KEYRING_NAME",""],["KEYCTL_CAPS1_NS_KEY_TAG",""],["KEYCTL_CHOWN",""],["KEYCTL_CLEAR",""],["KEYCTL_DESCRIBE",""],["KEYCTL_DH_COMPUTE",""],["KEYCTL_GET_KEYRING_ID",""],["KEYCTL_GET_PERSISTENT",""],["KEYCTL_GET_SECURITY",""],["KEYCTL_INSTANTIATE",""],["KEYCTL_INSTANTIATE_IOV",""],["KEYCTL_INVALIDATE",""],["KEYCTL_JOIN_SESSION_KEYRING",""],["KEYCTL_LINK",""],["KEYCTL_MOVE",""],["KEYCTL_NEGATE",""],["KEYCTL_PKEY_DECRYPT",""],["KEYCTL_PKEY_ENCRYPT",""],["KEYCTL_PKEY_QUERY",""],["KEYCTL_PKEY_SIGN",""],["KEYCTL_PKEY_VERIFY",""],["KEYCTL_READ",""],["KEYCTL_REJECT",""],["KEYCTL_RESTRICT_KEYRING",""],["KEYCTL_REVOKE",""],["KEYCTL_SEARCH",""],["KEYCTL_SESSION_TO_PARENT",""],["KEYCTL_SETPERM",""],["KEYCTL_SET_REQKEY_KEYRING",""],["KEYCTL_SET_TIMEOUT",""],["KEYCTL_SUPPORTS_DECRYPT",""],["KEYCTL_SUPPORTS_ENCRYPT",""],["KEYCTL_SUPPORTS_SIGN",""],["KEYCTL_SUPPORTS_VERIFY",""],["KEYCTL_UNLINK",""],["KEYCTL_UPDATE",""],["KEY_CNT",""],["KEY_MAX",""],["KEY_REQKEY_DEFL_DEFAULT",""],["KEY_REQKEY_DEFL_GROUP_KEYRING",""],["KEY_REQKEY_DEFL_NO_CHANGE",""],["KEY_REQKEY_DEFL_PROCESS_KEYRING",""],["KEY_REQKEY_DEFL_REQUESTOR_KEYRING",""],["KEY_REQKEY_DEFL_SESSION_KEYRING",""],["KEY_REQKEY_DEFL_THREAD_KEYRING",""],["KEY_REQKEY_DEFL_USER_KEYRING",""],["KEY_REQKEY_DEFL_USER_SESSION_KEYRING",""],["KEY_SPEC_GROUP_KEYRING",""],["KEY_SPEC_PROCESS_KEYRING",""],["KEY_SPEC_REQKEY_AUTH_KEY",""],["KEY_SPEC_REQUESTOR_KEYRING",""],["KEY_SPEC_SESSION_KEYRING",""],["KEY_SPEC_THREAD_KEYRING",""],["KEY_SPEC_USER_KEYRING",""],["KEY_SPEC_USER_SESSION_KEYRING",""],["LC_ADDRESS",""],["LC_ADDRESS_MASK",""],["LC_ALL",""],["LC_ALL_MASK",""],["LC_COLLATE",""],["LC_COLLATE_MASK",""],["LC_CTYPE",""],["LC_CTYPE_MASK",""],["LC_IDENTIFICATION",""],["LC_IDENTIFICATION_MASK",""],["LC_MEASUREMENT",""],["LC_MEASUREMENT_MASK",""],["LC_MESSAGES",""],["LC_MESSAGES_MASK",""],["LC_MONETARY",""],["LC_MONETARY_MASK",""],["LC_NAME",""],["LC_NAME_MASK",""],["LC_NUMERIC",""],["LC_NUMERIC_MASK",""],["LC_PAPER",""],["LC_PAPER_MASK",""],["LC_TELEPHONE",""],["LC_TELEPHONE_MASK",""],["LC_TIME",""],["LC_TIME_MASK",""],["LED_CNT",""],["LED_MAX",""],["LINUX_REBOOT_CMD_CAD_OFF",""],["LINUX_REBOOT_CMD_CAD_ON",""],["LINUX_REBOOT_CMD_HALT",""],["LINUX_REBOOT_CMD_KEXEC",""],["LINUX_REBOOT_CMD_POWER_OFF",""],["LINUX_REBOOT_CMD_RESTART",""],["LINUX_REBOOT_CMD_RESTART2",""],["LINUX_REBOOT_CMD_SW_SUSPEND",""],["LINUX_REBOOT_MAGIC1",""],["LINUX_REBOOT_MAGIC2",""],["LINUX_REBOOT_MAGIC2A",""],["LINUX_REBOOT_MAGIC2B",""],["LINUX_REBOOT_MAGIC2C",""],["LIO_NOP",""],["LIO_NOWAIT",""],["LIO_READ",""],["LIO_WAIT",""],["LIO_WRITE",""],["LM_ID_BASE",""],["LM_ID_NEWLM",""],["LOCK_EX",""],["LOCK_NB",""],["LOCK_SH",""],["LOCK_UN",""],["LOGIN_PROCESS",""],["LOG_ALERT",""],["LOG_AUTH",""],["LOG_AUTHPRIV",""],["LOG_CONS",""],["LOG_CRIT",""],["LOG_CRON",""],["LOG_DAEMON",""],["LOG_DEBUG",""],["LOG_EMERG",""],["LOG_ERR",""],["LOG_FACMASK",""],["LOG_FTP",""],["LOG_INFO",""],["LOG_KERN",""],["LOG_LOCAL0",""],["LOG_LOCAL1",""],["LOG_LOCAL2",""],["LOG_LOCAL3",""],["LOG_LOCAL4",""],["LOG_LOCAL5",""],["LOG_LOCAL6",""],["LOG_LOCAL7",""],["LOG_LPR",""],["LOG_MAIL",""],["LOG_NDELAY",""],["LOG_NEWS",""],["LOG_NFACILITIES",""],["LOG_NOTICE",""],["LOG_NOWAIT",""],["LOG_ODELAY",""],["LOG_PERROR",""],["LOG_PID",""],["LOG_PRIMASK",""],["LOG_SYSLOG",""],["LOG_USER",""],["LOG_UUCP",""],["LOG_WARNING",""],["L_tmpnam",""],["MADV_DODUMP",""],["MADV_DOFORK",""],["MADV_DONTDUMP",""],["MADV_DONTFORK",""],["MADV_DONTNEED",""],["MADV_FREE",""],["MADV_HUGEPAGE",""],["MADV_HWPOISON",""],["MADV_MERGEABLE",""],["MADV_NOHUGEPAGE",""],["MADV_NORMAL",""],["MADV_RANDOM",""],["MADV_REMOVE",""],["MADV_SEQUENTIAL",""],["MADV_SOFT_OFFLINE",""],["MADV_UNMERGEABLE",""],["MADV_WILLNEED",""],["MAP_32BIT",""],["MAP_ANON",""],["MAP_ANONYMOUS",""],["MAP_DENYWRITE",""],["MAP_EXECUTABLE",""],["MAP_FAILED",""],["MAP_FILE",""],["MAP_FIXED",""],["MAP_FIXED_NOREPLACE",""],["MAP_GROWSDOWN",""],["MAP_HUGETLB",""],["MAP_HUGE_16GB",""],["MAP_HUGE_16MB",""],["MAP_HUGE_1GB",""],["MAP_HUGE_1MB",""],["MAP_HUGE_256MB",""],["MAP_HUGE_2GB",""],["MAP_HUGE_2MB",""],["MAP_HUGE_32MB",""],["MAP_HUGE_512KB",""],["MAP_HUGE_512MB",""],["MAP_HUGE_64KB",""],["MAP_HUGE_8MB",""],["MAP_HUGE_MASK",""],["MAP_HUGE_SHIFT",""],["MAP_LOCKED",""],["MAP_NONBLOCK",""],["MAP_NORESERVE",""],["MAP_POPULATE",""],["MAP_PRIVATE",""],["MAP_SHARED",""],["MAP_SHARED_VALIDATE",""],["MAP_STACK",""],["MAP_SYNC",""],["MAP_TYPE",""],["MAXTC",""],["MAXTTL",""],["MAX_ADDR_LEN",""],["MAX_IPOPTLEN",""],["MAX_LINKS",""],["MCAST_BLOCK_SOURCE",""],["MCAST_EXCLUDE",""],["MCAST_INCLUDE",""],["MCAST_JOIN_GROUP",""],["MCAST_JOIN_SOURCE_GROUP",""],["MCAST_LEAVE_GROUP",""],["MCAST_LEAVE_SOURCE_GROUP",""],["MCAST_MSFILTER",""],["MCAST_UNBLOCK_SOURCE",""],["MCL_CURRENT",""],["MCL_FUTURE",""],["MFD_ALLOW_SEALING",""],["MFD_CLOEXEC",""],["MFD_HUGETLB",""],["MFD_HUGE_16GB",""],["MFD_HUGE_16MB",""],["MFD_HUGE_1GB",""],["MFD_HUGE_1MB",""],["MFD_HUGE_256MB",""],["MFD_HUGE_2GB",""],["MFD_HUGE_2MB",""],["MFD_HUGE_32MB",""],["MFD_HUGE_512KB",""],["MFD_HUGE_512MB",""],["MFD_HUGE_64KB",""],["MFD_HUGE_8MB",""],["MFD_HUGE_MASK",""],["MFD_HUGE_SHIFT",""],["MINIX2_SUPER_MAGIC",""],["MINIX2_SUPER_MAGIC2",""],["MINIX3_SUPER_MAGIC",""],["MINIX_SUPER_MAGIC",""],["MINIX_SUPER_MAGIC2",""],["MINSIGSTKSZ",""],["MLOCK_ONFAULT",""],["MMAP_PAGE_ZERO",""],["MNT_DETACH",""],["MNT_EXPIRE",""],["MNT_FORCE",""],["MODULE_INIT_IGNORE_MODVERSIONS",""],["MODULE_INIT_IGNORE_VERMAGIC",""],["MOD_CLKA",""],["MOD_CLKB",""],["MOD_ESTERROR",""],["MOD_FREQUENCY",""],["MOD_MAXERROR",""],["MOD_MICRO",""],["MOD_NANO",""],["MOD_OFFSET",""],["MOD_STATUS",""],["MOD_TAI",""],["MOD_TIMECONST",""],["MON_1",""],["MON_10",""],["MON_11",""],["MON_12",""],["MON_2",""],["MON_3",""],["MON_4",""],["MON_5",""],["MON_6",""],["MON_7",""],["MON_8",""],["MON_9",""],["MPOL_BIND",""],["MPOL_DEFAULT",""],["MPOL_F_NUMA_BALANCING",""],["MPOL_F_RELATIVE_NODES",""],["MPOL_F_STATIC_NODES",""],["MPOL_INTERLEAVE",""],["MPOL_LOCAL",""],["MPOL_PREFERRED",""],["MREMAP_DONTUNMAP",""],["MREMAP_FIXED",""],["MREMAP_MAYMOVE",""],["MSC_CNT",""],["MSC_MAX",""],["MSDOS_SUPER_MAGIC",""],["MSG_CMSG_CLOEXEC",""],["MSG_CONFIRM",""],["MSG_COPY",""],["MSG_CTRUNC",""],["MSG_DONTROUTE",""],["MSG_DONTWAIT",""],["MSG_EOR",""],["MSG_ERRQUEUE",""],["MSG_EXCEPT",""],["MSG_FASTOPEN",""],["MSG_FIN",""],["MSG_INFO",""],["MSG_MORE",""],["MSG_NOERROR",""],["MSG_NOSIGNAL",""],["MSG_OOB",""],["MSG_PEEK",""],["MSG_RST",""],["MSG_STAT",""],["MSG_SYN",""],["MSG_TRUNC",""],["MSG_TRYHARD",""],["MSG_WAITALL",""],["MSG_WAITFORONE",""],["MSG_ZEROCOPY",""],["MS_ACTIVE",""],["MS_ASYNC",""],["MS_BIND",""],["MS_DIRSYNC",""],["MS_INVALIDATE",""],["MS_I_VERSION",""],["MS_KERNMOUNT",""],["MS_LAZYTIME",""],["MS_MANDLOCK",""],["MS_MGC_MSK",""],["MS_MGC_VAL",""],["MS_MOVE",""],["MS_NOATIME",""],["MS_NODEV",""],["MS_NODIRATIME",""],["MS_NOEXEC",""],["MS_NOSUID",""],["MS_NOUSER",""],["MS_POSIXACL",""],["MS_PRIVATE",""],["MS_RDONLY",""],["MS_REC",""],["MS_RELATIME",""],["MS_REMOUNT",""],["MS_RMT_MASK",""],["MS_SHARED",""],["MS_SILENT",""],["MS_SLAVE",""],["MS_STRICTATIME",""],["MS_SYNC",""],["MS_SYNCHRONOUS",""],["MS_UNBINDABLE",""],["M_ARENA_MAX",""],["M_ARENA_TEST",""],["M_CHECK_ACTION",""],["M_GRAIN",""],["M_KEEP",""],["M_MMAP_MAX",""],["M_MMAP_THRESHOLD",""],["M_MXFAST",""],["M_NLBLKS",""],["M_PERTURB",""],["M_TOP_PAD",""],["M_TRIM_THRESHOLD",""],["NCCS",""],["NCP_SUPER_MAGIC",""],["NDA_CACHEINFO",""],["NDA_DST",""],["NDA_IFINDEX",""],["NDA_LINK_NETNSID",""],["NDA_LLADDR",""],["NDA_MASTER",""],["NDA_PORT",""],["NDA_PROBES",""],["NDA_SRC_VNI",""],["NDA_UNSPEC",""],["NDA_VLAN",""],["NDA_VNI",""],["NETLINK_ADD_MEMBERSHIP",""],["NETLINK_AUDIT",""],["NETLINK_BROADCAST_ERROR",""],["NETLINK_CAP_ACK",""],["NETLINK_CONNECTOR",""],["NETLINK_CRYPTO",""],["NETLINK_DNRTMSG",""],["NETLINK_DROP_MEMBERSHIP",""],["NETLINK_ECRYPTFS",""],["NETLINK_EXT_ACK",""],["NETLINK_FIB_LOOKUP",""],["NETLINK_FIREWALL",""],["NETLINK_GENERIC",""],["NETLINK_GET_STRICT_CHK",""],["NETLINK_INET_DIAG",""],["NETLINK_IP6_FW",""],["NETLINK_ISCSI",""],["NETLINK_KOBJECT_UEVENT",""],["NETLINK_LISTEN_ALL_NSID",""],["NETLINK_LIST_MEMBERSHIPS",""],["NETLINK_NETFILTER",""],["NETLINK_NFLOG",""],["NETLINK_NO_ENOBUFS",""],["NETLINK_PKTINFO",""],["NETLINK_RDMA",""],["NETLINK_ROUTE",""],["NETLINK_RX_RING",""],["NETLINK_SCSITRANSPORT",""],["NETLINK_SELINUX",""],["NETLINK_SOCK_DIAG",""],["NETLINK_TX_RING",""],["NETLINK_UNUSED",""],["NETLINK_USERSOCK",""],["NETLINK_XFRM",""],["NEW_TIME",""],["NFNETLINK_V0",""],["NFNLGRP_ACCT_QUOTA",""],["NFNLGRP_CONNTRACK_DESTROY",""],["NFNLGRP_CONNTRACK_EXP_DESTROY",""],["NFNLGRP_CONNTRACK_EXP_NEW",""],["NFNLGRP_CONNTRACK_EXP_UPDATE",""],["NFNLGRP_CONNTRACK_NEW",""],["NFNLGRP_CONNTRACK_UPDATE",""],["NFNLGRP_NFTABLES",""],["NFNLGRP_NFTRACE",""],["NFNLGRP_NONE",""],["NFNL_BATCH_GENID",""],["NFNL_BATCH_UNSPEC",""],["NFNL_MSG_BATCH_BEGIN",""],["NFNL_MSG_BATCH_END",""],["NFNL_SUBSYS_ACCT",""],["NFNL_SUBSYS_COUNT",""],["NFNL_SUBSYS_CTHELPER",""],["NFNL_SUBSYS_CTNETLINK",""],["NFNL_SUBSYS_CTNETLINK_EXP",""],["NFNL_SUBSYS_CTNETLINK_TIMEOUT",""],["NFNL_SUBSYS_HOOK",""],["NFNL_SUBSYS_IPSET",""],["NFNL_SUBSYS_NFTABLES",""],["NFNL_SUBSYS_NFT_COMPAT",""],["NFNL_SUBSYS_NONE",""],["NFNL_SUBSYS_OSF",""],["NFNL_SUBSYS_QUEUE",""],["NFNL_SUBSYS_ULOG",""],["NFPROTO_ARP",""],["NFPROTO_BRIDGE",""],["NFPROTO_DECNET",""],["NFPROTO_INET",""],["NFPROTO_IPV4",""],["NFPROTO_IPV6",""],["NFPROTO_NETDEV",""],["NFPROTO_NUMPROTO",""],["NFPROTO_UNSPEC",""],["NFQA_CAP_LEN",""],["NFQA_CFG_CMD",""],["NFQA_CFG_FLAGS",""],["NFQA_CFG_F_CONNTRACK",""],["NFQA_CFG_F_FAIL_OPEN",""],["NFQA_CFG_F_GSO",""],["NFQA_CFG_F_MAX",""],["NFQA_CFG_F_SECCTX",""],["NFQA_CFG_F_UID_GID",""],["NFQA_CFG_MASK",""],["NFQA_CFG_PARAMS",""],["NFQA_CFG_QUEUE_MAXLEN",""],["NFQA_CFG_UNSPEC",""],["NFQA_CT",""],["NFQA_CT_INFO",""],["NFQA_EXP",""],["NFQA_GID",""],["NFQA_HWADDR",""],["NFQA_IFINDEX_INDEV",""],["NFQA_IFINDEX_OUTDEV",""],["NFQA_IFINDEX_PHYSINDEV",""],["NFQA_IFINDEX_PHYSOUTDEV",""],["NFQA_L2HDR",""],["NFQA_MARK",""],["NFQA_PACKET_HDR",""],["NFQA_PAYLOAD",""],["NFQA_PRIORITY",""],["NFQA_SECCTX",""],["NFQA_SKB_CSUMNOTREADY",""],["NFQA_SKB_CSUM_NOTVERIFIED",""],["NFQA_SKB_GSO",""],["NFQA_SKB_INFO",""],["NFQA_TIMESTAMP",""],["NFQA_UID",""],["NFQA_UNSPEC",""],["NFQA_VERDICT_HDR",""],["NFQA_VLAN",""],["NFQA_VLAN_PROTO",""],["NFQA_VLAN_TCI",""],["NFQA_VLAN_UNSPEC",""],["NFQNL_CFG_CMD_BIND",""],["NFQNL_CFG_CMD_NONE",""],["NFQNL_CFG_CMD_PF_BIND",""],["NFQNL_CFG_CMD_PF_UNBIND",""],["NFQNL_CFG_CMD_UNBIND",""],["NFQNL_COPY_META",""],["NFQNL_COPY_NONE",""],["NFQNL_COPY_PACKET",""],["NFQNL_MSG_CONFIG",""],["NFQNL_MSG_PACKET",""],["NFQNL_MSG_VERDICT",""],["NFQNL_MSG_VERDICT_BATCH",""],["NFS_SUPER_MAGIC",""],["NFT_BREAK",""],["NFT_BYTEORDER_HTON",""],["NFT_BYTEORDER_NTOH",""],["NFT_CHAIN_MAXNAMELEN",""],["NFT_CMP_EQ",""],["NFT_CMP_GT",""],["NFT_CMP_GTE",""],["NFT_CMP_LT",""],["NFT_CMP_LTE",""],["NFT_CMP_NEQ",""],["NFT_CONTINUE",""],["NFT_CT_BYTES",""],["NFT_CT_DIRECTION",""],["NFT_CT_DST",""],["NFT_CT_EXPIRATION",""],["NFT_CT_HELPER",""],["NFT_CT_L3PROTOCOL",""],["NFT_CT_LABELS",""],["NFT_CT_MARK",""],["NFT_CT_PKTS",""],["NFT_CT_PROTOCOL",""],["NFT_CT_PROTO_DST",""],["NFT_CT_PROTO_SRC",""],["NFT_CT_SECMARK",""],["NFT_CT_SRC",""],["NFT_CT_STATE",""],["NFT_CT_STATUS",""],["NFT_DATA_RESERVED_MASK",""],["NFT_DATA_VALUE",""],["NFT_DATA_VALUE_MAXLEN",""],["NFT_DATA_VERDICT",""],["NFT_DYNSET_F_INV",""],["NFT_DYNSET_OP_ADD",""],["NFT_DYNSET_OP_UPDATE",""],["NFT_GOTO",""],["NFT_JUMP",""],["NFT_LIMIT_F_INV",""],["NFT_LIMIT_PKTS",""],["NFT_LIMIT_PKT_BYTES",""],["NFT_LOOKUP_F_INV",""],["NFT_META_BRI_IIFNAME",""],["NFT_META_BRI_OIFNAME",""],["NFT_META_CGROUP",""],["NFT_META_CPU",""],["NFT_META_IIF",""],["NFT_META_IIFGROUP",""],["NFT_META_IIFNAME",""],["NFT_META_IIFTYPE",""],["NFT_META_L4PROTO",""],["NFT_META_LEN",""],["NFT_META_MARK",""],["NFT_META_NFPROTO",""],["NFT_META_NFTRACE",""],["NFT_META_OIF",""],["NFT_META_OIFGROUP",""],["NFT_META_OIFNAME",""],["NFT_META_OIFTYPE",""],["NFT_META_PKTTYPE",""],["NFT_META_PRANDOM",""],["NFT_META_PRIORITY",""],["NFT_META_PROTOCOL",""],["NFT_META_RTCLASSID",""],["NFT_META_SECMARK",""],["NFT_META_SKGID",""],["NFT_META_SKUID",""],["NFT_MSG_DELCHAIN",""],["NFT_MSG_DELOBJ",""],["NFT_MSG_DELRULE",""],["NFT_MSG_DELSET",""],["NFT_MSG_DELSETELEM",""],["NFT_MSG_DELTABLE",""],["NFT_MSG_GETCHAIN",""],["NFT_MSG_GETGEN",""],["NFT_MSG_GETOBJ",""],["NFT_MSG_GETOBJ_RESET",""],["NFT_MSG_GETRULE",""],["NFT_MSG_GETSET",""],["NFT_MSG_GETSETELEM",""],["NFT_MSG_GETTABLE",""],["NFT_MSG_MAX",""],["NFT_MSG_NEWCHAIN",""],["NFT_MSG_NEWGEN",""],["NFT_MSG_NEWOBJ",""],["NFT_MSG_NEWRULE",""],["NFT_MSG_NEWSET",""],["NFT_MSG_NEWSETELEM",""],["NFT_MSG_NEWTABLE",""],["NFT_MSG_TRACE",""],["NFT_NAT_DNAT",""],["NFT_NAT_SNAT",""],["NFT_NG_INCREMENTAL",""],["NFT_NG_RANDOM",""],["NFT_OBJ_MAXNAMELEN",""],["NFT_PAYLOAD_CSUM_INET",""],["NFT_PAYLOAD_CSUM_NONE",""],["NFT_PAYLOAD_LL_HEADER",""],["NFT_PAYLOAD_NETWORK_HEADER",""],["NFT_PAYLOAD_TRANSPORT_HEADER",""],["NFT_QUEUE_FLAG_BYPASS",""],["NFT_QUEUE_FLAG_CPU_FANOUT",""],["NFT_QUEUE_FLAG_MASK",""],["NFT_QUOTA_F_INV",""],["NFT_RANGE_EQ",""],["NFT_RANGE_NEQ",""],["NFT_REG32_00",""],["NFT_REG32_01",""],["NFT_REG32_02",""],["NFT_REG32_03",""],["NFT_REG32_04",""],["NFT_REG32_05",""],["NFT_REG32_06",""],["NFT_REG32_07",""],["NFT_REG32_08",""],["NFT_REG32_09",""],["NFT_REG32_10",""],["NFT_REG32_11",""],["NFT_REG32_12",""],["NFT_REG32_13",""],["NFT_REG32_14",""],["NFT_REG32_15",""],["NFT_REG32_SIZE",""],["NFT_REG_1",""],["NFT_REG_2",""],["NFT_REG_3",""],["NFT_REG_4",""],["NFT_REG_SIZE",""],["NFT_REG_VERDICT",""],["NFT_REJECT_ICMPX_ADMIN_PROHIBITED",""],["NFT_REJECT_ICMPX_HOST_UNREACH",""],["NFT_REJECT_ICMPX_NO_ROUTE",""],["NFT_REJECT_ICMPX_PORT_UNREACH",""],["NFT_REJECT_ICMPX_UNREACH",""],["NFT_REJECT_ICMP_UNREACH",""],["NFT_REJECT_TCP_RST",""],["NFT_RETURN",""],["NFT_SET_ANONYMOUS",""],["NFT_SET_CONSTANT",""],["NFT_SET_ELEM_INTERVAL_END",""],["NFT_SET_EVAL",""],["NFT_SET_INTERVAL",""],["NFT_SET_MAP",""],["NFT_SET_MAXNAMELEN",""],["NFT_SET_POL_MEMORY",""],["NFT_SET_POL_PERFORMANCE",""],["NFT_SET_TIMEOUT",""],["NFT_TABLE_MAXNAMELEN",""],["NFT_TRACETYPE_POLICY",""],["NFT_TRACETYPE_RETURN",""],["NFT_TRACETYPE_RULE",""],["NFT_TRACETYPE_UNSPEC",""],["NFT_USERDATA_MAXLEN",""],["NFULA_CFG_CMD",""],["NFULA_CFG_FLAGS",""],["NFULA_CFG_MODE",""],["NFULA_CFG_NLBUFSIZ",""],["NFULA_CFG_QTHRESH",""],["NFULA_CFG_TIMEOUT",""],["NFULA_CFG_UNSPEC",""],["NFULA_CT",""],["NFULA_CT_INFO",""],["NFULA_GID",""],["NFULA_HWADDR",""],["NFULA_HWHEADER",""],["NFULA_HWLEN",""],["NFULA_HWTYPE",""],["NFULA_IFINDEX_INDEV",""],["NFULA_IFINDEX_OUTDEV",""],["NFULA_IFINDEX_PHYSINDEV",""],["NFULA_IFINDEX_PHYSOUTDEV",""],["NFULA_L2HDR",""],["NFULA_MARK",""],["NFULA_PACKET_HDR",""],["NFULA_PAYLOAD",""],["NFULA_PREFIX",""],["NFULA_SEQ",""],["NFULA_SEQ_GLOBAL",""],["NFULA_TIMESTAMP",""],["NFULA_UID",""],["NFULA_UNSPEC",""],["NFULA_VLAN",""],["NFULA_VLAN_PROTO",""],["NFULA_VLAN_TCI",""],["NFULA_VLAN_UNSPEC",""],["NFULNL_CFG_CMD_BIND",""],["NFULNL_CFG_CMD_NONE",""],["NFULNL_CFG_CMD_PF_BIND",""],["NFULNL_CFG_CMD_PF_UNBIND",""],["NFULNL_CFG_CMD_UNBIND",""],["NFULNL_CFG_F_CONNTRACK",""],["NFULNL_CFG_F_SEQ",""],["NFULNL_CFG_F_SEQ_GLOBAL",""],["NFULNL_COPY_META",""],["NFULNL_COPY_NONE",""],["NFULNL_COPY_PACKET",""],["NFULNL_MSG_CONFIG",""],["NFULNL_MSG_PACKET",""],["NF_ACCEPT",""],["NF_DROP",""],["NF_INET_FORWARD",""],["NF_INET_LOCAL_IN",""],["NF_INET_LOCAL_OUT",""],["NF_INET_NUMHOOKS",""],["NF_INET_POST_ROUTING",""],["NF_INET_PRE_ROUTING",""],["NF_IP6_FORWARD",""],["NF_IP6_LOCAL_IN",""],["NF_IP6_LOCAL_OUT",""],["NF_IP6_NUMHOOKS",""],["NF_IP6_POST_ROUTING",""],["NF_IP6_PRE_ROUTING",""],["NF_IP6_PRI_CONNTRACK",""],["NF_IP6_PRI_CONNTRACK_DEFRAG",""],["NF_IP6_PRI_CONNTRACK_HELPER",""],["NF_IP6_PRI_FILTER",""],["NF_IP6_PRI_FIRST",""],["NF_IP6_PRI_LAST",""],["NF_IP6_PRI_MANGLE",""],["NF_IP6_PRI_NAT_DST",""],["NF_IP6_PRI_NAT_SRC",""],["NF_IP6_PRI_RAW",""],["NF_IP6_PRI_SECURITY",""],["NF_IP6_PRI_SELINUX_FIRST",""],["NF_IP6_PRI_SELINUX_LAST",""],["NF_IP_FORWARD",""],["NF_IP_LOCAL_IN",""],["NF_IP_LOCAL_OUT",""],["NF_IP_NUMHOOKS",""],["NF_IP_POST_ROUTING",""],["NF_IP_PRE_ROUTING",""],["NF_IP_PRI_CONNTRACK",""],["NF_IP_PRI_CONNTRACK_CONFIRM",""],["NF_IP_PRI_CONNTRACK_DEFRAG",""],["NF_IP_PRI_CONNTRACK_HELPER",""],["NF_IP_PRI_FILTER",""],["NF_IP_PRI_FIRST",""],["NF_IP_PRI_LAST",""],["NF_IP_PRI_MANGLE",""],["NF_IP_PRI_NAT_DST",""],["NF_IP_PRI_NAT_SRC",""],["NF_IP_PRI_RAW",""],["NF_IP_PRI_SECURITY",""],["NF_IP_PRI_SELINUX_FIRST",""],["NF_IP_PRI_SELINUX_LAST",""],["NF_MAX_VERDICT",""],["NF_NETDEV_INGRESS",""],["NF_NETDEV_NUMHOOKS",""],["NF_QUEUE",""],["NF_REPEAT",""],["NF_STOLEN",""],["NF_STOP",""],["NF_VERDICT_BITS",""],["NF_VERDICT_FLAG_QUEUE_BYPASS",""],["NF_VERDICT_MASK",""],["NF_VERDICT_QBITS",""],["NF_VERDICT_QMASK",""],["NILFS_SUPER_MAGIC",""],["NI_DGRAM",""],["NI_MAXHOST",""],["NI_NAMEREQD",""],["NI_NOFQDN",""],["NI_NUMERICHOST",""],["NI_NUMERICSERV",""],["NL0",""],["NL1",""],["NLA_ALIGNTO",""],["NLA_F_NESTED",""],["NLA_F_NET_BYTEORDER",""],["NLA_TYPE_MASK",""],["NLDLY",""],["NLMSG_DONE",""],["NLMSG_ERROR",""],["NLMSG_MIN_TYPE",""],["NLMSG_NOOP",""],["NLMSG_OVERRUN",""],["NLM_F_ACK",""],["NLM_F_APPEND",""],["NLM_F_ATOMIC",""],["NLM_F_CREATE",""],["NLM_F_DUMP",""],["NLM_F_DUMP_FILTERED",""],["NLM_F_DUMP_INTR",""],["NLM_F_ECHO",""],["NLM_F_EXCL",""],["NLM_F_MATCH",""],["NLM_F_MULTI",""],["NLM_F_REPLACE",""],["NLM_F_REQUEST",""],["NLM_F_ROOT",""],["NOEXPR",""],["NOFLSH",""],["NOSTR",""],["NSFS_MAGIC",""],["NTF_EXT_LEARNED",""],["NTF_MASTER",""],["NTF_OFFLOADED",""],["NTF_PROXY",""],["NTF_ROUTER",""],["NTF_SELF",""],["NTF_USE",""],["NTP_API",""],["NT_ASRS",""],["NT_AUXV",""],["NT_FPREGSET",""],["NT_GWINDOWS",""],["NT_LWPSINFO",""],["NT_LWPSTATUS",""],["NT_PLATFORM",""],["NT_PRCRED",""],["NT_PRFPREG",""],["NT_PRFPXREG",""],["NT_PRPSINFO",""],["NT_PRSTATUS",""],["NT_PRXREG",""],["NT_PSINFO",""],["NT_PSTATUS",""],["NT_TASKSTRUCT",""],["NT_UTSNAME",""],["NUD_DELAY",""],["NUD_FAILED",""],["NUD_INCOMPLETE",""],["NUD_NOARP",""],["NUD_NONE",""],["NUD_PERMANENT",""],["NUD_PROBE",""],["NUD_REACHABLE",""],["NUD_STALE",""],["OCFS2_SUPER_MAGIC",""],["OCRNL",""],["OFDEL",""],["OFILL",""],["OLCUC",""],["OLD_TIME",""],["ONLCR",""],["ONLRET",""],["ONOCR",""],["OPENPROM_SUPER_MAGIC",""],["OPOST",""],["ORIG_RAX",""],["OVERLAYFS_SUPER_MAGIC",""],["O_ACCMODE",""],["O_APPEND",""],["O_ASYNC",""],["O_CLOEXEC",""],["O_CREAT",""],["O_DIRECT",""],["O_DIRECTORY",""],["O_DSYNC",""],["O_EXCL",""],["O_FSYNC",""],["O_LARGEFILE",""],["O_NDELAY",""],["O_NOATIME",""],["O_NOCTTY",""],["O_NOFOLLOW",""],["O_NONBLOCK",""],["O_PATH",""],["O_RDONLY",""],["O_RDWR",""],["O_RSYNC",""],["O_SYNC",""],["O_TMPFILE",""],["O_TRUNC",""],["O_WRONLY",""],["PACKET_ADD_MEMBERSHIP",""],["PACKET_DROP_MEMBERSHIP",""],["PACKET_MR_ALLMULTI",""],["PACKET_MR_MULTICAST",""],["PACKET_MR_PROMISC",""],["PACKET_MR_UNICAST",""],["PARENB",""],["PARMRK",""],["PARODD",""],["PATH_MAX",""],["PENDIN",""],["PF_ALG",""],["PF_APPLETALK",""],["PF_ASH",""],["PF_ATMPVC",""],["PF_ATMSVC",""],["PF_AX25",""],["PF_BLUETOOTH",""],["PF_BRIDGE",""],["PF_CAIF",""],["PF_CAN",""],["PF_DECnet",""],["PF_ECONET",""],["PF_IB",""],["PF_IEEE802154",""],["PF_INET",""],["PF_INET6",""],["PF_IPX",""],["PF_IRDA",""],["PF_ISDN",""],["PF_IUCV",""],["PF_KEY",""],["PF_LLC",""],["PF_LOCAL",""],["PF_MASKOS",""],["PF_MASKPROC",""],["PF_MPLS",""],["PF_NETBEUI",""],["PF_NETLINK",""],["PF_NETROM",""],["PF_NFC",""],["PF_PACKET",""],["PF_PHONET",""],["PF_PPPOX",""],["PF_R",""],["PF_RDS",""],["PF_ROSE",""],["PF_ROUTE",""],["PF_RXRPC",""],["PF_SECURITY",""],["PF_SNA",""],["PF_TIPC",""],["PF_UNIX",""],["PF_UNSPEC",""],["PF_VSOCK",""],["PF_W",""],["PF_WANPIPE",""],["PF_X",""],["PF_X25",""],["PF_XDP",""],["PIDFD_NONBLOCK",""],["PIPE_BUF",""],["PM_STR",""],["POLLERR",""],["POLLHUP",""],["POLLIN",""],["POLLNVAL",""],["POLLOUT",""],["POLLPRI",""],["POLLRDBAND",""],["POLLRDHUP",""],["POLLRDNORM",""],["POLLWRBAND",""],["POLLWRNORM",""],["POSIX_FADV_DONTNEED",""],["POSIX_FADV_NOREUSE",""],["POSIX_FADV_NORMAL",""],["POSIX_FADV_RANDOM",""],["POSIX_FADV_SEQUENTIAL",""],["POSIX_FADV_WILLNEED",""],["POSIX_MADV_DONTNEED",""],["POSIX_MADV_NORMAL",""],["POSIX_MADV_RANDOM",""],["POSIX_MADV_SEQUENTIAL",""],["POSIX_MADV_WILLNEED",""],["POSIX_SPAWN_RESETIDS",""],["POSIX_SPAWN_SETPGROUP",""],["POSIX_SPAWN_SETSCHEDPARAM",""],["POSIX_SPAWN_SETSCHEDULER",""],["POSIX_SPAWN_SETSID",""],["POSIX_SPAWN_SETSIGDEF",""],["POSIX_SPAWN_SETSIGMASK",""],["POSIX_SPAWN_USEVFORK",""],["PRIO_MAX",""],["PRIO_MIN",""],["PRIO_PGRP",""],["PRIO_PROCESS",""],["PRIO_USER",""],["PROC_SUPER_MAGIC",""],["PROT_EXEC",""],["PROT_GROWSDOWN",""],["PROT_GROWSUP",""],["PROT_NONE",""],["PROT_READ",""],["PROT_WRITE",""],["PR_CAPBSET_DROP",""],["PR_CAPBSET_READ",""],["PR_CAP_AMBIENT",""],["PR_CAP_AMBIENT_CLEAR_ALL",""],["PR_CAP_AMBIENT_IS_SET",""],["PR_CAP_AMBIENT_LOWER",""],["PR_CAP_AMBIENT_RAISE",""],["PR_ENDIAN_BIG",""],["PR_ENDIAN_LITTLE",""],["PR_ENDIAN_PPC_LITTLE",""],["PR_FPEMU_NOPRINT",""],["PR_FPEMU_SIGFPE",""],["PR_FP_EXC_ASYNC",""],["PR_FP_EXC_DISABLED",""],["PR_FP_EXC_DIV",""],["PR_FP_EXC_INV",""],["PR_FP_EXC_NONRECOV",""],["PR_FP_EXC_OVF",""],["PR_FP_EXC_PRECISE",""],["PR_FP_EXC_RES",""],["PR_FP_EXC_SW_ENABLE",""],["PR_FP_EXC_UND",""],["PR_FP_MODE_FR",""],["PR_FP_MODE_FRE",""],["PR_GET_CHILD_SUBREAPER",""],["PR_GET_DUMPABLE",""],["PR_GET_ENDIAN",""],["PR_GET_FPEMU",""],["PR_GET_FPEXC",""],["PR_GET_FP_MODE",""],["PR_GET_KEEPCAPS",""],["PR_GET_NAME",""],["PR_GET_NO_NEW_PRIVS",""],["PR_GET_PDEATHSIG",""],["PR_GET_SECCOMP",""],["PR_GET_SECUREBITS",""],["PR_GET_SPECULATION_CTRL",""],["PR_GET_THP_DISABLE",""],["PR_GET_TID_ADDRESS",""],["PR_GET_TIMERSLACK",""],["PR_GET_TIMING",""],["PR_GET_TSC",""],["PR_GET_UNALIGN",""],["PR_MCE_KILL",""],["PR_MCE_KILL_CLEAR",""],["PR_MCE_KILL_DEFAULT",""],["PR_MCE_KILL_EARLY",""],["PR_MCE_KILL_GET",""],["PR_MCE_KILL_LATE",""],["PR_MCE_KILL_SET",""],["PR_MPX_DISABLE_MANAGEMENT",""],["PR_MPX_ENABLE_MANAGEMENT",""],["PR_SET_CHILD_SUBREAPER",""],["PR_SET_DUMPABLE",""],["PR_SET_ENDIAN",""],["PR_SET_FPEMU",""],["PR_SET_FPEXC",""],["PR_SET_FP_MODE",""],["PR_SET_KEEPCAPS",""],["PR_SET_MM",""],["PR_SET_MM_ARG_END",""],["PR_SET_MM_ARG_START",""],["PR_SET_MM_AUXV",""],["PR_SET_MM_BRK",""],["PR_SET_MM_END_CODE",""],["PR_SET_MM_END_DATA",""],["PR_SET_MM_ENV_END",""],["PR_SET_MM_ENV_START",""],["PR_SET_MM_EXE_FILE",""],["PR_SET_MM_MAP",""],["PR_SET_MM_MAP_SIZE",""],["PR_SET_MM_START_BRK",""],["PR_SET_MM_START_CODE",""],["PR_SET_MM_START_DATA",""],["PR_SET_MM_START_STACK",""],["PR_SET_NAME",""],["PR_SET_NO_NEW_PRIVS",""],["PR_SET_PDEATHSIG",""],["PR_SET_PTRACER",""],["PR_SET_SECCOMP",""],["PR_SET_SECUREBITS",""],["PR_SET_SPECULATION_CTRL",""],["PR_SET_THP_DISABLE",""],["PR_SET_TIMERSLACK",""],["PR_SET_TIMING",""],["PR_SET_TSC",""],["PR_SET_UNALIGN",""],["PR_SET_VMA",""],["PR_SET_VMA_ANON_NAME",""],["PR_SPEC_DISABLE",""],["PR_SPEC_DISABLE_NOEXEC",""],["PR_SPEC_ENABLE",""],["PR_SPEC_FORCE_DISABLE",""],["PR_SPEC_INDIRECT_BRANCH",""],["PR_SPEC_NOT_AFFECTED",""],["PR_SPEC_PRCTL",""],["PR_SPEC_STORE_BYPASS",""],["PR_TASK_PERF_EVENTS_DISABLE",""],["PR_TASK_PERF_EVENTS_ENABLE",""],["PR_TIMING_STATISTICAL",""],["PR_TIMING_TIMESTAMP",""],["PR_TSC_ENABLE",""],["PR_TSC_SIGSEGV",""],["PR_UNALIGN_NOPRINT",""],["PR_UNALIGN_SIGBUS",""],["PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP",""],["PTHREAD_COND_INITIALIZER",""],["PTHREAD_CREATE_DETACHED",""],["PTHREAD_CREATE_JOINABLE",""],["PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP",""],["PTHREAD_MUTEX_ADAPTIVE_NP",""],["PTHREAD_MUTEX_DEFAULT",""],["PTHREAD_MUTEX_ERRORCHECK",""],["PTHREAD_MUTEX_INITIALIZER",""],["PTHREAD_MUTEX_NORMAL",""],["PTHREAD_MUTEX_RECURSIVE",""],["PTHREAD_MUTEX_ROBUST",""],["PTHREAD_MUTEX_STALLED",""],["PTHREAD_PRIO_INHERIT",""],["PTHREAD_PRIO_NONE",""],["PTHREAD_PRIO_PROTECT",""],["PTHREAD_PROCESS_PRIVATE",""],["PTHREAD_PROCESS_SHARED",""],["PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP",""],["PTHREAD_RWLOCK_INITIALIZER",""],["PTHREAD_STACK_MIN",""],["PTRACE_ATTACH",""],["PTRACE_CONT",""],["PTRACE_DETACH",""],["PTRACE_EVENT_CLONE",""],["PTRACE_EVENT_EXEC",""],["PTRACE_EVENT_EXIT",""],["PTRACE_EVENT_FORK",""],["PTRACE_EVENT_SECCOMP",""],["PTRACE_EVENT_STOP",""],["PTRACE_EVENT_VFORK",""],["PTRACE_EVENT_VFORK_DONE",""],["PTRACE_GETEVENTMSG",""],["PTRACE_GETFPREGS",""],["PTRACE_GETFPXREGS",""],["PTRACE_GETREGS",""],["PTRACE_GETREGSET",""],["PTRACE_GETSIGINFO",""],["PTRACE_GET_RSEQ_CONFIGURATION",""],["PTRACE_GET_SYSCALL_INFO",""],["PTRACE_INTERRUPT",""],["PTRACE_KILL",""],["PTRACE_LISTEN",""],["PTRACE_O_EXITKILL",""],["PTRACE_O_MASK",""],["PTRACE_O_SUSPEND_SECCOMP",""],["PTRACE_O_TRACECLONE",""],["PTRACE_O_TRACEEXEC",""],["PTRACE_O_TRACEEXIT",""],["PTRACE_O_TRACEFORK",""],["PTRACE_O_TRACESECCOMP",""],["PTRACE_O_TRACESYSGOOD",""],["PTRACE_O_TRACEVFORK",""],["PTRACE_O_TRACEVFORKDONE",""],["PTRACE_PEEKDATA",""],["PTRACE_PEEKSIGINFO",""],["PTRACE_PEEKSIGINFO_SHARED",""],["PTRACE_PEEKTEXT",""],["PTRACE_PEEKUSER",""],["PTRACE_POKEDATA",""],["PTRACE_POKETEXT",""],["PTRACE_POKEUSER",""],["PTRACE_SEIZE",""],["PTRACE_SETFPREGS",""],["PTRACE_SETFPXREGS",""],["PTRACE_SETOPTIONS",""],["PTRACE_SETREGS",""],["PTRACE_SETREGSET",""],["PTRACE_SETSIGINFO",""],["PTRACE_SINGLESTEP",""],["PTRACE_SYSCALL",""],["PTRACE_SYSEMU",""],["PTRACE_SYSEMU_SINGLESTEP",""],["PTRACE_TRACEME",""],["PT_DYNAMIC",""],["PT_GNU_EH_FRAME",""],["PT_GNU_RELRO",""],["PT_GNU_STACK",""],["PT_HIOS",""],["PT_HIPROC",""],["PT_HISUNW",""],["PT_INTERP",""],["PT_LOAD",""],["PT_LOOS",""],["PT_LOPROC",""],["PT_LOSUNW",""],["PT_NOTE",""],["PT_NULL",""],["PT_NUM",""],["PT_PHDR",""],["PT_SHLIB",""],["PT_SUNWBSS",""],["PT_SUNWSTACK",""],["PT_TLS",""],["P_ALL",""],["P_PGID",""],["P_PID",""],["P_PIDFD",""],["QFMT_VFS_OLD",""],["QFMT_VFS_V0",""],["QFMT_VFS_V1",""],["QIF_ALL",""],["QIF_BLIMITS",""],["QIF_BTIME",""],["QIF_ILIMITS",""],["QIF_INODES",""],["QIF_ITIME",""],["QIF_LIMITS",""],["QIF_SPACE",""],["QIF_TIMES",""],["QIF_USAGE",""],["QNX4_SUPER_MAGIC",""],["QNX6_SUPER_MAGIC",""],["Q_GETFMT",""],["Q_GETINFO",""],["Q_GETQUOTA",""],["Q_QUOTAOFF",""],["Q_QUOTAON",""],["Q_SETINFO",""],["Q_SETQUOTA",""],["Q_SYNC",""],["R10",""],["R11",""],["R12",""],["R13",""],["R14",""],["R15",""],["R8",""],["R9",""],["RADIXCHAR",""],["RAND_MAX",""],["RAX",""],["RBP",""],["RBX",""],["RB_AUTOBOOT",""],["RB_DISABLE_CAD",""],["RB_ENABLE_CAD",""],["RB_HALT_SYSTEM",""],["RB_KEXEC",""],["RB_POWER_OFF",""],["RB_SW_SUSPEND",""],["RCX",""],["RDI",""],["RDTGROUP_SUPER_MAGIC",""],["RDX",""],["READ_IMPLIES_EXEC",""],["REG_BADBR",""],["REG_BADPAT",""],["REG_BADRPT",""],["REG_CR2",""],["REG_CSGSFS",""],["REG_EBRACE",""],["REG_EBRACK",""],["REG_ECOLLATE",""],["REG_ECTYPE",""],["REG_EEND",""],["REG_EESCAPE",""],["REG_EFL",""],["REG_ENOSYS",""],["REG_EPAREN",""],["REG_ERANGE",""],["REG_ERPAREN",""],["REG_ERR",""],["REG_ESIZE",""],["REG_ESPACE",""],["REG_ESUBREG",""],["REG_EXTENDED",""],["REG_ICASE",""],["REG_NEWLINE",""],["REG_NOMATCH",""],["REG_NOSUB",""],["REG_NOTBOL",""],["REG_NOTEOL",""],["REG_OLDMASK",""],["REG_R10",""],["REG_R11",""],["REG_R12",""],["REG_R13",""],["REG_R14",""],["REG_R15",""],["REG_R8",""],["REG_R9",""],["REG_RAX",""],["REG_RBP",""],["REG_RBX",""],["REG_RCX",""],["REG_RDI",""],["REG_RDX",""],["REG_RIP",""],["REG_RSI",""],["REG_RSP",""],["REG_STARTEND",""],["REG_TRAPNO",""],["REISERFS_SUPER_MAGIC",""],["REL_CNT",""],["REL_MAX",""],["RENAME_EXCHANGE",""],["RENAME_NOREPLACE",""],["RENAME_WHITEOUT",""],["REP_CNT",""],["REP_MAX",""],["RESOLVE_BENEATH",""],["RESOLVE_CACHED",""],["RESOLVE_IN_ROOT",""],["RESOLVE_NO_MAGICLINKS",""],["RESOLVE_NO_SYMLINKS",""],["RESOLVE_NO_XDEV",""],["RIP",""],["RLIMIT_AS",""],["RLIMIT_CORE",""],["RLIMIT_CPU",""],["RLIMIT_DATA",""],["RLIMIT_FSIZE",""],["RLIMIT_LOCKS",""],["RLIMIT_MEMLOCK",""],["RLIMIT_MSGQUEUE",""],["RLIMIT_NICE",""],["RLIMIT_NLIMITS",""],["RLIMIT_NOFILE",""],["RLIMIT_NPROC",""],["RLIMIT_RSS",""],["RLIMIT_RTPRIO",""],["RLIMIT_RTTIME",""],["RLIMIT_SIGPENDING",""],["RLIMIT_STACK",""],["RLIM_INFINITY",""],["RLIM_NLIMITS",""],["RLIM_SAVED_CUR",""],["RLIM_SAVED_MAX",""],["RSI",""],["RSP",""],["RTA_CACHEINFO",""],["RTA_DST",""],["RTA_ENCAP",""],["RTA_ENCAP_TYPE",""],["RTA_EXPIRES",""],["RTA_FLOW",""],["RTA_GATEWAY",""],["RTA_IIF",""],["RTA_MARK",""],["RTA_METRICS",""],["RTA_MFC_STATS",""],["RTA_MP_ALGO",""],["RTA_MULTIPATH",""],["RTA_NEWDST",""],["RTA_OIF",""],["RTA_PAD",""],["RTA_PREF",""],["RTA_PREFSRC",""],["RTA_PRIORITY",""],["RTA_PROTOINFO",""],["RTA_SESSION",""],["RTA_SRC",""],["RTA_TABLE",""],["RTA_TTL_PROPAGATE",""],["RTA_UID",""],["RTA_UNSPEC",""],["RTA_VIA",""],["RTCF_DIRECTSRC",""],["RTCF_DOREDIRECT",""],["RTCF_LOG",""],["RTCF_MASQ",""],["RTCF_NAT",""],["RTCF_VALVE",""],["RTF_ADDRCLASSMASK",""],["RTF_ADDRCONF",""],["RTF_ALLONLINK",""],["RTF_BROADCAST",""],["RTF_CACHE",""],["RTF_DEFAULT",""],["RTF_DYNAMIC",""],["RTF_FLOW",""],["RTF_GATEWAY",""],["RTF_HOST",""],["RTF_INTERFACE",""],["RTF_IRTT",""],["RTF_LINKRT",""],["RTF_LOCAL",""],["RTF_MODIFIED",""],["RTF_MSS",""],["RTF_MTU",""],["RTF_MULTICAST",""],["RTF_NAT",""],["RTF_NOFORWARD",""],["RTF_NONEXTHOP",""],["RTF_NOPMTUDISC",""],["RTF_POLICY",""],["RTF_REINSTATE",""],["RTF_REJECT",""],["RTF_STATIC",""],["RTF_THROW",""],["RTF_UP",""],["RTF_WINDOW",""],["RTF_XRESOLVE",""],["RTLD_DEEPBIND",""],["RTLD_DEFAULT",""],["RTLD_DI_CONFIGADDR",""],["RTLD_DI_LINKMAP",""],["RTLD_DI_LMID",""],["RTLD_DI_ORIGIN",""],["RTLD_DI_PROFILENAME",""],["RTLD_DI_PROFILEOUT",""],["RTLD_DI_SERINFO",""],["RTLD_DI_SERINFOSIZE",""],["RTLD_DI_TLS_DATA",""],["RTLD_DI_TLS_MODID",""],["RTLD_GLOBAL",""],["RTLD_LAZY",""],["RTLD_LOCAL",""],["RTLD_NEXT",""],["RTLD_NODELETE",""],["RTLD_NOLOAD",""],["RTLD_NOW",""],["RTMGRP_DECnet_IFADDR",""],["RTMGRP_DECnet_ROUTE",""],["RTMGRP_IPV4_IFADDR",""],["RTMGRP_IPV4_MROUTE",""],["RTMGRP_IPV4_ROUTE",""],["RTMGRP_IPV4_RULE",""],["RTMGRP_IPV6_IFADDR",""],["RTMGRP_IPV6_IFINFO",""],["RTMGRP_IPV6_MROUTE",""],["RTMGRP_IPV6_PREFIX",""],["RTMGRP_IPV6_ROUTE",""],["RTMGRP_LINK",""],["RTMGRP_NEIGH",""],["RTMGRP_NOTIFY",""],["RTMGRP_TC",""],["RTMSG_AR_FAILED",""],["RTMSG_CONTROL",""],["RTMSG_DELDEVICE",""],["RTMSG_DELROUTE",""],["RTMSG_DELRULE",""],["RTMSG_NEWDEVICE",""],["RTMSG_NEWROUTE",""],["RTMSG_NEWRULE",""],["RTMSG_OVERRUN",""],["RTM_DELACTION",""],["RTM_DELADDR",""],["RTM_DELADDRLABEL",""],["RTM_DELLINK",""],["RTM_DELMDB",""],["RTM_DELNEIGH",""],["RTM_DELNETCONF",""],["RTM_DELNSID",""],["RTM_DELQDISC",""],["RTM_DELROUTE",""],["RTM_DELRULE",""],["RTM_DELTCLASS",""],["RTM_DELTFILTER",""],["RTM_F_CLONED",""],["RTM_F_EQUALIZE",""],["RTM_F_FIB_MATCH",""],["RTM_F_LOOKUP_TABLE",""],["RTM_F_NOTIFY",""],["RTM_F_PREFIX",""],["RTM_GETACTION",""],["RTM_GETADDR",""],["RTM_GETADDRLABEL",""],["RTM_GETANYCAST",""],["RTM_GETDCB",""],["RTM_GETLINK",""],["RTM_GETMDB",""],["RTM_GETMULTICAST",""],["RTM_GETNEIGH",""],["RTM_GETNEIGHTBL",""],["RTM_GETNETCONF",""],["RTM_GETNSID",""],["RTM_GETQDISC",""],["RTM_GETROUTE",""],["RTM_GETRULE",""],["RTM_GETSTATS",""],["RTM_GETTCLASS",""],["RTM_GETTFILTER",""],["RTM_NEWACTION",""],["RTM_NEWADDR",""],["RTM_NEWADDRLABEL",""],["RTM_NEWCACHEREPORT",""],["RTM_NEWLINK",""],["RTM_NEWMDB",""],["RTM_NEWNDUSEROPT",""],["RTM_NEWNEIGH",""],["RTM_NEWNEIGHTBL",""],["RTM_NEWNETCONF",""],["RTM_NEWNSID",""],["RTM_NEWPREFIX",""],["RTM_NEWQDISC",""],["RTM_NEWROUTE",""],["RTM_NEWRULE",""],["RTM_NEWSTATS",""],["RTM_NEWTCLASS",""],["RTM_NEWTFILTER",""],["RTM_SETDCB",""],["RTM_SETLINK",""],["RTM_SETNEIGHTBL",""],["RTNLGRP_BRVLAN",""],["RTNLGRP_DCB",""],["RTNLGRP_DECnet_IFADDR",""],["RTNLGRP_DECnet_ROUTE",""],["RTNLGRP_DECnet_RULE",""],["RTNLGRP_IPV4_IFADDR",""],["RTNLGRP_IPV4_MROUTE",""],["RTNLGRP_IPV4_MROUTE_R",""],["RTNLGRP_IPV4_NETCONF",""],["RTNLGRP_IPV4_ROUTE",""],["RTNLGRP_IPV4_RULE",""],["RTNLGRP_IPV6_IFADDR",""],["RTNLGRP_IPV6_IFINFO",""],["RTNLGRP_IPV6_MROUTE",""],["RTNLGRP_IPV6_MROUTE_R",""],["RTNLGRP_IPV6_NETCONF",""],["RTNLGRP_IPV6_PREFIX",""],["RTNLGRP_IPV6_ROUTE",""],["RTNLGRP_IPV6_RULE",""],["RTNLGRP_LINK",""],["RTNLGRP_MCTP_IFADDR",""],["RTNLGRP_MDB",""],["RTNLGRP_MPLS_NETCONF",""],["RTNLGRP_MPLS_ROUTE",""],["RTNLGRP_ND_USEROPT",""],["RTNLGRP_NEIGH",""],["RTNLGRP_NEXTHOP",""],["RTNLGRP_NONE",""],["RTNLGRP_NOP2",""],["RTNLGRP_NOP4",""],["RTNLGRP_NOTIFY",""],["RTNLGRP_NSID",""],["RTNLGRP_PHONET_IFADDR",""],["RTNLGRP_PHONET_ROUTE",""],["RTNLGRP_STATS",""],["RTNLGRP_TC",""],["RTNLGRP_TUNNEL",""],["RTN_ANYCAST",""],["RTN_BLACKHOLE",""],["RTN_BROADCAST",""],["RTN_LOCAL",""],["RTN_MULTICAST",""],["RTN_NAT",""],["RTN_PROHIBIT",""],["RTN_THROW",""],["RTN_UNICAST",""],["RTN_UNREACHABLE",""],["RTN_UNSPEC",""],["RTN_XRESOLVE",""],["RTPROT_BOOT",""],["RTPROT_KERNEL",""],["RTPROT_REDIRECT",""],["RTPROT_STATIC",""],["RTPROT_UNSPEC",""],["RT_CLASS_DEFAULT",""],["RT_CLASS_LOCAL",""],["RT_CLASS_MAIN",""],["RT_CLASS_MAX",""],["RT_CLASS_UNSPEC",""],["RT_SCOPE_HOST",""],["RT_SCOPE_LINK",""],["RT_SCOPE_NOWHERE",""],["RT_SCOPE_SITE",""],["RT_SCOPE_UNIVERSE",""],["RT_TABLE_COMPAT",""],["RT_TABLE_DEFAULT",""],["RT_TABLE_LOCAL",""],["RT_TABLE_MAIN",""],["RT_TABLE_UNSPEC",""],["RUN_LVL",""],["RUSAGE_CHILDREN",""],["RUSAGE_SELF",""],["RUSAGE_THREAD",""],["RWF_APPEND",""],["RWF_DSYNC",""],["RWF_HIPRI",""],["RWF_NOWAIT",""],["RWF_SYNC",""],["R_OK",""],["SA_NOCLDSTOP",""],["SA_NOCLDWAIT",""],["SA_NODEFER",""],["SA_ONSTACK",""],["SA_RESETHAND",""],["SA_RESTART",""],["SA_SIGINFO",""],["SCHED_BATCH",""],["SCHED_FIFO",""],["SCHED_IDLE",""],["SCHED_OTHER",""],["SCHED_RESET_ON_FORK",""],["SCHED_RR",""],["SCM_CREDENTIALS",""],["SCM_J1939_DEST_ADDR",""],["SCM_J1939_DEST_NAME",""],["SCM_J1939_ERRQUEUE",""],["SCM_J1939_PRIO",""],["SCM_RIGHTS",""],["SCM_TIMESTAMP",""],["SCM_TIMESTAMPING",""],["SCM_TIMESTAMPING_OPT_STATS",""],["SCM_TIMESTAMPING_PKTINFO",""],["SCM_TIMESTAMPNS",""],["SCM_TXTIME",""],["SCM_WIFI_STATUS",""],["SECCOMP_FILTER_FLAG_LOG",""],["SECCOMP_FILTER_FLAG_SPEC_ALLOW",""],["SECCOMP_FILTER_FLAG_TSYNC",""],["SECCOMP_GET_ACTION_AVAIL",""],["SECCOMP_GET_NOTIF_SIZES",""],["SECCOMP_MODE_DISABLED",""],["SECCOMP_MODE_FILTER",""],["SECCOMP_MODE_STRICT",""],["SECCOMP_RET_ACTION",""],["SECCOMP_RET_ACTION_FULL",""],["SECCOMP_RET_ALLOW",""],["SECCOMP_RET_DATA",""],["SECCOMP_RET_ERRNO",""],["SECCOMP_RET_KILL",""],["SECCOMP_RET_KILL_PROCESS",""],["SECCOMP_RET_KILL_THREAD",""],["SECCOMP_RET_LOG",""],["SECCOMP_RET_TRACE",""],["SECCOMP_RET_TRAP",""],["SECCOMP_SET_MODE_FILTER",""],["SECCOMP_SET_MODE_STRICT",""],["SECURITYFS_MAGIC",""],["SEEK_CUR",""],["SEEK_DATA",""],["SEEK_END",""],["SEEK_HOLE",""],["SEEK_SET",""],["SELFMAG",""],["SELINUX_MAGIC",""],["SEM_FAILED",""],["SFD_CLOEXEC",""],["SFD_NONBLOCK",""],["SHM_EXEC",""],["SHM_HUGETLB",""],["SHM_LOCK",""],["SHM_NORESERVE",""],["SHM_R",""],["SHM_RDONLY",""],["SHM_REMAP",""],["SHM_RND",""],["SHM_UNLOCK",""],["SHM_W",""],["SHORT_INODE",""],["SHUT_RD",""],["SHUT_RDWR",""],["SHUT_WR",""],["SIGABRT",""],["SIGALRM",""],["SIGBUS",""],["SIGCHLD",""],["SIGCONT",""],["SIGEV_NONE",""],["SIGEV_SIGNAL",""],["SIGEV_THREAD",""],["SIGEV_THREAD_ID",""],["SIGFPE",""],["SIGHUP",""],["SIGILL",""],["SIGINT",""],["SIGIO",""],["SIGIOT",""],["SIGKILL",""],["SIGPIPE",""],["SIGPOLL",""],["SIGPROF",""],["SIGPWR",""],["SIGQUIT",""],["SIGSEGV",""],["SIGSTKFLT",""],["SIGSTKSZ",""],["SIGSTOP",""],["SIGSYS",""],["SIGTERM",""],["SIGTRAP",""],["SIGTSTP",""],["SIGTTIN",""],["SIGTTOU",""],["SIGUNUSED",""],["SIGURG",""],["SIGUSR1",""],["SIGUSR2",""],["SIGVTALRM",""],["SIGWINCH",""],["SIGXCPU",""],["SIGXFSZ",""],["SIG_BLOCK",""],["SIG_DFL",""],["SIG_ERR",""],["SIG_IGN",""],["SIG_SETMASK",""],["SIG_UNBLOCK",""],["SIOCADDMULTI",""],["SIOCADDRT",""],["SIOCDARP",""],["SIOCDELMULTI",""],["SIOCDELRT",""],["SIOCDIFADDR",""],["SIOCDRARP",""],["SIOCETHTOOL",""],["SIOCGARP",""],["SIOCGIFADDR",""],["SIOCGIFBR",""],["SIOCGIFBRDADDR",""],["SIOCGIFCONF",""],["SIOCGIFCOUNT",""],["SIOCGIFDSTADDR",""],["SIOCGIFENCAP",""],["SIOCGIFFLAGS",""],["SIOCGIFHWADDR",""],["SIOCGIFINDEX",""],["SIOCGIFMAP",""],["SIOCGIFMEM",""],["SIOCGIFMETRIC",""],["SIOCGIFMTU",""],["SIOCGIFNAME",""],["SIOCGIFNETMASK",""],["SIOCGIFPFLAGS",""],["SIOCGIFSLAVE",""],["SIOCGIFTXQLEN",""],["SIOCGMIIPHY",""],["SIOCGMIIREG",""],["SIOCGRARP",""],["SIOCGSKNS",""],["SIOCOUTQNSD",""],["SIOCSARP",""],["SIOCSIFADDR",""],["SIOCSIFBR",""],["SIOCSIFBRDADDR",""],["SIOCSIFDSTADDR",""],["SIOCSIFENCAP",""],["SIOCSIFFLAGS",""],["SIOCSIFHWADDR",""],["SIOCSIFHWBROADCAST",""],["SIOCSIFLINK",""],["SIOCSIFMAP",""],["SIOCSIFMEM",""],["SIOCSIFMETRIC",""],["SIOCSIFMTU",""],["SIOCSIFNETMASK",""],["SIOCSIFPFLAGS",""],["SIOCSIFSLAVE",""],["SIOCSIFTXQLEN",""],["SIOCSMIIREG",""],["SIOCSRARP",""],["SIOCWANDEV",""],["SIOGIFINDEX",""],["SI_LOAD_SHIFT",""],["SKF_AD_ALU_XOR_X",""],["SKF_AD_CPU",""],["SKF_AD_HATYPE",""],["SKF_AD_IFINDEX",""],["SKF_AD_MARK",""],["SKF_AD_MAX",""],["SKF_AD_NLATTR",""],["SKF_AD_NLATTR_NEST",""],["SKF_AD_OFF",""],["SKF_AD_PAY_OFFSET",""],["SKF_AD_PKTTYPE",""],["SKF_AD_PROTOCOL",""],["SKF_AD_QUEUE",""],["SKF_AD_RANDOM",""],["SKF_AD_RXHASH",""],["SKF_AD_VLAN_TAG",""],["SKF_AD_VLAN_TAG_PRESENT",""],["SKF_AD_VLAN_TPID",""],["SKF_LL_OFF",""],["SKF_NET_OFF",""],["SK_MEMINFO_BACKLOG",""],["SK_MEMINFO_DROPS",""],["SK_MEMINFO_FWD_ALLOC",""],["SK_MEMINFO_OPTMEM",""],["SK_MEMINFO_RCVBUF",""],["SK_MEMINFO_RMEM_ALLOC",""],["SK_MEMINFO_SNDBUF",""],["SK_MEMINFO_WMEM_ALLOC",""],["SK_MEMINFO_WMEM_QUEUED",""],["SMACK_MAGIC",""],["SMB_SUPER_MAGIC",""],["SND_CNT",""],["SND_MAX",""],["SOCK_CLOEXEC",""],["SOCK_DCCP",""],["SOCK_DGRAM",""],["SOCK_NONBLOCK",""],["SOCK_PACKET",""],["SOCK_RAW",""],["SOCK_RDM",""],["SOCK_SEQPACKET",""],["SOCK_STREAM",""],["SOF_TIMESTAMPING_OPT_CMSG",""],["SOF_TIMESTAMPING_OPT_ID",""],["SOF_TIMESTAMPING_OPT_PKTINFO",""],["SOF_TIMESTAMPING_OPT_STATS",""],["SOF_TIMESTAMPING_OPT_TSONLY",""],["SOF_TIMESTAMPING_OPT_TX_SWHW",""],["SOF_TIMESTAMPING_RAW_HARDWARE",""],["SOF_TIMESTAMPING_RX_HARDWARE",""],["SOF_TIMESTAMPING_RX_SOFTWARE",""],["SOF_TIMESTAMPING_SOFTWARE",""],["SOF_TIMESTAMPING_SYS_HARDWARE",""],["SOF_TIMESTAMPING_TX_ACK",""],["SOF_TIMESTAMPING_TX_HARDWARE",""],["SOF_TIMESTAMPING_TX_SCHED",""],["SOF_TIMESTAMPING_TX_SOFTWARE",""],["SOF_TXTIME_DEADLINE_MODE",""],["SOF_TXTIME_REPORT_ERRORS",""],["SOL_AAL",""],["SOL_ALG",""],["SOL_ATM",""],["SOL_BLUETOOTH",""],["SOL_CAIF",""],["SOL_CAN_BASE",""],["SOL_CAN_J1939",""],["SOL_CAN_RAW",""],["SOL_DCCP",""],["SOL_DECNET",""],["SOL_ICMPV6",""],["SOL_IP",""],["SOL_IPV6",""],["SOL_IRDA",""],["SOL_IUCV",""],["SOL_LLC",""],["SOL_NETBEUI",""],["SOL_NETLINK",""],["SOL_NFC",""],["SOL_PACKET",""],["SOL_PNPIPE",""],["SOL_PPPOL2TP",""],["SOL_RAW",""],["SOL_RDS",""],["SOL_RXRPC",""],["SOL_SOCKET",""],["SOL_TCP",""],["SOL_TIPC",""],["SOL_UDP",""],["SOL_X25",""],["SOL_XDP",""],["SOMAXCONN",""],["SO_ACCEPTCONN",""],["SO_ATTACH_BPF",""],["SO_ATTACH_FILTER",""],["SO_ATTACH_REUSEPORT_CBPF",""],["SO_ATTACH_REUSEPORT_EBPF",""],["SO_BINDTODEVICE",""],["SO_BINDTOIFINDEX",""],["SO_BPF_EXTENSIONS",""],["SO_BROADCAST",""],["SO_BSDCOMPAT",""],["SO_BUSY_POLL",""],["SO_CNX_ADVICE",""],["SO_COOKIE",""],["SO_DEBUG",""],["SO_DETACH_BPF",""],["SO_DETACH_FILTER",""],["SO_DETACH_REUSEPORT_BPF",""],["SO_DOMAIN",""],["SO_DONTROUTE",""],["SO_EE_ORIGIN_ICMP",""],["SO_EE_ORIGIN_ICMP6",""],["SO_EE_ORIGIN_LOCAL",""],["SO_EE_ORIGIN_NONE",""],["SO_EE_ORIGIN_TIMESTAMPING",""],["SO_EE_ORIGIN_TXSTATUS",""],["SO_ERROR",""],["SO_GET_FILTER",""],["SO_INCOMING_CPU",""],["SO_INCOMING_NAPI_ID",""],["SO_J1939_ERRQUEUE",""],["SO_J1939_FILTER",""],["SO_J1939_PROMISC",""],["SO_J1939_SEND_PRIO",""],["SO_KEEPALIVE",""],["SO_LINGER",""],["SO_LOCK_FILTER",""],["SO_MARK",""],["SO_MAX_PACING_RATE",""],["SO_MEMINFO",""],["SO_NOFCS",""],["SO_NO_CHECK",""],["SO_OOBINLINE",""],["SO_ORIGINAL_DST",""],["SO_PASSCRED",""],["SO_PASSSEC",""],["SO_PEEK_OFF",""],["SO_PEERCRED",""],["SO_PEERGROUPS",""],["SO_PEERNAME",""],["SO_PEERSEC",""],["SO_PRIORITY",""],["SO_PROTOCOL",""],["SO_RCVBUF",""],["SO_RCVBUFFORCE",""],["SO_RCVLOWAT",""],["SO_RCVTIMEO",""],["SO_RCVTIMEO_NEW",""],["SO_REUSEADDR",""],["SO_REUSEPORT",""],["SO_RXQ_OVFL",""],["SO_SECURITY_AUTHENTICATION",""],["SO_SECURITY_ENCRYPTION_NETWORK",""],["SO_SECURITY_ENCRYPTION_TRANSPORT",""],["SO_SELECT_ERR_QUEUE",""],["SO_SNDBUF",""],["SO_SNDBUFFORCE",""],["SO_SNDLOWAT",""],["SO_SNDTIMEO",""],["SO_SNDTIMEO_NEW",""],["SO_TIMESTAMP",""],["SO_TIMESTAMPING",""],["SO_TIMESTAMPING_NEW",""],["SO_TIMESTAMPNS",""],["SO_TIMESTAMPNS_NEW",""],["SO_TIMESTAMP_NEW",""],["SO_TXTIME",""],["SO_TYPE",""],["SO_WIFI_STATUS",""],["SO_ZEROCOPY",""],["SPLICE_F_GIFT",""],["SPLICE_F_MORE",""],["SPLICE_F_MOVE",""],["SPLICE_F_NONBLOCK",""],["SS",""],["SS_DISABLE",""],["SS_ONSTACK",""],["STATX_ALL",""],["STATX_ATIME",""],["STATX_ATTR_APPEND",""],["STATX_ATTR_AUTOMOUNT",""],["STATX_ATTR_COMPRESSED",""],["STATX_ATTR_DAX",""],["STATX_ATTR_ENCRYPTED",""],["STATX_ATTR_IMMUTABLE",""],["STATX_ATTR_MOUNT_ROOT",""],["STATX_ATTR_NODUMP",""],["STATX_ATTR_VERITY",""],["STATX_BASIC_STATS",""],["STATX_BLOCKS",""],["STATX_BTIME",""],["STATX_CTIME",""],["STATX_GID",""],["STATX_INO",""],["STATX_MNT_ID",""],["STATX_MODE",""],["STATX_MTIME",""],["STATX_NLINK",""],["STATX_SIZE",""],["STATX_TYPE",""],["STATX_UID",""],["STATX__RESERVED",""],["STA_CLK",""],["STA_CLOCKERR",""],["STA_DEL",""],["STA_FLL",""],["STA_FREQHOLD",""],["STA_INS",""],["STA_MODE",""],["STA_NANO",""],["STA_PLL",""],["STA_PPSERROR",""],["STA_PPSFREQ",""],["STA_PPSJITTER",""],["STA_PPSSIGNAL",""],["STA_PPSTIME",""],["STA_PPSWANDER",""],["STA_RONLY",""],["STA_UNSYNC",""],["STDERR_FILENO",""],["STDIN_FILENO",""],["STDOUT_FILENO",""],["STICKY_TIMEOUTS",""],["ST_APPEND",""],["ST_IMMUTABLE",""],["ST_MANDLOCK",""],["ST_NOATIME",""],["ST_NODEV",""],["ST_NODIRATIME",""],["ST_NOEXEC",""],["ST_NOSUID",""],["ST_RDONLY",""],["ST_RELATIME",""],["ST_SYNCHRONOUS",""],["ST_WRITE",""],["SW_CNT",""],["SW_MAX",""],["SYNC_FILE_RANGE_WAIT_AFTER",""],["SYNC_FILE_RANGE_WAIT_BEFORE",""],["SYNC_FILE_RANGE_WRITE",""],["SYN_CNT",""],["SYN_MAX",""],["SYSFS_MAGIC",""],["SYS__sysctl",""],["SYS_accept",""],["SYS_accept4",""],["SYS_access",""],["SYS_acct",""],["SYS_add_key",""],["SYS_adjtimex",""],["SYS_afs_syscall",""],["SYS_alarm",""],["SYS_arch_prctl",""],["SYS_bind",""],["SYS_bpf",""],["SYS_brk",""],["SYS_capget",""],["SYS_capset",""],["SYS_chdir",""],["SYS_chmod",""],["SYS_chown",""],["SYS_chroot",""],["SYS_clock_adjtime",""],["SYS_clock_getres",""],["SYS_clock_gettime",""],["SYS_clock_nanosleep",""],["SYS_clock_settime",""],["SYS_clone",""],["SYS_clone3",""],["SYS_close",""],["SYS_close_range",""],["SYS_connect",""],["SYS_copy_file_range",""],["SYS_creat",""],["SYS_create_module",""],["SYS_delete_module",""],["SYS_dup",""],["SYS_dup2",""],["SYS_dup3",""],["SYS_epoll_create",""],["SYS_epoll_create1",""],["SYS_epoll_ctl",""],["SYS_epoll_ctl_old",""],["SYS_epoll_pwait",""],["SYS_epoll_pwait2",""],["SYS_epoll_wait",""],["SYS_epoll_wait_old",""],["SYS_eventfd",""],["SYS_eventfd2",""],["SYS_execve",""],["SYS_execveat",""],["SYS_exit",""],["SYS_exit_group",""],["SYS_faccessat",""],["SYS_faccessat2",""],["SYS_fadvise64",""],["SYS_fallocate",""],["SYS_fanotify_init",""],["SYS_fanotify_mark",""],["SYS_fchdir",""],["SYS_fchmod",""],["SYS_fchmodat",""],["SYS_fchown",""],["SYS_fchownat",""],["SYS_fcntl",""],["SYS_fdatasync",""],["SYS_fgetxattr",""],["SYS_finit_module",""],["SYS_flistxattr",""],["SYS_flock",""],["SYS_fork",""],["SYS_fremovexattr",""],["SYS_fsconfig",""],["SYS_fsetxattr",""],["SYS_fsmount",""],["SYS_fsopen",""],["SYS_fspick",""],["SYS_fstat",""],["SYS_fstatfs",""],["SYS_fsync",""],["SYS_ftruncate",""],["SYS_futex",""],["SYS_futex_waitv",""],["SYS_futimesat",""],["SYS_get_kernel_syms",""],["SYS_get_mempolicy",""],["SYS_get_robust_list",""],["SYS_get_thread_area",""],["SYS_getcpu",""],["SYS_getcwd",""],["SYS_getdents",""],["SYS_getdents64",""],["SYS_getegid",""],["SYS_geteuid",""],["SYS_getgid",""],["SYS_getgroups",""],["SYS_getitimer",""],["SYS_getpeername",""],["SYS_getpgid",""],["SYS_getpgrp",""],["SYS_getpid",""],["SYS_getpmsg",""],["SYS_getppid",""],["SYS_getpriority",""],["SYS_getrandom",""],["SYS_getresgid",""],["SYS_getresuid",""],["SYS_getrlimit",""],["SYS_getrusage",""],["SYS_getsid",""],["SYS_getsockname",""],["SYS_getsockopt",""],["SYS_gettid",""],["SYS_gettimeofday",""],["SYS_getuid",""],["SYS_getxattr",""],["SYS_init_module",""],["SYS_inotify_add_watch",""],["SYS_inotify_init",""],["SYS_inotify_init1",""],["SYS_inotify_rm_watch",""],["SYS_io_cancel",""],["SYS_io_destroy",""],["SYS_io_getevents",""],["SYS_io_setup",""],["SYS_io_submit",""],["SYS_io_uring_enter",""],["SYS_io_uring_register",""],["SYS_io_uring_setup",""],["SYS_ioctl",""],["SYS_ioperm",""],["SYS_iopl",""],["SYS_ioprio_get",""],["SYS_ioprio_set",""],["SYS_kcmp",""],["SYS_kexec_file_load",""],["SYS_kexec_load",""],["SYS_keyctl",""],["SYS_kill",""],["SYS_landlock_add_rule",""],["SYS_landlock_create_ruleset",""],["SYS_landlock_restrict_self",""],["SYS_lchown",""],["SYS_lgetxattr",""],["SYS_link",""],["SYS_linkat",""],["SYS_listen",""],["SYS_listxattr",""],["SYS_llistxattr",""],["SYS_lookup_dcookie",""],["SYS_lremovexattr",""],["SYS_lseek",""],["SYS_lsetxattr",""],["SYS_lstat",""],["SYS_madvise",""],["SYS_mbind",""],["SYS_membarrier",""],["SYS_memfd_create",""],["SYS_memfd_secret",""],["SYS_migrate_pages",""],["SYS_mincore",""],["SYS_mkdir",""],["SYS_mkdirat",""],["SYS_mknod",""],["SYS_mknodat",""],["SYS_mlock",""],["SYS_mlock2",""],["SYS_mlockall",""],["SYS_mmap",""],["SYS_modify_ldt",""],["SYS_mount",""],["SYS_mount_setattr",""],["SYS_move_mount",""],["SYS_move_pages",""],["SYS_mprotect",""],["SYS_mq_getsetattr",""],["SYS_mq_notify",""],["SYS_mq_open",""],["SYS_mq_timedreceive",""],["SYS_mq_timedsend",""],["SYS_mq_unlink",""],["SYS_mremap",""],["SYS_msgctl",""],["SYS_msgget",""],["SYS_msgrcv",""],["SYS_msgsnd",""],["SYS_msync",""],["SYS_munlock",""],["SYS_munlockall",""],["SYS_munmap",""],["SYS_name_to_handle_at",""],["SYS_nanosleep",""],["SYS_newfstatat",""],["SYS_nfsservctl",""],["SYS_open",""],["SYS_open_by_handle_at",""],["SYS_open_tree",""],["SYS_openat",""],["SYS_openat2",""],["SYS_pause",""],["SYS_perf_event_open",""],["SYS_personality",""],["SYS_pidfd_getfd",""],["SYS_pidfd_open",""],["SYS_pidfd_send_signal",""],["SYS_pipe",""],["SYS_pipe2",""],["SYS_pivot_root",""],["SYS_pkey_alloc",""],["SYS_pkey_free",""],["SYS_pkey_mprotect",""],["SYS_poll",""],["SYS_ppoll",""],["SYS_prctl",""],["SYS_pread64",""],["SYS_preadv",""],["SYS_preadv2",""],["SYS_prlimit64",""],["SYS_process_madvise",""],["SYS_process_mrelease",""],["SYS_process_vm_readv",""],["SYS_process_vm_writev",""],["SYS_pselect6",""],["SYS_ptrace",""],["SYS_putpmsg",""],["SYS_pwrite64",""],["SYS_pwritev",""],["SYS_pwritev2",""],["SYS_query_module",""],["SYS_quotactl",""],["SYS_quotactl_fd",""],["SYS_read",""],["SYS_readahead",""],["SYS_readlink",""],["SYS_readlinkat",""],["SYS_readv",""],["SYS_reboot",""],["SYS_recvfrom",""],["SYS_recvmmsg",""],["SYS_recvmsg",""],["SYS_remap_file_pages",""],["SYS_removexattr",""],["SYS_rename",""],["SYS_renameat",""],["SYS_renameat2",""],["SYS_request_key",""],["SYS_restart_syscall",""],["SYS_rmdir",""],["SYS_rseq",""],["SYS_rt_sigaction",""],["SYS_rt_sigpending",""],["SYS_rt_sigprocmask",""],["SYS_rt_sigqueueinfo",""],["SYS_rt_sigreturn",""],["SYS_rt_sigsuspend",""],["SYS_rt_sigtimedwait",""],["SYS_rt_tgsigqueueinfo",""],["SYS_sched_get_priority_max",""],["SYS_sched_get_priority_min",""],["SYS_sched_getaffinity",""],["SYS_sched_getattr",""],["SYS_sched_getparam",""],["SYS_sched_getscheduler",""],["SYS_sched_rr_get_interval",""],["SYS_sched_setaffinity",""],["SYS_sched_setattr",""],["SYS_sched_setparam",""],["SYS_sched_setscheduler",""],["SYS_sched_yield",""],["SYS_seccomp",""],["SYS_security",""],["SYS_select",""],["SYS_semctl",""],["SYS_semget",""],["SYS_semop",""],["SYS_semtimedop",""],["SYS_sendfile",""],["SYS_sendmmsg",""],["SYS_sendmsg",""],["SYS_sendto",""],["SYS_set_mempolicy",""],["SYS_set_mempolicy_home_node",""],["SYS_set_robust_list",""],["SYS_set_thread_area",""],["SYS_set_tid_address",""],["SYS_setdomainname",""],["SYS_setfsgid",""],["SYS_setfsuid",""],["SYS_setgid",""],["SYS_setgroups",""],["SYS_sethostname",""],["SYS_setitimer",""],["SYS_setns",""],["SYS_setpgid",""],["SYS_setpriority",""],["SYS_setregid",""],["SYS_setresgid",""],["SYS_setresuid",""],["SYS_setreuid",""],["SYS_setrlimit",""],["SYS_setsid",""],["SYS_setsockopt",""],["SYS_settimeofday",""],["SYS_setuid",""],["SYS_setxattr",""],["SYS_shmat",""],["SYS_shmctl",""],["SYS_shmdt",""],["SYS_shmget",""],["SYS_shutdown",""],["SYS_sigaltstack",""],["SYS_signalfd",""],["SYS_signalfd4",""],["SYS_socket",""],["SYS_socketpair",""],["SYS_splice",""],["SYS_stat",""],["SYS_statfs",""],["SYS_statx",""],["SYS_swapoff",""],["SYS_swapon",""],["SYS_symlink",""],["SYS_symlinkat",""],["SYS_sync",""],["SYS_sync_file_range",""],["SYS_syncfs",""],["SYS_sysfs",""],["SYS_sysinfo",""],["SYS_syslog",""],["SYS_tee",""],["SYS_tgkill",""],["SYS_time",""],["SYS_timer_create",""],["SYS_timer_delete",""],["SYS_timer_getoverrun",""],["SYS_timer_gettime",""],["SYS_timer_settime",""],["SYS_timerfd_create",""],["SYS_timerfd_gettime",""],["SYS_timerfd_settime",""],["SYS_times",""],["SYS_tkill",""],["SYS_truncate",""],["SYS_tuxcall",""],["SYS_umask",""],["SYS_umount2",""],["SYS_uname",""],["SYS_unlink",""],["SYS_unlinkat",""],["SYS_unshare",""],["SYS_uselib",""],["SYS_userfaultfd",""],["SYS_ustat",""],["SYS_utime",""],["SYS_utimensat",""],["SYS_utimes",""],["SYS_vfork",""],["SYS_vhangup",""],["SYS_vmsplice",""],["SYS_vserver",""],["SYS_wait4",""],["SYS_waitid",""],["SYS_write",""],["SYS_writev",""],["S_IEXEC",""],["S_IFBLK",""],["S_IFCHR",""],["S_IFDIR",""],["S_IFIFO",""],["S_IFLNK",""],["S_IFMT",""],["S_IFREG",""],["S_IFSOCK",""],["S_IREAD",""],["S_IRGRP",""],["S_IROTH",""],["S_IRUSR",""],["S_IRWXG",""],["S_IRWXO",""],["S_IRWXU",""],["S_ISGID",""],["S_ISUID",""],["S_ISVTX",""],["S_IWGRP",""],["S_IWOTH",""],["S_IWRITE",""],["S_IWUSR",""],["S_IXGRP",""],["S_IXOTH",""],["S_IXUSR",""],["TAB0",""],["TAB1",""],["TAB2",""],["TAB3",""],["TABDLY",""],["TCA_CHAIN",""],["TCA_DUMP_INVISIBLE",""],["TCA_FCNT",""],["TCA_HW_OFFLOAD",""],["TCA_KIND",""],["TCA_OPTIONS",""],["TCA_PAD",""],["TCA_RATE",""],["TCA_STAB",""],["TCA_STATS",""],["TCA_STATS2",""],["TCA_UNSPEC",""],["TCA_XSTATS",""],["TCFLSH",""],["TCGETA",""],["TCGETS",""],["TCGETS2",""],["TCGETX",""],["TCIFLUSH",""],["TCIOFF",""],["TCIOFLUSH",""],["TCION",""],["TCOFLUSH",""],["TCOOFF",""],["TCOON",""],["TCP_CC_INFO",""],["TCP_CM_INQ",""],["TCP_CONGESTION",""],["TCP_COOKIE_TRANSACTIONS",""],["TCP_CORK",""],["TCP_DEFER_ACCEPT",""],["TCP_FASTOPEN",""],["TCP_FASTOPEN_CONNECT",""],["TCP_FASTOPEN_KEY",""],["TCP_FASTOPEN_NO_COOKIE",""],["TCP_INFO",""],["TCP_INQ",""],["TCP_KEEPCNT",""],["TCP_KEEPIDLE",""],["TCP_KEEPINTVL",""],["TCP_LINGER2",""],["TCP_MAXSEG",""],["TCP_MD5SIG",""],["TCP_MD5SIG_EXT",""],["TCP_NODELAY",""],["TCP_NOTSENT_LOWAT",""],["TCP_QUEUE_SEQ",""],["TCP_QUICKACK",""],["TCP_REPAIR",""],["TCP_REPAIR_OPTIONS",""],["TCP_REPAIR_QUEUE",""],["TCP_REPAIR_WINDOW",""],["TCP_SAVED_SYN",""],["TCP_SAVE_SYN",""],["TCP_SYNCNT",""],["TCP_THIN_DUPACK",""],["TCP_THIN_LINEAR_TIMEOUTS",""],["TCP_TIMESTAMP",""],["TCP_ULP",""],["TCP_USER_TIMEOUT",""],["TCP_WINDOW_CLAMP",""],["TCP_ZEROCOPY_RECEIVE",""],["TCSADRAIN",""],["TCSAFLUSH",""],["TCSANOW",""],["TCSBRK",""],["TCSBRKP",""],["TCSETA",""],["TCSETAF",""],["TCSETAW",""],["TCSETS",""],["TCSETS2",""],["TCSETSF",""],["TCSETSF2",""],["TCSETSW",""],["TCSETSW2",""],["TCSETX",""],["TCSETXF",""],["TCSETXW",""],["TCXONC",""],["TFD_CLOEXEC",""],["TFD_NONBLOCK",""],["TFD_TIMER_ABSTIME",""],["TFD_TIMER_CANCEL_ON_SET",""],["THOUSEP",""],["TIMER_ABSTIME",""],["TIME_BAD",""],["TIME_DEL",""],["TIME_ERROR",""],["TIME_INS",""],["TIME_OK",""],["TIME_OOP",""],["TIME_WAIT",""],["TIOCCBRK",""],["TIOCCONS",""],["TIOCEXCL",""],["TIOCGDEV",""],["TIOCGETD",""],["TIOCGEXCL",""],["TIOCGICOUNT",""],["TIOCGLCKTRMIOS",""],["TIOCGPGRP",""],["TIOCGPKT",""],["TIOCGPTLCK",""],["TIOCGPTN",""],["TIOCGPTPEER",""],["TIOCGRS485",""],["TIOCGSERIAL",""],["TIOCGSID",""],["TIOCGSOFTCAR",""],["TIOCGWINSZ",""],["TIOCINQ",""],["TIOCLINUX",""],["TIOCMBIC",""],["TIOCMBIS",""],["TIOCMGET",""],["TIOCMIWAIT",""],["TIOCMSET",""],["TIOCM_CAR",""],["TIOCM_CD",""],["TIOCM_CTS",""],["TIOCM_DSR",""],["TIOCM_DTR",""],["TIOCM_LE",""],["TIOCM_RI",""],["TIOCM_RNG",""],["TIOCM_RTS",""],["TIOCM_SR",""],["TIOCM_ST",""],["TIOCNOTTY",""],["TIOCNXCL",""],["TIOCOUTQ",""],["TIOCPKT",""],["TIOCSBRK",""],["TIOCSCTTY",""],["TIOCSERCONFIG",""],["TIOCSERGETLSR",""],["TIOCSERGETMULTI",""],["TIOCSERGSTRUCT",""],["TIOCSERGWILD",""],["TIOCSERSETMULTI",""],["TIOCSERSWILD",""],["TIOCSETD",""],["TIOCSIG",""],["TIOCSLCKTRMIOS",""],["TIOCSPGRP",""],["TIOCSPTLCK",""],["TIOCSRS485",""],["TIOCSSERIAL",""],["TIOCSSOFTCAR",""],["TIOCSTI",""],["TIOCSWINSZ",""],["TIOCVHANGUP",""],["TMPFS_MAGIC",""],["TMP_MAX",""],["TOSTOP",""],["TRACEFS_MAGIC",""],["TUN_READQ_SIZE",""],["TUN_TAP_DEV",""],["TUN_TUN_DEV",""],["TUN_TYPE_MASK",""],["T_FMT",""],["T_FMT_AMPM",""],["UDF_SUPER_MAGIC",""],["UDP_CORK",""],["UDP_ENCAP",""],["UDP_GRO",""],["UDP_NO_CHECK6_RX",""],["UDP_NO_CHECK6_TX",""],["UDP_SEGMENT",""],["UINPUT_MAX_NAME_SIZE",""],["UINPUT_VERSION",""],["UIO_MAXIOV",""],["UMOUNT_NOFOLLOW",""],["UNAME26",""],["USBDEVICE_SUPER_MAGIC",""],["USER_PROCESS",""],["USRQUOTA",""],["UTIME_NOW",""],["UTIME_OMIT",""],["VDISCARD",""],["VEOF",""],["VEOL",""],["VEOL2",""],["VERASE",""],["VINTR",""],["VKILL",""],["VLNEXT",""],["VMADDR_CID_ANY",""],["VMADDR_CID_HOST",""],["VMADDR_CID_HYPERVISOR",""],["VMADDR_CID_LOCAL",""],["VMADDR_CID_RESERVED",""],["VMADDR_PORT_ANY",""],["VMIN",""],["VQUIT",""],["VREPRINT",""],["VSTART",""],["VSTOP",""],["VSUSP",""],["VSWTC",""],["VT0",""],["VT1",""],["VTDLY",""],["VTIME",""],["VWERASE",""],["WCONTINUED",""],["WEXITED",""],["WHOLE_SECONDS",""],["WNOHANG",""],["WNOWAIT",""],["WSTOPPED",""],["WUNTRACED",""],["W_OK",""],["XATTR_CREATE",""],["XATTR_REPLACE",""],["XENFS_SUPER_MAGIC",""],["XFS_SUPER_MAGIC",""],["XTABS",""],["X_OK",""],["YESEXPR",""],["YESSTR",""],["_IOFBF",""],["_IOLBF",""],["_IONBF",""],["_PC_2_SYMLINKS",""],["_PC_ALLOC_SIZE_MIN",""],["_PC_ASYNC_IO",""],["_PC_CHOWN_RESTRICTED",""],["_PC_FILESIZEBITS",""],["_PC_LINK_MAX",""],["_PC_MAX_CANON",""],["_PC_MAX_INPUT",""],["_PC_NAME_MAX",""],["_PC_NO_TRUNC",""],["_PC_PATH_MAX",""],["_PC_PIPE_BUF",""],["_PC_PRIO_IO",""],["_PC_REC_INCR_XFER_SIZE",""],["_PC_REC_MAX_XFER_SIZE",""],["_PC_REC_MIN_XFER_SIZE",""],["_PC_REC_XFER_ALIGN",""],["_PC_SOCK_MAXBUF",""],["_PC_SYMLINK_MAX",""],["_PC_SYNC_IO",""],["_PC_VDISABLE",""],["_POSIX_VDISABLE",""],["_SC_2_CHAR_TERM",""],["_SC_2_C_BIND",""],["_SC_2_C_DEV",""],["_SC_2_C_VERSION",""],["_SC_2_FORT_DEV",""],["_SC_2_FORT_RUN",""],["_SC_2_LOCALEDEF",""],["_SC_2_PBS",""],["_SC_2_PBS_ACCOUNTING",""],["_SC_2_PBS_CHECKPOINT",""],["_SC_2_PBS_LOCATE",""],["_SC_2_PBS_MESSAGE",""],["_SC_2_PBS_TRACK",""],["_SC_2_SW_DEV",""],["_SC_2_UPE",""],["_SC_2_VERSION",""],["_SC_ADVISORY_INFO",""],["_SC_AIO_LISTIO_MAX",""],["_SC_AIO_MAX",""],["_SC_AIO_PRIO_DELTA_MAX",""],["_SC_ARG_MAX",""],["_SC_ASYNCHRONOUS_IO",""],["_SC_ATEXIT_MAX",""],["_SC_AVPHYS_PAGES",""],["_SC_BARRIERS",""],["_SC_BASE",""],["_SC_BC_BASE_MAX",""],["_SC_BC_DIM_MAX",""],["_SC_BC_SCALE_MAX",""],["_SC_BC_STRING_MAX",""],["_SC_CHARCLASS_NAME_MAX",""],["_SC_CHAR_BIT",""],["_SC_CHAR_MAX",""],["_SC_CHAR_MIN",""],["_SC_CHILD_MAX",""],["_SC_CLK_TCK",""],["_SC_CLOCK_SELECTION",""],["_SC_COLL_WEIGHTS_MAX",""],["_SC_CPUTIME",""],["_SC_C_LANG_SUPPORT",""],["_SC_C_LANG_SUPPORT_R",""],["_SC_DELAYTIMER_MAX",""],["_SC_DEVICE_IO",""],["_SC_DEVICE_SPECIFIC",""],["_SC_DEVICE_SPECIFIC_R",""],["_SC_EQUIV_CLASS_MAX",""],["_SC_EXPR_NEST_MAX",""],["_SC_FD_MGMT",""],["_SC_FIFO",""],["_SC_FILE_ATTRIBUTES",""],["_SC_FILE_LOCKING",""],["_SC_FILE_SYSTEM",""],["_SC_FSYNC",""],["_SC_GETGR_R_SIZE_MAX",""],["_SC_GETPW_R_SIZE_MAX",""],["_SC_HOST_NAME_MAX",""],["_SC_INT_MAX",""],["_SC_INT_MIN",""],["_SC_IOV_MAX",""],["_SC_IPV6",""],["_SC_JOB_CONTROL",""],["_SC_LEVEL1_DCACHE_ASSOC",""],["_SC_LEVEL1_DCACHE_LINESIZE",""],["_SC_LEVEL1_DCACHE_SIZE",""],["_SC_LEVEL1_ICACHE_ASSOC",""],["_SC_LEVEL1_ICACHE_LINESIZE",""],["_SC_LEVEL1_ICACHE_SIZE",""],["_SC_LEVEL2_CACHE_ASSOC",""],["_SC_LEVEL2_CACHE_LINESIZE",""],["_SC_LEVEL2_CACHE_SIZE",""],["_SC_LEVEL3_CACHE_ASSOC",""],["_SC_LEVEL3_CACHE_LINESIZE",""],["_SC_LEVEL3_CACHE_SIZE",""],["_SC_LEVEL4_CACHE_ASSOC",""],["_SC_LEVEL4_CACHE_LINESIZE",""],["_SC_LEVEL4_CACHE_SIZE",""],["_SC_LINE_MAX",""],["_SC_LOGIN_NAME_MAX",""],["_SC_LONG_BIT",""],["_SC_MAPPED_FILES",""],["_SC_MB_LEN_MAX",""],["_SC_MEMLOCK",""],["_SC_MEMLOCK_RANGE",""],["_SC_MEMORY_PROTECTION",""],["_SC_MESSAGE_PASSING",""],["_SC_MONOTONIC_CLOCK",""],["_SC_MQ_OPEN_MAX",""],["_SC_MQ_PRIO_MAX",""],["_SC_MULTI_PROCESS",""],["_SC_NETWORKING",""],["_SC_NGROUPS_MAX",""],["_SC_NL_ARGMAX",""],["_SC_NL_LANGMAX",""],["_SC_NL_MSGMAX",""],["_SC_NL_NMAX",""],["_SC_NL_SETMAX",""],["_SC_NL_TEXTMAX",""],["_SC_NPROCESSORS_CONF",""],["_SC_NPROCESSORS_ONLN",""],["_SC_NZERO",""],["_SC_OPEN_MAX",""],["_SC_PAGESIZE",""],["_SC_PAGE_SIZE",""],["_SC_PASS_MAX",""],["_SC_PHYS_PAGES",""],["_SC_PII",""],["_SC_PII_INTERNET",""],["_SC_PII_INTERNET_DGRAM",""],["_SC_PII_INTERNET_STREAM",""],["_SC_PII_OSI",""],["_SC_PII_OSI_CLTS",""],["_SC_PII_OSI_COTS",""],["_SC_PII_OSI_M",""],["_SC_PII_SOCKET",""],["_SC_PII_XTI",""],["_SC_PIPE",""],["_SC_POLL",""],["_SC_PRIORITIZED_IO",""],["_SC_PRIORITY_SCHEDULING",""],["_SC_RAW_SOCKETS",""],["_SC_READER_WRITER_LOCKS",""],["_SC_REALTIME_SIGNALS",""],["_SC_REGEXP",""],["_SC_REGEX_VERSION",""],["_SC_RE_DUP_MAX",""],["_SC_RTSIG_MAX",""],["_SC_SAVED_IDS",""],["_SC_SCHAR_MAX",""],["_SC_SCHAR_MIN",""],["_SC_SELECT",""],["_SC_SEMAPHORES",""],["_SC_SEM_NSEMS_MAX",""],["_SC_SEM_VALUE_MAX",""],["_SC_SHARED_MEMORY_OBJECTS",""],["_SC_SHELL",""],["_SC_SHRT_MAX",""],["_SC_SHRT_MIN",""],["_SC_SIGNALS",""],["_SC_SIGQUEUE_MAX",""],["_SC_SINGLE_PROCESS",""],["_SC_SPAWN",""],["_SC_SPIN_LOCKS",""],["_SC_SPORADIC_SERVER",""],["_SC_SSIZE_MAX",""],["_SC_SS_REPL_MAX",""],["_SC_STREAMS",""],["_SC_STREAM_MAX",""],["_SC_SYMLOOP_MAX",""],["_SC_SYNCHRONIZED_IO",""],["_SC_SYSTEM_DATABASE",""],["_SC_SYSTEM_DATABASE_R",""],["_SC_THREADS",""],["_SC_THREAD_ATTR_STACKADDR",""],["_SC_THREAD_ATTR_STACKSIZE",""],["_SC_THREAD_CPUTIME",""],["_SC_THREAD_DESTRUCTOR_ITERATIONS",""],["_SC_THREAD_KEYS_MAX",""],["_SC_THREAD_PRIORITY_SCHEDULING",""],["_SC_THREAD_PRIO_INHERIT",""],["_SC_THREAD_PRIO_PROTECT",""],["_SC_THREAD_PROCESS_SHARED",""],["_SC_THREAD_ROBUST_PRIO_INHERIT",""],["_SC_THREAD_ROBUST_PRIO_PROTECT",""],["_SC_THREAD_SAFE_FUNCTIONS",""],["_SC_THREAD_SPORADIC_SERVER",""],["_SC_THREAD_STACK_MIN",""],["_SC_THREAD_THREADS_MAX",""],["_SC_TIMEOUTS",""],["_SC_TIMERS",""],["_SC_TIMER_MAX",""],["_SC_TRACE",""],["_SC_TRACE_EVENT_FILTER",""],["_SC_TRACE_EVENT_NAME_MAX",""],["_SC_TRACE_INHERIT",""],["_SC_TRACE_LOG",""],["_SC_TRACE_NAME_MAX",""],["_SC_TRACE_SYS_MAX",""],["_SC_TRACE_USER_EVENT_MAX",""],["_SC_TTY_NAME_MAX",""],["_SC_TYPED_MEMORY_OBJECTS",""],["_SC_TZNAME_MAX",""],["_SC_T_IOV_MAX",""],["_SC_UCHAR_MAX",""],["_SC_UINT_MAX",""],["_SC_UIO_MAXIOV",""],["_SC_ULONG_MAX",""],["_SC_USER_GROUPS",""],["_SC_USER_GROUPS_R",""],["_SC_USHRT_MAX",""],["_SC_V6_ILP32_OFF32",""],["_SC_V6_ILP32_OFFBIG",""],["_SC_V6_LP64_OFF64",""],["_SC_V6_LPBIG_OFFBIG",""],["_SC_V7_ILP32_OFF32",""],["_SC_V7_ILP32_OFFBIG",""],["_SC_V7_LP64_OFF64",""],["_SC_V7_LPBIG_OFFBIG",""],["_SC_VERSION",""],["_SC_WORD_BIT",""],["_SC_XBS5_ILP32_OFF32",""],["_SC_XBS5_ILP32_OFFBIG",""],["_SC_XBS5_LP64_OFF64",""],["_SC_XBS5_LPBIG_OFFBIG",""],["_SC_XOPEN_CRYPT",""],["_SC_XOPEN_ENH_I18N",""],["_SC_XOPEN_LEGACY",""],["_SC_XOPEN_REALTIME",""],["_SC_XOPEN_REALTIME_THREADS",""],["_SC_XOPEN_SHM",""],["_SC_XOPEN_STREAMS",""],["_SC_XOPEN_UNIX",""],["_SC_XOPEN_VERSION",""],["_SC_XOPEN_XCU_VERSION",""],["_SC_XOPEN_XPG2",""],["_SC_XOPEN_XPG3",""],["_SC_XOPEN_XPG4",""],["__NFT_REG_MAX",""],["__SIZEOF_PTHREAD_CONDATTR_T",""],["__SIZEOF_PTHREAD_COND_T",""],["__SIZEOF_PTHREAD_MUTEXATTR_T",""],["__SIZEOF_PTHREAD_MUTEX_T",""],["__SIZEOF_PTHREAD_RWLOCKATTR_T",""],["__SIZEOF_PTHREAD_RWLOCK_T",""],["__UT_HOSTSIZE",""],["__UT_LINESIZE",""],["__UT_NAMESIZE",""],["__WALL",""],["__WCLONE",""],["__WNOTHREAD",""]],"enum":[["DIR",""],["FILE",""],["c_void","Equivalent to C’s `void` type when used as a [pointer]."],["fpos64_t",""],["fpos_t",""],["timezone",""]],"fn":[["BPF_JUMP",""],["BPF_MISCOP",""],["BPF_RVAL",""],["BPF_STMT",""],["CMSG_DATA",""],["CMSG_FIRSTHDR",""],["CMSG_LEN",""],["CMSG_NXTHDR",""],["CMSG_SPACE",""],["CPU_ALLOC_SIZE",""],["CPU_CLR",""],["CPU_COUNT",""],["CPU_COUNT_S",""],["CPU_EQUAL",""],["CPU_ISSET",""],["CPU_SET",""],["CPU_ZERO",""],["FD_CLR",""],["FD_ISSET",""],["FD_SET",""],["FD_ZERO",""],["IPOPT_CLASS",""],["IPOPT_COPIED",""],["IPOPT_NUMBER",""],["IPTOS_ECN",""],["IPTOS_PREC",""],["IPTOS_TOS",""],["KERNEL_VERSION",""],["NLA_ALIGN",""],["QCMD",""],["RT_ADDRCLASS",""],["RT_LOCALADDR",""],["RT_TOS",""],["SIGRTMAX",""],["SIGRTMIN",""],["SO_EE_OFFENDER",""],["WCOREDUMP",""],["WEXITSTATUS",""],["WIFCONTINUED",""],["WIFEXITED",""],["WIFSIGNALED",""],["WIFSTOPPED",""],["WSTOPSIG",""],["WTERMSIG",""],["W_EXITCODE",""],["W_STOPCODE",""],["__errno_location",""],["_exit",""],["abort",""],["abs",""],["accept",""],["accept4",""],["access",""],["acct",""],["addmntent",""],["adjtime",""],["adjtimex",""],["aio_cancel",""],["aio_error",""],["aio_fsync",""],["aio_read",""],["aio_return",""],["aio_suspend",""],["aio_write",""],["alarm",""],["asctime_r",""],["atexit",""],["atof",""],["atoi",""],["atol",""],["atoll",""],["backtrace",""],["bind",""],["brk",""],["bsearch",""],["calloc",""],["cfgetispeed",""],["cfgetospeed",""],["cfmakeraw",""],["cfsetispeed",""],["cfsetospeed",""],["cfsetspeed",""],["chdir",""],["chmod",""],["chown",""],["chroot",""],["clearenv",""],["clearerr",""],["clock_adjtime",""],["clock_getcpuclockid",""],["clock_getres",""],["clock_gettime",""],["clock_nanosleep",""],["clock_settime",""],["clone",""],["close",""],["closedir",""],["closelog",""],["connect",""],["copy_file_range",""],["creat",""],["creat64",""],["ctermid",""],["ctime_r",""],["daemon",""],["difftime",""],["dirfd",""],["dirname",""],["dl_iterate_phdr",""],["dladdr",""],["dladdr1",""],["dlclose",""],["dlerror",""],["dlinfo",""],["dlmopen",""],["dlopen",""],["dlsym",""],["drand48",""],["dup",""],["dup2",""],["dup3",""],["duplocale",""],["eaccess",""],["endgrent",""],["endmntent",""],["endpwent",""],["endservent",""],["endspent",""],["endutxent",""],["epoll_create",""],["epoll_create1",""],["epoll_ctl",""],["epoll_pwait",""],["epoll_wait",""],["erand48",""],["euidaccess",""],["eventfd",""],["execl",""],["execle",""],["execlp",""],["execv",""],["execve",""],["execvp",""],["execvpe",""],["exit",""],["explicit_bzero",""],["faccessat",""],["fallocate",""],["fallocate64",""],["fanotify_init",""],["fanotify_mark",""],["fchdir",""],["fchmod",""],["fchmodat",""],["fchown",""],["fchownat",""],["fclose",""],["fcntl",""],["fdatasync",""],["fdopen",""],["fdopendir",""],["feof",""],["ferror",""],["fexecve",""],["fflush",""],["fgetc",""],["fgetgrent_r",""],["fgetpos",""],["fgetpos64",""],["fgetpwent_r",""],["fgets",""],["fgetspent_r",""],["fgetxattr",""],["fileno",""],["flistxattr",""],["flock",""],["fmemopen",""],["fopen",""],["fopen64",""],["fork",""],["forkpty",""],["fpathconf",""],["fprintf",""],["fputc",""],["fputs",""],["fread",""],["fread_unlocked",""],["free",""],["freeaddrinfo",""],["freeifaddrs",""],["freelocale",""],["fremovexattr",""],["freopen",""],["freopen64",""],["fscanf",""],["fseek",""],["fseeko",""],["fseeko64",""],["fsetpos",""],["fsetpos64",""],["fsetxattr",""],["fstat",""],["fstat64",""],["fstatat",""],["fstatat64",""],["fstatfs",""],["fstatfs64",""],["fstatvfs",""],["fstatvfs64",""],["fsync",""],["ftell",""],["ftello",""],["ftello64",""],["ftok",""],["ftruncate",""],["ftruncate64",""],["futimens",""],["futimes",""],["fwrite",""],["gai_strerror",""],["getaddrinfo",""],["getauxval",""],["getchar",""],["getchar_unlocked",""],["getcontext",""],["getcwd",""],["getdomainname",""],["getdtablesize",""],["getegid",""],["getentropy",""],["getenv",""],["geteuid",""],["getgid",""],["getgrent",""],["getgrent_r",""],["getgrgid",""],["getgrgid_r",""],["getgrnam",""],["getgrnam_r",""],["getgrouplist",""],["getgroups",""],["gethostid",""],["gethostname",""],["getifaddrs",""],["getline",""],["getloadavg",""],["getlogin",""],["getmntent",""],["getnameinfo",""],["getopt",""],["getopt_long",""],["getpeername",""],["getpgid",""],["getpgrp",""],["getpid",""],["getppid",""],["getpriority",""],["getprotobyname",""],["getprotobynumber",""],["getpt",""],["getpwent",""],["getpwent_r",""],["getpwnam",""],["getpwnam_r",""],["getpwuid",""],["getpwuid_r",""],["getrandom",""],["getresgid",""],["getresuid",""],["getrlimit",""],["getrlimit64",""],["getrusage",""],["getservbyname",""],["getservbyport",""],["getservent",""],["getsid",""],["getsockname",""],["getsockopt",""],["getspent",""],["getspent_r",""],["getspnam",""],["getspnam_r",""],["gettid",""],["gettimeofday",""],["getuid",""],["getutxent",""],["getutxid",""],["getutxline",""],["getxattr",""],["glob",""],["glob64",""],["globfree",""],["globfree64",""],["gmtime",""],["gmtime_r",""],["gnu_basename","GNU version of `basename(3)`, defined in `string.h`."],["gnu_get_libc_release",""],["gnu_get_libc_version",""],["grantpt",""],["hasmntopt",""],["hstrerror",""],["iconv",""],["iconv_close",""],["iconv_open",""],["if_freenameindex",""],["if_indextoname",""],["if_nameindex",""],["if_nametoindex",""],["initgroups",""],["inotify_add_watch",""],["inotify_init",""],["inotify_init1",""],["inotify_rm_watch",""],["ioctl",""],["ioperm",""],["iopl",""],["isalnum",""],["isalpha",""],["isatty",""],["isblank",""],["iscntrl",""],["isdigit",""],["isgraph",""],["islower",""],["isprint",""],["ispunct",""],["isspace",""],["isupper",""],["isxdigit",""],["jrand48",""],["kill",""],["killpg",""],["labs",""],["lchown",""],["lcong48",""],["lgetxattr",""],["link",""],["linkat",""],["lio_listio",""],["listen",""],["listxattr",""],["llistxattr",""],["localeconv",""],["localtime",""],["localtime_r",""],["lockf",""],["login_tty",""],["lrand48",""],["lremovexattr",""],["lseek",""],["lseek64",""],["lsetxattr",""],["lstat",""],["lstat64",""],["lutimes",""],["madvise",""],["major",""],["makecontext",""],["makedev",""],["mallinfo",""],["mallinfo2",""],["malloc",""],["malloc_info",""],["malloc_trim",""],["malloc_usable_size",""],["mallopt",""],["memalign",""],["memchr",""],["memcmp",""],["memcpy",""],["memfd_create",""],["memmem",""],["memmove",""],["memrchr",""],["memset",""],["mincore",""],["minor",""],["mkdir",""],["mkdirat",""],["mkdtemp",""],["mkfifo",""],["mkfifoat",""],["mknod",""],["mknodat",""],["mkostemp",""],["mkostemps",""],["mkstemp",""],["mkstemps",""],["mktime",""],["mlock",""],["mlock2",""],["mlockall",""],["mmap",""],["mmap64",""],["mount",""],["mprotect",""],["mq_close",""],["mq_getattr",""],["mq_open",""],["mq_receive",""],["mq_send",""],["mq_setattr",""],["mq_timedreceive",""],["mq_timedsend",""],["mq_unlink",""],["mrand48",""],["mremap",""],["msgctl",""],["msgget",""],["msgrcv",""],["msgsnd",""],["msync",""],["munlock",""],["munlockall",""],["munmap",""],["nanosleep",""],["newlocale",""],["nice",""],["nl_langinfo",""],["nl_langinfo_l",""],["nrand48",""],["ntp_adjtime",""],["ntp_gettime",""],["open",""],["open64",""],["open_memstream",""],["open_wmemstream",""],["openat",""],["openat64",""],["opendir",""],["openlog",""],["openpty",""],["pathconf",""],["pause",""],["pclose",""],["perror",""],["personality",""],["pipe",""],["pipe2",""],["poll",""],["popen",""],["posix_basename","POSIX version of `basename(3)`, defined in `libgen.h`."],["posix_fadvise",""],["posix_fadvise64",""],["posix_fallocate",""],["posix_fallocate64",""],["posix_madvise",""],["posix_memalign",""],["posix_openpt",""],["posix_spawn",""],["posix_spawn_file_actions_addclose",""],["posix_spawn_file_actions_adddup2",""],["posix_spawn_file_actions_addopen",""],["posix_spawn_file_actions_destroy",""],["posix_spawn_file_actions_init",""],["posix_spawnattr_destroy",""],["posix_spawnattr_getflags",""],["posix_spawnattr_getpgroup",""],["posix_spawnattr_getschedparam",""],["posix_spawnattr_getschedpolicy",""],["posix_spawnattr_getsigdefault",""],["posix_spawnattr_getsigmask",""],["posix_spawnattr_init",""],["posix_spawnattr_setflags",""],["posix_spawnattr_setpgroup",""],["posix_spawnattr_setschedparam",""],["posix_spawnattr_setschedpolicy",""],["posix_spawnattr_setsigdefault",""],["posix_spawnattr_setsigmask",""],["posix_spawnp",""],["ppoll",""],["prctl",""],["pread",""],["pread64",""],["preadv",""],["preadv2",""],["preadv64",""],["preadv64v2",""],["printf",""],["prlimit",""],["prlimit64",""],["process_vm_readv",""],["process_vm_writev",""],["pselect",""],["pthread_atfork",""],["pthread_attr_destroy",""],["pthread_attr_getaffinity_np",""],["pthread_attr_getguardsize",""],["pthread_attr_getstack",""],["pthread_attr_init",""],["pthread_attr_setaffinity_np",""],["pthread_attr_setdetachstate",""],["pthread_attr_setstacksize",""],["pthread_cancel",""],["pthread_cond_broadcast",""],["pthread_cond_destroy",""],["pthread_cond_init",""],["pthread_cond_signal",""],["pthread_cond_timedwait",""],["pthread_cond_wait",""],["pthread_condattr_destroy",""],["pthread_condattr_getclock",""],["pthread_condattr_getpshared",""],["pthread_condattr_init",""],["pthread_condattr_setclock",""],["pthread_condattr_setpshared",""],["pthread_create",""],["pthread_detach",""],["pthread_exit",""],["pthread_getaffinity_np",""],["pthread_getattr_np",""],["pthread_getcpuclockid",""],["pthread_getname_np",""],["pthread_getschedparam",""],["pthread_getspecific",""],["pthread_join",""],["pthread_key_create",""],["pthread_key_delete",""],["pthread_kill",""],["pthread_mutex_consistent",""],["pthread_mutex_destroy",""],["pthread_mutex_init",""],["pthread_mutex_lock",""],["pthread_mutex_timedlock",""],["pthread_mutex_trylock",""],["pthread_mutex_unlock",""],["pthread_mutexattr_destroy",""],["pthread_mutexattr_getprotocol",""],["pthread_mutexattr_getpshared",""],["pthread_mutexattr_getrobust",""],["pthread_mutexattr_init",""],["pthread_mutexattr_setprotocol",""],["pthread_mutexattr_setpshared",""],["pthread_mutexattr_setrobust",""],["pthread_mutexattr_settype",""],["pthread_rwlock_destroy",""],["pthread_rwlock_init",""],["pthread_rwlock_rdlock",""],["pthread_rwlock_tryrdlock",""],["pthread_rwlock_trywrlock",""],["pthread_rwlock_unlock",""],["pthread_rwlock_wrlock",""],["pthread_rwlockattr_destroy",""],["pthread_rwlockattr_getkind_np",""],["pthread_rwlockattr_getpshared",""],["pthread_rwlockattr_init",""],["pthread_rwlockattr_setkind_np",""],["pthread_rwlockattr_setpshared",""],["pthread_self",""],["pthread_setaffinity_np",""],["pthread_setname_np",""],["pthread_setschedparam",""],["pthread_setschedprio",""],["pthread_setspecific",""],["pthread_sigmask",""],["pthread_sigqueue",""],["pthread_spin_destroy",""],["pthread_spin_init",""],["pthread_spin_lock",""],["pthread_spin_trylock",""],["pthread_spin_unlock",""],["ptrace",""],["ptsname",""],["ptsname_r",""],["putchar",""],["putchar_unlocked",""],["putenv",""],["puts",""],["pututxline",""],["pwrite",""],["pwrite64",""],["pwritev",""],["pwritev2",""],["pwritev64",""],["pwritev64v2",""],["qsort",""],["qsort_r",""],["quotactl",""],["raise",""],["rand",""],["read",""],["readahead",""],["readdir",""],["readdir64",""],["readdir64_r",""],["readdir_r","The 64-bit libc on Solaris and illumos only has readdir_r. If a 32-bit Solaris or illumos target is ever created, it should use __posix_readdir_r. See libc(3LIB) on Solaris or illumos: https:\/\/illumos.org\/man\/3lib\/libc https:\/\/docs.oracle.com\/cd\/E36784_01\/html\/E36873\/libc-3lib.html https:\/\/www.unix.com\/man-page\/opensolaris\/3LIB\/libc\/"],["readlink",""],["readlinkat",""],["readv",""],["realloc",""],["reallocarray",""],["realpath",""],["reboot",""],["recv",""],["recvfrom",""],["recvmmsg",""],["recvmsg",""],["regcomp",""],["regerror",""],["regexec",""],["regfree",""],["remap_file_pages",""],["remove",""],["removexattr",""],["rename",""],["renameat",""],["renameat2",""],["res_init",""],["rewind",""],["rewinddir",""],["rmdir",""],["sbrk",""],["scanf",""],["sched_get_priority_max",""],["sched_get_priority_min",""],["sched_getaffinity",""],["sched_getcpu",""],["sched_getparam",""],["sched_getscheduler",""],["sched_rr_get_interval",""],["sched_setaffinity",""],["sched_setparam",""],["sched_setscheduler",""],["sched_yield",""],["seed48",""],["seekdir",""],["select",""],["sem_close",""],["sem_destroy",""],["sem_getvalue",""],["sem_init",""],["sem_open",""],["sem_post",""],["sem_timedwait",""],["sem_trywait",""],["sem_unlink",""],["sem_wait",""],["semctl",""],["semget",""],["semop",""],["send",""],["sendfile",""],["sendfile64",""],["sendmmsg",""],["sendmsg",""],["sendto",""],["setbuf",""],["setcontext",""],["setdomainname",""],["setegid",""],["setenv",""],["seteuid",""],["setfsgid",""],["setfsuid",""],["setgid",""],["setgrent",""],["setgroups",""],["sethostid",""],["sethostname",""],["setlocale",""],["setlogmask",""],["setmntent",""],["setns",""],["setpgid",""],["setpriority",""],["setpwent",""],["setregid",""],["setresgid",""],["setresuid",""],["setreuid",""],["setrlimit",""],["setrlimit64",""],["setservent",""],["setsid",""],["setsockopt",""],["setspent",""],["settimeofday",""],["setuid",""],["setutxent",""],["setvbuf",""],["setxattr",""],["sgetspent_r",""],["shm_open",""],["shm_unlink",""],["shmat",""],["shmctl",""],["shmdt",""],["shmget",""],["shutdown",""],["sigaction",""],["sigaddset",""],["sigaltstack",""],["sigdelset",""],["sigemptyset",""],["sigfillset",""],["sigismember",""],["signal",""],["signalfd",""],["sigpending",""],["sigprocmask",""],["sigsuspend",""],["sigtimedwait",""],["sigwait",""],["sigwaitinfo",""],["sleep",""],["snprintf",""],["socket",""],["socketpair",""],["splice",""],["sprintf",""],["srand",""],["srand48",""],["sscanf",""],["stat",""],["stat64",""],["statfs",""],["statfs64",""],["statvfs",""],["statvfs64",""],["statx",""],["stpcpy",""],["stpncpy",""],["strcasecmp",""],["strcasestr",""],["strcat",""],["strchr",""],["strcmp",""],["strcoll",""],["strcpy",""],["strcspn",""],["strdup",""],["strerror",""],["strerror_r",""],["strftime",""],["strlen",""],["strncasecmp",""],["strncat",""],["strncmp",""],["strncpy",""],["strndup",""],["strnlen",""],["strpbrk",""],["strptime",""],["strrchr",""],["strsignal",""],["strspn",""],["strstr",""],["strtod",""],["strtof",""],["strtok",""],["strtok_r",""],["strtol",""],["strtoll",""],["strtoul",""],["strtoull",""],["strxfrm",""],["swapcontext",""],["swapoff",""],["swapon",""],["symlink",""],["symlinkat",""],["sync",""],["sync_file_range",""],["syncfs",""],["syscall",""],["sysconf",""],["sysctl",""],["sysinfo",""],["syslog",""],["system",""],["tcdrain",""],["tcflow",""],["tcflush",""],["tcgetattr",""],["tcgetpgrp",""],["tcgetsid",""],["tcsendbreak",""],["tcsetattr",""],["tcsetpgrp",""],["tee",""],["telldir",""],["time",""],["timegm",""],["timer_create",""],["timer_delete",""],["timer_getoverrun",""],["timer_gettime",""],["timer_settime",""],["timerfd_create",""],["timerfd_gettime",""],["timerfd_settime",""],["times",""],["tmpfile",""],["tmpfile64",""],["tmpnam",""],["tolower",""],["toupper",""],["truncate",""],["truncate64",""],["ttyname",""],["ttyname_r",""],["umask",""],["umount",""],["umount2",""],["uname",""],["ungetc",""],["unlink",""],["unlinkat",""],["unlockpt",""],["unsetenv",""],["unshare",""],["uselocale",""],["usleep",""],["utime",""],["utimensat",""],["utimes",""],["utmpname",""],["utmpxname",""],["vfork",""],["vhangup",""],["vmsplice",""],["wait",""],["wait4",""],["waitid",""],["waitpid",""],["wcslen",""],["wcstombs",""],["wmemchr",""],["write",""],["writev",""]],"struct":[["Dl_info",""],["Elf32_Chdr",""],["Elf32_Ehdr",""],["Elf32_Phdr",""],["Elf32_Shdr",""],["Elf32_Sym",""],["Elf64_Chdr",""],["Elf64_Ehdr",""],["Elf64_Phdr",""],["Elf64_Shdr",""],["Elf64_Sym",""],["__c_anonymous_ifru_map",""],["__c_anonymous_ptrace_syscall_info_entry",""],["__c_anonymous_ptrace_syscall_info_exit",""],["__c_anonymous_ptrace_syscall_info_seccomp",""],["__c_anonymous_sockaddr_can_j1939",""],["__c_anonymous_sockaddr_can_tp",""],["__exit_status",""],["__timeval",""],["_libc_fpstate",""],["_libc_fpxreg",""],["_libc_xmmreg",""],["addrinfo",""],["af_alg_iv","WARNING: The `PartialEq`, `Eq` and `Hash` implementations of this type are unsound and will be removed in the future."],["aiocb",""],["arpd_request",""],["arphdr",""],["arpreq",""],["arpreq_old",""],["can_filter",""],["can_frame",""],["canfd_frame",""],["clone_args",""],["cmsghdr",""],["cpu_set_t",""],["dirent",""],["dirent64",""],["dl_phdr_info",""],["dqblk",""],["epoll_event",""],["fanotify_event_metadata",""],["fanotify_response",""],["fd_set",""],["ff_condition_effect",""],["ff_constant_effect",""],["ff_effect",""],["ff_envelope",""],["ff_periodic_effect",""],["ff_ramp_effect",""],["ff_replay",""],["ff_rumble_effect",""],["ff_trigger",""],["file_clone_range",""],["flock",""],["flock64",""],["fsid_t",""],["genlmsghdr",""],["glob64_t",""],["glob_t",""],["group",""],["hostent",""],["if_nameindex",""],["ifaddrs",""],["ifreq",""],["in6_addr",""],["in6_ifreq",""],["in6_pktinfo",""],["in6_rtmsg",""],["in_addr",""],["in_pktinfo",""],["inotify_event",""],["input_absinfo",""],["input_event",""],["input_id",""],["input_keymap_entry",""],["input_mask",""],["iovec",""],["ip_mreq",""],["ip_mreq_source",""],["ip_mreqn",""],["ipc_perm",""],["ipv6_mreq",""],["itimerspec",""],["itimerval",""],["j1939_filter",""],["lconv",""],["linger",""],["mallinfo",""],["mallinfo2",""],["max_align_t",""],["mcontext_t",""],["mmsghdr",""],["mntent",""],["mq_attr",""],["msghdr",""],["msginfo",""],["msqid_ds",""],["nl_mmap_hdr",""],["nl_mmap_req",""],["nl_pktinfo",""],["nlattr",""],["nlmsgerr",""],["nlmsghdr",""],["ntptimeval",""],["open_how",""],["option",""],["packet_mreq",""],["passwd",""],["pollfd",""],["posix_spawn_file_actions_t",""],["posix_spawnattr_t",""],["protoent",""],["pthread_attr_t",""],["pthread_cond_t",""],["pthread_condattr_t",""],["pthread_mutex_t",""],["pthread_mutexattr_t",""],["pthread_rwlock_t",""],["pthread_rwlockattr_t",""],["ptrace_peeksiginfo_args",""],["ptrace_rseq_configuration",""],["ptrace_syscall_info",""],["regex_t",""],["regmatch_t",""],["rlimit",""],["rlimit64",""],["rtentry",""],["rusage",""],["sched_param",""],["seccomp_data",""],["seccomp_notif_sizes",""],["sem_t",""],["sembuf",""],["semid_ds",""],["seminfo",""],["servent",""],["shmid_ds",""],["sigaction",""],["sigevent",""],["siginfo_t",""],["signalfd_siginfo",""],["sigset_t",""],["sigval",""],["sock_extended_err",""],["sock_filter",""],["sock_fprog",""],["sock_txtime",""],["sockaddr",""],["sockaddr_alg",""],["sockaddr_can",""],["sockaddr_in",""],["sockaddr_in6",""],["sockaddr_ll",""],["sockaddr_nl",""],["sockaddr_storage",""],["sockaddr_un",""],["sockaddr_vm",""],["spwd",""],["stack_t",""],["stat",""],["stat64",""],["statfs",""],["statfs64",""],["statvfs",""],["statvfs64",""],["statx",""],["statx_timestamp",""],["sysinfo",""],["termios",""],["termios2",""],["timespec",""],["timeval",""],["timex",""],["tm",""],["tms",""],["ucontext_t",""],["ucred",""],["uinput_abs_setup",""],["uinput_ff_erase",""],["uinput_ff_upload",""],["uinput_setup",""],["uinput_user_dev",""],["user",""],["user_fpregs_struct",""],["user_regs_struct",""],["utimbuf",""],["utmpx",""],["utsname",""],["winsize",""]],"type":[["Elf32_Addr",""],["Elf32_Half",""],["Elf32_Off",""],["Elf32_Section",""],["Elf32_Word",""],["Elf64_Addr",""],["Elf64_Half",""],["Elf64_Off",""],["Elf64_Section",""],["Elf64_Sxword",""],["Elf64_Word",""],["Elf64_Xword",""],["Lmid_t",""],["__fsword_t",""],["__priority_which_t",""],["__rlimit_resource_t",""],["__s16",""],["__s32",""],["__s64",""],["__syscall_ulong_t",""],["__u16",""],["__u32",""],["__u64",""],["__u8",""],["blkcnt64_t",""],["blkcnt_t",""],["blksize_t",""],["c_char",""],["c_double",""],["c_float",""],["c_int",""],["c_long",""],["c_longlong",""],["c_schar",""],["c_short",""],["c_uchar",""],["c_uint",""],["c_ulong",""],["c_ulonglong",""],["c_ushort",""],["can_err_mask_t",""],["canid_t",""],["cc_t",""],["clock_t",""],["clockid_t",""],["dev_t",""],["fsblkcnt_t",""],["fsfilcnt_t",""],["gid_t",""],["greg_t",""],["iconv_t",""],["id_t",""],["idtype_t",""],["in_addr_t",""],["in_port_t",""],["ino64_t",""],["ino_t",""],["int16_t",""],["int32_t",""],["int64_t",""],["int8_t",""],["intmax_t",""],["intptr_t",""],["key_t",""],["locale_t",""],["loff_t",""],["mode_t",""],["mqd_t",""],["msglen_t",""],["msgqnum_t",""],["name_t",""],["nfds_t",""],["nl_item",""],["nlink_t",""],["off64_t",""],["off_t",""],["pgn_t",""],["pid_t",""],["priority_t",""],["pthread_key_t",""],["pthread_spinlock_t",""],["pthread_t",""],["ptrdiff_t",""],["regoff_t",""],["rlim64_t",""],["rlim_t",""],["sa_family_t",""],["shmatt_t",""],["sighandler_t",""],["size_t",""],["socklen_t",""],["speed_t",""],["ssize_t",""],["suseconds_t",""],["tcflag_t",""],["time_t",""],["timer_t",""],["uid_t",""],["uint16_t",""],["uint32_t",""],["uint64_t",""],["uint8_t",""],["uintmax_t",""],["uintptr_t",""],["useconds_t",""],["wchar_t",""]],"union":[["__c_anonymous_ifr_ifru",""],["__c_anonymous_ptrace_syscall_info_data",""],["__c_anonymous_sockaddr_can_can_addr",""]]};/;" c class:window
|
||
SIDEBAR_ITEMS guessing_game/target/doc/ppv_lite86/sidebar-items.js /^window.SIDEBAR_ITEMS = {"macro":[["dispatch","Generate the full set of optimized implementations to take advantage of the most important hardware feature sets."],["dispatch_light128","Generate only the basic implementations necessary to be able to operate efficiently on 128-bit vectors on this platfrom. For x86-64, that would mean SSE2 and AVX."],["dispatch_light256","Generate only the basic implementations necessary to be able to operate efficiently on 256-bit vectors on this platfrom. For x86-64, that would mean SSE2, AVX, and AVX2."]],"mod":[["x86_64",""]],"trait":[["AndNot",""],["ArithOps","Ops that depend on word size"],["BSwap",""],["BitOps0","Ops that are independent of word size and endian"],["BitOps128",""],["BitOps32",""],["BitOps64",""],["LaneWords4","A vector composed one or more lanes each composed of four words."],["Machine",""],["MultiLane","A vector composed of multiple 128-bit lanes."],["RotateEachWord128",""],["RotateEachWord32",""],["RotateEachWord64",""],["Store",""],["StoreBytes",""],["Swap64","Exchange neigboring ranges of bits of the specified size"],["UnsafeFrom",""],["VZip","Combine single vectors into a multi-lane vector."],["Vec2","A vector composed of two elements, which may be words or themselves vectors."],["Vec4","A vector composed of four elements, which may be words or themselves vectors."],["Vec4Ext","Vec4 functions which may not be implemented yet for all Vec4 types. NOTE: functions in this trait may be moved to Vec4 in any patch release. To avoid breakage, import Vec4Ext only together with Vec4, and don’t qualify its methods."],["Vector",""],["Words4","A vector composed of four words; depending on their size, operations may cross lanes."],["u128x1",""],["u128x2",""],["u128x4",""],["u32x4",""],["u32x4x2",""],["u32x4x4",""],["u64x2",""],["u64x2x2",""],["u64x2x4",""],["u64x4",""]]};/;" c class:window
|
||
SIDEBAR_ITEMS guessing_game/target/doc/ppv_lite86/x86_64/sidebar-items.js /^window.SIDEBAR_ITEMS = {"struct":[["Avx2Machine",""],["NoA1",""],["NoA2",""],["NoNI",""],["NoS3",""],["NoS4",""],["SseMachine",""],["YesA1",""],["YesA2",""],["YesNI",""],["YesS3",""],["YesS4",""]],"type":[["AVX","AVX but not AVX2: only 128-bit integer operations, but use VEX versions of everything to avoid expensive SSE\/VEX conflicts."],["AVX2",""],["SSE2",""],["SSE41",""],["SSSE3",""]],"union":[["vec128_storage","Generic wrapper for unparameterized storage of any of the possible impls. Converting into and out of this type should be essentially free, although it may be more aligned than a particular impl requires."],["vec256_storage",""],["vec512_storage",""]]};/;" c class:window
|
||
SIDEBAR_ITEMS guessing_game/target/doc/rand/distributions/sidebar-items.js /^window.SIDEBAR_ITEMS = {"enum":[["BernoulliError","Error type returned from `Bernoulli::new`."],["WeightedError","Error type returned from `WeightedIndex::new`."]],"mod":[["uniform","A distribution uniformly sampling numbers within a given range."],["weighted","Weighted index sampling"]],"struct":[["Alphanumeric","Sample a `u8`, uniformly distributed over ASCII letters and numbers: a-z, A-Z and 0-9."],["Bernoulli","The Bernoulli distribution."],["DistIter","An iterator that generates random values of `T` with distribution `D`, using `R` as the source of randomness."],["DistMap","A distribution of values of type `S` derived from the distribution `D` by mapping its output of type `T` through the closure `F`."],["Open01","A distribution to sample floating point numbers uniformly in the open interval `(0, 1)`, i.e. not including either endpoint."],["OpenClosed01","A distribution to sample floating point numbers uniformly in the half-open interval `(0, 1]`, i.e. including 1 but not 0."],["Slice","A distribution to sample items uniformly from a slice."],["Standard","A generic random value distribution, implemented for many primitive types. Usually generates values with a numerically uniform distribution, and with a range appropriate to the type."],["Uniform","Sample values uniformly between two bounds."],["WeightedIndex","A distribution using weighted sampling of discrete items"]],"trait":[["DistString","`String` sampler"],["Distribution","Types (distributions) that can be used to create a random instance of `T`."]]};/;" c class:window
|
||
SIDEBAR_ITEMS guessing_game/target/doc/rand/distributions/uniform/sidebar-items.js /^window.SIDEBAR_ITEMS = {"struct":[["Uniform","Sample values uniformly between two bounds."],["UniformChar","The back-end implementing [`UniformSampler`] for `char`."],["UniformDuration","The back-end implementing [`UniformSampler`] for `Duration`."],["UniformFloat","The back-end implementing [`UniformSampler`] for floating-point types."],["UniformInt","The back-end implementing [`UniformSampler`] for integer types."]],"trait":[["SampleBorrow","Helper trait similar to `Borrow` but implemented only for SampleUniform and references to SampleUniform in order to resolve ambiguity issues."],["SampleRange","Range that supports generating a single sample efficiently."],["SampleUniform","Helper trait for creating objects using the correct implementation of [`UniformSampler`] for the sampling type."],["UniformSampler","Helper trait handling actual uniform sampling."]]};/;" c class:window
|
||
SIDEBAR_ITEMS guessing_game/target/doc/rand/distributions/weighted/alias_method/sidebar-items.js /^window.SIDEBAR_ITEMS = {"struct":[["WeightedIndex",""]],"trait":[["Weight",""]]};/;" c class:window
|
||
SIDEBAR_ITEMS guessing_game/target/doc/rand/distributions/weighted/sidebar-items.js /^window.SIDEBAR_ITEMS = {"enum":[["WeightedError","Error type returned from `WeightedIndex::new`."]],"mod":[["alias_method",""]],"struct":[["WeightedIndex","A distribution using weighted sampling of discrete items"]]};/;" c class:window
|
||
SIDEBAR_ITEMS guessing_game/target/doc/rand/rngs/adapter/sidebar-items.js /^window.SIDEBAR_ITEMS = {"struct":[["ReadError","`ReadRng` error type"],["ReadRng","An RNG that reads random bytes straight from any type supporting [`std::io::Read`], for example files."],["ReseedingRng","A wrapper around any PRNG that implements `BlockRngCore`, that adds the ability to reseed it."]]};/;" c class:window
|
||
SIDEBAR_ITEMS guessing_game/target/doc/rand/rngs/mock/sidebar-items.js /^window.SIDEBAR_ITEMS = {"struct":[["StepRng","A simple implementation of `RngCore` for testing purposes."]]};/;" c class:window
|
||
SIDEBAR_ITEMS guessing_game/target/doc/rand/rngs/sidebar-items.js /^window.SIDEBAR_ITEMS = {"mod":[["adapter","Wrappers \/ adapters forming RNGs"],["mock","Mock random number generator"]],"struct":[["OsRng","A random number generator that retrieves randomness from the operating system."],["StdRng","The standard RNG. The PRNG algorithm in `StdRng` is chosen to be efficient on the current platform, to be statistically strong and unpredictable (meaning a cryptographically secure PRNG)."],["ThreadRng","A reference to the thread-local generator"]]};/;" c class:window
|
||
SIDEBAR_ITEMS guessing_game/target/doc/rand/seq/index/sidebar-items.js /^window.SIDEBAR_ITEMS = {"enum":[["IndexVec","A vector of indices."],["IndexVecIntoIter","Return type of `IndexVec::into_iter`."],["IndexVecIter","Return type of `IndexVec::iter`."]],"fn":[["sample","Randomly sample exactly `amount` distinct indices from `0..length`, and return them in random order (fully shuffled)."],["sample_weighted","Randomly sample exactly `amount` distinct indices from `0..length`, and return them in an arbitrary order (there is no guarantee of shuffling or ordering). The weights are to be provided by the input function `weights`, which will be called once for each index."]]};/;" c class:window
|
||
SIDEBAR_ITEMS guessing_game/target/doc/rand/seq/sidebar-items.js /^window.SIDEBAR_ITEMS = {"mod":[["index","Low-level API for sampling indices"]],"struct":[["SliceChooseIter","An iterator over multiple slice elements."]],"trait":[["IteratorRandom","Extension trait on iterators, providing random sampling methods."],["SliceRandom","Extension trait on slices, providing random mutation and sampling methods."]]};/;" c class:window
|
||
SIDEBAR_ITEMS guessing_game/target/doc/rand/sidebar-items.js /^window.SIDEBAR_ITEMS = {"fn":[["random","Generates a random value using the thread-local random number generator."],["thread_rng","Retrieve the lazily-initialized thread-local random number generator, seeded by the system. Intended to be used in method chaining style, e.g. `thread_rng().gen::<i32>()`, or cached locally, e.g. `let mut rng = thread_rng();`. Invoked by the `Default` trait, making `ThreadRng::default()` equivalent."]],"mod":[["distributions","Generating random samples from probability distributions"],["prelude","Convenience re-export of common members"],["rngs","Random number generators and adapters"],["seq","Sequence-related functionality"]],"struct":[["Error","Error type of random number generators"]],"trait":[["CryptoRng","A marker trait used to indicate that an [`RngCore`] or `BlockRngCore` implementation is supposed to be cryptographically secure."],["Fill","Types which may be filled with random data"],["Rng","An automatically-implemented extension trait on [`RngCore`] providing high-level generic methods for sampling values and other convenience methods."],["RngCore","The core of a random number generator."],["SeedableRng","A random number generator that can be explicitly seeded."]]};/;" c class:window
|
||
SIDEBAR_ITEMS guessing_game/target/doc/rand_chacha/sidebar-items.js /^window.SIDEBAR_ITEMS = {"struct":[["ChaCha12Core","ChaCha with 12 rounds"],["ChaCha12Rng","A cryptographically secure random number generator that uses the ChaCha algorithm."],["ChaCha20Core","ChaCha with 20 rounds"],["ChaCha20Rng","A cryptographically secure random number generator that uses the ChaCha algorithm."],["ChaCha8Core","ChaCha with 8 rounds"],["ChaCha8Rng","A cryptographically secure random number generator that uses the ChaCha algorithm."]],"type":[["ChaChaCore","ChaCha with 20 rounds, low-level interface"],["ChaChaRng","ChaCha with 20 rounds"]]};/;" c class:window
|
||
SIDEBAR_ITEMS guessing_game/target/doc/rand_core/block/sidebar-items.js /^window.SIDEBAR_ITEMS = {"struct":[["BlockRng","A wrapper type implementing [`RngCore`] for some type implementing [`BlockRngCore`] with `u32` array buffer; i.e. this can be used to implement a full RNG from just a `generate` function."],["BlockRng64","A wrapper type implementing [`RngCore`] for some type implementing [`BlockRngCore`] with `u64` array buffer; i.e. this can be used to implement a full RNG from just a `generate` function."]],"trait":[["BlockRngCore","A trait for RNGs which do not generate random numbers individually, but in blocks (typically `[u32; N]`). This technique is commonly used by cryptographic RNGs to improve performance."]]};/;" c class:window
|
||
SIDEBAR_ITEMS guessing_game/target/doc/rand_core/impls/sidebar-items.js /^window.SIDEBAR_ITEMS = {"fn":[["fill_bytes_via_next","Implement `fill_bytes` via `next_u64` and `next_u32`, little-endian order."],["fill_via_u32_chunks","Implement `fill_bytes` by reading chunks from the output buffer of a block based RNG."],["fill_via_u64_chunks","Implement `fill_bytes` by reading chunks from the output buffer of a block based RNG."],["next_u32_via_fill","Implement `next_u32` via `fill_bytes`, little-endian order."],["next_u64_via_fill","Implement `next_u64` via `fill_bytes`, little-endian order."],["next_u64_via_u32","Implement `next_u64` via `next_u32`, little-endian order."]]};/;" c class:window
|
||
SIDEBAR_ITEMS guessing_game/target/doc/rand_core/le/sidebar-items.js /^window.SIDEBAR_ITEMS = {"fn":[["read_u32_into","Reads unsigned 32 bit integers from `src` into `dst`."],["read_u64_into","Reads unsigned 64 bit integers from `src` into `dst`."]]};/;" c class:window
|
||
SIDEBAR_ITEMS guessing_game/target/doc/rand_core/sidebar-items.js /^window.SIDEBAR_ITEMS = {"mod":[["block","The `BlockRngCore` trait and implementation helpers"],["impls","Helper functions for implementing `RngCore` functions."],["le","Little-Endian utilities"]],"struct":[["Error","Error type of random number generators"],["OsRng","A random number generator that retrieves randomness from the operating system."]],"trait":[["CryptoRng","A marker trait used to indicate that an [`RngCore`] or `BlockRngCore` implementation is supposed to be cryptographically secure."],["CryptoRngCore","An extension trait that is automatically implemented for any type implementing [`RngCore`] and [`CryptoRng`]."],["RngCore","The core of a random number generator."],["SeedableRng","A random number generator that can be explicitly seeded."]]};/;" c class:window
|
||
addClass guessing_game/target/doc/static.files/storage-d43fa987303ecbbb.js /^"use strict";const darkThemes=["dark","ayu"];window.currentTheme=document.getElementById("themeStyle");window.mainTheme=document.getElementById("mainThemeStyle");window.RUSTDOC_MOBILE_BREAKPOINT=700;const settingsDataset=(function(){const settingsElement=document.getElementById("default-settings");if(settingsElement===null){return null}const dataset=settingsElement.dataset;if(dataset===undefined){return null}return dataset})();function getSettingValue(settingName){const current=getCurrentValue(settingName);if(current!==null){return current}if(settingsDataset!==null){const def=settingsDataset[settingName.replace(\/-\/g,"_")];if(def!==undefined){return def}}return null}const localStoredTheme=getSettingValue("theme");const savedHref=[];function hasClass(elem,className){return elem&&elem.classList&&elem.classList.contains(className)}function addClass(elem,className){if(!elem||!elem.classList){return}elem.classList.add(className)}function removeClass(elem,className){if(!elem||!elem.classList){return}elem.classList.remove(className)}function onEach(arr,func,reversed){if(arr&&arr.length>0&&func){if(reversed){const length=arr.length;for(let i=length-1;i>=0;--i){if(func(arr[i])){return true}}}else{for(const elem of arr){if(func(elem)){return true}}}}return false}function onEachLazy(lazyArray,func,reversed){return onEach(Array.prototype.slice.call(lazyArray),func,reversed)}function updateLocalStorage(name,value){try{window.localStorage.setItem("rustdoc-"+name,value)}catch(e){}}function getCurrentValue(name){try{return window.localStorage.getItem("rustdoc-"+name)}catch(e){return null}}function switchTheme(styleElem,mainStyleElem,newThemeName,saveTheme){if(saveTheme){updateLocalStorage("theme",newThemeName)}if(savedHref.length===0){onEachLazy(document.getElementsByTagName("link"),el=>{savedHref.push(el.href)})}const newHref=savedHref.find(url=>{const m=url.match(\/static\\.files\\\/(.*)-[a-f0-9]{16}\\.css$\/);if(m&&m[1]===newThemeName){return true}const m2=url.match(\/\\\/([^\/]*)\\.css$\/);if(m2&&m2[1].startsWith(newThemeName)){return true}});if(newHref&&newHref!==styleElem.href){styleElem.href=newHref}}function useSystemTheme(value){if(value===undefined){value=true}updateLocalStorage("use-system-theme",value);const toggle=document.getElementById("use-system-theme");if(toggle&&toggle instanceof HTMLInputElement){toggle.checked=value}}const updateSystemTheme=(function(){if(!window.matchMedia){return()=>{const cssTheme=getComputedStyle(document.documentElement).getPropertyValue("content");switchTheme(window.currentTheme,window.mainTheme,JSON.parse(cssTheme)||"light",true)}}const mql=window.matchMedia("(prefers-color-scheme: dark)");function handlePreferenceChange(mql){const use=theme=>{switchTheme(window.currentTheme,window.mainTheme,theme,true)};if(getSettingValue("use-system-theme")!=="false"){const lightTheme=getSettingValue("preferred-light-theme")||"light";const darkTheme=getSettingValue("preferred-dark-theme")||"dark";if(mql.matches){use(darkTheme)}else{use(lightTheme)}}else{use(getSettingValue("theme"))}}mql.addListener(handlePreferenceChange);return()=>{handlePreferenceChange(mql)}})();function switchToSavedTheme(){switchTheme(window.currentTheme,window.mainTheme,getSettingValue("theme")||"light",false)}if(getSettingValue("use-system-theme")!=="false"&&window.matchMedia){if(getSettingValue("use-system-theme")===null&&getSettingValue("preferred-dark-theme")===null&&darkThemes.indexOf(localStoredTheme)>=0){updateLocalStorage("preferred-dark-theme",localStoredTheme)}updateSystemTheme()}else{switchToSavedTheme()}if(getSettingValue("source-sidebar-show")==="true"){addClass(document.documentElement,"source-sidebar-expanded")}window.addEventListener("pageshow",ev=>{if(ev.persisted){setTimeout(switchToSavedTheme,0)}})/;" f
|
||
addIntoResults guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f
|
||
addTab guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f
|
||
blurHandler guessing_game/target/doc/static.files/main-c55e1eb52e1886b4.js /^"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.type="text\/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("\/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"))};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="<h3 class=\\"search-loading\\">"+searchState.loadingText+"<\/h3>";searchState.showResults(search)},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(\/^#\/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`<a href="index.html#${id}">${longty}<\/a>`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const item of filtered){const name=item[0];const desc=item[1];let path;if(shortty==="mod"){path=name+"\/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("\/").pop();const link=document.createElement("a");link.href=path;link.title=desc;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"\/index.html";if(window.rootPath!==".\/"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\\n").length;const elems=[];for(let i=0;i<count;++i){elems.push(i+1)}const node=document.createElement("pre");addClass(node,"example-line-numbers");node.innerHTML=elems.join("\\n");parent.insertBefore(node,x)})};window.rustdoc_remove_line_numbers_from_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}let oldSidebarScrollPosition=null;window.rustdocMobileScrollLock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(window.innerWidth<=window.RUSTDOC_MOBILE_BREAKPOINT){oldSidebarScrollPosition=window.scrollY;document.body.style.width=`${document.body.offsetWidth}px`;document.body.style.position="fixed";document.body.style.top=`-${oldSidebarScrollPosition}px`;if(mobile_topbar){mobile_topbar.style.top=`${oldSidebarScrollPosition}px`;mobile_topbar.style.position="relative"}}else{oldSidebarScrollPosition=null}};window.rustdocMobileScrollUnlock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(oldSidebarScrollPosition!==null){document.body.style.width="";document.body.style.position="";document.body.style.top="";if(mobile_topbar){mobile_topbar.style.top="";mobile_topbar.style.position=""}window.scrollTo(0,oldSidebarScrollPosition);oldSidebarScrollPosition=null}};function showSidebar(){window.hideAllModals(false);window.rustdocMobileScrollLock();const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){window.rustdocMobileScrollUnlock();const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.innerWidth>window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}if(window.CURRENT_NOTABLE_ELEMENT){const base=window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE;const force_visible=base.NOTABLE_FORCE_VISIBLE;hideNotable(false);if(force_visible){showNotable(base);base.NOTABLE_FORCE_VISIBLE=true}}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showNotable(e){if(!window.NOTABLE_TRAITS){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showNotable() called on page without any notable traits!")}}if(window.CURRENT_NOTABLE_ELEMENT&&window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE===e){return}window.hideAllModals(false);const ty=e.getAttribute("data-ty");const wrapper=document.createElement("div");wrapper.innerHTML="<div class=\\"docblock\\">"+window.NOTABLE_TRAITS[ty]+"<\/div>";wrapper.className="notable popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideNotable;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_NOTABLE_ELEMENT=wrapper;window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE=e;wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,e)){hideNotable(true)}}}function notableBlurHandler(event){if(window.CURRENT_NOTABLE_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)){setTimeout(()=>hideNotable(false),0)}}function hideNotable(focus){if(window.CURRENT_NOTABLE_ELEMENT){if(window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE){if(focus){window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus()}window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_NOTABLE_ELEMENT);window.CURRENT_NOTABLE_ELEMENT=null}}onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.NOTABLE_FORCE_VISIBLE=this.NOTABLE_FORCE_VISIBLE?false:true;if(window.CURRENT_NOTABLE_ELEMENT&&!this.NOTABLE_FORCE_VISIBLE){hideNotable(true)}else{showNotable(this);window.CURRENT_NOTABLE_ELEMENT.setAttribute("tabindex","0");window.CURRENT_NOTABLE_ELEMENT.focus();window.CURRENT_NOTABLE_ELEMENT.onblur=notableBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}showNotable(this)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)){hideNotable(true)}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \\$/;" f
|
||
browserSupportsHistoryApi guessing_game/target/doc/static.files/main-c55e1eb52e1886b4.js /^"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.type="text\/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("\/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"))};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="<h3 class=\\"search-loading\\">"+searchState.loadingText+"<\/h3>";searchState.showResults(search)},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(\/^#\/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`<a href="index.html#${id}">${longty}<\/a>`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const item of filtered){const name=item[0];const desc=item[1];let path;if(shortty==="mod"){path=name+"\/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("\/").pop();const link=document.createElement("a");link.href=path;link.title=desc;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"\/index.html";if(window.rootPath!==".\/"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\\n").length;const elems=[];for(let i=0;i<count;++i){elems.push(i+1)}const node=document.createElement("pre");addClass(node,"example-line-numbers");node.innerHTML=elems.join("\\n");parent.insertBefore(node,x)})};window.rustdoc_remove_line_numbers_from_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}let oldSidebarScrollPosition=null;window.rustdocMobileScrollLock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(window.innerWidth<=window.RUSTDOC_MOBILE_BREAKPOINT){oldSidebarScrollPosition=window.scrollY;document.body.style.width=`${document.body.offsetWidth}px`;document.body.style.position="fixed";document.body.style.top=`-${oldSidebarScrollPosition}px`;if(mobile_topbar){mobile_topbar.style.top=`${oldSidebarScrollPosition}px`;mobile_topbar.style.position="relative"}}else{oldSidebarScrollPosition=null}};window.rustdocMobileScrollUnlock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(oldSidebarScrollPosition!==null){document.body.style.width="";document.body.style.position="";document.body.style.top="";if(mobile_topbar){mobile_topbar.style.top="";mobile_topbar.style.position=""}window.scrollTo(0,oldSidebarScrollPosition);oldSidebarScrollPosition=null}};function showSidebar(){window.hideAllModals(false);window.rustdocMobileScrollLock();const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){window.rustdocMobileScrollUnlock();const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.innerWidth>window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}if(window.CURRENT_NOTABLE_ELEMENT){const base=window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE;const force_visible=base.NOTABLE_FORCE_VISIBLE;hideNotable(false);if(force_visible){showNotable(base);base.NOTABLE_FORCE_VISIBLE=true}}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showNotable(e){if(!window.NOTABLE_TRAITS){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showNotable() called on page without any notable traits!")}}if(window.CURRENT_NOTABLE_ELEMENT&&window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE===e){return}window.hideAllModals(false);const ty=e.getAttribute("data-ty");const wrapper=document.createElement("div");wrapper.innerHTML="<div class=\\"docblock\\">"+window.NOTABLE_TRAITS[ty]+"<\/div>";wrapper.className="notable popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideNotable;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_NOTABLE_ELEMENT=wrapper;window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE=e;wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,e)){hideNotable(true)}}}function notableBlurHandler(event){if(window.CURRENT_NOTABLE_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)){setTimeout(()=>hideNotable(false),0)}}function hideNotable(focus){if(window.CURRENT_NOTABLE_ELEMENT){if(window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE){if(focus){window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus()}window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_NOTABLE_ELEMENT);window.CURRENT_NOTABLE_ELEMENT=null}}onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.NOTABLE_FORCE_VISIBLE=this.NOTABLE_FORCE_VISIBLE?false:true;if(window.CURRENT_NOTABLE_ELEMENT&&!this.NOTABLE_FORCE_VISIBLE){hideNotable(true)}else{showNotable(this);window.CURRENT_NOTABLE_ELEMENT.setAttribute("tabindex","0");window.CURRENT_NOTABLE_ELEMENT.focus();window.CURRENT_NOTABLE_ELEMENT.onblur=notableBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}showNotable(this)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)){hideNotable(true)}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \\$/;" f
|
||
buildHrefAndPath guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f
|
||
buildUrl guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f
|
||
changeSetting guessing_game/target/doc/static.files/settings-bebeae96e00e4617.js /^"use strict";(function(){const isSettingsPage=window.location.pathname.endsWith("\/settings.html");function changeSetting(settingName,value){if(settingName==="theme"){const useSystem=value==="system preference"?"true":"false";updateLocalStorage("use-system-theme",useSystem)}updateLocalStorage(settingName,value);switch(settingName){case"theme":case"preferred-dark-theme":case"preferred-light-theme":updateSystemTheme();updateLightAndDark();break;case"line-numbers":if(value===true){window.rustdoc_add_line_numbers_to_examples()}else{window.rustdoc_remove_line_numbers_from_examples()}break}}function handleKey(ev){if(ev.ctrlKey||ev.altKey||ev.metaKey){return}switch(getVirtualKey(ev)){case"Enter":case"Return":case"Space":ev.target.checked=!ev.target.checked;ev.preventDefault();break}}function showLightAndDark(){removeClass(document.getElementById("preferred-light-theme").parentElement,"hidden");removeClass(document.getElementById("preferred-dark-theme").parentElement,"hidden")}function hideLightAndDark(){addClass(document.getElementById("preferred-light-theme").parentElement,"hidden");addClass(document.getElementById("preferred-dark-theme").parentElement,"hidden")}function updateLightAndDark(){const useSystem=getSettingValue("use-system-theme");if(useSystem==="true"||(useSystem===null&&getSettingValue("theme")===null)){showLightAndDark()}else{hideLightAndDark()}}function setEvents(settingsElement){updateLightAndDark();onEachLazy(settingsElement.querySelectorAll("input[type=\\"checkbox\\"]"),toggle=>{const settingId=toggle.id;const settingValue=getSettingValue(settingId);if(settingValue!==null){toggle.checked=settingValue==="true"}toggle.onchange=function(){changeSetting(this.id,this.checked)};toggle.onkeyup=handleKey;toggle.onkeyrelease=handleKey});onEachLazy(settingsElement.getElementsByClassName("select-wrapper"),elem=>{const select=elem.getElementsByTagName("select")[0];const settingId=select.id;const settingValue=getSettingValue(settingId);if(settingValue!==null){select.value=settingValue}select.onchange=function(){changeSetting(this.id,this.value)}});onEachLazy(settingsElement.querySelectorAll("input[type=\\"radio\\"]"),elem=>{const settingId=elem.name;let settingValue=getSettingValue(settingId);if(settingId==="theme"){const useSystem=getSettingValue("use-system-theme");if(useSystem==="true"||settingValue===null){if(useSystem!=="false"){settingValue="system preference"}else{settingValue="light"}}}if(settingValue!==null&&settingValue!=="null"){elem.checked=settingValue===elem.value}elem.addEventListener("change",ev=>{changeSetting(ev.target.name,ev.target.value)})})}function buildSettingsPageSections(settings){let output="";for(const setting of settings){output+="<div class=\\"setting-line\\">";const js_data_name=setting["js_name"];const setting_name=setting["name"];if(setting["options"]!==undefined){output+=`\\$/;" f
|
||
checkArgs guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:handleArgs
|
||
checkExtraTypeFilterCharacters guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:hasOwnPropertyRustdoc
|
||
checkGenerics guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:execQuery
|
||
checkIfInGenerics guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:execQuery
|
||
checkPath guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:execQuery
|
||
checkReturned guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:execQuery
|
||
checkType guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:execQuery
|
||
closeSidebarIfMobile guessing_game/target/doc/static.files/source-script-5cf2e01a42cc9858.js /^"use strict";(function(){const rootPath=document.getElementById("rustdoc-vars").attributes["data-root-path"].value;const NAME_OFFSET=0;const DIRS_OFFSET=1;const FILES_OFFSET=2;function closeSidebarIfMobile(){if(window.innerWidth<window.RUSTDOC_MOBILE_BREAKPOINT){updateLocalStorage("source-sidebar-show","false")}}function createDirEntry(elem,parent,fullPath,hasFoundFile){const dirEntry=document.createElement("details");const summary=document.createElement("summary");dirEntry.className="dir-entry";fullPath+=elem[NAME_OFFSET]+"\/";summary.innerText=elem[NAME_OFFSET];dirEntry.appendChild(summary);const folders=document.createElement("div");folders.className="folders";if(elem[DIRS_OFFSET]){for(const dir of elem[DIRS_OFFSET]){if(createDirEntry(dir,folders,fullPath,false)){dirEntry.open=true;hasFoundFile=true}}}dirEntry.appendChild(folders);const files=document.createElement("div");files.className="files";if(elem[FILES_OFFSET]){for(const file_text of elem[FILES_OFFSET]){const file=document.createElement("a");file.innerText=file_text;file.href=rootPath+"src\/"+fullPath+file_text+".html";file.addEventListener("click",closeSidebarIfMobile);const w=window.location.href.split("#")[0];if(!hasFoundFile&&w===file.href){file.className="selected";dirEntry.open=true;hasFoundFile=true}files.appendChild(file)}}dirEntry.appendChild(files);parent.appendChild(dirEntry);return hasFoundFile}function toggleSidebar(){const child=this.parentNode.children[0];if(child.innerText===">"){window.rustdocMobileScrollLock();addClass(document.documentElement,"source-sidebar-expanded");child.innerText="<";updateLocalStorage("source-sidebar-show","true")}else{window.rustdocMobileScrollUnlock();removeClass(document.documentElement,"source-sidebar-expanded");child.innerText=">";updateLocalStorage("source-sidebar-show","false")}}function createSidebarToggle(){const sidebarToggle=document.createElement("div");sidebarToggle.id="sidebar-toggle";const inner=document.createElement("button");if(getCurrentValue("source-sidebar-show")==="true"){inner.innerText="<"}else{inner.innerText=">"}inner.onclick=toggleSidebar;sidebarToggle.appendChild(inner);return sidebarToggle}function createSourceSidebar(){const container=document.querySelector("nav.sidebar");const sidebarToggle=createSidebarToggle();container.insertBefore(sidebarToggle,container.firstChild);const sidebar=document.createElement("div");sidebar.id="source-sidebar";let hasFoundFile=false;const title=document.createElement("div");title.className="title";title.innerText="Files";sidebar.appendChild(title);Object.keys(sourcesIndex).forEach(key=>{sourcesIndex[key][NAME_OFFSET]=key;hasFoundFile=createDirEntry(sourcesIndex[key],sidebar,"",hasFoundFile)});container.appendChild(sidebar);const selected_elem=sidebar.getElementsByClassName("selected")[0];if(typeof selected_elem!=="undefined"){selected_elem.focus()}}const lineNumbersRegex=\/^#?(\\d+)(?:-(\\d+))?$\/;function highlightSourceLines(match){if(typeof match==="undefined"){match=window.location.hash.match(lineNumbersRegex)}if(!match){return}let from=parseInt(match[1],10);let to=from;if(typeof match[2]!=="undefined"){to=parseInt(match[2],10)}if(to<from){const tmp=to;to=from;from=tmp}let elem=document.getElementById(from);if(!elem){return}const x=document.getElementById(from);if(x){x.scrollIntoView()}onEachLazy(document.getElementsByClassName("src-line-numbers"),e=>{onEachLazy(e.getElementsByTagName("a"),i_e=>{removeClass(i_e,"line-highlighted")})});for(let i=from;i<=to;++i){elem=document.getElementById(i);if(!elem){break}addClass(elem,"line-highlighted")}}const handleSourceHighlight=(function(){let prev_line_id=0;const set_fragment=name=>{const x=window.scrollX,y=window.scrollY;if(browserSupportsHistoryApi()){history.replaceState(null,null,"#"+name);highlightSourceLines()}else{location.replace("#"+name)}window.scrollTo(x,y)};return ev=>{let cur_line_id=parseInt(ev.target.id,10);if(isNaN(cur_line_id)||ev.ctrlKey||ev.altKey||ev.metaKey){return}ev.preventDefault();if(ev.shiftKey&&prev_line_id){if(prev_line_id>cur_line_id){const tmp=prev_line_id;prev_line_id=cur_line_id;cur_line_id=tmp}set_fragment(prev_line_id+"-"+cur_line_id)}else{prev_line_id=cur_line_id;set_fragment(cur_line_id)}}}());window.addEventListener("hashchange",()=>{const match=window.location.hash.match(lineNumbersRegex);if(match){return highlightSourceLines(match)}});onEachLazy(document.getElementsByClassName("src-line-numbers"),el=>{el.addEventListener("click",handleSourceHighlight)});highlightSourceLines();window.createSourceSidebar=createSourceSidebar})()/;" f
|
||
constant guessing_game/target/doc/libc/sidebar-items.js /^window.SIDEBAR_ITEMS = {"constant":[["ABDAY_1",""],["ABDAY_2",""],["ABDAY_3",""],["ABDAY_4",""],["ABDAY_5",""],["ABDAY_6",""],["ABDAY_7",""],["ABMON_1",""],["ABMON_10",""],["ABMON_11",""],["ABMON_12",""],["ABMON_2",""],["ABMON_3",""],["ABMON_4",""],["ABMON_5",""],["ABMON_6",""],["ABMON_7",""],["ABMON_8",""],["ABMON_9",""],["ABS_CNT",""],["ABS_MAX",""],["ACCOUNTING",""],["ADDR_COMPAT_LAYOUT",""],["ADDR_LIMIT_32BIT",""],["ADDR_LIMIT_3GB",""],["ADDR_NO_RANDOMIZE",""],["ADFS_SUPER_MAGIC",""],["ADJ_ESTERROR",""],["ADJ_FREQUENCY",""],["ADJ_MAXERROR",""],["ADJ_MICRO",""],["ADJ_NANO",""],["ADJ_OFFSET",""],["ADJ_OFFSET_SINGLESHOT",""],["ADJ_OFFSET_SS_READ",""],["ADJ_SETOFFSET",""],["ADJ_STATUS",""],["ADJ_TAI",""],["ADJ_TICK",""],["ADJ_TIMECONST",""],["AFFS_SUPER_MAGIC",""],["AFS_SUPER_MAGIC",""],["AF_ALG",""],["AF_APPLETALK",""],["AF_ASH",""],["AF_ATMPVC",""],["AF_ATMSVC",""],["AF_AX25",""],["AF_BLUETOOTH",""],["AF_BRIDGE",""],["AF_CAIF",""],["AF_CAN",""],["AF_DECnet",""],["AF_ECONET",""],["AF_IB",""],["AF_IEEE802154",""],["AF_INET",""],["AF_INET6",""],["AF_IPX",""],["AF_IRDA",""],["AF_ISDN",""],["AF_IUCV",""],["AF_KEY",""],["AF_LLC",""],["AF_LOCAL",""],["AF_MPLS",""],["AF_NETBEUI",""],["AF_NETLINK",""],["AF_NETROM",""],["AF_NFC",""],["AF_PACKET",""],["AF_PHONET",""],["AF_PPPOX",""],["AF_RDS",""],["AF_ROSE",""],["AF_ROUTE",""],["AF_RXRPC",""],["AF_SECURITY",""],["AF_SNA",""],["AF_TIPC",""],["AF_UNIX",""],["AF_UNSPEC",""],["AF_VSOCK",""],["AF_WANPIPE",""],["AF_X25",""],["AF_XDP",""],["AIO_ALLDONE",""],["AIO_CANCELED",""],["AIO_NOTCANCELED",""],["AI_ADDRCONFIG",""],["AI_ALL",""],["AI_CANONNAME",""],["AI_NUMERICHOST",""],["AI_NUMERICSERV",""],["AI_PASSIVE",""],["AI_V4MAPPED",""],["ALG_OP_DECRYPT",""],["ALG_OP_ENCRYPT",""],["ALG_SET_AEAD_ASSOCLEN",""],["ALG_SET_AEAD_AUTHSIZE",""],["ALG_SET_IV",""],["ALG_SET_KEY",""],["ALG_SET_OP",""],["ALT_DIGITS",""],["AM_STR",""],["ARPD_FLUSH",""],["ARPD_LOOKUP",""],["ARPD_UPDATE",""],["ARPHRD_ADAPT",""],["ARPHRD_APPLETLK",""],["ARPHRD_ARCNET",""],["ARPHRD_ASH",""],["ARPHRD_ATM",""],["ARPHRD_AX25",""],["ARPHRD_BIF",""],["ARPHRD_CAN",""],["ARPHRD_CHAOS",""],["ARPHRD_CISCO",""],["ARPHRD_CSLIP",""],["ARPHRD_CSLIP6",""],["ARPHRD_DDCMP",""],["ARPHRD_DLCI",""],["ARPHRD_ECONET",""],["ARPHRD_EETHER",""],["ARPHRD_ETHER",""],["ARPHRD_EUI64",""],["ARPHRD_FCAL",""],["ARPHRD_FCFABRIC",""],["ARPHRD_FCPL",""],["ARPHRD_FCPP",""],["ARPHRD_FDDI",""],["ARPHRD_FRAD",""],["ARPHRD_HDLC",""],["ARPHRD_HIPPI",""],["ARPHRD_HWX25",""],["ARPHRD_IEEE1394",""],["ARPHRD_IEEE802",""],["ARPHRD_IEEE80211",""],["ARPHRD_IEEE80211_PRISM",""],["ARPHRD_IEEE80211_RADIOTAP",""],["ARPHRD_IEEE802154",""],["ARPHRD_IEEE802_TR",""],["ARPHRD_INFINIBAND",""],["ARPHRD_IPDDP",""],["ARPHRD_IPGRE",""],["ARPHRD_IRDA",""],["ARPHRD_LAPB",""],["ARPHRD_LOCALTLK",""],["ARPHRD_LOOPBACK",""],["ARPHRD_METRICOM",""],["ARPHRD_NETROM",""],["ARPHRD_NONE",""],["ARPHRD_PIMREG",""],["ARPHRD_PPP",""],["ARPHRD_PRONET",""],["ARPHRD_RAWHDLC",""],["ARPHRD_ROSE",""],["ARPHRD_RSRVD",""],["ARPHRD_SIT",""],["ARPHRD_SKIP",""],["ARPHRD_SLIP",""],["ARPHRD_SLIP6",""],["ARPHRD_TUNNEL",""],["ARPHRD_TUNNEL6",""],["ARPHRD_VOID",""],["ARPHRD_X25",""],["ARPOP_InREPLY",""],["ARPOP_InREQUEST",""],["ARPOP_NAK",""],["ARPOP_REPLY",""],["ARPOP_REQUEST",""],["ARPOP_RREPLY",""],["ARPOP_RREQUEST",""],["ATF_COM",""],["ATF_DONTPUB",""],["ATF_MAGIC",""],["ATF_NETMASK",""],["ATF_PERM",""],["ATF_PUBL",""],["ATF_USETRAILERS",""],["AT_BASE",""],["AT_BASE_PLATFORM",""],["AT_CLKTCK",""],["AT_EACCESS",""],["AT_EGID",""],["AT_EMPTY_PATH",""],["AT_ENTRY",""],["AT_EUID",""],["AT_EXECFD",""],["AT_EXECFN",""],["AT_FDCWD",""],["AT_FLAGS",""],["AT_GID",""],["AT_HWCAP",""],["AT_HWCAP2",""],["AT_IGNORE",""],["AT_NOTELF",""],["AT_NO_AUTOMOUNT",""],["AT_NULL",""],["AT_PAGESZ",""],["AT_PHDR",""],["AT_PHENT",""],["AT_PHNUM",""],["AT_PLATFORM",""],["AT_RANDOM",""],["AT_REMOVEDIR",""],["AT_SECURE",""],["AT_STATX_DONT_SYNC",""],["AT_STATX_FORCE_SYNC",""],["AT_STATX_SYNC_AS_STAT",""],["AT_STATX_SYNC_TYPE",""],["AT_SYMLINK_FOLLOW",""],["AT_SYMLINK_NOFOLLOW",""],["AT_SYSINFO_EHDR",""],["AT_UID",""],["AUTOFS_SUPER_MAGIC",""],["B0",""],["B1000000",""],["B110",""],["B115200",""],["B1152000",""],["B1200",""],["B134",""],["B150",""],["B1500000",""],["B1800",""],["B19200",""],["B200",""],["B2000000",""],["B230400",""],["B2400",""],["B2500000",""],["B300",""],["B3000000",""],["B3500000",""],["B38400",""],["B4000000",""],["B460800",""],["B4800",""],["B50",""],["B500000",""],["B57600",""],["B576000",""],["B600",""],["B75",""],["B921600",""],["B9600",""],["BINDERFS_SUPER_MAGIC",""],["BLKIOMIN",""],["BLKIOOPT",""],["BLKPBSZGET",""],["BLKSSZGET",""],["BOOT_TIME",""],["BOTHER",""],["BPF_ABS",""],["BPF_ADD",""],["BPF_ALU",""],["BPF_AND",""],["BPF_B",""],["BPF_DIV",""],["BPF_FS_MAGIC",""],["BPF_H",""],["BPF_IMM",""],["BPF_IND",""],["BPF_JA",""],["BPF_JEQ",""],["BPF_JGE",""],["BPF_JGT",""],["BPF_JMP",""],["BPF_JSET",""],["BPF_K",""],["BPF_LD",""],["BPF_LDX",""],["BPF_LEN",""],["BPF_LL_OFF",""],["BPF_LSH",""],["BPF_MAXINSNS",""],["BPF_MEM",""],["BPF_MEMWORDS",""],["BPF_MISC",""],["BPF_MOD",""],["BPF_MSH",""],["BPF_MUL",""],["BPF_NEG",""],["BPF_NET_OFF",""],["BPF_OR",""],["BPF_RET",""],["BPF_RSH",""],["BPF_ST",""],["BPF_STX",""],["BPF_SUB",""],["BPF_W",""],["BPF_X",""],["BPF_XOR",""],["BRKINT",""],["BS0",""],["BS1",""],["BSDLY",""],["BTRFS_SUPER_MAGIC",""],["BUFSIZ",""],["BUS_ADRALN",""],["BUS_ADRERR",""],["BUS_MCEERR_AO",""],["BUS_MCEERR_AR",""],["BUS_OBJERR",""],["CANFD_BRS",""],["CANFD_ESI",""],["CANFD_MAX_DLC",""],["CANFD_MAX_DLEN",""],["CANFD_MTU",""],["CAN_BCM",""],["CAN_EFF_FLAG",""],["CAN_EFF_ID_BITS",""],["CAN_EFF_MASK",""],["CAN_ERR_FLAG",""],["CAN_ERR_MASK",""],["CAN_INV_FILTER",""],["CAN_ISOTP",""],["CAN_J1939",""],["CAN_MAX_DLC",""],["CAN_MAX_DLEN",""],["CAN_MCNET",""],["CAN_MTU",""],["CAN_NPROTO",""],["CAN_RAW",""],["CAN_RAW_ERR_FILTER",""],["CAN_RAW_FD_FRAMES",""],["CAN_RAW_FILTER",""],["CAN_RAW_FILTER_MAX",""],["CAN_RAW_JOIN_FILTERS",""],["CAN_RAW_LOOPBACK",""],["CAN_RAW_RECV_OWN_MSGS",""],["CAN_RTR_FLAG",""],["CAN_SFF_ID_BITS",""],["CAN_SFF_MASK",""],["CAN_TP16",""],["CAN_TP20",""],["CBAUD",""],["CBAUDEX",""],["CGROUP2_SUPER_MAGIC",""],["CGROUP_SUPER_MAGIC",""],["CIBAUD",""],["CLD_CONTINUED",""],["CLD_DUMPED",""],["CLD_EXITED",""],["CLD_KILLED",""],["CLD_STOPPED",""],["CLD_TRAPPED",""],["CLOCAL",""],["CLOCK_BOOTTIME",""],["CLOCK_BOOTTIME_ALARM",""],["CLOCK_MONOTONIC",""],["CLOCK_MONOTONIC_COARSE",""],["CLOCK_MONOTONIC_RAW",""],["CLOCK_PROCESS_CPUTIME_ID",""],["CLOCK_REALTIME",""],["CLOCK_REALTIME_ALARM",""],["CLOCK_REALTIME_COARSE",""],["CLOCK_TAI",""],["CLOCK_THREAD_CPUTIME_ID",""],["CLONE_CHILD_CLEARTID",""],["CLONE_CHILD_SETTID",""],["CLONE_DETACHED",""],["CLONE_FILES",""],["CLONE_FS",""],["CLONE_IO",""],["CLONE_NEWCGROUP",""],["CLONE_NEWIPC",""],["CLONE_NEWNET",""],["CLONE_NEWNS",""],["CLONE_NEWPID",""],["CLONE_NEWUSER",""],["CLONE_NEWUTS",""],["CLONE_PARENT",""],["CLONE_PARENT_SETTID",""],["CLONE_PIDFD",""],["CLONE_PTRACE",""],["CLONE_SETTLS",""],["CLONE_SIGHAND",""],["CLONE_SYSVSEM",""],["CLONE_THREAD",""],["CLONE_UNTRACED",""],["CLONE_VFORK",""],["CLONE_VM",""],["CLOSE_RANGE_CLOEXEC",""],["CLOSE_RANGE_UNSHARE",""],["CMSPAR",""],["CODA_SUPER_MAGIC",""],["CODESET",""],["CPU_SETSIZE",""],["CR0",""],["CR1",""],["CR2",""],["CR3",""],["CRAMFS_MAGIC",""],["CRDLY",""],["CREAD",""],["CRNCYSTR",""],["CRTSCTS",""],["CS",""],["CS5",""],["CS6",""],["CS7",""],["CS8",""],["CSIZE",""],["CSTOPB",""],["CTRL_ATTR_FAMILY_ID",""],["CTRL_ATTR_FAMILY_NAME",""],["CTRL_ATTR_HDRSIZE",""],["CTRL_ATTR_MAXATTR",""],["CTRL_ATTR_MCAST_GROUPS",""],["CTRL_ATTR_MCAST_GRP_ID",""],["CTRL_ATTR_MCAST_GRP_NAME",""],["CTRL_ATTR_MCAST_GRP_UNSPEC",""],["CTRL_ATTR_OPS",""],["CTRL_ATTR_OP_FLAGS",""],["CTRL_ATTR_OP_ID",""],["CTRL_ATTR_OP_UNSPEC",""],["CTRL_ATTR_UNSPEC",""],["CTRL_ATTR_VERSION",""],["CTRL_CMD_DELFAMILY",""],["CTRL_CMD_DELMCAST_GRP",""],["CTRL_CMD_DELOPS",""],["CTRL_CMD_GETFAMILY",""],["CTRL_CMD_GETMCAST_GRP",""],["CTRL_CMD_GETOPS",""],["CTRL_CMD_NEWFAMILY",""],["CTRL_CMD_NEWMCAST_GRP",""],["CTRL_CMD_NEWOPS",""],["CTRL_CMD_UNSPEC",""],["DAY_1",""],["DAY_2",""],["DAY_3",""],["DAY_4",""],["DAY_5",""],["DAY_6",""],["DAY_7",""],["DCCP_SERVICE_LIST_MAX_LEN","maximum number of services provided on the same listening port"],["DCCP_SOCKOPT_AVAILABLE_CCIDS",""],["DCCP_SOCKOPT_CCID",""],["DCCP_SOCKOPT_CCID_RX_INFO",""],["DCCP_SOCKOPT_CCID_TX_INFO",""],["DCCP_SOCKOPT_CHANGE_L",""],["DCCP_SOCKOPT_CHANGE_R",""],["DCCP_SOCKOPT_GET_CUR_MPS",""],["DCCP_SOCKOPT_PACKET_SIZE",""],["DCCP_SOCKOPT_QPOLICY_ID",""],["DCCP_SOCKOPT_QPOLICY_TXQLEN",""],["DCCP_SOCKOPT_RECV_CSCOV",""],["DCCP_SOCKOPT_RX_CCID",""],["DCCP_SOCKOPT_SEND_CSCOV",""],["DCCP_SOCKOPT_SERVER_TIMEWAIT",""],["DCCP_SOCKOPT_SERVICE",""],["DCCP_SOCKOPT_TX_CCID",""],["DEAD_PROCESS",""],["DEBUGFS_MAGIC",""],["DEVPTS_SUPER_MAGIC",""],["DS",""],["DT_BLK",""],["DT_CHR",""],["DT_DIR",""],["DT_FIFO",""],["DT_LNK",""],["DT_REG",""],["DT_SOCK",""],["DT_UNKNOWN",""],["D_FMT",""],["D_T_FMT",""],["E2BIG",""],["EACCES",""],["EADDRINUSE",""],["EADDRNOTAVAIL",""],["EADV",""],["EAFNOSUPPORT",""],["EAGAIN",""],["EAI_AGAIN",""],["EAI_BADFLAGS",""],["EAI_FAIL",""],["EAI_FAMILY",""],["EAI_MEMORY",""],["EAI_NODATA",""],["EAI_NONAME",""],["EAI_OVERFLOW",""],["EAI_SERVICE",""],["EAI_SOCKTYPE",""],["EAI_SYSTEM",""],["EALREADY",""],["EBADE",""],["EBADF",""],["EBADFD",""],["EBADMSG",""],["EBADR",""],["EBADRQC",""],["EBADSLT",""],["EBFONT",""],["EBUSY",""],["ECANCELED",""],["ECHILD",""],["ECHO",""],["ECHOCTL",""],["ECHOE",""],["ECHOK",""],["ECHOKE",""],["ECHONL",""],["ECHOPRT",""],["ECHRNG",""],["ECOMM",""],["ECONNABORTED",""],["ECONNREFUSED",""],["ECONNRESET",""],["ECRYPTFS_SUPER_MAGIC",""],["EDEADLK",""],["EDEADLOCK",""],["EDESTADDRREQ",""],["EDOM",""],["EDOTDOT",""],["EDQUOT",""],["EEXIST",""],["EFAULT",""],["EFBIG",""],["EFD_CLOEXEC",""],["EFD_NONBLOCK",""],["EFD_SEMAPHORE",""],["EFLAGS",""],["EFS_SUPER_MAGIC",""],["EHOSTDOWN",""],["EHOSTUNREACH",""],["EHWPOISON",""],["EIDRM",""],["EILSEQ",""],["EINPROGRESS",""],["EINTR",""],["EINVAL",""],["EIO",""],["EISCONN",""],["EISDIR",""],["EISNAM",""],["EI_ABIVERSION",""],["EI_CLASS",""],["EI_DATA",""],["EI_MAG0",""],["EI_MAG1",""],["EI_MAG2",""],["EI_MAG3",""],["EI_NIDENT",""],["EI_OSABI",""],["EI_PAD",""],["EI_VERSION",""],["EKEYEXPIRED",""],["EKEYREJECTED",""],["EKEYREVOKED",""],["EL2HLT",""],["EL2NSYNC",""],["EL3HLT",""],["EL3RST",""],["ELFCLASS32",""],["ELFCLASS64",""],["ELFCLASSNONE",""],["ELFCLASSNUM",""],["ELFDATA2LSB",""],["ELFDATA2MSB",""],["ELFDATANONE",""],["ELFDATANUM",""],["ELFMAG0",""],["ELFMAG1",""],["ELFMAG2",""],["ELFMAG3",""],["ELFOSABI_AIX",""],["ELFOSABI_ARM",""],["ELFOSABI_ARM_AEABI",""],["ELFOSABI_FREEBSD",""],["ELFOSABI_GNU",""],["ELFOSABI_HPUX",""],["ELFOSABI_IRIX",""],["ELFOSABI_LINUX",""],["ELFOSABI_MODESTO",""],["ELFOSABI_NETBSD",""],["ELFOSABI_NONE",""],["ELFOSABI_OPENBSD",""],["ELFOSABI_SOLARIS",""],["ELFOSABI_STANDALONE",""],["ELFOSABI_SYSV",""],["ELFOSABI_TRU64",""],["ELIBACC",""],["ELIBBAD",""],["ELIBEXEC",""],["ELIBMAX",""],["ELIBSCN",""],["ELNRNG",""],["ELOOP",""],["EMEDIUMTYPE",""],["EMFILE",""],["EMLINK",""],["EMPTY",""],["EMSGSIZE",""],["EMULTIHOP",""],["EM_386",""],["EM_68HC05",""],["EM_68HC08",""],["EM_68HC11",""],["EM_68HC12",""],["EM_68HC16",""],["EM_68K",""],["EM_860",""],["EM_88K",""],["EM_960",""],["EM_AARCH64",""],["EM_ALPHA",""],["EM_ARC",""],["EM_ARC_A5",""],["EM_ARM",""],["EM_AVR",""],["EM_COLDFIRE",""],["EM_CRIS",""],["EM_D10V",""],["EM_D30V",""],["EM_FAKE_ALPHA",""],["EM_FIREPATH",""],["EM_FR20",""],["EM_FR30",""],["EM_FX66",""],["EM_H8S",""],["EM_H8_300",""],["EM_H8_300H",""],["EM_H8_500",""],["EM_HUANY",""],["EM_IA_64",""],["EM_JAVELIN",""],["EM_M32",""],["EM_M32R",""],["EM_ME16",""],["EM_MIPS",""],["EM_MIPS_RS3_LE",""],["EM_MIPS_X",""],["EM_MMA",""],["EM_MMIX",""],["EM_MN10200",""],["EM_MN10300",""],["EM_NCPU",""],["EM_NDR1",""],["EM_NONE",""],["EM_OPENRISC",""],["EM_PARISC",""],["EM_PCP",""],["EM_PDSP",""],["EM_PJ",""],["EM_PPC",""],["EM_PPC64",""],["EM_PRISM",""],["EM_RCE",""],["EM_RH32",""],["EM_S370",""],["EM_S390",""],["EM_SH",""],["EM_SPARC",""],["EM_SPARC32PLUS",""],["EM_SPARCV9",""],["EM_ST100",""],["EM_ST19",""],["EM_ST7",""],["EM_ST9PLUS",""],["EM_STARCORE",""],["EM_SVX",""],["EM_TILEGX",""],["EM_TILEPRO",""],["EM_TINYJ",""],["EM_TRICORE",""],["EM_V800",""],["EM_V850",""],["EM_VAX",""],["EM_VPP500",""],["EM_X86_64",""],["EM_XTENSA",""],["EM_ZSP",""],["ENAMETOOLONG",""],["ENAVAIL",""],["ENETDOWN",""],["ENETRESET",""],["ENETUNREACH",""],["ENFILE",""],["ENOANO",""],["ENOATTR",""],["ENOBUFS",""],["ENOCSI",""],["ENODATA",""],["ENODEV",""],["ENOENT",""],["ENOEXEC",""],["ENOKEY",""],["ENOLCK",""],["ENOLINK",""],["ENOMEDIUM",""],["ENOMEM",""],["ENOMSG",""],["ENONET",""],["ENOPKG",""],["ENOPROTOOPT",""],["ENOSPC",""],["ENOSR",""],["ENOSTR",""],["ENOSYS",""],["ENOTBLK",""],["ENOTCONN",""],["ENOTDIR",""],["ENOTEMPTY",""],["ENOTNAM",""],["ENOTRECOVERABLE",""],["ENOTSOCK",""],["ENOTSUP",""],["ENOTTY",""],["ENOTUNIQ",""],["ENXIO",""],["EOF",""],["EOPNOTSUPP",""],["EOVERFLOW",""],["EOWNERDEAD",""],["EPERM",""],["EPFNOSUPPORT",""],["EPIPE",""],["EPOLLERR",""],["EPOLLET",""],["EPOLLEXCLUSIVE",""],["EPOLLHUP",""],["EPOLLIN",""],["EPOLLMSG",""],["EPOLLONESHOT",""],["EPOLLOUT",""],["EPOLLPRI",""],["EPOLLRDBAND",""],["EPOLLRDHUP",""],["EPOLLRDNORM",""],["EPOLLWAKEUP",""],["EPOLLWRBAND",""],["EPOLLWRNORM",""],["EPOLL_CLOEXEC",""],["EPOLL_CTL_ADD",""],["EPOLL_CTL_DEL",""],["EPOLL_CTL_MOD",""],["EPROTO",""],["EPROTONOSUPPORT",""],["EPROTOTYPE",""],["ERA",""],["ERANGE",""],["ERA_D_FMT",""],["ERA_D_T_FMT",""],["ERA_T_FMT",""],["EREMCHG",""],["EREMOTE",""],["EREMOTEIO",""],["ERESTART",""],["ERFKILL",""],["EROFS",""],["ES",""],["ESHUTDOWN",""],["ESOCKTNOSUPPORT",""],["ESPIPE",""],["ESRCH",""],["ESRMNT",""],["ESTALE",""],["ESTRPIPE",""],["ETH_ALEN",""],["ETH_DATA_LEN",""],["ETH_FCS_LEN",""],["ETH_FRAME_LEN",""],["ETH_HLEN",""],["ETH_P_1588",""],["ETH_P_8021AD",""],["ETH_P_8021AH",""],["ETH_P_8021Q",""],["ETH_P_80221",""],["ETH_P_802_2",""],["ETH_P_802_3",""],["ETH_P_802_3_MIN",""],["ETH_P_802_EX1",""],["ETH_P_AARP",""],["ETH_P_AF_IUCV",""],["ETH_P_ALL",""],["ETH_P_AOE",""],["ETH_P_ARCNET",""],["ETH_P_ARP",""],["ETH_P_ATALK",""],["ETH_P_ATMFATE",""],["ETH_P_ATMMPOA",""],["ETH_P_AX25",""],["ETH_P_BATMAN",""],["ETH_P_BPQ",""],["ETH_P_CAIF",""],["ETH_P_CANFD",""],["ETH_P_CONTROL",""],["ETH_P_CUST",""],["ETH_P_DDCMP",""],["ETH_P_DEC",""],["ETH_P_DIAG",""],["ETH_P_DNA_DL",""],["ETH_P_DNA_RC",""],["ETH_P_DNA_RT",""],["ETH_P_DSA",""],["ETH_P_ECONET",""],["ETH_P_EDSA",""],["ETH_P_FCOE",""],["ETH_P_FIP",""],["ETH_P_HDLC",""],["ETH_P_IEEE802154",""],["ETH_P_IEEEPUP",""],["ETH_P_IEEEPUPAT",""],["ETH_P_IP",""],["ETH_P_IPV6",""],["ETH_P_IPX",""],["ETH_P_IRDA",""],["ETH_P_LAT",""],["ETH_P_LINK_CTL",""],["ETH_P_LOCALTALK",""],["ETH_P_LOOP",""],["ETH_P_LOOPBACK",""],["ETH_P_MACSEC",""],["ETH_P_MOBITEX",""],["ETH_P_MPLS_MC",""],["ETH_P_MPLS_UC",""],["ETH_P_MVRP",""],["ETH_P_PAE",""],["ETH_P_PAUSE",""],["ETH_P_PHONET",""],["ETH_P_PPPTALK",""],["ETH_P_PPP_DISC",""],["ETH_P_PPP_MP",""],["ETH_P_PPP_SES",""],["ETH_P_PRP",""],["ETH_P_PUP",""],["ETH_P_PUPAT",""],["ETH_P_QINQ1",""],["ETH_P_QINQ2",""],["ETH_P_QINQ3",""],["ETH_P_RARP",""],["ETH_P_SCA",""],["ETH_P_SLOW",""],["ETH_P_SNAP",""],["ETH_P_TDLS",""],["ETH_P_TEB",""],["ETH_P_TIPC",""],["ETH_P_TRAILER",""],["ETH_P_TR_802_2",""],["ETH_P_WAN_PPP",""],["ETH_P_WCCP",""],["ETH_P_X25",""],["ETH_ZLEN",""],["ETIME",""],["ETIMEDOUT",""],["ETOOMANYREFS",""],["ETXTBSY",""],["ET_CORE",""],["ET_DYN",""],["ET_EXEC",""],["ET_HIOS",""],["ET_HIPROC",""],["ET_LOOS",""],["ET_LOPROC",""],["ET_NONE",""],["ET_NUM",""],["ET_REL",""],["EUCLEAN",""],["EUNATCH",""],["EUSERS",""],["EV_CNT",""],["EV_CURRENT",""],["EV_MAX",""],["EV_NONE",""],["EV_NUM",""],["EWOULDBLOCK",""],["EXDEV",""],["EXFULL",""],["EXIT_FAILURE",""],["EXIT_SUCCESS",""],["EXT2_SUPER_MAGIC",""],["EXT3_SUPER_MAGIC",""],["EXT4_SUPER_MAGIC",""],["EXTA",""],["EXTB",""],["EXTPROC",""],["F2FS_SUPER_MAGIC",""],["FALLOC_FL_COLLAPSE_RANGE",""],["FALLOC_FL_INSERT_RANGE",""],["FALLOC_FL_KEEP_SIZE",""],["FALLOC_FL_PUNCH_HOLE",""],["FALLOC_FL_UNSHARE_RANGE",""],["FALLOC_FL_ZERO_RANGE",""],["FANOTIFY_METADATA_VERSION",""],["FAN_ACCESS",""],["FAN_ACCESS_PERM",""],["FAN_ALLOW",""],["FAN_CLASS_CONTENT",""],["FAN_CLASS_NOTIF",""],["FAN_CLASS_PRE_CONTENT",""],["FAN_CLOEXEC",""],["FAN_CLOSE",""],["FAN_CLOSE_NOWRITE",""],["FAN_CLOSE_WRITE",""],["FAN_DENY",""],["FAN_EVENT_ON_CHILD",""],["FAN_MARK_ADD",""],["FAN_MARK_DONT_FOLLOW",""],["FAN_MARK_FILESYSTEM",""],["FAN_MARK_FLUSH",""],["FAN_MARK_IGNORED_MASK",""],["FAN_MARK_IGNORED_SURV_MODIFY",""],["FAN_MARK_INODE",""],["FAN_MARK_MOUNT",""],["FAN_MARK_ONLYDIR",""],["FAN_MARK_REMOVE",""],["FAN_MODIFY",""],["FAN_NOFD",""],["FAN_NONBLOCK",""],["FAN_ONDIR",""],["FAN_OPEN",""],["FAN_OPEN_PERM",""],["FAN_Q_OVERFLOW",""],["FAN_UNLIMITED_MARKS",""],["FAN_UNLIMITED_QUEUE",""],["FDPIC_FUNCPTRS",""],["FD_CLOEXEC",""],["FD_SETSIZE",""],["FF0",""],["FF1",""],["FFDLY",""],["FF_CNT",""],["FF_MAX",""],["FICLONE",""],["FICLONERANGE",""],["FILENAME_MAX",""],["FIOASYNC",""],["FIOCLEX",""],["FIONBIO",""],["FIONCLEX",""],["FIONREAD",""],["FIOQSIZE",""],["FLUSHO",""],["FOPEN_MAX",""],["FS",""],["FS_BASE",""],["FUSE_SUPER_MAGIC",""],["FUTEXFS_SUPER_MAGIC",""],["FUTEX_CLOCK_REALTIME",""],["FUTEX_CMD_MASK",""],["FUTEX_CMP_REQUEUE",""],["FUTEX_CMP_REQUEUE_PI",""],["FUTEX_FD",""],["FUTEX_LOCK_PI",""],["FUTEX_LOCK_PI2",""],["FUTEX_PRIVATE_FLAG",""],["FUTEX_REQUEUE",""],["FUTEX_TRYLOCK_PI",""],["FUTEX_UNLOCK_PI",""],["FUTEX_WAIT",""],["FUTEX_WAIT_BITSET",""],["FUTEX_WAIT_REQUEUE_PI",""],["FUTEX_WAKE",""],["FUTEX_WAKE_BITSET",""],["FUTEX_WAKE_OP",""],["F_ADD_SEALS",""],["F_CANCELLK",""],["F_DUPFD",""],["F_DUPFD_CLOEXEC",""],["F_GETFD",""],["F_GETFL",""],["F_GETLEASE",""],["F_GETLK",""],["F_GETOWN",""],["F_GETPIPE_SZ",""],["F_GET_SEALS",""],["F_LOCK",""],["F_NOTIFY",""],["F_OFD_GETLK",""],["F_OFD_SETLK",""],["F_OFD_SETLKW",""],["F_OK",""],["F_RDLCK",""],["F_SEAL_FUTURE_WRITE",""],["F_SEAL_GROW",""],["F_SEAL_SEAL",""],["F_SEAL_SHRINK",""],["F_SEAL_WRITE",""],["F_SETFD",""],["F_SETFL",""],["F_SETLEASE",""],["F_SETLK",""],["F_SETLKW",""],["F_SETOWN",""],["F_SETPIPE_SZ",""],["F_TEST",""],["F_TLOCK",""],["F_ULOCK",""],["F_UNLCK",""],["F_WRLCK",""],["GENL_ADMIN_PERM",""],["GENL_CMD_CAP_DO",""],["GENL_CMD_CAP_DUMP",""],["GENL_CMD_CAP_HASPOL",""],["GENL_ID_CTRL",""],["GENL_ID_PMCRAID",""],["GENL_ID_VFS_DQUOT",""],["GENL_MAX_ID",""],["GENL_MIN_ID",""],["GENL_NAMSIZ",""],["GENL_UNS_ADMIN_PERM",""],["GLOB_ABORTED",""],["GLOB_APPEND",""],["GLOB_DOOFFS",""],["GLOB_ERR",""],["GLOB_MARK",""],["GLOB_NOCHECK",""],["GLOB_NOESCAPE",""],["GLOB_NOMATCH",""],["GLOB_NOSORT",""],["GLOB_NOSPACE",""],["GRND_INSECURE",""],["GRND_NONBLOCK",""],["GRND_RANDOM",""],["GRPQUOTA",""],["GS",""],["GS_BASE",""],["HOSTFS_SUPER_MAGIC",""],["HPFS_SUPER_MAGIC",""],["HUGETLBFS_MAGIC",""],["HUGETLB_FLAG_ENCODE_16GB",""],["HUGETLB_FLAG_ENCODE_16MB",""],["HUGETLB_FLAG_ENCODE_1GB",""],["HUGETLB_FLAG_ENCODE_1MB",""],["HUGETLB_FLAG_ENCODE_256MB",""],["HUGETLB_FLAG_ENCODE_2GB",""],["HUGETLB_FLAG_ENCODE_2MB",""],["HUGETLB_FLAG_ENCODE_32MB",""],["HUGETLB_FLAG_ENCODE_512KB",""],["HUGETLB_FLAG_ENCODE_512MB",""],["HUGETLB_FLAG_ENCODE_64KB",""],["HUGETLB_FLAG_ENCODE_8MB",""],["HUGETLB_FLAG_ENCODE_MASK",""],["HUGETLB_FLAG_ENCODE_SHIFT",""],["HUPCL",""],["IBSHIFT",""],["ICANON",""],["ICRNL",""],["IEXTEN",""],["IFA_ADDRESS",""],["IFA_ANYCAST",""],["IFA_BROADCAST",""],["IFA_CACHEINFO",""],["IFA_FLAGS",""],["IFA_F_DADFAILED",""],["IFA_F_DEPRECATED",""],["IFA_F_HOMEADDRESS",""],["IFA_F_MANAGETEMPADDR",""],["IFA_F_MCAUTOJOIN",""],["IFA_F_NODAD",""],["IFA_F_NOPREFIXROUTE",""],["IFA_F_OPTIMISTIC",""],["IFA_F_PERMANENT",""],["IFA_F_SECONDARY",""],["IFA_F_STABLE_PRIVACY",""],["IFA_F_TEMPORARY",""],["IFA_F_TENTATIVE",""],["IFA_LABEL",""],["IFA_LOCAL",""],["IFA_MULTICAST",""],["IFA_UNSPEC",""],["IFF_ALLMULTI",""],["IFF_ATTACH_QUEUE",""],["IFF_AUTOMEDIA",""],["IFF_BROADCAST",""],["IFF_DEBUG",""],["IFF_DETACH_QUEUE",""],["IFF_DORMANT",""],["IFF_DYNAMIC",""],["IFF_ECHO",""],["IFF_LOOPBACK",""],["IFF_LOWER_UP",""],["IFF_MASTER",""],["IFF_MULTICAST",""],["IFF_MULTI_QUEUE",""],["IFF_NOARP",""],["IFF_NOFILTER",""],["IFF_NOTRAILERS",""],["IFF_NO_PI",""],["IFF_ONE_QUEUE",""],["IFF_PERSIST",""],["IFF_POINTOPOINT",""],["IFF_PORTSEL",""],["IFF_PROMISC",""],["IFF_RUNNING",""],["IFF_SLAVE",""],["IFF_TAP",""],["IFF_TUN",""],["IFF_TUN_EXCL",""],["IFF_UP",""],["IFF_VNET_HDR",""],["IFLA_ADDRESS",""],["IFLA_AF_SPEC",""],["IFLA_ALT_IFNAME",""],["IFLA_BROADCAST",""],["IFLA_CARRIER",""],["IFLA_CARRIER_CHANGES",""],["IFLA_CARRIER_DOWN_COUNT",""],["IFLA_CARRIER_UP_COUNT",""],["IFLA_COST",""],["IFLA_EVENT",""],["IFLA_EXT_MASK",""],["IFLA_GROUP",""],["IFLA_GSO_MAX_SEGS",""],["IFLA_GSO_MAX_SIZE",""],["IFLA_IFALIAS",""],["IFLA_IFNAME",""],["IFLA_IF_NETNSID",""],["IFLA_INFO_DATA",""],["IFLA_INFO_KIND",""],["IFLA_INFO_SLAVE_DATA",""],["IFLA_INFO_SLAVE_KIND",""],["IFLA_INFO_UNSPEC",""],["IFLA_INFO_XSTATS",""],["IFLA_LINK",""],["IFLA_LINKINFO",""],["IFLA_LINKMODE",""],["IFLA_LINK_NETNSID",""],["IFLA_MAP",""],["IFLA_MASTER",""],["IFLA_MAX_MTU",""],["IFLA_MIN_MTU",""],["IFLA_MTU",""],["IFLA_NET_NS_FD",""],["IFLA_NET_NS_PID",""],["IFLA_NEW_IFINDEX",""],["IFLA_NEW_NETNSID",""],["IFLA_NUM_RX_QUEUES",""],["IFLA_NUM_TX_QUEUES",""],["IFLA_NUM_VF",""],["IFLA_OPERSTATE",""],["IFLA_PAD",""],["IFLA_PERM_ADDRESS",""],["IFLA_PHYS_PORT_ID",""],["IFLA_PHYS_PORT_NAME",""],["IFLA_PHYS_SWITCH_ID",""],["IFLA_PORT_SELF",""],["IFLA_PRIORITY",""],["IFLA_PROMISCUITY",""],["IFLA_PROP_LIST",""],["IFLA_PROTINFO",""],["IFLA_PROTO_DOWN",""],["IFLA_PROTO_DOWN_REASON",""],["IFLA_QDISC",""],["IFLA_STATS",""],["IFLA_STATS64",""],["IFLA_TARGET_NETNSID",""],["IFLA_TXQLEN",""],["IFLA_UNSPEC",""],["IFLA_VFINFO_LIST",""],["IFLA_VF_PORTS",""],["IFLA_WEIGHT",""],["IFLA_WIRELESS",""],["IFLA_XDP",""],["IFNAMSIZ",""],["IF_NAMESIZE",""],["IGNBRK",""],["IGNCR",""],["IGNPAR",""],["IMAXBEL",""],["INADDR_ANY",""],["INADDR_BROADCAST",""],["INADDR_LOOPBACK",""],["INADDR_NONE",""],["INIT_PROCESS",""],["INLCR",""],["INPCK",""],["INPUT_PROP_CNT",""],["INPUT_PROP_MAX",""],["INT_MAX",""],["INT_MIN",""],["IN_ACCESS",""],["IN_ALL_EVENTS",""],["IN_ATTRIB",""],["IN_CLOEXEC",""],["IN_CLOSE",""],["IN_CLOSE_NOWRITE",""],["IN_CLOSE_WRITE",""],["IN_CREATE",""],["IN_DELETE",""],["IN_DELETE_SELF",""],["IN_DONT_FOLLOW",""],["IN_EXCL_UNLINK",""],["IN_IGNORED",""],["IN_ISDIR",""],["IN_MASK_ADD",""],["IN_MASK_CREATE",""],["IN_MODIFY",""],["IN_MOVE",""],["IN_MOVED_FROM",""],["IN_MOVED_TO",""],["IN_MOVE_SELF",""],["IN_NONBLOCK",""],["IN_ONESHOT",""],["IN_ONLYDIR",""],["IN_OPEN",""],["IN_Q_OVERFLOW",""],["IN_UNMOUNT",""],["IP6T_SO_ORIGINAL_DST",""],["IPC_CREAT",""],["IPC_EXCL",""],["IPC_INFO",""],["IPC_NOWAIT",""],["IPC_PRIVATE",""],["IPC_RMID",""],["IPC_SET",""],["IPC_STAT",""],["IPDEFTTL",""],["IPOPT_CLASS_MASK",""],["IPOPT_CONTROL",""],["IPOPT_COPY",""],["IPOPT_END",""],["IPOPT_EOL",""],["IPOPT_LSRR",""],["IPOPT_MEASUREMENT",""],["IPOPT_MINOFF",""],["IPOPT_NOOP",""],["IPOPT_NOP",""],["IPOPT_NUMBER_MASK",""],["IPOPT_OFFSET",""],["IPOPT_OLEN",""],["IPOPT_OPTVAL",""],["IPOPT_RA",""],["IPOPT_RESERVED1",""],["IPOPT_RESERVED2",""],["IPOPT_RR",""],["IPOPT_SEC",""],["IPOPT_SID",""],["IPOPT_SSRR",""],["IPOPT_TIMESTAMP",""],["IPOPT_TS",""],["IPOPT_TS_PRESPEC",""],["IPOPT_TS_TSANDADDR",""],["IPOPT_TS_TSONLY",""],["IPPROTO_AH","IP6 Auth Header"],["IPPROTO_BEETPH",""],["IPPROTO_COMP","IP Payload Comp. Protocol"],["IPPROTO_DCCP","DCCP"],["IPPROTO_DSTOPTS","IP6 destination option"],["IPPROTO_EGP","exterior gateway protocol"],["IPPROTO_ENCAP","encapsulation header"],["IPPROTO_ESP","IP6 Encap Sec. Payload"],["IPPROTO_FRAGMENT","IP6 fragmentation header"],["IPPROTO_GRE","General Routing Encap."],["IPPROTO_HOPOPTS","Hop-by-hop option header"],["IPPROTO_ICMP",""],["IPPROTO_ICMPV6",""],["IPPROTO_IDP","xns idp"],["IPPROTO_IGMP","group mgmt protocol"],["IPPROTO_IP",""],["IPPROTO_IPIP","for compatibility"],["IPPROTO_IPV6",""],["IPPROTO_MAX",""],["IPPROTO_MH",""],["IPPROTO_MPLS",""],["IPPROTO_MPTCP","Multipath TCP"],["IPPROTO_MTP",""],["IPPROTO_NONE","IP6 no next header"],["IPPROTO_PIM","Protocol indep. multicast"],["IPPROTO_PUP","pup"],["IPPROTO_RAW","raw IP packet"],["IPPROTO_ROUTING","IP6 routing header"],["IPPROTO_RSVP","resource reservation"],["IPPROTO_SCTP","SCTP"],["IPPROTO_TCP",""],["IPPROTO_TP","tp-4 w\/ class negotiation"],["IPPROTO_UDP",""],["IPPROTO_UDPLITE",""],["IPTOS_ECN_CE",""],["IPTOS_ECN_ECT0",""],["IPTOS_ECN_ECT1",""],["IPTOS_ECN_MASK",""],["IPTOS_ECN_NOT_ECT",""],["IPTOS_LOWDELAY",""],["IPTOS_MINCOST",""],["IPTOS_PREC_CRITIC_ECP",""],["IPTOS_PREC_FLASH",""],["IPTOS_PREC_FLASHOVERRIDE",""],["IPTOS_PREC_IMMEDIATE",""],["IPTOS_PREC_INTERNETCONTROL",""],["IPTOS_PREC_MASK",""],["IPTOS_PREC_NETCONTROL",""],["IPTOS_PREC_PRIORITY",""],["IPTOS_PREC_ROUTINE",""],["IPTOS_RELIABILITY",""],["IPTOS_THROUGHPUT",""],["IPTOS_TOS_MASK",""],["IPV6_2292DSTOPTS",""],["IPV6_2292HOPLIMIT",""],["IPV6_2292HOPOPTS",""],["IPV6_2292PKTINFO",""],["IPV6_2292PKTOPTIONS",""],["IPV6_2292RTHDR",""],["IPV6_ADDRFORM",""],["IPV6_ADDR_PREFERENCES",""],["IPV6_ADD_MEMBERSHIP",""],["IPV6_AUTHHDR",""],["IPV6_AUTOFLOWLABEL",""],["IPV6_CHECKSUM",""],["IPV6_DONTFRAG",""],["IPV6_DROP_MEMBERSHIP",""],["IPV6_DSTOPTS",""],["IPV6_FLOWINFO",""],["IPV6_FLOWINFO_FLOWLABEL",""],["IPV6_FLOWINFO_PRIORITY",""],["IPV6_FLOWINFO_SEND",""],["IPV6_FLOWLABEL_MGR",""],["IPV6_FREEBIND",""],["IPV6_HDRINCL",""],["IPV6_HOPLIMIT",""],["IPV6_HOPOPTS",""],["IPV6_IPSEC_POLICY",""],["IPV6_JOIN_ANYCAST",""],["IPV6_LEAVE_ANYCAST",""],["IPV6_MINHOPCOUNT",""],["IPV6_MTU",""],["IPV6_MTU_DISCOVER",""],["IPV6_MULTICAST_ALL",""],["IPV6_MULTICAST_HOPS",""],["IPV6_MULTICAST_IF",""],["IPV6_MULTICAST_LOOP",""],["IPV6_NEXTHOP",""],["IPV6_ORIGDSTADDR",""],["IPV6_PATHMTU",""],["IPV6_PKTINFO",""],["IPV6_PMTUDISC_DO",""],["IPV6_PMTUDISC_DONT",""],["IPV6_PMTUDISC_INTERFACE",""],["IPV6_PMTUDISC_OMIT",""],["IPV6_PMTUDISC_PROBE",""],["IPV6_PMTUDISC_WANT",""],["IPV6_PREFER_SRC_CGA",""],["IPV6_PREFER_SRC_COA",""],["IPV6_PREFER_SRC_HOME",""],["IPV6_PREFER_SRC_NONCGA",""],["IPV6_PREFER_SRC_PUBLIC",""],["IPV6_PREFER_SRC_PUBTMP_DEFAULT",""],["IPV6_PREFER_SRC_TMP",""],["IPV6_RECVDSTOPTS",""],["IPV6_RECVERR",""],["IPV6_RECVFRAGSIZE",""],["IPV6_RECVHOPLIMIT",""],["IPV6_RECVHOPOPTS",""],["IPV6_RECVORIGDSTADDR",""],["IPV6_RECVPATHMTU",""],["IPV6_RECVPKTINFO",""],["IPV6_RECVRTHDR",""],["IPV6_RECVTCLASS",""],["IPV6_ROUTER_ALERT",""],["IPV6_ROUTER_ALERT_ISOLATE",""],["IPV6_RTHDR",""],["IPV6_RTHDRDSTOPTS",""],["IPV6_RTHDR_LOOSE",""],["IPV6_RTHDR_STRICT",""],["IPV6_TCLASS",""],["IPV6_TRANSPARENT",""],["IPV6_UNICAST_HOPS",""],["IPV6_UNICAST_IF",""],["IPV6_V6ONLY",""],["IPV6_XFRM_POLICY",""],["IPVERSION",""],["IP_ADD_MEMBERSHIP",""],["IP_ADD_SOURCE_MEMBERSHIP",""],["IP_BIND_ADDRESS_NO_PORT",""],["IP_BLOCK_SOURCE",""],["IP_CHECKSUM",""],["IP_DEFAULT_MULTICAST_LOOP",""],["IP_DEFAULT_MULTICAST_TTL",""],["IP_DROP_MEMBERSHIP",""],["IP_DROP_SOURCE_MEMBERSHIP",""],["IP_FREEBIND",""],["IP_HDRINCL",""],["IP_IPSEC_POLICY",""],["IP_MINTTL",""],["IP_MSFILTER",""],["IP_MTU",""],["IP_MTU_DISCOVER",""],["IP_MULTICAST_ALL",""],["IP_MULTICAST_IF",""],["IP_MULTICAST_LOOP",""],["IP_MULTICAST_TTL",""],["IP_NODEFRAG",""],["IP_OPTIONS",""],["IP_ORIGDSTADDR",""],["IP_PASSSEC",""],["IP_PKTINFO",""],["IP_PKTOPTIONS",""],["IP_PMTUDISC_DO",""],["IP_PMTUDISC_DONT",""],["IP_PMTUDISC_INTERFACE",""],["IP_PMTUDISC_OMIT",""],["IP_PMTUDISC_PROBE",""],["IP_PMTUDISC_WANT",""],["IP_RECVERR",""],["IP_RECVFRAGSIZE",""],["IP_RECVOPTS",""],["IP_RECVORIGDSTADDR",""],["IP_RECVTOS",""],["IP_RECVTTL",""],["IP_RETOPTS",""],["IP_ROUTER_ALERT",""],["IP_TOS",""],["IP_TRANSPARENT",""],["IP_TTL",""],["IP_UNBLOCK_SOURCE",""],["IP_UNICAST_IF",""],["IP_XFRM_POLICY",""],["ISIG",""],["ISOFS_SUPER_MAGIC",""],["ISTRIP",""],["ITIMER_PROF",""],["ITIMER_REAL",""],["ITIMER_VIRTUAL",""],["IUTF8",""],["IXANY",""],["IXOFF",""],["IXON",""],["J1939_EE_INFO_NONE",""],["J1939_EE_INFO_RX_ABORT",""],["J1939_EE_INFO_RX_DPO",""],["J1939_EE_INFO_RX_RTS",""],["J1939_EE_INFO_TX_ABORT",""],["J1939_FILTER_MAX",""],["J1939_IDLE_ADDR",""],["J1939_MAX_UNICAST_ADDR",""],["J1939_NLA_BYTES_ACKED",""],["J1939_NLA_DEST_ADDR",""],["J1939_NLA_DEST_NAME",""],["J1939_NLA_PAD",""],["J1939_NLA_PGN",""],["J1939_NLA_SRC_ADDR",""],["J1939_NLA_SRC_NAME",""],["J1939_NLA_TOTAL_SIZE",""],["J1939_NO_ADDR",""],["J1939_NO_NAME",""],["J1939_NO_PGN",""],["J1939_PGN_ADDRESS_CLAIMED",""],["J1939_PGN_ADDRESS_COMMANDED",""],["J1939_PGN_MAX",""],["J1939_PGN_PDU1_MAX",""],["J1939_PGN_REQUEST",""],["JFFS2_SUPER_MAGIC",""],["KEYCTL_ASSUME_AUTHORITY",""],["KEYCTL_CAPABILITIES",""],["KEYCTL_CAPS0_BIG_KEY",""],["KEYCTL_CAPS0_CAPABILITIES",""],["KEYCTL_CAPS0_DIFFIE_HELLMAN",""],["KEYCTL_CAPS0_INVALIDATE",""],["KEYCTL_CAPS0_MOVE",""],["KEYCTL_CAPS0_PERSISTENT_KEYRINGS",""],["KEYCTL_CAPS0_PUBLIC_KEY",""],["KEYCTL_CAPS0_RESTRICT_KEYRING",""],["KEYCTL_CAPS1_NS_KEYRING_NAME",""],["KEYCTL_CAPS1_NS_KEY_TAG",""],["KEYCTL_CHOWN",""],["KEYCTL_CLEAR",""],["KEYCTL_DESCRIBE",""],["KEYCTL_DH_COMPUTE",""],["KEYCTL_GET_KEYRING_ID",""],["KEYCTL_GET_PERSISTENT",""],["KEYCTL_GET_SECURITY",""],["KEYCTL_INSTANTIATE",""],["KEYCTL_INSTANTIATE_IOV",""],["KEYCTL_INVALIDATE",""],["KEYCTL_JOIN_SESSION_KEYRING",""],["KEYCTL_LINK",""],["KEYCTL_MOVE",""],["KEYCTL_NEGATE",""],["KEYCTL_PKEY_DECRYPT",""],["KEYCTL_PKEY_ENCRYPT",""],["KEYCTL_PKEY_QUERY",""],["KEYCTL_PKEY_SIGN",""],["KEYCTL_PKEY_VERIFY",""],["KEYCTL_READ",""],["KEYCTL_REJECT",""],["KEYCTL_RESTRICT_KEYRING",""],["KEYCTL_REVOKE",""],["KEYCTL_SEARCH",""],["KEYCTL_SESSION_TO_PARENT",""],["KEYCTL_SETPERM",""],["KEYCTL_SET_REQKEY_KEYRING",""],["KEYCTL_SET_TIMEOUT",""],["KEYCTL_SUPPORTS_DECRYPT",""],["KEYCTL_SUPPORTS_ENCRYPT",""],["KEYCTL_SUPPORTS_SIGN",""],["KEYCTL_SUPPORTS_VERIFY",""],["KEYCTL_UNLINK",""],["KEYCTL_UPDATE",""],["KEY_CNT",""],["KEY_MAX",""],["KEY_REQKEY_DEFL_DEFAULT",""],["KEY_REQKEY_DEFL_GROUP_KEYRING",""],["KEY_REQKEY_DEFL_NO_CHANGE",""],["KEY_REQKEY_DEFL_PROCESS_KEYRING",""],["KEY_REQKEY_DEFL_REQUESTOR_KEYRING",""],["KEY_REQKEY_DEFL_SESSION_KEYRING",""],["KEY_REQKEY_DEFL_THREAD_KEYRING",""],["KEY_REQKEY_DEFL_USER_KEYRING",""],["KEY_REQKEY_DEFL_USER_SESSION_KEYRING",""],["KEY_SPEC_GROUP_KEYRING",""],["KEY_SPEC_PROCESS_KEYRING",""],["KEY_SPEC_REQKEY_AUTH_KEY",""],["KEY_SPEC_REQUESTOR_KEYRING",""],["KEY_SPEC_SESSION_KEYRING",""],["KEY_SPEC_THREAD_KEYRING",""],["KEY_SPEC_USER_KEYRING",""],["KEY_SPEC_USER_SESSION_KEYRING",""],["LC_ADDRESS",""],["LC_ADDRESS_MASK",""],["LC_ALL",""],["LC_ALL_MASK",""],["LC_COLLATE",""],["LC_COLLATE_MASK",""],["LC_CTYPE",""],["LC_CTYPE_MASK",""],["LC_IDENTIFICATION",""],["LC_IDENTIFICATION_MASK",""],["LC_MEASUREMENT",""],["LC_MEASUREMENT_MASK",""],["LC_MESSAGES",""],["LC_MESSAGES_MASK",""],["LC_MONETARY",""],["LC_MONETARY_MASK",""],["LC_NAME",""],["LC_NAME_MASK",""],["LC_NUMERIC",""],["LC_NUMERIC_MASK",""],["LC_PAPER",""],["LC_PAPER_MASK",""],["LC_TELEPHONE",""],["LC_TELEPHONE_MASK",""],["LC_TIME",""],["LC_TIME_MASK",""],["LED_CNT",""],["LED_MAX",""],["LINUX_REBOOT_CMD_CAD_OFF",""],["LINUX_REBOOT_CMD_CAD_ON",""],["LINUX_REBOOT_CMD_HALT",""],["LINUX_REBOOT_CMD_KEXEC",""],["LINUX_REBOOT_CMD_POWER_OFF",""],["LINUX_REBOOT_CMD_RESTART",""],["LINUX_REBOOT_CMD_RESTART2",""],["LINUX_REBOOT_CMD_SW_SUSPEND",""],["LINUX_REBOOT_MAGIC1",""],["LINUX_REBOOT_MAGIC2",""],["LINUX_REBOOT_MAGIC2A",""],["LINUX_REBOOT_MAGIC2B",""],["LINUX_REBOOT_MAGIC2C",""],["LIO_NOP",""],["LIO_NOWAIT",""],["LIO_READ",""],["LIO_WAIT",""],["LIO_WRITE",""],["LM_ID_BASE",""],["LM_ID_NEWLM",""],["LOCK_EX",""],["LOCK_NB",""],["LOCK_SH",""],["LOCK_UN",""],["LOGIN_PROCESS",""],["LOG_ALERT",""],["LOG_AUTH",""],["LOG_AUTHPRIV",""],["LOG_CONS",""],["LOG_CRIT",""],["LOG_CRON",""],["LOG_DAEMON",""],["LOG_DEBUG",""],["LOG_EMERG",""],["LOG_ERR",""],["LOG_FACMASK",""],["LOG_FTP",""],["LOG_INFO",""],["LOG_KERN",""],["LOG_LOCAL0",""],["LOG_LOCAL1",""],["LOG_LOCAL2",""],["LOG_LOCAL3",""],["LOG_LOCAL4",""],["LOG_LOCAL5",""],["LOG_LOCAL6",""],["LOG_LOCAL7",""],["LOG_LPR",""],["LOG_MAIL",""],["LOG_NDELAY",""],["LOG_NEWS",""],["LOG_NFACILITIES",""],["LOG_NOTICE",""],["LOG_NOWAIT",""],["LOG_ODELAY",""],["LOG_PERROR",""],["LOG_PID",""],["LOG_PRIMASK",""],["LOG_SYSLOG",""],["LOG_USER",""],["LOG_UUCP",""],["LOG_WARNING",""],["L_tmpnam",""],["MADV_DODUMP",""],["MADV_DOFORK",""],["MADV_DONTDUMP",""],["MADV_DONTFORK",""],["MADV_DONTNEED",""],["MADV_FREE",""],["MADV_HUGEPAGE",""],["MADV_HWPOISON",""],["MADV_MERGEABLE",""],["MADV_NOHUGEPAGE",""],["MADV_NORMAL",""],["MADV_RANDOM",""],["MADV_REMOVE",""],["MADV_SEQUENTIAL",""],["MADV_SOFT_OFFLINE",""],["MADV_UNMERGEABLE",""],["MADV_WILLNEED",""],["MAP_32BIT",""],["MAP_ANON",""],["MAP_ANONYMOUS",""],["MAP_DENYWRITE",""],["MAP_EXECUTABLE",""],["MAP_FAILED",""],["MAP_FILE",""],["MAP_FIXED",""],["MAP_FIXED_NOREPLACE",""],["MAP_GROWSDOWN",""],["MAP_HUGETLB",""],["MAP_HUGE_16GB",""],["MAP_HUGE_16MB",""],["MAP_HUGE_1GB",""],["MAP_HUGE_1MB",""],["MAP_HUGE_256MB",""],["MAP_HUGE_2GB",""],["MAP_HUGE_2MB",""],["MAP_HUGE_32MB",""],["MAP_HUGE_512KB",""],["MAP_HUGE_512MB",""],["MAP_HUGE_64KB",""],["MAP_HUGE_8MB",""],["MAP_HUGE_MASK",""],["MAP_HUGE_SHIFT",""],["MAP_LOCKED",""],["MAP_NONBLOCK",""],["MAP_NORESERVE",""],["MAP_POPULATE",""],["MAP_PRIVATE",""],["MAP_SHARED",""],["MAP_SHARED_VALIDATE",""],["MAP_STACK",""],["MAP_SYNC",""],["MAP_TYPE",""],["MAXTC",""],["MAXTTL",""],["MAX_ADDR_LEN",""],["MAX_IPOPTLEN",""],["MAX_LINKS",""],["MCAST_BLOCK_SOURCE",""],["MCAST_EXCLUDE",""],["MCAST_INCLUDE",""],["MCAST_JOIN_GROUP",""],["MCAST_JOIN_SOURCE_GROUP",""],["MCAST_LEAVE_GROUP",""],["MCAST_LEAVE_SOURCE_GROUP",""],["MCAST_MSFILTER",""],["MCAST_UNBLOCK_SOURCE",""],["MCL_CURRENT",""],["MCL_FUTURE",""],["MFD_ALLOW_SEALING",""],["MFD_CLOEXEC",""],["MFD_HUGETLB",""],["MFD_HUGE_16GB",""],["MFD_HUGE_16MB",""],["MFD_HUGE_1GB",""],["MFD_HUGE_1MB",""],["MFD_HUGE_256MB",""],["MFD_HUGE_2GB",""],["MFD_HUGE_2MB",""],["MFD_HUGE_32MB",""],["MFD_HUGE_512KB",""],["MFD_HUGE_512MB",""],["MFD_HUGE_64KB",""],["MFD_HUGE_8MB",""],["MFD_HUGE_MASK",""],["MFD_HUGE_SHIFT",""],["MINIX2_SUPER_MAGIC",""],["MINIX2_SUPER_MAGIC2",""],["MINIX3_SUPER_MAGIC",""],["MINIX_SUPER_MAGIC",""],["MINIX_SUPER_MAGIC2",""],["MINSIGSTKSZ",""],["MLOCK_ONFAULT",""],["MMAP_PAGE_ZERO",""],["MNT_DETACH",""],["MNT_EXPIRE",""],["MNT_FORCE",""],["MODULE_INIT_IGNORE_MODVERSIONS",""],["MODULE_INIT_IGNORE_VERMAGIC",""],["MOD_CLKA",""],["MOD_CLKB",""],["MOD_ESTERROR",""],["MOD_FREQUENCY",""],["MOD_MAXERROR",""],["MOD_MICRO",""],["MOD_NANO",""],["MOD_OFFSET",""],["MOD_STATUS",""],["MOD_TAI",""],["MOD_TIMECONST",""],["MON_1",""],["MON_10",""],["MON_11",""],["MON_12",""],["MON_2",""],["MON_3",""],["MON_4",""],["MON_5",""],["MON_6",""],["MON_7",""],["MON_8",""],["MON_9",""],["MPOL_BIND",""],["MPOL_DEFAULT",""],["MPOL_F_NUMA_BALANCING",""],["MPOL_F_RELATIVE_NODES",""],["MPOL_F_STATIC_NODES",""],["MPOL_INTERLEAVE",""],["MPOL_LOCAL",""],["MPOL_PREFERRED",""],["MREMAP_DONTUNMAP",""],["MREMAP_FIXED",""],["MREMAP_MAYMOVE",""],["MSC_CNT",""],["MSC_MAX",""],["MSDOS_SUPER_MAGIC",""],["MSG_CMSG_CLOEXEC",""],["MSG_CONFIRM",""],["MSG_COPY",""],["MSG_CTRUNC",""],["MSG_DONTROUTE",""],["MSG_DONTWAIT",""],["MSG_EOR",""],["MSG_ERRQUEUE",""],["MSG_EXCEPT",""],["MSG_FASTOPEN",""],["MSG_FIN",""],["MSG_INFO",""],["MSG_MORE",""],["MSG_NOERROR",""],["MSG_NOSIGNAL",""],["MSG_OOB",""],["MSG_PEEK",""],["MSG_RST",""],["MSG_STAT",""],["MSG_SYN",""],["MSG_TRUNC",""],["MSG_TRYHARD",""],["MSG_WAITALL",""],["MSG_WAITFORONE",""],["MSG_ZEROCOPY",""],["MS_ACTIVE",""],["MS_ASYNC",""],["MS_BIND",""],["MS_DIRSYNC",""],["MS_INVALIDATE",""],["MS_I_VERSION",""],["MS_KERNMOUNT",""],["MS_LAZYTIME",""],["MS_MANDLOCK",""],["MS_MGC_MSK",""],["MS_MGC_VAL",""],["MS_MOVE",""],["MS_NOATIME",""],["MS_NODEV",""],["MS_NODIRATIME",""],["MS_NOEXEC",""],["MS_NOSUID",""],["MS_NOUSER",""],["MS_POSIXACL",""],["MS_PRIVATE",""],["MS_RDONLY",""],["MS_REC",""],["MS_RELATIME",""],["MS_REMOUNT",""],["MS_RMT_MASK",""],["MS_SHARED",""],["MS_SILENT",""],["MS_SLAVE",""],["MS_STRICTATIME",""],["MS_SYNC",""],["MS_SYNCHRONOUS",""],["MS_UNBINDABLE",""],["M_ARENA_MAX",""],["M_ARENA_TEST",""],["M_CHECK_ACTION",""],["M_GRAIN",""],["M_KEEP",""],["M_MMAP_MAX",""],["M_MMAP_THRESHOLD",""],["M_MXFAST",""],["M_NLBLKS",""],["M_PERTURB",""],["M_TOP_PAD",""],["M_TRIM_THRESHOLD",""],["NCCS",""],["NCP_SUPER_MAGIC",""],["NDA_CACHEINFO",""],["NDA_DST",""],["NDA_IFINDEX",""],["NDA_LINK_NETNSID",""],["NDA_LLADDR",""],["NDA_MASTER",""],["NDA_PORT",""],["NDA_PROBES",""],["NDA_SRC_VNI",""],["NDA_UNSPEC",""],["NDA_VLAN",""],["NDA_VNI",""],["NETLINK_ADD_MEMBERSHIP",""],["NETLINK_AUDIT",""],["NETLINK_BROADCAST_ERROR",""],["NETLINK_CAP_ACK",""],["NETLINK_CONNECTOR",""],["NETLINK_CRYPTO",""],["NETLINK_DNRTMSG",""],["NETLINK_DROP_MEMBERSHIP",""],["NETLINK_ECRYPTFS",""],["NETLINK_EXT_ACK",""],["NETLINK_FIB_LOOKUP",""],["NETLINK_FIREWALL",""],["NETLINK_GENERIC",""],["NETLINK_GET_STRICT_CHK",""],["NETLINK_INET_DIAG",""],["NETLINK_IP6_FW",""],["NETLINK_ISCSI",""],["NETLINK_KOBJECT_UEVENT",""],["NETLINK_LISTEN_ALL_NSID",""],["NETLINK_LIST_MEMBERSHIPS",""],["NETLINK_NETFILTER",""],["NETLINK_NFLOG",""],["NETLINK_NO_ENOBUFS",""],["NETLINK_PKTINFO",""],["NETLINK_RDMA",""],["NETLINK_ROUTE",""],["NETLINK_RX_RING",""],["NETLINK_SCSITRANSPORT",""],["NETLINK_SELINUX",""],["NETLINK_SOCK_DIAG",""],["NETLINK_TX_RING",""],["NETLINK_UNUSED",""],["NETLINK_USERSOCK",""],["NETLINK_XFRM",""],["NEW_TIME",""],["NFNETLINK_V0",""],["NFNLGRP_ACCT_QUOTA",""],["NFNLGRP_CONNTRACK_DESTROY",""],["NFNLGRP_CONNTRACK_EXP_DESTROY",""],["NFNLGRP_CONNTRACK_EXP_NEW",""],["NFNLGRP_CONNTRACK_EXP_UPDATE",""],["NFNLGRP_CONNTRACK_NEW",""],["NFNLGRP_CONNTRACK_UPDATE",""],["NFNLGRP_NFTABLES",""],["NFNLGRP_NFTRACE",""],["NFNLGRP_NONE",""],["NFNL_BATCH_GENID",""],["NFNL_BATCH_UNSPEC",""],["NFNL_MSG_BATCH_BEGIN",""],["NFNL_MSG_BATCH_END",""],["NFNL_SUBSYS_ACCT",""],["NFNL_SUBSYS_COUNT",""],["NFNL_SUBSYS_CTHELPER",""],["NFNL_SUBSYS_CTNETLINK",""],["NFNL_SUBSYS_CTNETLINK_EXP",""],["NFNL_SUBSYS_CTNETLINK_TIMEOUT",""],["NFNL_SUBSYS_HOOK",""],["NFNL_SUBSYS_IPSET",""],["NFNL_SUBSYS_NFTABLES",""],["NFNL_SUBSYS_NFT_COMPAT",""],["NFNL_SUBSYS_NONE",""],["NFNL_SUBSYS_OSF",""],["NFNL_SUBSYS_QUEUE",""],["NFNL_SUBSYS_ULOG",""],["NFPROTO_ARP",""],["NFPROTO_BRIDGE",""],["NFPROTO_DECNET",""],["NFPROTO_INET",""],["NFPROTO_IPV4",""],["NFPROTO_IPV6",""],["NFPROTO_NETDEV",""],["NFPROTO_NUMPROTO",""],["NFPROTO_UNSPEC",""],["NFQA_CAP_LEN",""],["NFQA_CFG_CMD",""],["NFQA_CFG_FLAGS",""],["NFQA_CFG_F_CONNTRACK",""],["NFQA_CFG_F_FAIL_OPEN",""],["NFQA_CFG_F_GSO",""],["NFQA_CFG_F_MAX",""],["NFQA_CFG_F_SECCTX",""],["NFQA_CFG_F_UID_GID",""],["NFQA_CFG_MASK",""],["NFQA_CFG_PARAMS",""],["NFQA_CFG_QUEUE_MAXLEN",""],["NFQA_CFG_UNSPEC",""],["NFQA_CT",""],["NFQA_CT_INFO",""],["NFQA_EXP",""],["NFQA_GID",""],["NFQA_HWADDR",""],["NFQA_IFINDEX_INDEV",""],["NFQA_IFINDEX_OUTDEV",""],["NFQA_IFINDEX_PHYSINDEV",""],["NFQA_IFINDEX_PHYSOUTDEV",""],["NFQA_L2HDR",""],["NFQA_MARK",""],["NFQA_PACKET_HDR",""],["NFQA_PAYLOAD",""],["NFQA_PRIORITY",""],["NFQA_SECCTX",""],["NFQA_SKB_CSUMNOTREADY",""],["NFQA_SKB_CSUM_NOTVERIFIED",""],["NFQA_SKB_GSO",""],["NFQA_SKB_INFO",""],["NFQA_TIMESTAMP",""],["NFQA_UID",""],["NFQA_UNSPEC",""],["NFQA_VERDICT_HDR",""],["NFQA_VLAN",""],["NFQA_VLAN_PROTO",""],["NFQA_VLAN_TCI",""],["NFQA_VLAN_UNSPEC",""],["NFQNL_CFG_CMD_BIND",""],["NFQNL_CFG_CMD_NONE",""],["NFQNL_CFG_CMD_PF_BIND",""],["NFQNL_CFG_CMD_PF_UNBIND",""],["NFQNL_CFG_CMD_UNBIND",""],["NFQNL_COPY_META",""],["NFQNL_COPY_NONE",""],["NFQNL_COPY_PACKET",""],["NFQNL_MSG_CONFIG",""],["NFQNL_MSG_PACKET",""],["NFQNL_MSG_VERDICT",""],["NFQNL_MSG_VERDICT_BATCH",""],["NFS_SUPER_MAGIC",""],["NFT_BREAK",""],["NFT_BYTEORDER_HTON",""],["NFT_BYTEORDER_NTOH",""],["NFT_CHAIN_MAXNAMELEN",""],["NFT_CMP_EQ",""],["NFT_CMP_GT",""],["NFT_CMP_GTE",""],["NFT_CMP_LT",""],["NFT_CMP_LTE",""],["NFT_CMP_NEQ",""],["NFT_CONTINUE",""],["NFT_CT_BYTES",""],["NFT_CT_DIRECTION",""],["NFT_CT_DST",""],["NFT_CT_EXPIRATION",""],["NFT_CT_HELPER",""],["NFT_CT_L3PROTOCOL",""],["NFT_CT_LABELS",""],["NFT_CT_MARK",""],["NFT_CT_PKTS",""],["NFT_CT_PROTOCOL",""],["NFT_CT_PROTO_DST",""],["NFT_CT_PROTO_SRC",""],["NFT_CT_SECMARK",""],["NFT_CT_SRC",""],["NFT_CT_STATE",""],["NFT_CT_STATUS",""],["NFT_DATA_RESERVED_MASK",""],["NFT_DATA_VALUE",""],["NFT_DATA_VALUE_MAXLEN",""],["NFT_DATA_VERDICT",""],["NFT_DYNSET_F_INV",""],["NFT_DYNSET_OP_ADD",""],["NFT_DYNSET_OP_UPDATE",""],["NFT_GOTO",""],["NFT_JUMP",""],["NFT_LIMIT_F_INV",""],["NFT_LIMIT_PKTS",""],["NFT_LIMIT_PKT_BYTES",""],["NFT_LOOKUP_F_INV",""],["NFT_META_BRI_IIFNAME",""],["NFT_META_BRI_OIFNAME",""],["NFT_META_CGROUP",""],["NFT_META_CPU",""],["NFT_META_IIF",""],["NFT_META_IIFGROUP",""],["NFT_META_IIFNAME",""],["NFT_META_IIFTYPE",""],["NFT_META_L4PROTO",""],["NFT_META_LEN",""],["NFT_META_MARK",""],["NFT_META_NFPROTO",""],["NFT_META_NFTRACE",""],["NFT_META_OIF",""],["NFT_META_OIFGROUP",""],["NFT_META_OIFNAME",""],["NFT_META_OIFTYPE",""],["NFT_META_PKTTYPE",""],["NFT_META_PRANDOM",""],["NFT_META_PRIORITY",""],["NFT_META_PROTOCOL",""],["NFT_META_RTCLASSID",""],["NFT_META_SECMARK",""],["NFT_META_SKGID",""],["NFT_META_SKUID",""],["NFT_MSG_DELCHAIN",""],["NFT_MSG_DELOBJ",""],["NFT_MSG_DELRULE",""],["NFT_MSG_DELSET",""],["NFT_MSG_DELSETELEM",""],["NFT_MSG_DELTABLE",""],["NFT_MSG_GETCHAIN",""],["NFT_MSG_GETGEN",""],["NFT_MSG_GETOBJ",""],["NFT_MSG_GETOBJ_RESET",""],["NFT_MSG_GETRULE",""],["NFT_MSG_GETSET",""],["NFT_MSG_GETSETELEM",""],["NFT_MSG_GETTABLE",""],["NFT_MSG_MAX",""],["NFT_MSG_NEWCHAIN",""],["NFT_MSG_NEWGEN",""],["NFT_MSG_NEWOBJ",""],["NFT_MSG_NEWRULE",""],["NFT_MSG_NEWSET",""],["NFT_MSG_NEWSETELEM",""],["NFT_MSG_NEWTABLE",""],["NFT_MSG_TRACE",""],["NFT_NAT_DNAT",""],["NFT_NAT_SNAT",""],["NFT_NG_INCREMENTAL",""],["NFT_NG_RANDOM",""],["NFT_OBJ_MAXNAMELEN",""],["NFT_PAYLOAD_CSUM_INET",""],["NFT_PAYLOAD_CSUM_NONE",""],["NFT_PAYLOAD_LL_HEADER",""],["NFT_PAYLOAD_NETWORK_HEADER",""],["NFT_PAYLOAD_TRANSPORT_HEADER",""],["NFT_QUEUE_FLAG_BYPASS",""],["NFT_QUEUE_FLAG_CPU_FANOUT",""],["NFT_QUEUE_FLAG_MASK",""],["NFT_QUOTA_F_INV",""],["NFT_RANGE_EQ",""],["NFT_RANGE_NEQ",""],["NFT_REG32_00",""],["NFT_REG32_01",""],["NFT_REG32_02",""],["NFT_REG32_03",""],["NFT_REG32_04",""],["NFT_REG32_05",""],["NFT_REG32_06",""],["NFT_REG32_07",""],["NFT_REG32_08",""],["NFT_REG32_09",""],["NFT_REG32_10",""],["NFT_REG32_11",""],["NFT_REG32_12",""],["NFT_REG32_13",""],["NFT_REG32_14",""],["NFT_REG32_15",""],["NFT_REG32_SIZE",""],["NFT_REG_1",""],["NFT_REG_2",""],["NFT_REG_3",""],["NFT_REG_4",""],["NFT_REG_SIZE",""],["NFT_REG_VERDICT",""],["NFT_REJECT_ICMPX_ADMIN_PROHIBITED",""],["NFT_REJECT_ICMPX_HOST_UNREACH",""],["NFT_REJECT_ICMPX_NO_ROUTE",""],["NFT_REJECT_ICMPX_PORT_UNREACH",""],["NFT_REJECT_ICMPX_UNREACH",""],["NFT_REJECT_ICMP_UNREACH",""],["NFT_REJECT_TCP_RST",""],["NFT_RETURN",""],["NFT_SET_ANONYMOUS",""],["NFT_SET_CONSTANT",""],["NFT_SET_ELEM_INTERVAL_END",""],["NFT_SET_EVAL",""],["NFT_SET_INTERVAL",""],["NFT_SET_MAP",""],["NFT_SET_MAXNAMELEN",""],["NFT_SET_POL_MEMORY",""],["NFT_SET_POL_PERFORMANCE",""],["NFT_SET_TIMEOUT",""],["NFT_TABLE_MAXNAMELEN",""],["NFT_TRACETYPE_POLICY",""],["NFT_TRACETYPE_RETURN",""],["NFT_TRACETYPE_RULE",""],["NFT_TRACETYPE_UNSPEC",""],["NFT_USERDATA_MAXLEN",""],["NFULA_CFG_CMD",""],["NFULA_CFG_FLAGS",""],["NFULA_CFG_MODE",""],["NFULA_CFG_NLBUFSIZ",""],["NFULA_CFG_QTHRESH",""],["NFULA_CFG_TIMEOUT",""],["NFULA_CFG_UNSPEC",""],["NFULA_CT",""],["NFULA_CT_INFO",""],["NFULA_GID",""],["NFULA_HWADDR",""],["NFULA_HWHEADER",""],["NFULA_HWLEN",""],["NFULA_HWTYPE",""],["NFULA_IFINDEX_INDEV",""],["NFULA_IFINDEX_OUTDEV",""],["NFULA_IFINDEX_PHYSINDEV",""],["NFULA_IFINDEX_PHYSOUTDEV",""],["NFULA_L2HDR",""],["NFULA_MARK",""],["NFULA_PACKET_HDR",""],["NFULA_PAYLOAD",""],["NFULA_PREFIX",""],["NFULA_SEQ",""],["NFULA_SEQ_GLOBAL",""],["NFULA_TIMESTAMP",""],["NFULA_UID",""],["NFULA_UNSPEC",""],["NFULA_VLAN",""],["NFULA_VLAN_PROTO",""],["NFULA_VLAN_TCI",""],["NFULA_VLAN_UNSPEC",""],["NFULNL_CFG_CMD_BIND",""],["NFULNL_CFG_CMD_NONE",""],["NFULNL_CFG_CMD_PF_BIND",""],["NFULNL_CFG_CMD_PF_UNBIND",""],["NFULNL_CFG_CMD_UNBIND",""],["NFULNL_CFG_F_CONNTRACK",""],["NFULNL_CFG_F_SEQ",""],["NFULNL_CFG_F_SEQ_GLOBAL",""],["NFULNL_COPY_META",""],["NFULNL_COPY_NONE",""],["NFULNL_COPY_PACKET",""],["NFULNL_MSG_CONFIG",""],["NFULNL_MSG_PACKET",""],["NF_ACCEPT",""],["NF_DROP",""],["NF_INET_FORWARD",""],["NF_INET_LOCAL_IN",""],["NF_INET_LOCAL_OUT",""],["NF_INET_NUMHOOKS",""],["NF_INET_POST_ROUTING",""],["NF_INET_PRE_ROUTING",""],["NF_IP6_FORWARD",""],["NF_IP6_LOCAL_IN",""],["NF_IP6_LOCAL_OUT",""],["NF_IP6_NUMHOOKS",""],["NF_IP6_POST_ROUTING",""],["NF_IP6_PRE_ROUTING",""],["NF_IP6_PRI_CONNTRACK",""],["NF_IP6_PRI_CONNTRACK_DEFRAG",""],["NF_IP6_PRI_CONNTRACK_HELPER",""],["NF_IP6_PRI_FILTER",""],["NF_IP6_PRI_FIRST",""],["NF_IP6_PRI_LAST",""],["NF_IP6_PRI_MANGLE",""],["NF_IP6_PRI_NAT_DST",""],["NF_IP6_PRI_NAT_SRC",""],["NF_IP6_PRI_RAW",""],["NF_IP6_PRI_SECURITY",""],["NF_IP6_PRI_SELINUX_FIRST",""],["NF_IP6_PRI_SELINUX_LAST",""],["NF_IP_FORWARD",""],["NF_IP_LOCAL_IN",""],["NF_IP_LOCAL_OUT",""],["NF_IP_NUMHOOKS",""],["NF_IP_POST_ROUTING",""],["NF_IP_PRE_ROUTING",""],["NF_IP_PRI_CONNTRACK",""],["NF_IP_PRI_CONNTRACK_CONFIRM",""],["NF_IP_PRI_CONNTRACK_DEFRAG",""],["NF_IP_PRI_CONNTRACK_HELPER",""],["NF_IP_PRI_FILTER",""],["NF_IP_PRI_FIRST",""],["NF_IP_PRI_LAST",""],["NF_IP_PRI_MANGLE",""],["NF_IP_PRI_NAT_DST",""],["NF_IP_PRI_NAT_SRC",""],["NF_IP_PRI_RAW",""],["NF_IP_PRI_SECURITY",""],["NF_IP_PRI_SELINUX_FIRST",""],["NF_IP_PRI_SELINUX_LAST",""],["NF_MAX_VERDICT",""],["NF_NETDEV_INGRESS",""],["NF_NETDEV_NUMHOOKS",""],["NF_QUEUE",""],["NF_REPEAT",""],["NF_STOLEN",""],["NF_STOP",""],["NF_VERDICT_BITS",""],["NF_VERDICT_FLAG_QUEUE_BYPASS",""],["NF_VERDICT_MASK",""],["NF_VERDICT_QBITS",""],["NF_VERDICT_QMASK",""],["NILFS_SUPER_MAGIC",""],["NI_DGRAM",""],["NI_MAXHOST",""],["NI_NAMEREQD",""],["NI_NOFQDN",""],["NI_NUMERICHOST",""],["NI_NUMERICSERV",""],["NL0",""],["NL1",""],["NLA_ALIGNTO",""],["NLA_F_NESTED",""],["NLA_F_NET_BYTEORDER",""],["NLA_TYPE_MASK",""],["NLDLY",""],["NLMSG_DONE",""],["NLMSG_ERROR",""],["NLMSG_MIN_TYPE",""],["NLMSG_NOOP",""],["NLMSG_OVERRUN",""],["NLM_F_ACK",""],["NLM_F_APPEND",""],["NLM_F_ATOMIC",""],["NLM_F_CREATE",""],["NLM_F_DUMP",""],["NLM_F_DUMP_FILTERED",""],["NLM_F_DUMP_INTR",""],["NLM_F_ECHO",""],["NLM_F_EXCL",""],["NLM_F_MATCH",""],["NLM_F_MULTI",""],["NLM_F_REPLACE",""],["NLM_F_REQUEST",""],["NLM_F_ROOT",""],["NOEXPR",""],["NOFLSH",""],["NOSTR",""],["NSFS_MAGIC",""],["NTF_EXT_LEARNED",""],["NTF_MASTER",""],["NTF_OFFLOADED",""],["NTF_PROXY",""],["NTF_ROUTER",""],["NTF_SELF",""],["NTF_USE",""],["NTP_API",""],["NT_ASRS",""],["NT_AUXV",""],["NT_FPREGSET",""],["NT_GWINDOWS",""],["NT_LWPSINFO",""],["NT_LWPSTATUS",""],["NT_PLATFORM",""],["NT_PRCRED",""],["NT_PRFPREG",""],["NT_PRFPXREG",""],["NT_PRPSINFO",""],["NT_PRSTATUS",""],["NT_PRXREG",""],["NT_PSINFO",""],["NT_PSTATUS",""],["NT_TASKSTRUCT",""],["NT_UTSNAME",""],["NUD_DELAY",""],["NUD_FAILED",""],["NUD_INCOMPLETE",""],["NUD_NOARP",""],["NUD_NONE",""],["NUD_PERMANENT",""],["NUD_PROBE",""],["NUD_REACHABLE",""],["NUD_STALE",""],["OCFS2_SUPER_MAGIC",""],["OCRNL",""],["OFDEL",""],["OFILL",""],["OLCUC",""],["OLD_TIME",""],["ONLCR",""],["ONLRET",""],["ONOCR",""],["OPENPROM_SUPER_MAGIC",""],["OPOST",""],["ORIG_RAX",""],["OVERLAYFS_SUPER_MAGIC",""],["O_ACCMODE",""],["O_APPEND",""],["O_ASYNC",""],["O_CLOEXEC",""],["O_CREAT",""],["O_DIRECT",""],["O_DIRECTORY",""],["O_DSYNC",""],["O_EXCL",""],["O_FSYNC",""],["O_LARGEFILE",""],["O_NDELAY",""],["O_NOATIME",""],["O_NOCTTY",""],["O_NOFOLLOW",""],["O_NONBLOCK",""],["O_PATH",""],["O_RDONLY",""],["O_RDWR",""],["O_RSYNC",""],["O_SYNC",""],["O_TMPFILE",""],["O_TRUNC",""],["O_WRONLY",""],["PACKET_ADD_MEMBERSHIP",""],["PACKET_DROP_MEMBERSHIP",""],["PACKET_MR_ALLMULTI",""],["PACKET_MR_MULTICAST",""],["PACKET_MR_PROMISC",""],["PACKET_MR_UNICAST",""],["PARENB",""],["PARMRK",""],["PARODD",""],["PATH_MAX",""],["PENDIN",""],["PF_ALG",""],["PF_APPLETALK",""],["PF_ASH",""],["PF_ATMPVC",""],["PF_ATMSVC",""],["PF_AX25",""],["PF_BLUETOOTH",""],["PF_BRIDGE",""],["PF_CAIF",""],["PF_CAN",""],["PF_DECnet",""],["PF_ECONET",""],["PF_IB",""],["PF_IEEE802154",""],["PF_INET",""],["PF_INET6",""],["PF_IPX",""],["PF_IRDA",""],["PF_ISDN",""],["PF_IUCV",""],["PF_KEY",""],["PF_LLC",""],["PF_LOCAL",""],["PF_MASKOS",""],["PF_MASKPROC",""],["PF_MPLS",""],["PF_NETBEUI",""],["PF_NETLINK",""],["PF_NETROM",""],["PF_NFC",""],["PF_PACKET",""],["PF_PHONET",""],["PF_PPPOX",""],["PF_R",""],["PF_RDS",""],["PF_ROSE",""],["PF_ROUTE",""],["PF_RXRPC",""],["PF_SECURITY",""],["PF_SNA",""],["PF_TIPC",""],["PF_UNIX",""],["PF_UNSPEC",""],["PF_VSOCK",""],["PF_W",""],["PF_WANPIPE",""],["PF_X",""],["PF_X25",""],["PF_XDP",""],["PIDFD_NONBLOCK",""],["PIPE_BUF",""],["PM_STR",""],["POLLERR",""],["POLLHUP",""],["POLLIN",""],["POLLNVAL",""],["POLLOUT",""],["POLLPRI",""],["POLLRDBAND",""],["POLLRDHUP",""],["POLLRDNORM",""],["POLLWRBAND",""],["POLLWRNORM",""],["POSIX_FADV_DONTNEED",""],["POSIX_FADV_NOREUSE",""],["POSIX_FADV_NORMAL",""],["POSIX_FADV_RANDOM",""],["POSIX_FADV_SEQUENTIAL",""],["POSIX_FADV_WILLNEED",""],["POSIX_MADV_DONTNEED",""],["POSIX_MADV_NORMAL",""],["POSIX_MADV_RANDOM",""],["POSIX_MADV_SEQUENTIAL",""],["POSIX_MADV_WILLNEED",""],["POSIX_SPAWN_RESETIDS",""],["POSIX_SPAWN_SETPGROUP",""],["POSIX_SPAWN_SETSCHEDPARAM",""],["POSIX_SPAWN_SETSCHEDULER",""],["POSIX_SPAWN_SETSID",""],["POSIX_SPAWN_SETSIGDEF",""],["POSIX_SPAWN_SETSIGMASK",""],["POSIX_SPAWN_USEVFORK",""],["PRIO_MAX",""],["PRIO_MIN",""],["PRIO_PGRP",""],["PRIO_PROCESS",""],["PRIO_USER",""],["PROC_SUPER_MAGIC",""],["PROT_EXEC",""],["PROT_GROWSDOWN",""],["PROT_GROWSUP",""],["PROT_NONE",""],["PROT_READ",""],["PROT_WRITE",""],["PR_CAPBSET_DROP",""],["PR_CAPBSET_READ",""],["PR_CAP_AMBIENT",""],["PR_CAP_AMBIENT_CLEAR_ALL",""],["PR_CAP_AMBIENT_IS_SET",""],["PR_CAP_AMBIENT_LOWER",""],["PR_CAP_AMBIENT_RAISE",""],["PR_ENDIAN_BIG",""],["PR_ENDIAN_LITTLE",""],["PR_ENDIAN_PPC_LITTLE",""],["PR_FPEMU_NOPRINT",""],["PR_FPEMU_SIGFPE",""],["PR_FP_EXC_ASYNC",""],["PR_FP_EXC_DISABLED",""],["PR_FP_EXC_DIV",""],["PR_FP_EXC_INV",""],["PR_FP_EXC_NONRECOV",""],["PR_FP_EXC_OVF",""],["PR_FP_EXC_PRECISE",""],["PR_FP_EXC_RES",""],["PR_FP_EXC_SW_ENABLE",""],["PR_FP_EXC_UND",""],["PR_FP_MODE_FR",""],["PR_FP_MODE_FRE",""],["PR_GET_CHILD_SUBREAPER",""],["PR_GET_DUMPABLE",""],["PR_GET_ENDIAN",""],["PR_GET_FPEMU",""],["PR_GET_FPEXC",""],["PR_GET_FP_MODE",""],["PR_GET_KEEPCAPS",""],["PR_GET_NAME",""],["PR_GET_NO_NEW_PRIVS",""],["PR_GET_PDEATHSIG",""],["PR_GET_SECCOMP",""],["PR_GET_SECUREBITS",""],["PR_GET_SPECULATION_CTRL",""],["PR_GET_THP_DISABLE",""],["PR_GET_TID_ADDRESS",""],["PR_GET_TIMERSLACK",""],["PR_GET_TIMING",""],["PR_GET_TSC",""],["PR_GET_UNALIGN",""],["PR_MCE_KILL",""],["PR_MCE_KILL_CLEAR",""],["PR_MCE_KILL_DEFAULT",""],["PR_MCE_KILL_EARLY",""],["PR_MCE_KILL_GET",""],["PR_MCE_KILL_LATE",""],["PR_MCE_KILL_SET",""],["PR_MPX_DISABLE_MANAGEMENT",""],["PR_MPX_ENABLE_MANAGEMENT",""],["PR_SET_CHILD_SUBREAPER",""],["PR_SET_DUMPABLE",""],["PR_SET_ENDIAN",""],["PR_SET_FPEMU",""],["PR_SET_FPEXC",""],["PR_SET_FP_MODE",""],["PR_SET_KEEPCAPS",""],["PR_SET_MM",""],["PR_SET_MM_ARG_END",""],["PR_SET_MM_ARG_START",""],["PR_SET_MM_AUXV",""],["PR_SET_MM_BRK",""],["PR_SET_MM_END_CODE",""],["PR_SET_MM_END_DATA",""],["PR_SET_MM_ENV_END",""],["PR_SET_MM_ENV_START",""],["PR_SET_MM_EXE_FILE",""],["PR_SET_MM_MAP",""],["PR_SET_MM_MAP_SIZE",""],["PR_SET_MM_START_BRK",""],["PR_SET_MM_START_CODE",""],["PR_SET_MM_START_DATA",""],["PR_SET_MM_START_STACK",""],["PR_SET_NAME",""],["PR_SET_NO_NEW_PRIVS",""],["PR_SET_PDEATHSIG",""],["PR_SET_PTRACER",""],["PR_SET_SECCOMP",""],["PR_SET_SECUREBITS",""],["PR_SET_SPECULATION_CTRL",""],["PR_SET_THP_DISABLE",""],["PR_SET_TIMERSLACK",""],["PR_SET_TIMING",""],["PR_SET_TSC",""],["PR_SET_UNALIGN",""],["PR_SET_VMA",""],["PR_SET_VMA_ANON_NAME",""],["PR_SPEC_DISABLE",""],["PR_SPEC_DISABLE_NOEXEC",""],["PR_SPEC_ENABLE",""],["PR_SPEC_FORCE_DISABLE",""],["PR_SPEC_INDIRECT_BRANCH",""],["PR_SPEC_NOT_AFFECTED",""],["PR_SPEC_PRCTL",""],["PR_SPEC_STORE_BYPASS",""],["PR_TASK_PERF_EVENTS_DISABLE",""],["PR_TASK_PERF_EVENTS_ENABLE",""],["PR_TIMING_STATISTICAL",""],["PR_TIMING_TIMESTAMP",""],["PR_TSC_ENABLE",""],["PR_TSC_SIGSEGV",""],["PR_UNALIGN_NOPRINT",""],["PR_UNALIGN_SIGBUS",""],["PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP",""],["PTHREAD_COND_INITIALIZER",""],["PTHREAD_CREATE_DETACHED",""],["PTHREAD_CREATE_JOINABLE",""],["PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP",""],["PTHREAD_MUTEX_ADAPTIVE_NP",""],["PTHREAD_MUTEX_DEFAULT",""],["PTHREAD_MUTEX_ERRORCHECK",""],["PTHREAD_MUTEX_INITIALIZER",""],["PTHREAD_MUTEX_NORMAL",""],["PTHREAD_MUTEX_RECURSIVE",""],["PTHREAD_MUTEX_ROBUST",""],["PTHREAD_MUTEX_STALLED",""],["PTHREAD_PRIO_INHERIT",""],["PTHREAD_PRIO_NONE",""],["PTHREAD_PRIO_PROTECT",""],["PTHREAD_PROCESS_PRIVATE",""],["PTHREAD_PROCESS_SHARED",""],["PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP",""],["PTHREAD_RWLOCK_INITIALIZER",""],["PTHREAD_STACK_MIN",""],["PTRACE_ATTACH",""],["PTRACE_CONT",""],["PTRACE_DETACH",""],["PTRACE_EVENT_CLONE",""],["PTRACE_EVENT_EXEC",""],["PTRACE_EVENT_EXIT",""],["PTRACE_EVENT_FORK",""],["PTRACE_EVENT_SECCOMP",""],["PTRACE_EVENT_STOP",""],["PTRACE_EVENT_VFORK",""],["PTRACE_EVENT_VFORK_DONE",""],["PTRACE_GETEVENTMSG",""],["PTRACE_GETFPREGS",""],["PTRACE_GETFPXREGS",""],["PTRACE_GETREGS",""],["PTRACE_GETREGSET",""],["PTRACE_GETSIGINFO",""],["PTRACE_GET_RSEQ_CONFIGURATION",""],["PTRACE_GET_SYSCALL_INFO",""],["PTRACE_INTERRUPT",""],["PTRACE_KILL",""],["PTRACE_LISTEN",""],["PTRACE_O_EXITKILL",""],["PTRACE_O_MASK",""],["PTRACE_O_SUSPEND_SECCOMP",""],["PTRACE_O_TRACECLONE",""],["PTRACE_O_TRACEEXEC",""],["PTRACE_O_TRACEEXIT",""],["PTRACE_O_TRACEFORK",""],["PTRACE_O_TRACESECCOMP",""],["PTRACE_O_TRACESYSGOOD",""],["PTRACE_O_TRACEVFORK",""],["PTRACE_O_TRACEVFORKDONE",""],["PTRACE_PEEKDATA",""],["PTRACE_PEEKSIGINFO",""],["PTRACE_PEEKSIGINFO_SHARED",""],["PTRACE_PEEKTEXT",""],["PTRACE_PEEKUSER",""],["PTRACE_POKEDATA",""],["PTRACE_POKETEXT",""],["PTRACE_POKEUSER",""],["PTRACE_SEIZE",""],["PTRACE_SETFPREGS",""],["PTRACE_SETFPXREGS",""],["PTRACE_SETOPTIONS",""],["PTRACE_SETREGS",""],["PTRACE_SETREGSET",""],["PTRACE_SETSIGINFO",""],["PTRACE_SINGLESTEP",""],["PTRACE_SYSCALL",""],["PTRACE_SYSEMU",""],["PTRACE_SYSEMU_SINGLESTEP",""],["PTRACE_TRACEME",""],["PT_DYNAMIC",""],["PT_GNU_EH_FRAME",""],["PT_GNU_RELRO",""],["PT_GNU_STACK",""],["PT_HIOS",""],["PT_HIPROC",""],["PT_HISUNW",""],["PT_INTERP",""],["PT_LOAD",""],["PT_LOOS",""],["PT_LOPROC",""],["PT_LOSUNW",""],["PT_NOTE",""],["PT_NULL",""],["PT_NUM",""],["PT_PHDR",""],["PT_SHLIB",""],["PT_SUNWBSS",""],["PT_SUNWSTACK",""],["PT_TLS",""],["P_ALL",""],["P_PGID",""],["P_PID",""],["P_PIDFD",""],["QFMT_VFS_OLD",""],["QFMT_VFS_V0",""],["QFMT_VFS_V1",""],["QIF_ALL",""],["QIF_BLIMITS",""],["QIF_BTIME",""],["QIF_ILIMITS",""],["QIF_INODES",""],["QIF_ITIME",""],["QIF_LIMITS",""],["QIF_SPACE",""],["QIF_TIMES",""],["QIF_USAGE",""],["QNX4_SUPER_MAGIC",""],["QNX6_SUPER_MAGIC",""],["Q_GETFMT",""],["Q_GETINFO",""],["Q_GETQUOTA",""],["Q_QUOTAOFF",""],["Q_QUOTAON",""],["Q_SETINFO",""],["Q_SETQUOTA",""],["Q_SYNC",""],["R10",""],["R11",""],["R12",""],["R13",""],["R14",""],["R15",""],["R8",""],["R9",""],["RADIXCHAR",""],["RAND_MAX",""],["RAX",""],["RBP",""],["RBX",""],["RB_AUTOBOOT",""],["RB_DISABLE_CAD",""],["RB_ENABLE_CAD",""],["RB_HALT_SYSTEM",""],["RB_KEXEC",""],["RB_POWER_OFF",""],["RB_SW_SUSPEND",""],["RCX",""],["RDI",""],["RDTGROUP_SUPER_MAGIC",""],["RDX",""],["READ_IMPLIES_EXEC",""],["REG_BADBR",""],["REG_BADPAT",""],["REG_BADRPT",""],["REG_CR2",""],["REG_CSGSFS",""],["REG_EBRACE",""],["REG_EBRACK",""],["REG_ECOLLATE",""],["REG_ECTYPE",""],["REG_EEND",""],["REG_EESCAPE",""],["REG_EFL",""],["REG_ENOSYS",""],["REG_EPAREN",""],["REG_ERANGE",""],["REG_ERPAREN",""],["REG_ERR",""],["REG_ESIZE",""],["REG_ESPACE",""],["REG_ESUBREG",""],["REG_EXTENDED",""],["REG_ICASE",""],["REG_NEWLINE",""],["REG_NOMATCH",""],["REG_NOSUB",""],["REG_NOTBOL",""],["REG_NOTEOL",""],["REG_OLDMASK",""],["REG_R10",""],["REG_R11",""],["REG_R12",""],["REG_R13",""],["REG_R14",""],["REG_R15",""],["REG_R8",""],["REG_R9",""],["REG_RAX",""],["REG_RBP",""],["REG_RBX",""],["REG_RCX",""],["REG_RDI",""],["REG_RDX",""],["REG_RIP",""],["REG_RSI",""],["REG_RSP",""],["REG_STARTEND",""],["REG_TRAPNO",""],["REISERFS_SUPER_MAGIC",""],["REL_CNT",""],["REL_MAX",""],["RENAME_EXCHANGE",""],["RENAME_NOREPLACE",""],["RENAME_WHITEOUT",""],["REP_CNT",""],["REP_MAX",""],["RESOLVE_BENEATH",""],["RESOLVE_CACHED",""],["RESOLVE_IN_ROOT",""],["RESOLVE_NO_MAGICLINKS",""],["RESOLVE_NO_SYMLINKS",""],["RESOLVE_NO_XDEV",""],["RIP",""],["RLIMIT_AS",""],["RLIMIT_CORE",""],["RLIMIT_CPU",""],["RLIMIT_DATA",""],["RLIMIT_FSIZE",""],["RLIMIT_LOCKS",""],["RLIMIT_MEMLOCK",""],["RLIMIT_MSGQUEUE",""],["RLIMIT_NICE",""],["RLIMIT_NLIMITS",""],["RLIMIT_NOFILE",""],["RLIMIT_NPROC",""],["RLIMIT_RSS",""],["RLIMIT_RTPRIO",""],["RLIMIT_RTTIME",""],["RLIMIT_SIGPENDING",""],["RLIMIT_STACK",""],["RLIM_INFINITY",""],["RLIM_NLIMITS",""],["RLIM_SAVED_CUR",""],["RLIM_SAVED_MAX",""],["RSI",""],["RSP",""],["RTA_CACHEINFO",""],["RTA_DST",""],["RTA_ENCAP",""],["RTA_ENCAP_TYPE",""],["RTA_EXPIRES",""],["RTA_FLOW",""],["RTA_GATEWAY",""],["RTA_IIF",""],["RTA_MARK",""],["RTA_METRICS",""],["RTA_MFC_STATS",""],["RTA_MP_ALGO",""],["RTA_MULTIPATH",""],["RTA_NEWDST",""],["RTA_OIF",""],["RTA_PAD",""],["RTA_PREF",""],["RTA_PREFSRC",""],["RTA_PRIORITY",""],["RTA_PROTOINFO",""],["RTA_SESSION",""],["RTA_SRC",""],["RTA_TABLE",""],["RTA_TTL_PROPAGATE",""],["RTA_UID",""],["RTA_UNSPEC",""],["RTA_VIA",""],["RTCF_DIRECTSRC",""],["RTCF_DOREDIRECT",""],["RTCF_LOG",""],["RTCF_MASQ",""],["RTCF_NAT",""],["RTCF_VALVE",""],["RTF_ADDRCLASSMASK",""],["RTF_ADDRCONF",""],["RTF_ALLONLINK",""],["RTF_BROADCAST",""],["RTF_CACHE",""],["RTF_DEFAULT",""],["RTF_DYNAMIC",""],["RTF_FLOW",""],["RTF_GATEWAY",""],["RTF_HOST",""],["RTF_INTERFACE",""],["RTF_IRTT",""],["RTF_LINKRT",""],["RTF_LOCAL",""],["RTF_MODIFIED",""],["RTF_MSS",""],["RTF_MTU",""],["RTF_MULTICAST",""],["RTF_NAT",""],["RTF_NOFORWARD",""],["RTF_NONEXTHOP",""],["RTF_NOPMTUDISC",""],["RTF_POLICY",""],["RTF_REINSTATE",""],["RTF_REJECT",""],["RTF_STATIC",""],["RTF_THROW",""],["RTF_UP",""],["RTF_WINDOW",""],["RTF_XRESOLVE",""],["RTLD_DEEPBIND",""],["RTLD_DEFAULT",""],["RTLD_DI_CONFIGADDR",""],["RTLD_DI_LINKMAP",""],["RTLD_DI_LMID",""],["RTLD_DI_ORIGIN",""],["RTLD_DI_PROFILENAME",""],["RTLD_DI_PROFILEOUT",""],["RTLD_DI_SERINFO",""],["RTLD_DI_SERINFOSIZE",""],["RTLD_DI_TLS_DATA",""],["RTLD_DI_TLS_MODID",""],["RTLD_GLOBAL",""],["RTLD_LAZY",""],["RTLD_LOCAL",""],["RTLD_NEXT",""],["RTLD_NODELETE",""],["RTLD_NOLOAD",""],["RTLD_NOW",""],["RTMGRP_DECnet_IFADDR",""],["RTMGRP_DECnet_ROUTE",""],["RTMGRP_IPV4_IFADDR",""],["RTMGRP_IPV4_MROUTE",""],["RTMGRP_IPV4_ROUTE",""],["RTMGRP_IPV4_RULE",""],["RTMGRP_IPV6_IFADDR",""],["RTMGRP_IPV6_IFINFO",""],["RTMGRP_IPV6_MROUTE",""],["RTMGRP_IPV6_PREFIX",""],["RTMGRP_IPV6_ROUTE",""],["RTMGRP_LINK",""],["RTMGRP_NEIGH",""],["RTMGRP_NOTIFY",""],["RTMGRP_TC",""],["RTMSG_AR_FAILED",""],["RTMSG_CONTROL",""],["RTMSG_DELDEVICE",""],["RTMSG_DELROUTE",""],["RTMSG_DELRULE",""],["RTMSG_NEWDEVICE",""],["RTMSG_NEWROUTE",""],["RTMSG_NEWRULE",""],["RTMSG_OVERRUN",""],["RTM_DELACTION",""],["RTM_DELADDR",""],["RTM_DELADDRLABEL",""],["RTM_DELLINK",""],["RTM_DELMDB",""],["RTM_DELNEIGH",""],["RTM_DELNETCONF",""],["RTM_DELNSID",""],["RTM_DELQDISC",""],["RTM_DELROUTE",""],["RTM_DELRULE",""],["RTM_DELTCLASS",""],["RTM_DELTFILTER",""],["RTM_F_CLONED",""],["RTM_F_EQUALIZE",""],["RTM_F_FIB_MATCH",""],["RTM_F_LOOKUP_TABLE",""],["RTM_F_NOTIFY",""],["RTM_F_PREFIX",""],["RTM_GETACTION",""],["RTM_GETADDR",""],["RTM_GETADDRLABEL",""],["RTM_GETANYCAST",""],["RTM_GETDCB",""],["RTM_GETLINK",""],["RTM_GETMDB",""],["RTM_GETMULTICAST",""],["RTM_GETNEIGH",""],["RTM_GETNEIGHTBL",""],["RTM_GETNETCONF",""],["RTM_GETNSID",""],["RTM_GETQDISC",""],["RTM_GETROUTE",""],["RTM_GETRULE",""],["RTM_GETSTATS",""],["RTM_GETTCLASS",""],["RTM_GETTFILTER",""],["RTM_NEWACTION",""],["RTM_NEWADDR",""],["RTM_NEWADDRLABEL",""],["RTM_NEWCACHEREPORT",""],["RTM_NEWLINK",""],["RTM_NEWMDB",""],["RTM_NEWNDUSEROPT",""],["RTM_NEWNEIGH",""],["RTM_NEWNEIGHTBL",""],["RTM_NEWNETCONF",""],["RTM_NEWNSID",""],["RTM_NEWPREFIX",""],["RTM_NEWQDISC",""],["RTM_NEWROUTE",""],["RTM_NEWRULE",""],["RTM_NEWSTATS",""],["RTM_NEWTCLASS",""],["RTM_NEWTFILTER",""],["RTM_SETDCB",""],["RTM_SETLINK",""],["RTM_SETNEIGHTBL",""],["RTNLGRP_BRVLAN",""],["RTNLGRP_DCB",""],["RTNLGRP_DECnet_IFADDR",""],["RTNLGRP_DECnet_ROUTE",""],["RTNLGRP_DECnet_RULE",""],["RTNLGRP_IPV4_IFADDR",""],["RTNLGRP_IPV4_MROUTE",""],["RTNLGRP_IPV4_MROUTE_R",""],["RTNLGRP_IPV4_NETCONF",""],["RTNLGRP_IPV4_ROUTE",""],["RTNLGRP_IPV4_RULE",""],["RTNLGRP_IPV6_IFADDR",""],["RTNLGRP_IPV6_IFINFO",""],["RTNLGRP_IPV6_MROUTE",""],["RTNLGRP_IPV6_MROUTE_R",""],["RTNLGRP_IPV6_NETCONF",""],["RTNLGRP_IPV6_PREFIX",""],["RTNLGRP_IPV6_ROUTE",""],["RTNLGRP_IPV6_RULE",""],["RTNLGRP_LINK",""],["RTNLGRP_MCTP_IFADDR",""],["RTNLGRP_MDB",""],["RTNLGRP_MPLS_NETCONF",""],["RTNLGRP_MPLS_ROUTE",""],["RTNLGRP_ND_USEROPT",""],["RTNLGRP_NEIGH",""],["RTNLGRP_NEXTHOP",""],["RTNLGRP_NONE",""],["RTNLGRP_NOP2",""],["RTNLGRP_NOP4",""],["RTNLGRP_NOTIFY",""],["RTNLGRP_NSID",""],["RTNLGRP_PHONET_IFADDR",""],["RTNLGRP_PHONET_ROUTE",""],["RTNLGRP_STATS",""],["RTNLGRP_TC",""],["RTNLGRP_TUNNEL",""],["RTN_ANYCAST",""],["RTN_BLACKHOLE",""],["RTN_BROADCAST",""],["RTN_LOCAL",""],["RTN_MULTICAST",""],["RTN_NAT",""],["RTN_PROHIBIT",""],["RTN_THROW",""],["RTN_UNICAST",""],["RTN_UNREACHABLE",""],["RTN_UNSPEC",""],["RTN_XRESOLVE",""],["RTPROT_BOOT",""],["RTPROT_KERNEL",""],["RTPROT_REDIRECT",""],["RTPROT_STATIC",""],["RTPROT_UNSPEC",""],["RT_CLASS_DEFAULT",""],["RT_CLASS_LOCAL",""],["RT_CLASS_MAIN",""],["RT_CLASS_MAX",""],["RT_CLASS_UNSPEC",""],["RT_SCOPE_HOST",""],["RT_SCOPE_LINK",""],["RT_SCOPE_NOWHERE",""],["RT_SCOPE_SITE",""],["RT_SCOPE_UNIVERSE",""],["RT_TABLE_COMPAT",""],["RT_TABLE_DEFAULT",""],["RT_TABLE_LOCAL",""],["RT_TABLE_MAIN",""],["RT_TABLE_UNSPEC",""],["RUN_LVL",""],["RUSAGE_CHILDREN",""],["RUSAGE_SELF",""],["RUSAGE_THREAD",""],["RWF_APPEND",""],["RWF_DSYNC",""],["RWF_HIPRI",""],["RWF_NOWAIT",""],["RWF_SYNC",""],["R_OK",""],["SA_NOCLDSTOP",""],["SA_NOCLDWAIT",""],["SA_NODEFER",""],["SA_ONSTACK",""],["SA_RESETHAND",""],["SA_RESTART",""],["SA_SIGINFO",""],["SCHED_BATCH",""],["SCHED_FIFO",""],["SCHED_IDLE",""],["SCHED_OTHER",""],["SCHED_RESET_ON_FORK",""],["SCHED_RR",""],["SCM_CREDENTIALS",""],["SCM_J1939_DEST_ADDR",""],["SCM_J1939_DEST_NAME",""],["SCM_J1939_ERRQUEUE",""],["SCM_J1939_PRIO",""],["SCM_RIGHTS",""],["SCM_TIMESTAMP",""],["SCM_TIMESTAMPING",""],["SCM_TIMESTAMPING_OPT_STATS",""],["SCM_TIMESTAMPING_PKTINFO",""],["SCM_TIMESTAMPNS",""],["SCM_TXTIME",""],["SCM_WIFI_STATUS",""],["SECCOMP_FILTER_FLAG_LOG",""],["SECCOMP_FILTER_FLAG_SPEC_ALLOW",""],["SECCOMP_FILTER_FLAG_TSYNC",""],["SECCOMP_GET_ACTION_AVAIL",""],["SECCOMP_GET_NOTIF_SIZES",""],["SECCOMP_MODE_DISABLED",""],["SECCOMP_MODE_FILTER",""],["SECCOMP_MODE_STRICT",""],["SECCOMP_RET_ACTION",""],["SECCOMP_RET_ACTION_FULL",""],["SECCOMP_RET_ALLOW",""],["SECCOMP_RET_DATA",""],["SECCOMP_RET_ERRNO",""],["SECCOMP_RET_KILL",""],["SECCOMP_RET_KILL_PROCESS",""],["SECCOMP_RET_KILL_THREAD",""],["SECCOMP_RET_LOG",""],["SECCOMP_RET_TRACE",""],["SECCOMP_RET_TRAP",""],["SECCOMP_SET_MODE_FILTER",""],["SECCOMP_SET_MODE_STRICT",""],["SECURITYFS_MAGIC",""],["SEEK_CUR",""],["SEEK_DATA",""],["SEEK_END",""],["SEEK_HOLE",""],["SEEK_SET",""],["SELFMAG",""],["SELINUX_MAGIC",""],["SEM_FAILED",""],["SFD_CLOEXEC",""],["SFD_NONBLOCK",""],["SHM_EXEC",""],["SHM_HUGETLB",""],["SHM_LOCK",""],["SHM_NORESERVE",""],["SHM_R",""],["SHM_RDONLY",""],["SHM_REMAP",""],["SHM_RND",""],["SHM_UNLOCK",""],["SHM_W",""],["SHORT_INODE",""],["SHUT_RD",""],["SHUT_RDWR",""],["SHUT_WR",""],["SIGABRT",""],["SIGALRM",""],["SIGBUS",""],["SIGCHLD",""],["SIGCONT",""],["SIGEV_NONE",""],["SIGEV_SIGNAL",""],["SIGEV_THREAD",""],["SIGEV_THREAD_ID",""],["SIGFPE",""],["SIGHUP",""],["SIGILL",""],["SIGINT",""],["SIGIO",""],["SIGIOT",""],["SIGKILL",""],["SIGPIPE",""],["SIGPOLL",""],["SIGPROF",""],["SIGPWR",""],["SIGQUIT",""],["SIGSEGV",""],["SIGSTKFLT",""],["SIGSTKSZ",""],["SIGSTOP",""],["SIGSYS",""],["SIGTERM",""],["SIGTRAP",""],["SIGTSTP",""],["SIGTTIN",""],["SIGTTOU",""],["SIGUNUSED",""],["SIGURG",""],["SIGUSR1",""],["SIGUSR2",""],["SIGVTALRM",""],["SIGWINCH",""],["SIGXCPU",""],["SIGXFSZ",""],["SIG_BLOCK",""],["SIG_DFL",""],["SIG_ERR",""],["SIG_IGN",""],["SIG_SETMASK",""],["SIG_UNBLOCK",""],["SIOCADDMULTI",""],["SIOCADDRT",""],["SIOCDARP",""],["SIOCDELMULTI",""],["SIOCDELRT",""],["SIOCDIFADDR",""],["SIOCDRARP",""],["SIOCETHTOOL",""],["SIOCGARP",""],["SIOCGIFADDR",""],["SIOCGIFBR",""],["SIOCGIFBRDADDR",""],["SIOCGIFCONF",""],["SIOCGIFCOUNT",""],["SIOCGIFDSTADDR",""],["SIOCGIFENCAP",""],["SIOCGIFFLAGS",""],["SIOCGIFHWADDR",""],["SIOCGIFINDEX",""],["SIOCGIFMAP",""],["SIOCGIFMEM",""],["SIOCGIFMETRIC",""],["SIOCGIFMTU",""],["SIOCGIFNAME",""],["SIOCGIFNETMASK",""],["SIOCGIFPFLAGS",""],["SIOCGIFSLAVE",""],["SIOCGIFTXQLEN",""],["SIOCGMIIPHY",""],["SIOCGMIIREG",""],["SIOCGRARP",""],["SIOCGSKNS",""],["SIOCOUTQNSD",""],["SIOCSARP",""],["SIOCSIFADDR",""],["SIOCSIFBR",""],["SIOCSIFBRDADDR",""],["SIOCSIFDSTADDR",""],["SIOCSIFENCAP",""],["SIOCSIFFLAGS",""],["SIOCSIFHWADDR",""],["SIOCSIFHWBROADCAST",""],["SIOCSIFLINK",""],["SIOCSIFMAP",""],["SIOCSIFMEM",""],["SIOCSIFMETRIC",""],["SIOCSIFMTU",""],["SIOCSIFNETMASK",""],["SIOCSIFPFLAGS",""],["SIOCSIFSLAVE",""],["SIOCSIFTXQLEN",""],["SIOCSMIIREG",""],["SIOCSRARP",""],["SIOCWANDEV",""],["SIOGIFINDEX",""],["SI_LOAD_SHIFT",""],["SKF_AD_ALU_XOR_X",""],["SKF_AD_CPU",""],["SKF_AD_HATYPE",""],["SKF_AD_IFINDEX",""],["SKF_AD_MARK",""],["SKF_AD_MAX",""],["SKF_AD_NLATTR",""],["SKF_AD_NLATTR_NEST",""],["SKF_AD_OFF",""],["SKF_AD_PAY_OFFSET",""],["SKF_AD_PKTTYPE",""],["SKF_AD_PROTOCOL",""],["SKF_AD_QUEUE",""],["SKF_AD_RANDOM",""],["SKF_AD_RXHASH",""],["SKF_AD_VLAN_TAG",""],["SKF_AD_VLAN_TAG_PRESENT",""],["SKF_AD_VLAN_TPID",""],["SKF_LL_OFF",""],["SKF_NET_OFF",""],["SK_MEMINFO_BACKLOG",""],["SK_MEMINFO_DROPS",""],["SK_MEMINFO_FWD_ALLOC",""],["SK_MEMINFO_OPTMEM",""],["SK_MEMINFO_RCVBUF",""],["SK_MEMINFO_RMEM_ALLOC",""],["SK_MEMINFO_SNDBUF",""],["SK_MEMINFO_WMEM_ALLOC",""],["SK_MEMINFO_WMEM_QUEUED",""],["SMACK_MAGIC",""],["SMB_SUPER_MAGIC",""],["SND_CNT",""],["SND_MAX",""],["SOCK_CLOEXEC",""],["SOCK_DCCP",""],["SOCK_DGRAM",""],["SOCK_NONBLOCK",""],["SOCK_PACKET",""],["SOCK_RAW",""],["SOCK_RDM",""],["SOCK_SEQPACKET",""],["SOCK_STREAM",""],["SOF_TIMESTAMPING_OPT_CMSG",""],["SOF_TIMESTAMPING_OPT_ID",""],["SOF_TIMESTAMPING_OPT_PKTINFO",""],["SOF_TIMESTAMPING_OPT_STATS",""],["SOF_TIMESTAMPING_OPT_TSONLY",""],["SOF_TIMESTAMPING_OPT_TX_SWHW",""],["SOF_TIMESTAMPING_RAW_HARDWARE",""],["SOF_TIMESTAMPING_RX_HARDWARE",""],["SOF_TIMESTAMPING_RX_SOFTWARE",""],["SOF_TIMESTAMPING_SOFTWARE",""],["SOF_TIMESTAMPING_SYS_HARDWARE",""],["SOF_TIMESTAMPING_TX_ACK",""],["SOF_TIMESTAMPING_TX_HARDWARE",""],["SOF_TIMESTAMPING_TX_SCHED",""],["SOF_TIMESTAMPING_TX_SOFTWARE",""],["SOF_TXTIME_DEADLINE_MODE",""],["SOF_TXTIME_REPORT_ERRORS",""],["SOL_AAL",""],["SOL_ALG",""],["SOL_ATM",""],["SOL_BLUETOOTH",""],["SOL_CAIF",""],["SOL_CAN_BASE",""],["SOL_CAN_J1939",""],["SOL_CAN_RAW",""],["SOL_DCCP",""],["SOL_DECNET",""],["SOL_ICMPV6",""],["SOL_IP",""],["SOL_IPV6",""],["SOL_IRDA",""],["SOL_IUCV",""],["SOL_LLC",""],["SOL_NETBEUI",""],["SOL_NETLINK",""],["SOL_NFC",""],["SOL_PACKET",""],["SOL_PNPIPE",""],["SOL_PPPOL2TP",""],["SOL_RAW",""],["SOL_RDS",""],["SOL_RXRPC",""],["SOL_SOCKET",""],["SOL_TCP",""],["SOL_TIPC",""],["SOL_UDP",""],["SOL_X25",""],["SOL_XDP",""],["SOMAXCONN",""],["SO_ACCEPTCONN",""],["SO_ATTACH_BPF",""],["SO_ATTACH_FILTER",""],["SO_ATTACH_REUSEPORT_CBPF",""],["SO_ATTACH_REUSEPORT_EBPF",""],["SO_BINDTODEVICE",""],["SO_BINDTOIFINDEX",""],["SO_BPF_EXTENSIONS",""],["SO_BROADCAST",""],["SO_BSDCOMPAT",""],["SO_BUSY_POLL",""],["SO_CNX_ADVICE",""],["SO_COOKIE",""],["SO_DEBUG",""],["SO_DETACH_BPF",""],["SO_DETACH_FILTER",""],["SO_DETACH_REUSEPORT_BPF",""],["SO_DOMAIN",""],["SO_DONTROUTE",""],["SO_EE_ORIGIN_ICMP",""],["SO_EE_ORIGIN_ICMP6",""],["SO_EE_ORIGIN_LOCAL",""],["SO_EE_ORIGIN_NONE",""],["SO_EE_ORIGIN_TIMESTAMPING",""],["SO_EE_ORIGIN_TXSTATUS",""],["SO_ERROR",""],["SO_GET_FILTER",""],["SO_INCOMING_CPU",""],["SO_INCOMING_NAPI_ID",""],["SO_J1939_ERRQUEUE",""],["SO_J1939_FILTER",""],["SO_J1939_PROMISC",""],["SO_J1939_SEND_PRIO",""],["SO_KEEPALIVE",""],["SO_LINGER",""],["SO_LOCK_FILTER",""],["SO_MARK",""],["SO_MAX_PACING_RATE",""],["SO_MEMINFO",""],["SO_NOFCS",""],["SO_NO_CHECK",""],["SO_OOBINLINE",""],["SO_ORIGINAL_DST",""],["SO_PASSCRED",""],["SO_PASSSEC",""],["SO_PEEK_OFF",""],["SO_PEERCRED",""],["SO_PEERGROUPS",""],["SO_PEERNAME",""],["SO_PEERSEC",""],["SO_PRIORITY",""],["SO_PROTOCOL",""],["SO_RCVBUF",""],["SO_RCVBUFFORCE",""],["SO_RCVLOWAT",""],["SO_RCVTIMEO",""],["SO_RCVTIMEO_NEW",""],["SO_REUSEADDR",""],["SO_REUSEPORT",""],["SO_RXQ_OVFL",""],["SO_SECURITY_AUTHENTICATION",""],["SO_SECURITY_ENCRYPTION_NETWORK",""],["SO_SECURITY_ENCRYPTION_TRANSPORT",""],["SO_SELECT_ERR_QUEUE",""],["SO_SNDBUF",""],["SO_SNDBUFFORCE",""],["SO_SNDLOWAT",""],["SO_SNDTIMEO",""],["SO_SNDTIMEO_NEW",""],["SO_TIMESTAMP",""],["SO_TIMESTAMPING",""],["SO_TIMESTAMPING_NEW",""],["SO_TIMESTAMPNS",""],["SO_TIMESTAMPNS_NEW",""],["SO_TIMESTAMP_NEW",""],["SO_TXTIME",""],["SO_TYPE",""],["SO_WIFI_STATUS",""],["SO_ZEROCOPY",""],["SPLICE_F_GIFT",""],["SPLICE_F_MORE",""],["SPLICE_F_MOVE",""],["SPLICE_F_NONBLOCK",""],["SS",""],["SS_DISABLE",""],["SS_ONSTACK",""],["STATX_ALL",""],["STATX_ATIME",""],["STATX_ATTR_APPEND",""],["STATX_ATTR_AUTOMOUNT",""],["STATX_ATTR_COMPRESSED",""],["STATX_ATTR_DAX",""],["STATX_ATTR_ENCRYPTED",""],["STATX_ATTR_IMMUTABLE",""],["STATX_ATTR_MOUNT_ROOT",""],["STATX_ATTR_NODUMP",""],["STATX_ATTR_VERITY",""],["STATX_BASIC_STATS",""],["STATX_BLOCKS",""],["STATX_BTIME",""],["STATX_CTIME",""],["STATX_GID",""],["STATX_INO",""],["STATX_MNT_ID",""],["STATX_MODE",""],["STATX_MTIME",""],["STATX_NLINK",""],["STATX_SIZE",""],["STATX_TYPE",""],["STATX_UID",""],["STATX__RESERVED",""],["STA_CLK",""],["STA_CLOCKERR",""],["STA_DEL",""],["STA_FLL",""],["STA_FREQHOLD",""],["STA_INS",""],["STA_MODE",""],["STA_NANO",""],["STA_PLL",""],["STA_PPSERROR",""],["STA_PPSFREQ",""],["STA_PPSJITTER",""],["STA_PPSSIGNAL",""],["STA_PPSTIME",""],["STA_PPSWANDER",""],["STA_RONLY",""],["STA_UNSYNC",""],["STDERR_FILENO",""],["STDIN_FILENO",""],["STDOUT_FILENO",""],["STICKY_TIMEOUTS",""],["ST_APPEND",""],["ST_IMMUTABLE",""],["ST_MANDLOCK",""],["ST_NOATIME",""],["ST_NODEV",""],["ST_NODIRATIME",""],["ST_NOEXEC",""],["ST_NOSUID",""],["ST_RDONLY",""],["ST_RELATIME",""],["ST_SYNCHRONOUS",""],["ST_WRITE",""],["SW_CNT",""],["SW_MAX",""],["SYNC_FILE_RANGE_WAIT_AFTER",""],["SYNC_FILE_RANGE_WAIT_BEFORE",""],["SYNC_FILE_RANGE_WRITE",""],["SYN_CNT",""],["SYN_MAX",""],["SYSFS_MAGIC",""],["SYS__sysctl",""],["SYS_accept",""],["SYS_accept4",""],["SYS_access",""],["SYS_acct",""],["SYS_add_key",""],["SYS_adjtimex",""],["SYS_afs_syscall",""],["SYS_alarm",""],["SYS_arch_prctl",""],["SYS_bind",""],["SYS_bpf",""],["SYS_brk",""],["SYS_capget",""],["SYS_capset",""],["SYS_chdir",""],["SYS_chmod",""],["SYS_chown",""],["SYS_chroot",""],["SYS_clock_adjtime",""],["SYS_clock_getres",""],["SYS_clock_gettime",""],["SYS_clock_nanosleep",""],["SYS_clock_settime",""],["SYS_clone",""],["SYS_clone3",""],["SYS_close",""],["SYS_close_range",""],["SYS_connect",""],["SYS_copy_file_range",""],["SYS_creat",""],["SYS_create_module",""],["SYS_delete_module",""],["SYS_dup",""],["SYS_dup2",""],["SYS_dup3",""],["SYS_epoll_create",""],["SYS_epoll_create1",""],["SYS_epoll_ctl",""],["SYS_epoll_ctl_old",""],["SYS_epoll_pwait",""],["SYS_epoll_pwait2",""],["SYS_epoll_wait",""],["SYS_epoll_wait_old",""],["SYS_eventfd",""],["SYS_eventfd2",""],["SYS_execve",""],["SYS_execveat",""],["SYS_exit",""],["SYS_exit_group",""],["SYS_faccessat",""],["SYS_faccessat2",""],["SYS_fadvise64",""],["SYS_fallocate",""],["SYS_fanotify_init",""],["SYS_fanotify_mark",""],["SYS_fchdir",""],["SYS_fchmod",""],["SYS_fchmodat",""],["SYS_fchown",""],["SYS_fchownat",""],["SYS_fcntl",""],["SYS_fdatasync",""],["SYS_fgetxattr",""],["SYS_finit_module",""],["SYS_flistxattr",""],["SYS_flock",""],["SYS_fork",""],["SYS_fremovexattr",""],["SYS_fsconfig",""],["SYS_fsetxattr",""],["SYS_fsmount",""],["SYS_fsopen",""],["SYS_fspick",""],["SYS_fstat",""],["SYS_fstatfs",""],["SYS_fsync",""],["SYS_ftruncate",""],["SYS_futex",""],["SYS_futex_waitv",""],["SYS_futimesat",""],["SYS_get_kernel_syms",""],["SYS_get_mempolicy",""],["SYS_get_robust_list",""],["SYS_get_thread_area",""],["SYS_getcpu",""],["SYS_getcwd",""],["SYS_getdents",""],["SYS_getdents64",""],["SYS_getegid",""],["SYS_geteuid",""],["SYS_getgid",""],["SYS_getgroups",""],["SYS_getitimer",""],["SYS_getpeername",""],["SYS_getpgid",""],["SYS_getpgrp",""],["SYS_getpid",""],["SYS_getpmsg",""],["SYS_getppid",""],["SYS_getpriority",""],["SYS_getrandom",""],["SYS_getresgid",""],["SYS_getresuid",""],["SYS_getrlimit",""],["SYS_getrusage",""],["SYS_getsid",""],["SYS_getsockname",""],["SYS_getsockopt",""],["SYS_gettid",""],["SYS_gettimeofday",""],["SYS_getuid",""],["SYS_getxattr",""],["SYS_init_module",""],["SYS_inotify_add_watch",""],["SYS_inotify_init",""],["SYS_inotify_init1",""],["SYS_inotify_rm_watch",""],["SYS_io_cancel",""],["SYS_io_destroy",""],["SYS_io_getevents",""],["SYS_io_setup",""],["SYS_io_submit",""],["SYS_io_uring_enter",""],["SYS_io_uring_register",""],["SYS_io_uring_setup",""],["SYS_ioctl",""],["SYS_ioperm",""],["SYS_iopl",""],["SYS_ioprio_get",""],["SYS_ioprio_set",""],["SYS_kcmp",""],["SYS_kexec_file_load",""],["SYS_kexec_load",""],["SYS_keyctl",""],["SYS_kill",""],["SYS_landlock_add_rule",""],["SYS_landlock_create_ruleset",""],["SYS_landlock_restrict_self",""],["SYS_lchown",""],["SYS_lgetxattr",""],["SYS_link",""],["SYS_linkat",""],["SYS_listen",""],["SYS_listxattr",""],["SYS_llistxattr",""],["SYS_lookup_dcookie",""],["SYS_lremovexattr",""],["SYS_lseek",""],["SYS_lsetxattr",""],["SYS_lstat",""],["SYS_madvise",""],["SYS_mbind",""],["SYS_membarrier",""],["SYS_memfd_create",""],["SYS_memfd_secret",""],["SYS_migrate_pages",""],["SYS_mincore",""],["SYS_mkdir",""],["SYS_mkdirat",""],["SYS_mknod",""],["SYS_mknodat",""],["SYS_mlock",""],["SYS_mlock2",""],["SYS_mlockall",""],["SYS_mmap",""],["SYS_modify_ldt",""],["SYS_mount",""],["SYS_mount_setattr",""],["SYS_move_mount",""],["SYS_move_pages",""],["SYS_mprotect",""],["SYS_mq_getsetattr",""],["SYS_mq_notify",""],["SYS_mq_open",""],["SYS_mq_timedreceive",""],["SYS_mq_timedsend",""],["SYS_mq_unlink",""],["SYS_mremap",""],["SYS_msgctl",""],["SYS_msgget",""],["SYS_msgrcv",""],["SYS_msgsnd",""],["SYS_msync",""],["SYS_munlock",""],["SYS_munlockall",""],["SYS_munmap",""],["SYS_name_to_handle_at",""],["SYS_nanosleep",""],["SYS_newfstatat",""],["SYS_nfsservctl",""],["SYS_open",""],["SYS_open_by_handle_at",""],["SYS_open_tree",""],["SYS_openat",""],["SYS_openat2",""],["SYS_pause",""],["SYS_perf_event_open",""],["SYS_personality",""],["SYS_pidfd_getfd",""],["SYS_pidfd_open",""],["SYS_pidfd_send_signal",""],["SYS_pipe",""],["SYS_pipe2",""],["SYS_pivot_root",""],["SYS_pkey_alloc",""],["SYS_pkey_free",""],["SYS_pkey_mprotect",""],["SYS_poll",""],["SYS_ppoll",""],["SYS_prctl",""],["SYS_pread64",""],["SYS_preadv",""],["SYS_preadv2",""],["SYS_prlimit64",""],["SYS_process_madvise",""],["SYS_process_mrelease",""],["SYS_process_vm_readv",""],["SYS_process_vm_writev",""],["SYS_pselect6",""],["SYS_ptrace",""],["SYS_putpmsg",""],["SYS_pwrite64",""],["SYS_pwritev",""],["SYS_pwritev2",""],["SYS_query_module",""],["SYS_quotactl",""],["SYS_quotactl_fd",""],["SYS_read",""],["SYS_readahead",""],["SYS_readlink",""],["SYS_readlinkat",""],["SYS_readv",""],["SYS_reboot",""],["SYS_recvfrom",""],["SYS_recvmmsg",""],["SYS_recvmsg",""],["SYS_remap_file_pages",""],["SYS_removexattr",""],["SYS_rename",""],["SYS_renameat",""],["SYS_renameat2",""],["SYS_request_key",""],["SYS_restart_syscall",""],["SYS_rmdir",""],["SYS_rseq",""],["SYS_rt_sigaction",""],["SYS_rt_sigpending",""],["SYS_rt_sigprocmask",""],["SYS_rt_sigqueueinfo",""],["SYS_rt_sigreturn",""],["SYS_rt_sigsuspend",""],["SYS_rt_sigtimedwait",""],["SYS_rt_tgsigqueueinfo",""],["SYS_sched_get_priority_max",""],["SYS_sched_get_priority_min",""],["SYS_sched_getaffinity",""],["SYS_sched_getattr",""],["SYS_sched_getparam",""],["SYS_sched_getscheduler",""],["SYS_sched_rr_get_interval",""],["SYS_sched_setaffinity",""],["SYS_sched_setattr",""],["SYS_sched_setparam",""],["SYS_sched_setscheduler",""],["SYS_sched_yield",""],["SYS_seccomp",""],["SYS_security",""],["SYS_select",""],["SYS_semctl",""],["SYS_semget",""],["SYS_semop",""],["SYS_semtimedop",""],["SYS_sendfile",""],["SYS_sendmmsg",""],["SYS_sendmsg",""],["SYS_sendto",""],["SYS_set_mempolicy",""],["SYS_set_mempolicy_home_node",""],["SYS_set_robust_list",""],["SYS_set_thread_area",""],["SYS_set_tid_address",""],["SYS_setdomainname",""],["SYS_setfsgid",""],["SYS_setfsuid",""],["SYS_setgid",""],["SYS_setgroups",""],["SYS_sethostname",""],["SYS_setitimer",""],["SYS_setns",""],["SYS_setpgid",""],["SYS_setpriority",""],["SYS_setregid",""],["SYS_setresgid",""],["SYS_setresuid",""],["SYS_setreuid",""],["SYS_setrlimit",""],["SYS_setsid",""],["SYS_setsockopt",""],["SYS_settimeofday",""],["SYS_setuid",""],["SYS_setxattr",""],["SYS_shmat",""],["SYS_shmctl",""],["SYS_shmdt",""],["SYS_shmget",""],["SYS_shutdown",""],["SYS_sigaltstack",""],["SYS_signalfd",""],["SYS_signalfd4",""],["SYS_socket",""],["SYS_socketpair",""],["SYS_splice",""],["SYS_stat",""],["SYS_statfs",""],["SYS_statx",""],["SYS_swapoff",""],["SYS_swapon",""],["SYS_symlink",""],["SYS_symlinkat",""],["SYS_sync",""],["SYS_sync_file_range",""],["SYS_syncfs",""],["SYS_sysfs",""],["SYS_sysinfo",""],["SYS_syslog",""],["SYS_tee",""],["SYS_tgkill",""],["SYS_time",""],["SYS_timer_create",""],["SYS_timer_delete",""],["SYS_timer_getoverrun",""],["SYS_timer_gettime",""],["SYS_timer_settime",""],["SYS_timerfd_create",""],["SYS_timerfd_gettime",""],["SYS_timerfd_settime",""],["SYS_times",""],["SYS_tkill",""],["SYS_truncate",""],["SYS_tuxcall",""],["SYS_umask",""],["SYS_umount2",""],["SYS_uname",""],["SYS_unlink",""],["SYS_unlinkat",""],["SYS_unshare",""],["SYS_uselib",""],["SYS_userfaultfd",""],["SYS_ustat",""],["SYS_utime",""],["SYS_utimensat",""],["SYS_utimes",""],["SYS_vfork",""],["SYS_vhangup",""],["SYS_vmsplice",""],["SYS_vserver",""],["SYS_wait4",""],["SYS_waitid",""],["SYS_write",""],["SYS_writev",""],["S_IEXEC",""],["S_IFBLK",""],["S_IFCHR",""],["S_IFDIR",""],["S_IFIFO",""],["S_IFLNK",""],["S_IFMT",""],["S_IFREG",""],["S_IFSOCK",""],["S_IREAD",""],["S_IRGRP",""],["S_IROTH",""],["S_IRUSR",""],["S_IRWXG",""],["S_IRWXO",""],["S_IRWXU",""],["S_ISGID",""],["S_ISUID",""],["S_ISVTX",""],["S_IWGRP",""],["S_IWOTH",""],["S_IWRITE",""],["S_IWUSR",""],["S_IXGRP",""],["S_IXOTH",""],["S_IXUSR",""],["TAB0",""],["TAB1",""],["TAB2",""],["TAB3",""],["TABDLY",""],["TCA_CHAIN",""],["TCA_DUMP_INVISIBLE",""],["TCA_FCNT",""],["TCA_HW_OFFLOAD",""],["TCA_KIND",""],["TCA_OPTIONS",""],["TCA_PAD",""],["TCA_RATE",""],["TCA_STAB",""],["TCA_STATS",""],["TCA_STATS2",""],["TCA_UNSPEC",""],["TCA_XSTATS",""],["TCFLSH",""],["TCGETA",""],["TCGETS",""],["TCGETS2",""],["TCGETX",""],["TCIFLUSH",""],["TCIOFF",""],["TCIOFLUSH",""],["TCION",""],["TCOFLUSH",""],["TCOOFF",""],["TCOON",""],["TCP_CC_INFO",""],["TCP_CM_INQ",""],["TCP_CONGESTION",""],["TCP_COOKIE_TRANSACTIONS",""],["TCP_CORK",""],["TCP_DEFER_ACCEPT",""],["TCP_FASTOPEN",""],["TCP_FASTOPEN_CONNECT",""],["TCP_FASTOPEN_KEY",""],["TCP_FASTOPEN_NO_COOKIE",""],["TCP_INFO",""],["TCP_INQ",""],["TCP_KEEPCNT",""],["TCP_KEEPIDLE",""],["TCP_KEEPINTVL",""],["TCP_LINGER2",""],["TCP_MAXSEG",""],["TCP_MD5SIG",""],["TCP_MD5SIG_EXT",""],["TCP_NODELAY",""],["TCP_NOTSENT_LOWAT",""],["TCP_QUEUE_SEQ",""],["TCP_QUICKACK",""],["TCP_REPAIR",""],["TCP_REPAIR_OPTIONS",""],["TCP_REPAIR_QUEUE",""],["TCP_REPAIR_WINDOW",""],["TCP_SAVED_SYN",""],["TCP_SAVE_SYN",""],["TCP_SYNCNT",""],["TCP_THIN_DUPACK",""],["TCP_THIN_LINEAR_TIMEOUTS",""],["TCP_TIMESTAMP",""],["TCP_ULP",""],["TCP_USER_TIMEOUT",""],["TCP_WINDOW_CLAMP",""],["TCP_ZEROCOPY_RECEIVE",""],["TCSADRAIN",""],["TCSAFLUSH",""],["TCSANOW",""],["TCSBRK",""],["TCSBRKP",""],["TCSETA",""],["TCSETAF",""],["TCSETAW",""],["TCSETS",""],["TCSETS2",""],["TCSETSF",""],["TCSETSF2",""],["TCSETSW",""],["TCSETSW2",""],["TCSETX",""],["TCSETXF",""],["TCSETXW",""],["TCXONC",""],["TFD_CLOEXEC",""],["TFD_NONBLOCK",""],["TFD_TIMER_ABSTIME",""],["TFD_TIMER_CANCEL_ON_SET",""],["THOUSEP",""],["TIMER_ABSTIME",""],["TIME_BAD",""],["TIME_DEL",""],["TIME_ERROR",""],["TIME_INS",""],["TIME_OK",""],["TIME_OOP",""],["TIME_WAIT",""],["TIOCCBRK",""],["TIOCCONS",""],["TIOCEXCL",""],["TIOCGDEV",""],["TIOCGETD",""],["TIOCGEXCL",""],["TIOCGICOUNT",""],["TIOCGLCKTRMIOS",""],["TIOCGPGRP",""],["TIOCGPKT",""],["TIOCGPTLCK",""],["TIOCGPTN",""],["TIOCGPTPEER",""],["TIOCGRS485",""],["TIOCGSERIAL",""],["TIOCGSID",""],["TIOCGSOFTCAR",""],["TIOCGWINSZ",""],["TIOCINQ",""],["TIOCLINUX",""],["TIOCMBIC",""],["TIOCMBIS",""],["TIOCMGET",""],["TIOCMIWAIT",""],["TIOCMSET",""],["TIOCM_CAR",""],["TIOCM_CD",""],["TIOCM_CTS",""],["TIOCM_DSR",""],["TIOCM_DTR",""],["TIOCM_LE",""],["TIOCM_RI",""],["TIOCM_RNG",""],["TIOCM_RTS",""],["TIOCM_SR",""],["TIOCM_ST",""],["TIOCNOTTY",""],["TIOCNXCL",""],["TIOCOUTQ",""],["TIOCPKT",""],["TIOCSBRK",""],["TIOCSCTTY",""],["TIOCSERCONFIG",""],["TIOCSERGETLSR",""],["TIOCSERGETMULTI",""],["TIOCSERGSTRUCT",""],["TIOCSERGWILD",""],["TIOCSERSETMULTI",""],["TIOCSERSWILD",""],["TIOCSETD",""],["TIOCSIG",""],["TIOCSLCKTRMIOS",""],["TIOCSPGRP",""],["TIOCSPTLCK",""],["TIOCSRS485",""],["TIOCSSERIAL",""],["TIOCSSOFTCAR",""],["TIOCSTI",""],["TIOCSWINSZ",""],["TIOCVHANGUP",""],["TMPFS_MAGIC",""],["TMP_MAX",""],["TOSTOP",""],["TRACEFS_MAGIC",""],["TUN_READQ_SIZE",""],["TUN_TAP_DEV",""],["TUN_TUN_DEV",""],["TUN_TYPE_MASK",""],["T_FMT",""],["T_FMT_AMPM",""],["UDF_SUPER_MAGIC",""],["UDP_CORK",""],["UDP_ENCAP",""],["UDP_GRO",""],["UDP_NO_CHECK6_RX",""],["UDP_NO_CHECK6_TX",""],["UDP_SEGMENT",""],["UINPUT_MAX_NAME_SIZE",""],["UINPUT_VERSION",""],["UIO_MAXIOV",""],["UMOUNT_NOFOLLOW",""],["UNAME26",""],["USBDEVICE_SUPER_MAGIC",""],["USER_PROCESS",""],["USRQUOTA",""],["UTIME_NOW",""],["UTIME_OMIT",""],["VDISCARD",""],["VEOF",""],["VEOL",""],["VEOL2",""],["VERASE",""],["VINTR",""],["VKILL",""],["VLNEXT",""],["VMADDR_CID_ANY",""],["VMADDR_CID_HOST",""],["VMADDR_CID_HYPERVISOR",""],["VMADDR_CID_LOCAL",""],["VMADDR_CID_RESERVED",""],["VMADDR_PORT_ANY",""],["VMIN",""],["VQUIT",""],["VREPRINT",""],["VSTART",""],["VSTOP",""],["VSUSP",""],["VSWTC",""],["VT0",""],["VT1",""],["VTDLY",""],["VTIME",""],["VWERASE",""],["WCONTINUED",""],["WEXITED",""],["WHOLE_SECONDS",""],["WNOHANG",""],["WNOWAIT",""],["WSTOPPED",""],["WUNTRACED",""],["W_OK",""],["XATTR_CREATE",""],["XATTR_REPLACE",""],["XENFS_SUPER_MAGIC",""],["XFS_SUPER_MAGIC",""],["XTABS",""],["X_OK",""],["YESEXPR",""],["YESSTR",""],["_IOFBF",""],["_IOLBF",""],["_IONBF",""],["_PC_2_SYMLINKS",""],["_PC_ALLOC_SIZE_MIN",""],["_PC_ASYNC_IO",""],["_PC_CHOWN_RESTRICTED",""],["_PC_FILESIZEBITS",""],["_PC_LINK_MAX",""],["_PC_MAX_CANON",""],["_PC_MAX_INPUT",""],["_PC_NAME_MAX",""],["_PC_NO_TRUNC",""],["_PC_PATH_MAX",""],["_PC_PIPE_BUF",""],["_PC_PRIO_IO",""],["_PC_REC_INCR_XFER_SIZE",""],["_PC_REC_MAX_XFER_SIZE",""],["_PC_REC_MIN_XFER_SIZE",""],["_PC_REC_XFER_ALIGN",""],["_PC_SOCK_MAXBUF",""],["_PC_SYMLINK_MAX",""],["_PC_SYNC_IO",""],["_PC_VDISABLE",""],["_POSIX_VDISABLE",""],["_SC_2_CHAR_TERM",""],["_SC_2_C_BIND",""],["_SC_2_C_DEV",""],["_SC_2_C_VERSION",""],["_SC_2_FORT_DEV",""],["_SC_2_FORT_RUN",""],["_SC_2_LOCALEDEF",""],["_SC_2_PBS",""],["_SC_2_PBS_ACCOUNTING",""],["_SC_2_PBS_CHECKPOINT",""],["_SC_2_PBS_LOCATE",""],["_SC_2_PBS_MESSAGE",""],["_SC_2_PBS_TRACK",""],["_SC_2_SW_DEV",""],["_SC_2_UPE",""],["_SC_2_VERSION",""],["_SC_ADVISORY_INFO",""],["_SC_AIO_LISTIO_MAX",""],["_SC_AIO_MAX",""],["_SC_AIO_PRIO_DELTA_MAX",""],["_SC_ARG_MAX",""],["_SC_ASYNCHRONOUS_IO",""],["_SC_ATEXIT_MAX",""],["_SC_AVPHYS_PAGES",""],["_SC_BARRIERS",""],["_SC_BASE",""],["_SC_BC_BASE_MAX",""],["_SC_BC_DIM_MAX",""],["_SC_BC_SCALE_MAX",""],["_SC_BC_STRING_MAX",""],["_SC_CHARCLASS_NAME_MAX",""],["_SC_CHAR_BIT",""],["_SC_CHAR_MAX",""],["_SC_CHAR_MIN",""],["_SC_CHILD_MAX",""],["_SC_CLK_TCK",""],["_SC_CLOCK_SELECTION",""],["_SC_COLL_WEIGHTS_MAX",""],["_SC_CPUTIME",""],["_SC_C_LANG_SUPPORT",""],["_SC_C_LANG_SUPPORT_R",""],["_SC_DELAYTIMER_MAX",""],["_SC_DEVICE_IO",""],["_SC_DEVICE_SPECIFIC",""],["_SC_DEVICE_SPECIFIC_R",""],["_SC_EQUIV_CLASS_MAX",""],["_SC_EXPR_NEST_MAX",""],["_SC_FD_MGMT",""],["_SC_FIFO",""],["_SC_FILE_ATTRIBUTES",""],["_SC_FILE_LOCKING",""],["_SC_FILE_SYSTEM",""],["_SC_FSYNC",""],["_SC_GETGR_R_SIZE_MAX",""],["_SC_GETPW_R_SIZE_MAX",""],["_SC_HOST_NAME_MAX",""],["_SC_INT_MAX",""],["_SC_INT_MIN",""],["_SC_IOV_MAX",""],["_SC_IPV6",""],["_SC_JOB_CONTROL",""],["_SC_LEVEL1_DCACHE_ASSOC",""],["_SC_LEVEL1_DCACHE_LINESIZE",""],["_SC_LEVEL1_DCACHE_SIZE",""],["_SC_LEVEL1_ICACHE_ASSOC",""],["_SC_LEVEL1_ICACHE_LINESIZE",""],["_SC_LEVEL1_ICACHE_SIZE",""],["_SC_LEVEL2_CACHE_ASSOC",""],["_SC_LEVEL2_CACHE_LINESIZE",""],["_SC_LEVEL2_CACHE_SIZE",""],["_SC_LEVEL3_CACHE_ASSOC",""],["_SC_LEVEL3_CACHE_LINESIZE",""],["_SC_LEVEL3_CACHE_SIZE",""],["_SC_LEVEL4_CACHE_ASSOC",""],["_SC_LEVEL4_CACHE_LINESIZE",""],["_SC_LEVEL4_CACHE_SIZE",""],["_SC_LINE_MAX",""],["_SC_LOGIN_NAME_MAX",""],["_SC_LONG_BIT",""],["_SC_MAPPED_FILES",""],["_SC_MB_LEN_MAX",""],["_SC_MEMLOCK",""],["_SC_MEMLOCK_RANGE",""],["_SC_MEMORY_PROTECTION",""],["_SC_MESSAGE_PASSING",""],["_SC_MONOTONIC_CLOCK",""],["_SC_MQ_OPEN_MAX",""],["_SC_MQ_PRIO_MAX",""],["_SC_MULTI_PROCESS",""],["_SC_NETWORKING",""],["_SC_NGROUPS_MAX",""],["_SC_NL_ARGMAX",""],["_SC_NL_LANGMAX",""],["_SC_NL_MSGMAX",""],["_SC_NL_NMAX",""],["_SC_NL_SETMAX",""],["_SC_NL_TEXTMAX",""],["_SC_NPROCESSORS_CONF",""],["_SC_NPROCESSORS_ONLN",""],["_SC_NZERO",""],["_SC_OPEN_MAX",""],["_SC_PAGESIZE",""],["_SC_PAGE_SIZE",""],["_SC_PASS_MAX",""],["_SC_PHYS_PAGES",""],["_SC_PII",""],["_SC_PII_INTERNET",""],["_SC_PII_INTERNET_DGRAM",""],["_SC_PII_INTERNET_STREAM",""],["_SC_PII_OSI",""],["_SC_PII_OSI_CLTS",""],["_SC_PII_OSI_COTS",""],["_SC_PII_OSI_M",""],["_SC_PII_SOCKET",""],["_SC_PII_XTI",""],["_SC_PIPE",""],["_SC_POLL",""],["_SC_PRIORITIZED_IO",""],["_SC_PRIORITY_SCHEDULING",""],["_SC_RAW_SOCKETS",""],["_SC_READER_WRITER_LOCKS",""],["_SC_REALTIME_SIGNALS",""],["_SC_REGEXP",""],["_SC_REGEX_VERSION",""],["_SC_RE_DUP_MAX",""],["_SC_RTSIG_MAX",""],["_SC_SAVED_IDS",""],["_SC_SCHAR_MAX",""],["_SC_SCHAR_MIN",""],["_SC_SELECT",""],["_SC_SEMAPHORES",""],["_SC_SEM_NSEMS_MAX",""],["_SC_SEM_VALUE_MAX",""],["_SC_SHARED_MEMORY_OBJECTS",""],["_SC_SHELL",""],["_SC_SHRT_MAX",""],["_SC_SHRT_MIN",""],["_SC_SIGNALS",""],["_SC_SIGQUEUE_MAX",""],["_SC_SINGLE_PROCESS",""],["_SC_SPAWN",""],["_SC_SPIN_LOCKS",""],["_SC_SPORADIC_SERVER",""],["_SC_SSIZE_MAX",""],["_SC_SS_REPL_MAX",""],["_SC_STREAMS",""],["_SC_STREAM_MAX",""],["_SC_SYMLOOP_MAX",""],["_SC_SYNCHRONIZED_IO",""],["_SC_SYSTEM_DATABASE",""],["_SC_SYSTEM_DATABASE_R",""],["_SC_THREADS",""],["_SC_THREAD_ATTR_STACKADDR",""],["_SC_THREAD_ATTR_STACKSIZE",""],["_SC_THREAD_CPUTIME",""],["_SC_THREAD_DESTRUCTOR_ITERATIONS",""],["_SC_THREAD_KEYS_MAX",""],["_SC_THREAD_PRIORITY_SCHEDULING",""],["_SC_THREAD_PRIO_INHERIT",""],["_SC_THREAD_PRIO_PROTECT",""],["_SC_THREAD_PROCESS_SHARED",""],["_SC_THREAD_ROBUST_PRIO_INHERIT",""],["_SC_THREAD_ROBUST_PRIO_PROTECT",""],["_SC_THREAD_SAFE_FUNCTIONS",""],["_SC_THREAD_SPORADIC_SERVER",""],["_SC_THREAD_STACK_MIN",""],["_SC_THREAD_THREADS_MAX",""],["_SC_TIMEOUTS",""],["_SC_TIMERS",""],["_SC_TIMER_MAX",""],["_SC_TRACE",""],["_SC_TRACE_EVENT_FILTER",""],["_SC_TRACE_EVENT_NAME_MAX",""],["_SC_TRACE_INHERIT",""],["_SC_TRACE_LOG",""],["_SC_TRACE_NAME_MAX",""],["_SC_TRACE_SYS_MAX",""],["_SC_TRACE_USER_EVENT_MAX",""],["_SC_TTY_NAME_MAX",""],["_SC_TYPED_MEMORY_OBJECTS",""],["_SC_TZNAME_MAX",""],["_SC_T_IOV_MAX",""],["_SC_UCHAR_MAX",""],["_SC_UINT_MAX",""],["_SC_UIO_MAXIOV",""],["_SC_ULONG_MAX",""],["_SC_USER_GROUPS",""],["_SC_USER_GROUPS_R",""],["_SC_USHRT_MAX",""],["_SC_V6_ILP32_OFF32",""],["_SC_V6_ILP32_OFFBIG",""],["_SC_V6_LP64_OFF64",""],["_SC_V6_LPBIG_OFFBIG",""],["_SC_V7_ILP32_OFF32",""],["_SC_V7_ILP32_OFFBIG",""],["_SC_V7_LP64_OFF64",""],["_SC_V7_LPBIG_OFFBIG",""],["_SC_VERSION",""],["_SC_WORD_BIT",""],["_SC_XBS5_ILP32_OFF32",""],["_SC_XBS5_ILP32_OFFBIG",""],["_SC_XBS5_LP64_OFF64",""],["_SC_XBS5_LPBIG_OFFBIG",""],["_SC_XOPEN_CRYPT",""],["_SC_XOPEN_ENH_I18N",""],["_SC_XOPEN_LEGACY",""],["_SC_XOPEN_REALTIME",""],["_SC_XOPEN_REALTIME_THREADS",""],["_SC_XOPEN_SHM",""],["_SC_XOPEN_STREAMS",""],["_SC_XOPEN_UNIX",""],["_SC_XOPEN_VERSION",""],["_SC_XOPEN_XCU_VERSION",""],["_SC_XOPEN_XPG2",""],["_SC_XOPEN_XPG3",""],["_SC_XOPEN_XPG4",""],["__NFT_REG_MAX",""],["__SIZEOF_PTHREAD_CONDATTR_T",""],["__SIZEOF_PTHREAD_COND_T",""],["__SIZEOF_PTHREAD_MUTEXATTR_T",""],["__SIZEOF_PTHREAD_MUTEX_T",""],["__SIZEOF_PTHREAD_RWLOCKATTR_T",""],["__SIZEOF_PTHREAD_RWLOCK_T",""],["__UT_HOSTSIZE",""],["__UT_LINESIZE",""],["__UT_NAMESIZE",""],["__WALL",""],["__WCLONE",""],["__WNOTHREAD",""]],"enum":[["DIR",""],["FILE",""],["c_void","Equivalent to C’s `void` type when used as a [pointer]."],["fpos64_t",""],["fpos_t",""],["timezone",""]],"fn":[["BPF_JUMP",""],["BPF_MISCOP",""],["BPF_RVAL",""],["BPF_STMT",""],["CMSG_DATA",""],["CMSG_FIRSTHDR",""],["CMSG_LEN",""],["CMSG_NXTHDR",""],["CMSG_SPACE",""],["CPU_ALLOC_SIZE",""],["CPU_CLR",""],["CPU_COUNT",""],["CPU_COUNT_S",""],["CPU_EQUAL",""],["CPU_ISSET",""],["CPU_SET",""],["CPU_ZERO",""],["FD_CLR",""],["FD_ISSET",""],["FD_SET",""],["FD_ZERO",""],["IPOPT_CLASS",""],["IPOPT_COPIED",""],["IPOPT_NUMBER",""],["IPTOS_ECN",""],["IPTOS_PREC",""],["IPTOS_TOS",""],["KERNEL_VERSION",""],["NLA_ALIGN",""],["QCMD",""],["RT_ADDRCLASS",""],["RT_LOCALADDR",""],["RT_TOS",""],["SIGRTMAX",""],["SIGRTMIN",""],["SO_EE_OFFENDER",""],["WCOREDUMP",""],["WEXITSTATUS",""],["WIFCONTINUED",""],["WIFEXITED",""],["WIFSIGNALED",""],["WIFSTOPPED",""],["WSTOPSIG",""],["WTERMSIG",""],["W_EXITCODE",""],["W_STOPCODE",""],["__errno_location",""],["_exit",""],["abort",""],["abs",""],["accept",""],["accept4",""],["access",""],["acct",""],["addmntent",""],["adjtime",""],["adjtimex",""],["aio_cancel",""],["aio_error",""],["aio_fsync",""],["aio_read",""],["aio_return",""],["aio_suspend",""],["aio_write",""],["alarm",""],["asctime_r",""],["atexit",""],["atof",""],["atoi",""],["atol",""],["atoll",""],["backtrace",""],["bind",""],["brk",""],["bsearch",""],["calloc",""],["cfgetispeed",""],["cfgetospeed",""],["cfmakeraw",""],["cfsetispeed",""],["cfsetospeed",""],["cfsetspeed",""],["chdir",""],["chmod",""],["chown",""],["chroot",""],["clearenv",""],["clearerr",""],["clock_adjtime",""],["clock_getcpuclockid",""],["clock_getres",""],["clock_gettime",""],["clock_nanosleep",""],["clock_settime",""],["clone",""],["close",""],["closedir",""],["closelog",""],["connect",""],["copy_file_range",""],["creat",""],["creat64",""],["ctermid",""],["ctime_r",""],["daemon",""],["difftime",""],["dirfd",""],["dirname",""],["dl_iterate_phdr",""],["dladdr",""],["dladdr1",""],["dlclose",""],["dlerror",""],["dlinfo",""],["dlmopen",""],["dlopen",""],["dlsym",""],["drand48",""],["dup",""],["dup2",""],["dup3",""],["duplocale",""],["eaccess",""],["endgrent",""],["endmntent",""],["endpwent",""],["endservent",""],["endspent",""],["endutxent",""],["epoll_create",""],["epoll_create1",""],["epoll_ctl",""],["epoll_pwait",""],["epoll_wait",""],["erand48",""],["euidaccess",""],["eventfd",""],["execl",""],["execle",""],["execlp",""],["execv",""],["execve",""],["execvp",""],["execvpe",""],["exit",""],["explicit_bzero",""],["faccessat",""],["fallocate",""],["fallocate64",""],["fanotify_init",""],["fanotify_mark",""],["fchdir",""],["fchmod",""],["fchmodat",""],["fchown",""],["fchownat",""],["fclose",""],["fcntl",""],["fdatasync",""],["fdopen",""],["fdopendir",""],["feof",""],["ferror",""],["fexecve",""],["fflush",""],["fgetc",""],["fgetgrent_r",""],["fgetpos",""],["fgetpos64",""],["fgetpwent_r",""],["fgets",""],["fgetspent_r",""],["fgetxattr",""],["fileno",""],["flistxattr",""],["flock",""],["fmemopen",""],["fopen",""],["fopen64",""],["fork",""],["forkpty",""],["fpathconf",""],["fprintf",""],["fputc",""],["fputs",""],["fread",""],["fread_unlocked",""],["free",""],["freeaddrinfo",""],["freeifaddrs",""],["freelocale",""],["fremovexattr",""],["freopen",""],["freopen64",""],["fscanf",""],["fseek",""],["fseeko",""],["fseeko64",""],["fsetpos",""],["fsetpos64",""],["fsetxattr",""],["fstat",""],["fstat64",""],["fstatat",""],["fstatat64",""],["fstatfs",""],["fstatfs64",""],["fstatvfs",""],["fstatvfs64",""],["fsync",""],["ftell",""],["ftello",""],["ftello64",""],["ftok",""],["ftruncate",""],["ftruncate64",""],["futimens",""],["futimes",""],["fwrite",""],["gai_strerror",""],["getaddrinfo",""],["getauxval",""],["getchar",""],["getchar_unlocked",""],["getcontext",""],["getcwd",""],["getdomainname",""],["getdtablesize",""],["getegid",""],["getentropy",""],["getenv",""],["geteuid",""],["getgid",""],["getgrent",""],["getgrent_r",""],["getgrgid",""],["getgrgid_r",""],["getgrnam",""],["getgrnam_r",""],["getgrouplist",""],["getgroups",""],["gethostid",""],["gethostname",""],["getifaddrs",""],["getline",""],["getloadavg",""],["getlogin",""],["getmntent",""],["getnameinfo",""],["getopt",""],["getopt_long",""],["getpeername",""],["getpgid",""],["getpgrp",""],["getpid",""],["getppid",""],["getpriority",""],["getprotobyname",""],["getprotobynumber",""],["getpt",""],["getpwent",""],["getpwent_r",""],["getpwnam",""],["getpwnam_r",""],["getpwuid",""],["getpwuid_r",""],["getrandom",""],["getresgid",""],["getresuid",""],["getrlimit",""],["getrlimit64",""],["getrusage",""],["getservbyname",""],["getservbyport",""],["getservent",""],["getsid",""],["getsockname",""],["getsockopt",""],["getspent",""],["getspent_r",""],["getspnam",""],["getspnam_r",""],["gettid",""],["gettimeofday",""],["getuid",""],["getutxent",""],["getutxid",""],["getutxline",""],["getxattr",""],["glob",""],["glob64",""],["globfree",""],["globfree64",""],["gmtime",""],["gmtime_r",""],["gnu_basename","GNU version of `basename(3)`, defined in `string.h`."],["gnu_get_libc_release",""],["gnu_get_libc_version",""],["grantpt",""],["hasmntopt",""],["hstrerror",""],["iconv",""],["iconv_close",""],["iconv_open",""],["if_freenameindex",""],["if_indextoname",""],["if_nameindex",""],["if_nametoindex",""],["initgroups",""],["inotify_add_watch",""],["inotify_init",""],["inotify_init1",""],["inotify_rm_watch",""],["ioctl",""],["ioperm",""],["iopl",""],["isalnum",""],["isalpha",""],["isatty",""],["isblank",""],["iscntrl",""],["isdigit",""],["isgraph",""],["islower",""],["isprint",""],["ispunct",""],["isspace",""],["isupper",""],["isxdigit",""],["jrand48",""],["kill",""],["killpg",""],["labs",""],["lchown",""],["lcong48",""],["lgetxattr",""],["link",""],["linkat",""],["lio_listio",""],["listen",""],["listxattr",""],["llistxattr",""],["localeconv",""],["localtime",""],["localtime_r",""],["lockf",""],["login_tty",""],["lrand48",""],["lremovexattr",""],["lseek",""],["lseek64",""],["lsetxattr",""],["lstat",""],["lstat64",""],["lutimes",""],["madvise",""],["major",""],["makecontext",""],["makedev",""],["mallinfo",""],["mallinfo2",""],["malloc",""],["malloc_info",""],["malloc_trim",""],["malloc_usable_size",""],["mallopt",""],["memalign",""],["memchr",""],["memcmp",""],["memcpy",""],["memfd_create",""],["memmem",""],["memmove",""],["memrchr",""],["memset",""],["mincore",""],["minor",""],["mkdir",""],["mkdirat",""],["mkdtemp",""],["mkfifo",""],["mkfifoat",""],["mknod",""],["mknodat",""],["mkostemp",""],["mkostemps",""],["mkstemp",""],["mkstemps",""],["mktime",""],["mlock",""],["mlock2",""],["mlockall",""],["mmap",""],["mmap64",""],["mount",""],["mprotect",""],["mq_close",""],["mq_getattr",""],["mq_open",""],["mq_receive",""],["mq_send",""],["mq_setattr",""],["mq_timedreceive",""],["mq_timedsend",""],["mq_unlink",""],["mrand48",""],["mremap",""],["msgctl",""],["msgget",""],["msgrcv",""],["msgsnd",""],["msync",""],["munlock",""],["munlockall",""],["munmap",""],["nanosleep",""],["newlocale",""],["nice",""],["nl_langinfo",""],["nl_langinfo_l",""],["nrand48",""],["ntp_adjtime",""],["ntp_gettime",""],["open",""],["open64",""],["open_memstream",""],["open_wmemstream",""],["openat",""],["openat64",""],["opendir",""],["openlog",""],["openpty",""],["pathconf",""],["pause",""],["pclose",""],["perror",""],["personality",""],["pipe",""],["pipe2",""],["poll",""],["popen",""],["posix_basename","POSIX version of `basename(3)`, defined in `libgen.h`."],["posix_fadvise",""],["posix_fadvise64",""],["posix_fallocate",""],["posix_fallocate64",""],["posix_madvise",""],["posix_memalign",""],["posix_openpt",""],["posix_spawn",""],["posix_spawn_file_actions_addclose",""],["posix_spawn_file_actions_adddup2",""],["posix_spawn_file_actions_addopen",""],["posix_spawn_file_actions_destroy",""],["posix_spawn_file_actions_init",""],["posix_spawnattr_destroy",""],["posix_spawnattr_getflags",""],["posix_spawnattr_getpgroup",""],["posix_spawnattr_getschedparam",""],["posix_spawnattr_getschedpolicy",""],["posix_spawnattr_getsigdefault",""],["posix_spawnattr_getsigmask",""],["posix_spawnattr_init",""],["posix_spawnattr_setflags",""],["posix_spawnattr_setpgroup",""],["posix_spawnattr_setschedparam",""],["posix_spawnattr_setschedpolicy",""],["posix_spawnattr_setsigdefault",""],["posix_spawnattr_setsigmask",""],["posix_spawnp",""],["ppoll",""],["prctl",""],["pread",""],["pread64",""],["preadv",""],["preadv2",""],["preadv64",""],["preadv64v2",""],["printf",""],["prlimit",""],["prlimit64",""],["process_vm_readv",""],["process_vm_writev",""],["pselect",""],["pthread_atfork",""],["pthread_attr_destroy",""],["pthread_attr_getaffinity_np",""],["pthread_attr_getguardsize",""],["pthread_attr_getstack",""],["pthread_attr_init",""],["pthread_attr_setaffinity_np",""],["pthread_attr_setdetachstate",""],["pthread_attr_setstacksize",""],["pthread_cancel",""],["pthread_cond_broadcast",""],["pthread_cond_destroy",""],["pthread_cond_init",""],["pthread_cond_signal",""],["pthread_cond_timedwait",""],["pthread_cond_wait",""],["pthread_condattr_destroy",""],["pthread_condattr_getclock",""],["pthread_condattr_getpshared",""],["pthread_condattr_init",""],["pthread_condattr_setclock",""],["pthread_condattr_setpshared",""],["pthread_create",""],["pthread_detach",""],["pthread_exit",""],["pthread_getaffinity_np",""],["pthread_getattr_np",""],["pthread_getcpuclockid",""],["pthread_getname_np",""],["pthread_getschedparam",""],["pthread_getspecific",""],["pthread_join",""],["pthread_key_create",""],["pthread_key_delete",""],["pthread_kill",""],["pthread_mutex_consistent",""],["pthread_mutex_destroy",""],["pthread_mutex_init",""],["pthread_mutex_lock",""],["pthread_mutex_timedlock",""],["pthread_mutex_trylock",""],["pthread_mutex_unlock",""],["pthread_mutexattr_destroy",""],["pthread_mutexattr_getprotocol",""],["pthread_mutexattr_getpshared",""],["pthread_mutexattr_getrobust",""],["pthread_mutexattr_init",""],["pthread_mutexattr_setprotocol",""],["pthread_mutexattr_setpshared",""],["pthread_mutexattr_setrobust",""],["pthread_mutexattr_settype",""],["pthread_rwlock_destroy",""],["pthread_rwlock_init",""],["pthread_rwlock_rdlock",""],["pthread_rwlock_tryrdlock",""],["pthread_rwlock_trywrlock",""],["pthread_rwlock_unlock",""],["pthread_rwlock_wrlock",""],["pthread_rwlockattr_destroy",""],["pthread_rwlockattr_getkind_np",""],["pthread_rwlockattr_getpshared",""],["pthread_rwlockattr_init",""],["pthread_rwlockattr_setkind_np",""],["pthread_rwlockattr_setpshared",""],["pthread_self",""],["pthread_setaffinity_np",""],["pthread_setname_np",""],["pthread_setschedparam",""],["pthread_setschedprio",""],["pthread_setspecific",""],["pthread_sigmask",""],["pthread_sigqueue",""],["pthread_spin_destroy",""],["pthread_spin_init",""],["pthread_spin_lock",""],["pthread_spin_trylock",""],["pthread_spin_unlock",""],["ptrace",""],["ptsname",""],["ptsname_r",""],["putchar",""],["putchar_unlocked",""],["putenv",""],["puts",""],["pututxline",""],["pwrite",""],["pwrite64",""],["pwritev",""],["pwritev2",""],["pwritev64",""],["pwritev64v2",""],["qsort",""],["qsort_r",""],["quotactl",""],["raise",""],["rand",""],["read",""],["readahead",""],["readdir",""],["readdir64",""],["readdir64_r",""],["readdir_r","The 64-bit libc on Solaris and illumos only has readdir_r. If a 32-bit Solaris or illumos target is ever created, it should use __posix_readdir_r. See libc(3LIB) on Solaris or illumos: https:\/\/illumos.org\/man\/3lib\/libc https:\/\/docs.oracle.com\/cd\/E36784_01\/html\/E36873\/libc-3lib.html https:\/\/www.unix.com\/man-page\/opensolaris\/3LIB\/libc\/"],["readlink",""],["readlinkat",""],["readv",""],["realloc",""],["reallocarray",""],["realpath",""],["reboot",""],["recv",""],["recvfrom",""],["recvmmsg",""],["recvmsg",""],["regcomp",""],["regerror",""],["regexec",""],["regfree",""],["remap_file_pages",""],["remove",""],["removexattr",""],["rename",""],["renameat",""],["renameat2",""],["res_init",""],["rewind",""],["rewinddir",""],["rmdir",""],["sbrk",""],["scanf",""],["sched_get_priority_max",""],["sched_get_priority_min",""],["sched_getaffinity",""],["sched_getcpu",""],["sched_getparam",""],["sched_getscheduler",""],["sched_rr_get_interval",""],["sched_setaffinity",""],["sched_setparam",""],["sched_setscheduler",""],["sched_yield",""],["seed48",""],["seekdir",""],["select",""],["sem_close",""],["sem_destroy",""],["sem_getvalue",""],["sem_init",""],["sem_open",""],["sem_post",""],["sem_timedwait",""],["sem_trywait",""],["sem_unlink",""],["sem_wait",""],["semctl",""],["semget",""],["semop",""],["send",""],["sendfile",""],["sendfile64",""],["sendmmsg",""],["sendmsg",""],["sendto",""],["setbuf",""],["setcontext",""],["setdomainname",""],["setegid",""],["setenv",""],["seteuid",""],["setfsgid",""],["setfsuid",""],["setgid",""],["setgrent",""],["setgroups",""],["sethostid",""],["sethostname",""],["setlocale",""],["setlogmask",""],["setmntent",""],["setns",""],["setpgid",""],["setpriority",""],["setpwent",""],["setregid",""],["setresgid",""],["setresuid",""],["setreuid",""],["setrlimit",""],["setrlimit64",""],["setservent",""],["setsid",""],["setsockopt",""],["setspent",""],["settimeofday",""],["setuid",""],["setutxent",""],["setvbuf",""],["setxattr",""],["sgetspent_r",""],["shm_open",""],["shm_unlink",""],["shmat",""],["shmctl",""],["shmdt",""],["shmget",""],["shutdown",""],["sigaction",""],["sigaddset",""],["sigaltstack",""],["sigdelset",""],["sigemptyset",""],["sigfillset",""],["sigismember",""],["signal",""],["signalfd",""],["sigpending",""],["sigprocmask",""],["sigsuspend",""],["sigtimedwait",""],["sigwait",""],["sigwaitinfo",""],["sleep",""],["snprintf",""],["socket",""],["socketpair",""],["splice",""],["sprintf",""],["srand",""],["srand48",""],["sscanf",""],["stat",""],["stat64",""],["statfs",""],["statfs64",""],["statvfs",""],["statvfs64",""],["statx",""],["stpcpy",""],["stpncpy",""],["strcasecmp",""],["strcasestr",""],["strcat",""],["strchr",""],["strcmp",""],["strcoll",""],["strcpy",""],["strcspn",""],["strdup",""],["strerror",""],["strerror_r",""],["strftime",""],["strlen",""],["strncasecmp",""],["strncat",""],["strncmp",""],["strncpy",""],["strndup",""],["strnlen",""],["strpbrk",""],["strptime",""],["strrchr",""],["strsignal",""],["strspn",""],["strstr",""],["strtod",""],["strtof",""],["strtok",""],["strtok_r",""],["strtol",""],["strtoll",""],["strtoul",""],["strtoull",""],["strxfrm",""],["swapcontext",""],["swapoff",""],["swapon",""],["symlink",""],["symlinkat",""],["sync",""],["sync_file_range",""],["syncfs",""],["syscall",""],["sysconf",""],["sysctl",""],["sysinfo",""],["syslog",""],["system",""],["tcdrain",""],["tcflow",""],["tcflush",""],["tcgetattr",""],["tcgetpgrp",""],["tcgetsid",""],["tcsendbreak",""],["tcsetattr",""],["tcsetpgrp",""],["tee",""],["telldir",""],["time",""],["timegm",""],["timer_create",""],["timer_delete",""],["timer_getoverrun",""],["timer_gettime",""],["timer_settime",""],["timerfd_create",""],["timerfd_gettime",""],["timerfd_settime",""],["times",""],["tmpfile",""],["tmpfile64",""],["tmpnam",""],["tolower",""],["toupper",""],["truncate",""],["truncate64",""],["ttyname",""],["ttyname_r",""],["umask",""],["umount",""],["umount2",""],["uname",""],["ungetc",""],["unlink",""],["unlinkat",""],["unlockpt",""],["unsetenv",""],["unshare",""],["uselocale",""],["usleep",""],["utime",""],["utimensat",""],["utimes",""],["utmpname",""],["utmpxname",""],["vfork",""],["vhangup",""],["vmsplice",""],["wait",""],["wait4",""],["waitid",""],["waitpid",""],["wcslen",""],["wcstombs",""],["wmemchr",""],["write",""],["writev",""]],"struct":[["Dl_info",""],["Elf32_Chdr",""],["Elf32_Ehdr",""],["Elf32_Phdr",""],["Elf32_Shdr",""],["Elf32_Sym",""],["Elf64_Chdr",""],["Elf64_Ehdr",""],["Elf64_Phdr",""],["Elf64_Shdr",""],["Elf64_Sym",""],["__c_anonymous_ifru_map",""],["__c_anonymous_ptrace_syscall_info_entry",""],["__c_anonymous_ptrace_syscall_info_exit",""],["__c_anonymous_ptrace_syscall_info_seccomp",""],["__c_anonymous_sockaddr_can_j1939",""],["__c_anonymous_sockaddr_can_tp",""],["__exit_status",""],["__timeval",""],["_libc_fpstate",""],["_libc_fpxreg",""],["_libc_xmmreg",""],["addrinfo",""],["af_alg_iv","WARNING: The `PartialEq`, `Eq` and `Hash` implementations of this type are unsound and will be removed in the future."],["aiocb",""],["arpd_request",""],["arphdr",""],["arpreq",""],["arpreq_old",""],["can_filter",""],["can_frame",""],["canfd_frame",""],["clone_args",""],["cmsghdr",""],["cpu_set_t",""],["dirent",""],["dirent64",""],["dl_phdr_info",""],["dqblk",""],["epoll_event",""],["fanotify_event_metadata",""],["fanotify_response",""],["fd_set",""],["ff_condition_effect",""],["ff_constant_effect",""],["ff_effect",""],["ff_envelope",""],["ff_periodic_effect",""],["ff_ramp_effect",""],["ff_replay",""],["ff_rumble_effect",""],["ff_trigger",""],["file_clone_range",""],["flock",""],["flock64",""],["fsid_t",""],["genlmsghdr",""],["glob64_t",""],["glob_t",""],["group",""],["hostent",""],["if_nameindex",""],["ifaddrs",""],["ifreq",""],["in6_addr",""],["in6_ifreq",""],["in6_pktinfo",""],["in6_rtmsg",""],["in_addr",""],["in_pktinfo",""],["inotify_event",""],["input_absinfo",""],["input_event",""],["input_id",""],["input_keymap_entry",""],["input_mask",""],["iovec",""],["ip_mreq",""],["ip_mreq_source",""],["ip_mreqn",""],["ipc_perm",""],["ipv6_mreq",""],["itimerspec",""],["itimerval",""],["j1939_filter",""],["lconv",""],["linger",""],["mallinfo",""],["mallinfo2",""],["max_align_t",""],["mcontext_t",""],["mmsghdr",""],["mntent",""],["mq_attr",""],["msghdr",""],["msginfo",""],["msqid_ds",""],["nl_mmap_hdr",""],["nl_mmap_req",""],["nl_pktinfo",""],["nlattr",""],["nlmsgerr",""],["nlmsghdr",""],["ntptimeval",""],["open_how",""],["option",""],["packet_mreq",""],["passwd",""],["pollfd",""],["posix_spawn_file_actions_t",""],["posix_spawnattr_t",""],["protoent",""],["pthread_attr_t",""],["pthread_cond_t",""],["pthread_condattr_t",""],["pthread_mutex_t",""],["pthread_mutexattr_t",""],["pthread_rwlock_t",""],["pthread_rwlockattr_t",""],["ptrace_peeksiginfo_args",""],["ptrace_rseq_configuration",""],["ptrace_syscall_info",""],["regex_t",""],["regmatch_t",""],["rlimit",""],["rlimit64",""],["rtentry",""],["rusage",""],["sched_param",""],["seccomp_data",""],["seccomp_notif_sizes",""],["sem_t",""],["sembuf",""],["semid_ds",""],["seminfo",""],["servent",""],["shmid_ds",""],["sigaction",""],["sigevent",""],["siginfo_t",""],["signalfd_siginfo",""],["sigset_t",""],["sigval",""],["sock_extended_err",""],["sock_filter",""],["sock_fprog",""],["sock_txtime",""],["sockaddr",""],["sockaddr_alg",""],["sockaddr_can",""],["sockaddr_in",""],["sockaddr_in6",""],["sockaddr_ll",""],["sockaddr_nl",""],["sockaddr_storage",""],["sockaddr_un",""],["sockaddr_vm",""],["spwd",""],["stack_t",""],["stat",""],["stat64",""],["statfs",""],["statfs64",""],["statvfs",""],["statvfs64",""],["statx",""],["statx_timestamp",""],["sysinfo",""],["termios",""],["termios2",""],["timespec",""],["timeval",""],["timex",""],["tm",""],["tms",""],["ucontext_t",""],["ucred",""],["uinput_abs_setup",""],["uinput_ff_erase",""],["uinput_ff_upload",""],["uinput_setup",""],["uinput_user_dev",""],["user",""],["user_fpregs_struct",""],["user_regs_struct",""],["utimbuf",""],["utmpx",""],["utsname",""],["winsize",""]],"type":[["Elf32_Addr",""],["Elf32_Half",""],["Elf32_Off",""],["Elf32_Section",""],["Elf32_Word",""],["Elf64_Addr",""],["Elf64_Half",""],["Elf64_Off",""],["Elf64_Section",""],["Elf64_Sxword",""],["Elf64_Word",""],["Elf64_Xword",""],["Lmid_t",""],["__fsword_t",""],["__priority_which_t",""],["__rlimit_resource_t",""],["__s16",""],["__s32",""],["__s64",""],["__syscall_ulong_t",""],["__u16",""],["__u32",""],["__u64",""],["__u8",""],["blkcnt64_t",""],["blkcnt_t",""],["blksize_t",""],["c_char",""],["c_double",""],["c_float",""],["c_int",""],["c_long",""],["c_longlong",""],["c_schar",""],["c_short",""],["c_uchar",""],["c_uint",""],["c_ulong",""],["c_ulonglong",""],["c_ushort",""],["can_err_mask_t",""],["canid_t",""],["cc_t",""],["clock_t",""],["clockid_t",""],["dev_t",""],["fsblkcnt_t",""],["fsfilcnt_t",""],["gid_t",""],["greg_t",""],["iconv_t",""],["id_t",""],["idtype_t",""],["in_addr_t",""],["in_port_t",""],["ino64_t",""],["ino_t",""],["int16_t",""],["int32_t",""],["int64_t",""],["int8_t",""],["intmax_t",""],["intptr_t",""],["key_t",""],["locale_t",""],["loff_t",""],["mode_t",""],["mqd_t",""],["msglen_t",""],["msgqnum_t",""],["name_t",""],["nfds_t",""],["nl_item",""],["nlink_t",""],["off64_t",""],["off_t",""],["pgn_t",""],["pid_t",""],["priority_t",""],["pthread_key_t",""],["pthread_spinlock_t",""],["pthread_t",""],["ptrdiff_t",""],["regoff_t",""],["rlim64_t",""],["rlim_t",""],["sa_family_t",""],["shmatt_t",""],["sighandler_t",""],["size_t",""],["socklen_t",""],["speed_t",""],["ssize_t",""],["suseconds_t",""],["tcflag_t",""],["time_t",""],["timer_t",""],["uid_t",""],["uint16_t",""],["uint32_t",""],["uint64_t",""],["uint8_t",""],["uintmax_t",""],["uintptr_t",""],["useconds_t",""],["wchar_t",""]],"union":[["__c_anonymous_ifr_ifru",""],["__c_anonymous_ptrace_syscall_info_data",""],["__c_anonymous_sockaddr_can_can_addr",""]]};/;" p class:window.SIDEBAR_ITEMS
|
||
createAliasFromItem guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:execQuery
|
||
createDirEntry guessing_game/target/doc/static.files/source-script-5cf2e01a42cc9858.js /^"use strict";(function(){const rootPath=document.getElementById("rustdoc-vars").attributes["data-root-path"].value;const NAME_OFFSET=0;const DIRS_OFFSET=1;const FILES_OFFSET=2;function closeSidebarIfMobile(){if(window.innerWidth<window.RUSTDOC_MOBILE_BREAKPOINT){updateLocalStorage("source-sidebar-show","false")}}function createDirEntry(elem,parent,fullPath,hasFoundFile){const dirEntry=document.createElement("details");const summary=document.createElement("summary");dirEntry.className="dir-entry";fullPath+=elem[NAME_OFFSET]+"\/";summary.innerText=elem[NAME_OFFSET];dirEntry.appendChild(summary);const folders=document.createElement("div");folders.className="folders";if(elem[DIRS_OFFSET]){for(const dir of elem[DIRS_OFFSET]){if(createDirEntry(dir,folders,fullPath,false)){dirEntry.open=true;hasFoundFile=true}}}dirEntry.appendChild(folders);const files=document.createElement("div");files.className="files";if(elem[FILES_OFFSET]){for(const file_text of elem[FILES_OFFSET]){const file=document.createElement("a");file.innerText=file_text;file.href=rootPath+"src\/"+fullPath+file_text+".html";file.addEventListener("click",closeSidebarIfMobile);const w=window.location.href.split("#")[0];if(!hasFoundFile&&w===file.href){file.className="selected";dirEntry.open=true;hasFoundFile=true}files.appendChild(file)}}dirEntry.appendChild(files);parent.appendChild(dirEntry);return hasFoundFile}function toggleSidebar(){const child=this.parentNode.children[0];if(child.innerText===">"){window.rustdocMobileScrollLock();addClass(document.documentElement,"source-sidebar-expanded");child.innerText="<";updateLocalStorage("source-sidebar-show","true")}else{window.rustdocMobileScrollUnlock();removeClass(document.documentElement,"source-sidebar-expanded");child.innerText=">";updateLocalStorage("source-sidebar-show","false")}}function createSidebarToggle(){const sidebarToggle=document.createElement("div");sidebarToggle.id="sidebar-toggle";const inner=document.createElement("button");if(getCurrentValue("source-sidebar-show")==="true"){inner.innerText="<"}else{inner.innerText=">"}inner.onclick=toggleSidebar;sidebarToggle.appendChild(inner);return sidebarToggle}function createSourceSidebar(){const container=document.querySelector("nav.sidebar");const sidebarToggle=createSidebarToggle();container.insertBefore(sidebarToggle,container.firstChild);const sidebar=document.createElement("div");sidebar.id="source-sidebar";let hasFoundFile=false;const title=document.createElement("div");title.className="title";title.innerText="Files";sidebar.appendChild(title);Object.keys(sourcesIndex).forEach(key=>{sourcesIndex[key][NAME_OFFSET]=key;hasFoundFile=createDirEntry(sourcesIndex[key],sidebar,"",hasFoundFile)});container.appendChild(sidebar);const selected_elem=sidebar.getElementsByClassName("selected")[0];if(typeof selected_elem!=="undefined"){selected_elem.focus()}}const lineNumbersRegex=\/^#?(\\d+)(?:-(\\d+))?$\/;function highlightSourceLines(match){if(typeof match==="undefined"){match=window.location.hash.match(lineNumbersRegex)}if(!match){return}let from=parseInt(match[1],10);let to=from;if(typeof match[2]!=="undefined"){to=parseInt(match[2],10)}if(to<from){const tmp=to;to=from;from=tmp}let elem=document.getElementById(from);if(!elem){return}const x=document.getElementById(from);if(x){x.scrollIntoView()}onEachLazy(document.getElementsByClassName("src-line-numbers"),e=>{onEachLazy(e.getElementsByTagName("a"),i_e=>{removeClass(i_e,"line-highlighted")})});for(let i=from;i<=to;++i){elem=document.getElementById(i);if(!elem){break}addClass(elem,"line-highlighted")}}const handleSourceHighlight=(function(){let prev_line_id=0;const set_fragment=name=>{const x=window.scrollX,y=window.scrollY;if(browserSupportsHistoryApi()){history.replaceState(null,null,"#"+name);highlightSourceLines()}else{location.replace("#"+name)}window.scrollTo(x,y)};return ev=>{let cur_line_id=parseInt(ev.target.id,10);if(isNaN(cur_line_id)||ev.ctrlKey||ev.altKey||ev.metaKey){return}ev.preventDefault();if(ev.shiftKey&&prev_line_id){if(prev_line_id>cur_line_id){const tmp=prev_line_id;prev_line_id=cur_line_id;cur_line_id=tmp}set_fragment(prev_line_id+"-"+cur_line_id)}else{prev_line_id=cur_line_id;set_fragment(cur_line_id)}}}());window.addEventListener("hashchange",()=>{const match=window.location.hash.match(lineNumbersRegex);if(match){return highlightSourceLines(match)}});onEachLazy(document.getElementsByClassName("src-line-numbers"),el=>{el.addEventListener("click",handleSourceHighlight)});highlightSourceLines();window.createSourceSidebar=createSourceSidebar})()/;" f
|
||
createQueryElement guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:initSearch
|
||
createQueryResults guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f
|
||
createSidebarToggle guessing_game/target/doc/static.files/source-script-5cf2e01a42cc9858.js /^"use strict";(function(){const rootPath=document.getElementById("rustdoc-vars").attributes["data-root-path"].value;const NAME_OFFSET=0;const DIRS_OFFSET=1;const FILES_OFFSET=2;function closeSidebarIfMobile(){if(window.innerWidth<window.RUSTDOC_MOBILE_BREAKPOINT){updateLocalStorage("source-sidebar-show","false")}}function createDirEntry(elem,parent,fullPath,hasFoundFile){const dirEntry=document.createElement("details");const summary=document.createElement("summary");dirEntry.className="dir-entry";fullPath+=elem[NAME_OFFSET]+"\/";summary.innerText=elem[NAME_OFFSET];dirEntry.appendChild(summary);const folders=document.createElement("div");folders.className="folders";if(elem[DIRS_OFFSET]){for(const dir of elem[DIRS_OFFSET]){if(createDirEntry(dir,folders,fullPath,false)){dirEntry.open=true;hasFoundFile=true}}}dirEntry.appendChild(folders);const files=document.createElement("div");files.className="files";if(elem[FILES_OFFSET]){for(const file_text of elem[FILES_OFFSET]){const file=document.createElement("a");file.innerText=file_text;file.href=rootPath+"src\/"+fullPath+file_text+".html";file.addEventListener("click",closeSidebarIfMobile);const w=window.location.href.split("#")[0];if(!hasFoundFile&&w===file.href){file.className="selected";dirEntry.open=true;hasFoundFile=true}files.appendChild(file)}}dirEntry.appendChild(files);parent.appendChild(dirEntry);return hasFoundFile}function toggleSidebar(){const child=this.parentNode.children[0];if(child.innerText===">"){window.rustdocMobileScrollLock();addClass(document.documentElement,"source-sidebar-expanded");child.innerText="<";updateLocalStorage("source-sidebar-show","true")}else{window.rustdocMobileScrollUnlock();removeClass(document.documentElement,"source-sidebar-expanded");child.innerText=">";updateLocalStorage("source-sidebar-show","false")}}function createSidebarToggle(){const sidebarToggle=document.createElement("div");sidebarToggle.id="sidebar-toggle";const inner=document.createElement("button");if(getCurrentValue("source-sidebar-show")==="true"){inner.innerText="<"}else{inner.innerText=">"}inner.onclick=toggleSidebar;sidebarToggle.appendChild(inner);return sidebarToggle}function createSourceSidebar(){const container=document.querySelector("nav.sidebar");const sidebarToggle=createSidebarToggle();container.insertBefore(sidebarToggle,container.firstChild);const sidebar=document.createElement("div");sidebar.id="source-sidebar";let hasFoundFile=false;const title=document.createElement("div");title.className="title";title.innerText="Files";sidebar.appendChild(title);Object.keys(sourcesIndex).forEach(key=>{sourcesIndex[key][NAME_OFFSET]=key;hasFoundFile=createDirEntry(sourcesIndex[key],sidebar,"",hasFoundFile)});container.appendChild(sidebar);const selected_elem=sidebar.getElementsByClassName("selected")[0];if(typeof selected_elem!=="undefined"){selected_elem.focus()}}const lineNumbersRegex=\/^#?(\\d+)(?:-(\\d+))?$\/;function highlightSourceLines(match){if(typeof match==="undefined"){match=window.location.hash.match(lineNumbersRegex)}if(!match){return}let from=parseInt(match[1],10);let to=from;if(typeof match[2]!=="undefined"){to=parseInt(match[2],10)}if(to<from){const tmp=to;to=from;from=tmp}let elem=document.getElementById(from);if(!elem){return}const x=document.getElementById(from);if(x){x.scrollIntoView()}onEachLazy(document.getElementsByClassName("src-line-numbers"),e=>{onEachLazy(e.getElementsByTagName("a"),i_e=>{removeClass(i_e,"line-highlighted")})});for(let i=from;i<=to;++i){elem=document.getElementById(i);if(!elem){break}addClass(elem,"line-highlighted")}}const handleSourceHighlight=(function(){let prev_line_id=0;const set_fragment=name=>{const x=window.scrollX,y=window.scrollY;if(browserSupportsHistoryApi()){history.replaceState(null,null,"#"+name);highlightSourceLines()}else{location.replace("#"+name)}window.scrollTo(x,y)};return ev=>{let cur_line_id=parseInt(ev.target.id,10);if(isNaN(cur_line_id)||ev.ctrlKey||ev.altKey||ev.metaKey){return}ev.preventDefault();if(ev.shiftKey&&prev_line_id){if(prev_line_id>cur_line_id){const tmp=prev_line_id;prev_line_id=cur_line_id;cur_line_id=tmp}set_fragment(prev_line_id+"-"+cur_line_id)}else{prev_line_id=cur_line_id;set_fragment(cur_line_id)}}}());window.addEventListener("hashchange",()=>{const match=window.location.hash.match(lineNumbersRegex);if(match){return highlightSourceLines(match)}});onEachLazy(document.getElementsByClassName("src-line-numbers"),el=>{el.addEventListener("click",handleSourceHighlight)});highlightSourceLines();window.createSourceSidebar=createSourceSidebar})()/;" f
|
||
createSourceSidebar guessing_game/target/doc/static.files/source-script-5cf2e01a42cc9858.js /^"use strict";(function(){const rootPath=document.getElementById("rustdoc-vars").attributes["data-root-path"].value;const NAME_OFFSET=0;const DIRS_OFFSET=1;const FILES_OFFSET=2;function closeSidebarIfMobile(){if(window.innerWidth<window.RUSTDOC_MOBILE_BREAKPOINT){updateLocalStorage("source-sidebar-show","false")}}function createDirEntry(elem,parent,fullPath,hasFoundFile){const dirEntry=document.createElement("details");const summary=document.createElement("summary");dirEntry.className="dir-entry";fullPath+=elem[NAME_OFFSET]+"\/";summary.innerText=elem[NAME_OFFSET];dirEntry.appendChild(summary);const folders=document.createElement("div");folders.className="folders";if(elem[DIRS_OFFSET]){for(const dir of elem[DIRS_OFFSET]){if(createDirEntry(dir,folders,fullPath,false)){dirEntry.open=true;hasFoundFile=true}}}dirEntry.appendChild(folders);const files=document.createElement("div");files.className="files";if(elem[FILES_OFFSET]){for(const file_text of elem[FILES_OFFSET]){const file=document.createElement("a");file.innerText=file_text;file.href=rootPath+"src\/"+fullPath+file_text+".html";file.addEventListener("click",closeSidebarIfMobile);const w=window.location.href.split("#")[0];if(!hasFoundFile&&w===file.href){file.className="selected";dirEntry.open=true;hasFoundFile=true}files.appendChild(file)}}dirEntry.appendChild(files);parent.appendChild(dirEntry);return hasFoundFile}function toggleSidebar(){const child=this.parentNode.children[0];if(child.innerText===">"){window.rustdocMobileScrollLock();addClass(document.documentElement,"source-sidebar-expanded");child.innerText="<";updateLocalStorage("source-sidebar-show","true")}else{window.rustdocMobileScrollUnlock();removeClass(document.documentElement,"source-sidebar-expanded");child.innerText=">";updateLocalStorage("source-sidebar-show","false")}}function createSidebarToggle(){const sidebarToggle=document.createElement("div");sidebarToggle.id="sidebar-toggle";const inner=document.createElement("button");if(getCurrentValue("source-sidebar-show")==="true"){inner.innerText="<"}else{inner.innerText=">"}inner.onclick=toggleSidebar;sidebarToggle.appendChild(inner);return sidebarToggle}function createSourceSidebar(){const container=document.querySelector("nav.sidebar");const sidebarToggle=createSidebarToggle();container.insertBefore(sidebarToggle,container.firstChild);const sidebar=document.createElement("div");sidebar.id="source-sidebar";let hasFoundFile=false;const title=document.createElement("div");title.className="title";title.innerText="Files";sidebar.appendChild(title);Object.keys(sourcesIndex).forEach(key=>{sourcesIndex[key][NAME_OFFSET]=key;hasFoundFile=createDirEntry(sourcesIndex[key],sidebar,"",hasFoundFile)});container.appendChild(sidebar);const selected_elem=sidebar.getElementsByClassName("selected")[0];if(typeof selected_elem!=="undefined"){selected_elem.focus()}}const lineNumbersRegex=\/^#?(\\d+)(?:-(\\d+))?$\/;function highlightSourceLines(match){if(typeof match==="undefined"){match=window.location.hash.match(lineNumbersRegex)}if(!match){return}let from=parseInt(match[1],10);let to=from;if(typeof match[2]!=="undefined"){to=parseInt(match[2],10)}if(to<from){const tmp=to;to=from;from=tmp}let elem=document.getElementById(from);if(!elem){return}const x=document.getElementById(from);if(x){x.scrollIntoView()}onEachLazy(document.getElementsByClassName("src-line-numbers"),e=>{onEachLazy(e.getElementsByTagName("a"),i_e=>{removeClass(i_e,"line-highlighted")})});for(let i=from;i<=to;++i){elem=document.getElementById(i);if(!elem){break}addClass(elem,"line-highlighted")}}const handleSourceHighlight=(function(){let prev_line_id=0;const set_fragment=name=>{const x=window.scrollX,y=window.scrollY;if(browserSupportsHistoryApi()){history.replaceState(null,null,"#"+name);highlightSourceLines()}else{location.replace("#"+name)}window.scrollTo(x,y)};return ev=>{let cur_line_id=parseInt(ev.target.id,10);if(isNaN(cur_line_id)||ev.ctrlKey||ev.altKey||ev.metaKey){return}ev.preventDefault();if(ev.shiftKey&&prev_line_id){if(prev_line_id>cur_line_id){const tmp=prev_line_id;prev_line_id=cur_line_id;cur_line_id=tmp}set_fragment(prev_line_id+"-"+cur_line_id)}else{prev_line_id=cur_line_id;set_fragment(cur_line_id)}}}());window.addEventListener("hashchange",()=>{const match=window.location.hash.match(lineNumbersRegex);if(match){return highlightSourceLines(match)}});onEachLazy(document.getElementsByClassName("src-line-numbers"),el=>{el.addEventListener("click",handleSourceHighlight)});highlightSourceLines();window.createSourceSidebar=createSourceSidebar})()/;" f
|
||
dontValidate guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" p class:results
|
||
elemIsInParent guessing_game/target/doc/static.files/main-c55e1eb52e1886b4.js /^"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.type="text\/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("\/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"))};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="<h3 class=\\"search-loading\\">"+searchState.loadingText+"<\/h3>";searchState.showResults(search)},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(\/^#\/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`<a href="index.html#${id}">${longty}<\/a>`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const item of filtered){const name=item[0];const desc=item[1];let path;if(shortty==="mod"){path=name+"\/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("\/").pop();const link=document.createElement("a");link.href=path;link.title=desc;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"\/index.html";if(window.rootPath!==".\/"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\\n").length;const elems=[];for(let i=0;i<count;++i){elems.push(i+1)}const node=document.createElement("pre");addClass(node,"example-line-numbers");node.innerHTML=elems.join("\\n");parent.insertBefore(node,x)})};window.rustdoc_remove_line_numbers_from_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}let oldSidebarScrollPosition=null;window.rustdocMobileScrollLock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(window.innerWidth<=window.RUSTDOC_MOBILE_BREAKPOINT){oldSidebarScrollPosition=window.scrollY;document.body.style.width=`${document.body.offsetWidth}px`;document.body.style.position="fixed";document.body.style.top=`-${oldSidebarScrollPosition}px`;if(mobile_topbar){mobile_topbar.style.top=`${oldSidebarScrollPosition}px`;mobile_topbar.style.position="relative"}}else{oldSidebarScrollPosition=null}};window.rustdocMobileScrollUnlock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(oldSidebarScrollPosition!==null){document.body.style.width="";document.body.style.position="";document.body.style.top="";if(mobile_topbar){mobile_topbar.style.top="";mobile_topbar.style.position=""}window.scrollTo(0,oldSidebarScrollPosition);oldSidebarScrollPosition=null}};function showSidebar(){window.hideAllModals(false);window.rustdocMobileScrollLock();const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){window.rustdocMobileScrollUnlock();const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.innerWidth>window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}if(window.CURRENT_NOTABLE_ELEMENT){const base=window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE;const force_visible=base.NOTABLE_FORCE_VISIBLE;hideNotable(false);if(force_visible){showNotable(base);base.NOTABLE_FORCE_VISIBLE=true}}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showNotable(e){if(!window.NOTABLE_TRAITS){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showNotable() called on page without any notable traits!")}}if(window.CURRENT_NOTABLE_ELEMENT&&window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE===e){return}window.hideAllModals(false);const ty=e.getAttribute("data-ty");const wrapper=document.createElement("div");wrapper.innerHTML="<div class=\\"docblock\\">"+window.NOTABLE_TRAITS[ty]+"<\/div>";wrapper.className="notable popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideNotable;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_NOTABLE_ELEMENT=wrapper;window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE=e;wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,e)){hideNotable(true)}}}function notableBlurHandler(event){if(window.CURRENT_NOTABLE_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)){setTimeout(()=>hideNotable(false),0)}}function hideNotable(focus){if(window.CURRENT_NOTABLE_ELEMENT){if(window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE){if(focus){window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus()}window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_NOTABLE_ELEMENT);window.CURRENT_NOTABLE_ELEMENT=null}}onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.NOTABLE_FORCE_VISIBLE=this.NOTABLE_FORCE_VISIBLE?false:true;if(window.CURRENT_NOTABLE_ELEMENT&&!this.NOTABLE_FORCE_VISIBLE){hideNotable(true)}else{showNotable(this);window.CURRENT_NOTABLE_ELEMENT.setAttribute("tabindex","0");window.CURRENT_NOTABLE_ELEMENT.focus();window.CURRENT_NOTABLE_ELEMENT.onblur=notableBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}showNotable(this)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)){hideNotable(true)}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \\$/;" f
|
||
enum guessing_game/target/doc/libc/sidebar-items.js /^window.SIDEBAR_ITEMS = {"constant":[["ABDAY_1",""],["ABDAY_2",""],["ABDAY_3",""],["ABDAY_4",""],["ABDAY_5",""],["ABDAY_6",""],["ABDAY_7",""],["ABMON_1",""],["ABMON_10",""],["ABMON_11",""],["ABMON_12",""],["ABMON_2",""],["ABMON_3",""],["ABMON_4",""],["ABMON_5",""],["ABMON_6",""],["ABMON_7",""],["ABMON_8",""],["ABMON_9",""],["ABS_CNT",""],["ABS_MAX",""],["ACCOUNTING",""],["ADDR_COMPAT_LAYOUT",""],["ADDR_LIMIT_32BIT",""],["ADDR_LIMIT_3GB",""],["ADDR_NO_RANDOMIZE",""],["ADFS_SUPER_MAGIC",""],["ADJ_ESTERROR",""],["ADJ_FREQUENCY",""],["ADJ_MAXERROR",""],["ADJ_MICRO",""],["ADJ_NANO",""],["ADJ_OFFSET",""],["ADJ_OFFSET_SINGLESHOT",""],["ADJ_OFFSET_SS_READ",""],["ADJ_SETOFFSET",""],["ADJ_STATUS",""],["ADJ_TAI",""],["ADJ_TICK",""],["ADJ_TIMECONST",""],["AFFS_SUPER_MAGIC",""],["AFS_SUPER_MAGIC",""],["AF_ALG",""],["AF_APPLETALK",""],["AF_ASH",""],["AF_ATMPVC",""],["AF_ATMSVC",""],["AF_AX25",""],["AF_BLUETOOTH",""],["AF_BRIDGE",""],["AF_CAIF",""],["AF_CAN",""],["AF_DECnet",""],["AF_ECONET",""],["AF_IB",""],["AF_IEEE802154",""],["AF_INET",""],["AF_INET6",""],["AF_IPX",""],["AF_IRDA",""],["AF_ISDN",""],["AF_IUCV",""],["AF_KEY",""],["AF_LLC",""],["AF_LOCAL",""],["AF_MPLS",""],["AF_NETBEUI",""],["AF_NETLINK",""],["AF_NETROM",""],["AF_NFC",""],["AF_PACKET",""],["AF_PHONET",""],["AF_PPPOX",""],["AF_RDS",""],["AF_ROSE",""],["AF_ROUTE",""],["AF_RXRPC",""],["AF_SECURITY",""],["AF_SNA",""],["AF_TIPC",""],["AF_UNIX",""],["AF_UNSPEC",""],["AF_VSOCK",""],["AF_WANPIPE",""],["AF_X25",""],["AF_XDP",""],["AIO_ALLDONE",""],["AIO_CANCELED",""],["AIO_NOTCANCELED",""],["AI_ADDRCONFIG",""],["AI_ALL",""],["AI_CANONNAME",""],["AI_NUMERICHOST",""],["AI_NUMERICSERV",""],["AI_PASSIVE",""],["AI_V4MAPPED",""],["ALG_OP_DECRYPT",""],["ALG_OP_ENCRYPT",""],["ALG_SET_AEAD_ASSOCLEN",""],["ALG_SET_AEAD_AUTHSIZE",""],["ALG_SET_IV",""],["ALG_SET_KEY",""],["ALG_SET_OP",""],["ALT_DIGITS",""],["AM_STR",""],["ARPD_FLUSH",""],["ARPD_LOOKUP",""],["ARPD_UPDATE",""],["ARPHRD_ADAPT",""],["ARPHRD_APPLETLK",""],["ARPHRD_ARCNET",""],["ARPHRD_ASH",""],["ARPHRD_ATM",""],["ARPHRD_AX25",""],["ARPHRD_BIF",""],["ARPHRD_CAN",""],["ARPHRD_CHAOS",""],["ARPHRD_CISCO",""],["ARPHRD_CSLIP",""],["ARPHRD_CSLIP6",""],["ARPHRD_DDCMP",""],["ARPHRD_DLCI",""],["ARPHRD_ECONET",""],["ARPHRD_EETHER",""],["ARPHRD_ETHER",""],["ARPHRD_EUI64",""],["ARPHRD_FCAL",""],["ARPHRD_FCFABRIC",""],["ARPHRD_FCPL",""],["ARPHRD_FCPP",""],["ARPHRD_FDDI",""],["ARPHRD_FRAD",""],["ARPHRD_HDLC",""],["ARPHRD_HIPPI",""],["ARPHRD_HWX25",""],["ARPHRD_IEEE1394",""],["ARPHRD_IEEE802",""],["ARPHRD_IEEE80211",""],["ARPHRD_IEEE80211_PRISM",""],["ARPHRD_IEEE80211_RADIOTAP",""],["ARPHRD_IEEE802154",""],["ARPHRD_IEEE802_TR",""],["ARPHRD_INFINIBAND",""],["ARPHRD_IPDDP",""],["ARPHRD_IPGRE",""],["ARPHRD_IRDA",""],["ARPHRD_LAPB",""],["ARPHRD_LOCALTLK",""],["ARPHRD_LOOPBACK",""],["ARPHRD_METRICOM",""],["ARPHRD_NETROM",""],["ARPHRD_NONE",""],["ARPHRD_PIMREG",""],["ARPHRD_PPP",""],["ARPHRD_PRONET",""],["ARPHRD_RAWHDLC",""],["ARPHRD_ROSE",""],["ARPHRD_RSRVD",""],["ARPHRD_SIT",""],["ARPHRD_SKIP",""],["ARPHRD_SLIP",""],["ARPHRD_SLIP6",""],["ARPHRD_TUNNEL",""],["ARPHRD_TUNNEL6",""],["ARPHRD_VOID",""],["ARPHRD_X25",""],["ARPOP_InREPLY",""],["ARPOP_InREQUEST",""],["ARPOP_NAK",""],["ARPOP_REPLY",""],["ARPOP_REQUEST",""],["ARPOP_RREPLY",""],["ARPOP_RREQUEST",""],["ATF_COM",""],["ATF_DONTPUB",""],["ATF_MAGIC",""],["ATF_NETMASK",""],["ATF_PERM",""],["ATF_PUBL",""],["ATF_USETRAILERS",""],["AT_BASE",""],["AT_BASE_PLATFORM",""],["AT_CLKTCK",""],["AT_EACCESS",""],["AT_EGID",""],["AT_EMPTY_PATH",""],["AT_ENTRY",""],["AT_EUID",""],["AT_EXECFD",""],["AT_EXECFN",""],["AT_FDCWD",""],["AT_FLAGS",""],["AT_GID",""],["AT_HWCAP",""],["AT_HWCAP2",""],["AT_IGNORE",""],["AT_NOTELF",""],["AT_NO_AUTOMOUNT",""],["AT_NULL",""],["AT_PAGESZ",""],["AT_PHDR",""],["AT_PHENT",""],["AT_PHNUM",""],["AT_PLATFORM",""],["AT_RANDOM",""],["AT_REMOVEDIR",""],["AT_SECURE",""],["AT_STATX_DONT_SYNC",""],["AT_STATX_FORCE_SYNC",""],["AT_STATX_SYNC_AS_STAT",""],["AT_STATX_SYNC_TYPE",""],["AT_SYMLINK_FOLLOW",""],["AT_SYMLINK_NOFOLLOW",""],["AT_SYSINFO_EHDR",""],["AT_UID",""],["AUTOFS_SUPER_MAGIC",""],["B0",""],["B1000000",""],["B110",""],["B115200",""],["B1152000",""],["B1200",""],["B134",""],["B150",""],["B1500000",""],["B1800",""],["B19200",""],["B200",""],["B2000000",""],["B230400",""],["B2400",""],["B2500000",""],["B300",""],["B3000000",""],["B3500000",""],["B38400",""],["B4000000",""],["B460800",""],["B4800",""],["B50",""],["B500000",""],["B57600",""],["B576000",""],["B600",""],["B75",""],["B921600",""],["B9600",""],["BINDERFS_SUPER_MAGIC",""],["BLKIOMIN",""],["BLKIOOPT",""],["BLKPBSZGET",""],["BLKSSZGET",""],["BOOT_TIME",""],["BOTHER",""],["BPF_ABS",""],["BPF_ADD",""],["BPF_ALU",""],["BPF_AND",""],["BPF_B",""],["BPF_DIV",""],["BPF_FS_MAGIC",""],["BPF_H",""],["BPF_IMM",""],["BPF_IND",""],["BPF_JA",""],["BPF_JEQ",""],["BPF_JGE",""],["BPF_JGT",""],["BPF_JMP",""],["BPF_JSET",""],["BPF_K",""],["BPF_LD",""],["BPF_LDX",""],["BPF_LEN",""],["BPF_LL_OFF",""],["BPF_LSH",""],["BPF_MAXINSNS",""],["BPF_MEM",""],["BPF_MEMWORDS",""],["BPF_MISC",""],["BPF_MOD",""],["BPF_MSH",""],["BPF_MUL",""],["BPF_NEG",""],["BPF_NET_OFF",""],["BPF_OR",""],["BPF_RET",""],["BPF_RSH",""],["BPF_ST",""],["BPF_STX",""],["BPF_SUB",""],["BPF_W",""],["BPF_X",""],["BPF_XOR",""],["BRKINT",""],["BS0",""],["BS1",""],["BSDLY",""],["BTRFS_SUPER_MAGIC",""],["BUFSIZ",""],["BUS_ADRALN",""],["BUS_ADRERR",""],["BUS_MCEERR_AO",""],["BUS_MCEERR_AR",""],["BUS_OBJERR",""],["CANFD_BRS",""],["CANFD_ESI",""],["CANFD_MAX_DLC",""],["CANFD_MAX_DLEN",""],["CANFD_MTU",""],["CAN_BCM",""],["CAN_EFF_FLAG",""],["CAN_EFF_ID_BITS",""],["CAN_EFF_MASK",""],["CAN_ERR_FLAG",""],["CAN_ERR_MASK",""],["CAN_INV_FILTER",""],["CAN_ISOTP",""],["CAN_J1939",""],["CAN_MAX_DLC",""],["CAN_MAX_DLEN",""],["CAN_MCNET",""],["CAN_MTU",""],["CAN_NPROTO",""],["CAN_RAW",""],["CAN_RAW_ERR_FILTER",""],["CAN_RAW_FD_FRAMES",""],["CAN_RAW_FILTER",""],["CAN_RAW_FILTER_MAX",""],["CAN_RAW_JOIN_FILTERS",""],["CAN_RAW_LOOPBACK",""],["CAN_RAW_RECV_OWN_MSGS",""],["CAN_RTR_FLAG",""],["CAN_SFF_ID_BITS",""],["CAN_SFF_MASK",""],["CAN_TP16",""],["CAN_TP20",""],["CBAUD",""],["CBAUDEX",""],["CGROUP2_SUPER_MAGIC",""],["CGROUP_SUPER_MAGIC",""],["CIBAUD",""],["CLD_CONTINUED",""],["CLD_DUMPED",""],["CLD_EXITED",""],["CLD_KILLED",""],["CLD_STOPPED",""],["CLD_TRAPPED",""],["CLOCAL",""],["CLOCK_BOOTTIME",""],["CLOCK_BOOTTIME_ALARM",""],["CLOCK_MONOTONIC",""],["CLOCK_MONOTONIC_COARSE",""],["CLOCK_MONOTONIC_RAW",""],["CLOCK_PROCESS_CPUTIME_ID",""],["CLOCK_REALTIME",""],["CLOCK_REALTIME_ALARM",""],["CLOCK_REALTIME_COARSE",""],["CLOCK_TAI",""],["CLOCK_THREAD_CPUTIME_ID",""],["CLONE_CHILD_CLEARTID",""],["CLONE_CHILD_SETTID",""],["CLONE_DETACHED",""],["CLONE_FILES",""],["CLONE_FS",""],["CLONE_IO",""],["CLONE_NEWCGROUP",""],["CLONE_NEWIPC",""],["CLONE_NEWNET",""],["CLONE_NEWNS",""],["CLONE_NEWPID",""],["CLONE_NEWUSER",""],["CLONE_NEWUTS",""],["CLONE_PARENT",""],["CLONE_PARENT_SETTID",""],["CLONE_PIDFD",""],["CLONE_PTRACE",""],["CLONE_SETTLS",""],["CLONE_SIGHAND",""],["CLONE_SYSVSEM",""],["CLONE_THREAD",""],["CLONE_UNTRACED",""],["CLONE_VFORK",""],["CLONE_VM",""],["CLOSE_RANGE_CLOEXEC",""],["CLOSE_RANGE_UNSHARE",""],["CMSPAR",""],["CODA_SUPER_MAGIC",""],["CODESET",""],["CPU_SETSIZE",""],["CR0",""],["CR1",""],["CR2",""],["CR3",""],["CRAMFS_MAGIC",""],["CRDLY",""],["CREAD",""],["CRNCYSTR",""],["CRTSCTS",""],["CS",""],["CS5",""],["CS6",""],["CS7",""],["CS8",""],["CSIZE",""],["CSTOPB",""],["CTRL_ATTR_FAMILY_ID",""],["CTRL_ATTR_FAMILY_NAME",""],["CTRL_ATTR_HDRSIZE",""],["CTRL_ATTR_MAXATTR",""],["CTRL_ATTR_MCAST_GROUPS",""],["CTRL_ATTR_MCAST_GRP_ID",""],["CTRL_ATTR_MCAST_GRP_NAME",""],["CTRL_ATTR_MCAST_GRP_UNSPEC",""],["CTRL_ATTR_OPS",""],["CTRL_ATTR_OP_FLAGS",""],["CTRL_ATTR_OP_ID",""],["CTRL_ATTR_OP_UNSPEC",""],["CTRL_ATTR_UNSPEC",""],["CTRL_ATTR_VERSION",""],["CTRL_CMD_DELFAMILY",""],["CTRL_CMD_DELMCAST_GRP",""],["CTRL_CMD_DELOPS",""],["CTRL_CMD_GETFAMILY",""],["CTRL_CMD_GETMCAST_GRP",""],["CTRL_CMD_GETOPS",""],["CTRL_CMD_NEWFAMILY",""],["CTRL_CMD_NEWMCAST_GRP",""],["CTRL_CMD_NEWOPS",""],["CTRL_CMD_UNSPEC",""],["DAY_1",""],["DAY_2",""],["DAY_3",""],["DAY_4",""],["DAY_5",""],["DAY_6",""],["DAY_7",""],["DCCP_SERVICE_LIST_MAX_LEN","maximum number of services provided on the same listening port"],["DCCP_SOCKOPT_AVAILABLE_CCIDS",""],["DCCP_SOCKOPT_CCID",""],["DCCP_SOCKOPT_CCID_RX_INFO",""],["DCCP_SOCKOPT_CCID_TX_INFO",""],["DCCP_SOCKOPT_CHANGE_L",""],["DCCP_SOCKOPT_CHANGE_R",""],["DCCP_SOCKOPT_GET_CUR_MPS",""],["DCCP_SOCKOPT_PACKET_SIZE",""],["DCCP_SOCKOPT_QPOLICY_ID",""],["DCCP_SOCKOPT_QPOLICY_TXQLEN",""],["DCCP_SOCKOPT_RECV_CSCOV",""],["DCCP_SOCKOPT_RX_CCID",""],["DCCP_SOCKOPT_SEND_CSCOV",""],["DCCP_SOCKOPT_SERVER_TIMEWAIT",""],["DCCP_SOCKOPT_SERVICE",""],["DCCP_SOCKOPT_TX_CCID",""],["DEAD_PROCESS",""],["DEBUGFS_MAGIC",""],["DEVPTS_SUPER_MAGIC",""],["DS",""],["DT_BLK",""],["DT_CHR",""],["DT_DIR",""],["DT_FIFO",""],["DT_LNK",""],["DT_REG",""],["DT_SOCK",""],["DT_UNKNOWN",""],["D_FMT",""],["D_T_FMT",""],["E2BIG",""],["EACCES",""],["EADDRINUSE",""],["EADDRNOTAVAIL",""],["EADV",""],["EAFNOSUPPORT",""],["EAGAIN",""],["EAI_AGAIN",""],["EAI_BADFLAGS",""],["EAI_FAIL",""],["EAI_FAMILY",""],["EAI_MEMORY",""],["EAI_NODATA",""],["EAI_NONAME",""],["EAI_OVERFLOW",""],["EAI_SERVICE",""],["EAI_SOCKTYPE",""],["EAI_SYSTEM",""],["EALREADY",""],["EBADE",""],["EBADF",""],["EBADFD",""],["EBADMSG",""],["EBADR",""],["EBADRQC",""],["EBADSLT",""],["EBFONT",""],["EBUSY",""],["ECANCELED",""],["ECHILD",""],["ECHO",""],["ECHOCTL",""],["ECHOE",""],["ECHOK",""],["ECHOKE",""],["ECHONL",""],["ECHOPRT",""],["ECHRNG",""],["ECOMM",""],["ECONNABORTED",""],["ECONNREFUSED",""],["ECONNRESET",""],["ECRYPTFS_SUPER_MAGIC",""],["EDEADLK",""],["EDEADLOCK",""],["EDESTADDRREQ",""],["EDOM",""],["EDOTDOT",""],["EDQUOT",""],["EEXIST",""],["EFAULT",""],["EFBIG",""],["EFD_CLOEXEC",""],["EFD_NONBLOCK",""],["EFD_SEMAPHORE",""],["EFLAGS",""],["EFS_SUPER_MAGIC",""],["EHOSTDOWN",""],["EHOSTUNREACH",""],["EHWPOISON",""],["EIDRM",""],["EILSEQ",""],["EINPROGRESS",""],["EINTR",""],["EINVAL",""],["EIO",""],["EISCONN",""],["EISDIR",""],["EISNAM",""],["EI_ABIVERSION",""],["EI_CLASS",""],["EI_DATA",""],["EI_MAG0",""],["EI_MAG1",""],["EI_MAG2",""],["EI_MAG3",""],["EI_NIDENT",""],["EI_OSABI",""],["EI_PAD",""],["EI_VERSION",""],["EKEYEXPIRED",""],["EKEYREJECTED",""],["EKEYREVOKED",""],["EL2HLT",""],["EL2NSYNC",""],["EL3HLT",""],["EL3RST",""],["ELFCLASS32",""],["ELFCLASS64",""],["ELFCLASSNONE",""],["ELFCLASSNUM",""],["ELFDATA2LSB",""],["ELFDATA2MSB",""],["ELFDATANONE",""],["ELFDATANUM",""],["ELFMAG0",""],["ELFMAG1",""],["ELFMAG2",""],["ELFMAG3",""],["ELFOSABI_AIX",""],["ELFOSABI_ARM",""],["ELFOSABI_ARM_AEABI",""],["ELFOSABI_FREEBSD",""],["ELFOSABI_GNU",""],["ELFOSABI_HPUX",""],["ELFOSABI_IRIX",""],["ELFOSABI_LINUX",""],["ELFOSABI_MODESTO",""],["ELFOSABI_NETBSD",""],["ELFOSABI_NONE",""],["ELFOSABI_OPENBSD",""],["ELFOSABI_SOLARIS",""],["ELFOSABI_STANDALONE",""],["ELFOSABI_SYSV",""],["ELFOSABI_TRU64",""],["ELIBACC",""],["ELIBBAD",""],["ELIBEXEC",""],["ELIBMAX",""],["ELIBSCN",""],["ELNRNG",""],["ELOOP",""],["EMEDIUMTYPE",""],["EMFILE",""],["EMLINK",""],["EMPTY",""],["EMSGSIZE",""],["EMULTIHOP",""],["EM_386",""],["EM_68HC05",""],["EM_68HC08",""],["EM_68HC11",""],["EM_68HC12",""],["EM_68HC16",""],["EM_68K",""],["EM_860",""],["EM_88K",""],["EM_960",""],["EM_AARCH64",""],["EM_ALPHA",""],["EM_ARC",""],["EM_ARC_A5",""],["EM_ARM",""],["EM_AVR",""],["EM_COLDFIRE",""],["EM_CRIS",""],["EM_D10V",""],["EM_D30V",""],["EM_FAKE_ALPHA",""],["EM_FIREPATH",""],["EM_FR20",""],["EM_FR30",""],["EM_FX66",""],["EM_H8S",""],["EM_H8_300",""],["EM_H8_300H",""],["EM_H8_500",""],["EM_HUANY",""],["EM_IA_64",""],["EM_JAVELIN",""],["EM_M32",""],["EM_M32R",""],["EM_ME16",""],["EM_MIPS",""],["EM_MIPS_RS3_LE",""],["EM_MIPS_X",""],["EM_MMA",""],["EM_MMIX",""],["EM_MN10200",""],["EM_MN10300",""],["EM_NCPU",""],["EM_NDR1",""],["EM_NONE",""],["EM_OPENRISC",""],["EM_PARISC",""],["EM_PCP",""],["EM_PDSP",""],["EM_PJ",""],["EM_PPC",""],["EM_PPC64",""],["EM_PRISM",""],["EM_RCE",""],["EM_RH32",""],["EM_S370",""],["EM_S390",""],["EM_SH",""],["EM_SPARC",""],["EM_SPARC32PLUS",""],["EM_SPARCV9",""],["EM_ST100",""],["EM_ST19",""],["EM_ST7",""],["EM_ST9PLUS",""],["EM_STARCORE",""],["EM_SVX",""],["EM_TILEGX",""],["EM_TILEPRO",""],["EM_TINYJ",""],["EM_TRICORE",""],["EM_V800",""],["EM_V850",""],["EM_VAX",""],["EM_VPP500",""],["EM_X86_64",""],["EM_XTENSA",""],["EM_ZSP",""],["ENAMETOOLONG",""],["ENAVAIL",""],["ENETDOWN",""],["ENETRESET",""],["ENETUNREACH",""],["ENFILE",""],["ENOANO",""],["ENOATTR",""],["ENOBUFS",""],["ENOCSI",""],["ENODATA",""],["ENODEV",""],["ENOENT",""],["ENOEXEC",""],["ENOKEY",""],["ENOLCK",""],["ENOLINK",""],["ENOMEDIUM",""],["ENOMEM",""],["ENOMSG",""],["ENONET",""],["ENOPKG",""],["ENOPROTOOPT",""],["ENOSPC",""],["ENOSR",""],["ENOSTR",""],["ENOSYS",""],["ENOTBLK",""],["ENOTCONN",""],["ENOTDIR",""],["ENOTEMPTY",""],["ENOTNAM",""],["ENOTRECOVERABLE",""],["ENOTSOCK",""],["ENOTSUP",""],["ENOTTY",""],["ENOTUNIQ",""],["ENXIO",""],["EOF",""],["EOPNOTSUPP",""],["EOVERFLOW",""],["EOWNERDEAD",""],["EPERM",""],["EPFNOSUPPORT",""],["EPIPE",""],["EPOLLERR",""],["EPOLLET",""],["EPOLLEXCLUSIVE",""],["EPOLLHUP",""],["EPOLLIN",""],["EPOLLMSG",""],["EPOLLONESHOT",""],["EPOLLOUT",""],["EPOLLPRI",""],["EPOLLRDBAND",""],["EPOLLRDHUP",""],["EPOLLRDNORM",""],["EPOLLWAKEUP",""],["EPOLLWRBAND",""],["EPOLLWRNORM",""],["EPOLL_CLOEXEC",""],["EPOLL_CTL_ADD",""],["EPOLL_CTL_DEL",""],["EPOLL_CTL_MOD",""],["EPROTO",""],["EPROTONOSUPPORT",""],["EPROTOTYPE",""],["ERA",""],["ERANGE",""],["ERA_D_FMT",""],["ERA_D_T_FMT",""],["ERA_T_FMT",""],["EREMCHG",""],["EREMOTE",""],["EREMOTEIO",""],["ERESTART",""],["ERFKILL",""],["EROFS",""],["ES",""],["ESHUTDOWN",""],["ESOCKTNOSUPPORT",""],["ESPIPE",""],["ESRCH",""],["ESRMNT",""],["ESTALE",""],["ESTRPIPE",""],["ETH_ALEN",""],["ETH_DATA_LEN",""],["ETH_FCS_LEN",""],["ETH_FRAME_LEN",""],["ETH_HLEN",""],["ETH_P_1588",""],["ETH_P_8021AD",""],["ETH_P_8021AH",""],["ETH_P_8021Q",""],["ETH_P_80221",""],["ETH_P_802_2",""],["ETH_P_802_3",""],["ETH_P_802_3_MIN",""],["ETH_P_802_EX1",""],["ETH_P_AARP",""],["ETH_P_AF_IUCV",""],["ETH_P_ALL",""],["ETH_P_AOE",""],["ETH_P_ARCNET",""],["ETH_P_ARP",""],["ETH_P_ATALK",""],["ETH_P_ATMFATE",""],["ETH_P_ATMMPOA",""],["ETH_P_AX25",""],["ETH_P_BATMAN",""],["ETH_P_BPQ",""],["ETH_P_CAIF",""],["ETH_P_CANFD",""],["ETH_P_CONTROL",""],["ETH_P_CUST",""],["ETH_P_DDCMP",""],["ETH_P_DEC",""],["ETH_P_DIAG",""],["ETH_P_DNA_DL",""],["ETH_P_DNA_RC",""],["ETH_P_DNA_RT",""],["ETH_P_DSA",""],["ETH_P_ECONET",""],["ETH_P_EDSA",""],["ETH_P_FCOE",""],["ETH_P_FIP",""],["ETH_P_HDLC",""],["ETH_P_IEEE802154",""],["ETH_P_IEEEPUP",""],["ETH_P_IEEEPUPAT",""],["ETH_P_IP",""],["ETH_P_IPV6",""],["ETH_P_IPX",""],["ETH_P_IRDA",""],["ETH_P_LAT",""],["ETH_P_LINK_CTL",""],["ETH_P_LOCALTALK",""],["ETH_P_LOOP",""],["ETH_P_LOOPBACK",""],["ETH_P_MACSEC",""],["ETH_P_MOBITEX",""],["ETH_P_MPLS_MC",""],["ETH_P_MPLS_UC",""],["ETH_P_MVRP",""],["ETH_P_PAE",""],["ETH_P_PAUSE",""],["ETH_P_PHONET",""],["ETH_P_PPPTALK",""],["ETH_P_PPP_DISC",""],["ETH_P_PPP_MP",""],["ETH_P_PPP_SES",""],["ETH_P_PRP",""],["ETH_P_PUP",""],["ETH_P_PUPAT",""],["ETH_P_QINQ1",""],["ETH_P_QINQ2",""],["ETH_P_QINQ3",""],["ETH_P_RARP",""],["ETH_P_SCA",""],["ETH_P_SLOW",""],["ETH_P_SNAP",""],["ETH_P_TDLS",""],["ETH_P_TEB",""],["ETH_P_TIPC",""],["ETH_P_TRAILER",""],["ETH_P_TR_802_2",""],["ETH_P_WAN_PPP",""],["ETH_P_WCCP",""],["ETH_P_X25",""],["ETH_ZLEN",""],["ETIME",""],["ETIMEDOUT",""],["ETOOMANYREFS",""],["ETXTBSY",""],["ET_CORE",""],["ET_DYN",""],["ET_EXEC",""],["ET_HIOS",""],["ET_HIPROC",""],["ET_LOOS",""],["ET_LOPROC",""],["ET_NONE",""],["ET_NUM",""],["ET_REL",""],["EUCLEAN",""],["EUNATCH",""],["EUSERS",""],["EV_CNT",""],["EV_CURRENT",""],["EV_MAX",""],["EV_NONE",""],["EV_NUM",""],["EWOULDBLOCK",""],["EXDEV",""],["EXFULL",""],["EXIT_FAILURE",""],["EXIT_SUCCESS",""],["EXT2_SUPER_MAGIC",""],["EXT3_SUPER_MAGIC",""],["EXT4_SUPER_MAGIC",""],["EXTA",""],["EXTB",""],["EXTPROC",""],["F2FS_SUPER_MAGIC",""],["FALLOC_FL_COLLAPSE_RANGE",""],["FALLOC_FL_INSERT_RANGE",""],["FALLOC_FL_KEEP_SIZE",""],["FALLOC_FL_PUNCH_HOLE",""],["FALLOC_FL_UNSHARE_RANGE",""],["FALLOC_FL_ZERO_RANGE",""],["FANOTIFY_METADATA_VERSION",""],["FAN_ACCESS",""],["FAN_ACCESS_PERM",""],["FAN_ALLOW",""],["FAN_CLASS_CONTENT",""],["FAN_CLASS_NOTIF",""],["FAN_CLASS_PRE_CONTENT",""],["FAN_CLOEXEC",""],["FAN_CLOSE",""],["FAN_CLOSE_NOWRITE",""],["FAN_CLOSE_WRITE",""],["FAN_DENY",""],["FAN_EVENT_ON_CHILD",""],["FAN_MARK_ADD",""],["FAN_MARK_DONT_FOLLOW",""],["FAN_MARK_FILESYSTEM",""],["FAN_MARK_FLUSH",""],["FAN_MARK_IGNORED_MASK",""],["FAN_MARK_IGNORED_SURV_MODIFY",""],["FAN_MARK_INODE",""],["FAN_MARK_MOUNT",""],["FAN_MARK_ONLYDIR",""],["FAN_MARK_REMOVE",""],["FAN_MODIFY",""],["FAN_NOFD",""],["FAN_NONBLOCK",""],["FAN_ONDIR",""],["FAN_OPEN",""],["FAN_OPEN_PERM",""],["FAN_Q_OVERFLOW",""],["FAN_UNLIMITED_MARKS",""],["FAN_UNLIMITED_QUEUE",""],["FDPIC_FUNCPTRS",""],["FD_CLOEXEC",""],["FD_SETSIZE",""],["FF0",""],["FF1",""],["FFDLY",""],["FF_CNT",""],["FF_MAX",""],["FICLONE",""],["FICLONERANGE",""],["FILENAME_MAX",""],["FIOASYNC",""],["FIOCLEX",""],["FIONBIO",""],["FIONCLEX",""],["FIONREAD",""],["FIOQSIZE",""],["FLUSHO",""],["FOPEN_MAX",""],["FS",""],["FS_BASE",""],["FUSE_SUPER_MAGIC",""],["FUTEXFS_SUPER_MAGIC",""],["FUTEX_CLOCK_REALTIME",""],["FUTEX_CMD_MASK",""],["FUTEX_CMP_REQUEUE",""],["FUTEX_CMP_REQUEUE_PI",""],["FUTEX_FD",""],["FUTEX_LOCK_PI",""],["FUTEX_LOCK_PI2",""],["FUTEX_PRIVATE_FLAG",""],["FUTEX_REQUEUE",""],["FUTEX_TRYLOCK_PI",""],["FUTEX_UNLOCK_PI",""],["FUTEX_WAIT",""],["FUTEX_WAIT_BITSET",""],["FUTEX_WAIT_REQUEUE_PI",""],["FUTEX_WAKE",""],["FUTEX_WAKE_BITSET",""],["FUTEX_WAKE_OP",""],["F_ADD_SEALS",""],["F_CANCELLK",""],["F_DUPFD",""],["F_DUPFD_CLOEXEC",""],["F_GETFD",""],["F_GETFL",""],["F_GETLEASE",""],["F_GETLK",""],["F_GETOWN",""],["F_GETPIPE_SZ",""],["F_GET_SEALS",""],["F_LOCK",""],["F_NOTIFY",""],["F_OFD_GETLK",""],["F_OFD_SETLK",""],["F_OFD_SETLKW",""],["F_OK",""],["F_RDLCK",""],["F_SEAL_FUTURE_WRITE",""],["F_SEAL_GROW",""],["F_SEAL_SEAL",""],["F_SEAL_SHRINK",""],["F_SEAL_WRITE",""],["F_SETFD",""],["F_SETFL",""],["F_SETLEASE",""],["F_SETLK",""],["F_SETLKW",""],["F_SETOWN",""],["F_SETPIPE_SZ",""],["F_TEST",""],["F_TLOCK",""],["F_ULOCK",""],["F_UNLCK",""],["F_WRLCK",""],["GENL_ADMIN_PERM",""],["GENL_CMD_CAP_DO",""],["GENL_CMD_CAP_DUMP",""],["GENL_CMD_CAP_HASPOL",""],["GENL_ID_CTRL",""],["GENL_ID_PMCRAID",""],["GENL_ID_VFS_DQUOT",""],["GENL_MAX_ID",""],["GENL_MIN_ID",""],["GENL_NAMSIZ",""],["GENL_UNS_ADMIN_PERM",""],["GLOB_ABORTED",""],["GLOB_APPEND",""],["GLOB_DOOFFS",""],["GLOB_ERR",""],["GLOB_MARK",""],["GLOB_NOCHECK",""],["GLOB_NOESCAPE",""],["GLOB_NOMATCH",""],["GLOB_NOSORT",""],["GLOB_NOSPACE",""],["GRND_INSECURE",""],["GRND_NONBLOCK",""],["GRND_RANDOM",""],["GRPQUOTA",""],["GS",""],["GS_BASE",""],["HOSTFS_SUPER_MAGIC",""],["HPFS_SUPER_MAGIC",""],["HUGETLBFS_MAGIC",""],["HUGETLB_FLAG_ENCODE_16GB",""],["HUGETLB_FLAG_ENCODE_16MB",""],["HUGETLB_FLAG_ENCODE_1GB",""],["HUGETLB_FLAG_ENCODE_1MB",""],["HUGETLB_FLAG_ENCODE_256MB",""],["HUGETLB_FLAG_ENCODE_2GB",""],["HUGETLB_FLAG_ENCODE_2MB",""],["HUGETLB_FLAG_ENCODE_32MB",""],["HUGETLB_FLAG_ENCODE_512KB",""],["HUGETLB_FLAG_ENCODE_512MB",""],["HUGETLB_FLAG_ENCODE_64KB",""],["HUGETLB_FLAG_ENCODE_8MB",""],["HUGETLB_FLAG_ENCODE_MASK",""],["HUGETLB_FLAG_ENCODE_SHIFT",""],["HUPCL",""],["IBSHIFT",""],["ICANON",""],["ICRNL",""],["IEXTEN",""],["IFA_ADDRESS",""],["IFA_ANYCAST",""],["IFA_BROADCAST",""],["IFA_CACHEINFO",""],["IFA_FLAGS",""],["IFA_F_DADFAILED",""],["IFA_F_DEPRECATED",""],["IFA_F_HOMEADDRESS",""],["IFA_F_MANAGETEMPADDR",""],["IFA_F_MCAUTOJOIN",""],["IFA_F_NODAD",""],["IFA_F_NOPREFIXROUTE",""],["IFA_F_OPTIMISTIC",""],["IFA_F_PERMANENT",""],["IFA_F_SECONDARY",""],["IFA_F_STABLE_PRIVACY",""],["IFA_F_TEMPORARY",""],["IFA_F_TENTATIVE",""],["IFA_LABEL",""],["IFA_LOCAL",""],["IFA_MULTICAST",""],["IFA_UNSPEC",""],["IFF_ALLMULTI",""],["IFF_ATTACH_QUEUE",""],["IFF_AUTOMEDIA",""],["IFF_BROADCAST",""],["IFF_DEBUG",""],["IFF_DETACH_QUEUE",""],["IFF_DORMANT",""],["IFF_DYNAMIC",""],["IFF_ECHO",""],["IFF_LOOPBACK",""],["IFF_LOWER_UP",""],["IFF_MASTER",""],["IFF_MULTICAST",""],["IFF_MULTI_QUEUE",""],["IFF_NOARP",""],["IFF_NOFILTER",""],["IFF_NOTRAILERS",""],["IFF_NO_PI",""],["IFF_ONE_QUEUE",""],["IFF_PERSIST",""],["IFF_POINTOPOINT",""],["IFF_PORTSEL",""],["IFF_PROMISC",""],["IFF_RUNNING",""],["IFF_SLAVE",""],["IFF_TAP",""],["IFF_TUN",""],["IFF_TUN_EXCL",""],["IFF_UP",""],["IFF_VNET_HDR",""],["IFLA_ADDRESS",""],["IFLA_AF_SPEC",""],["IFLA_ALT_IFNAME",""],["IFLA_BROADCAST",""],["IFLA_CARRIER",""],["IFLA_CARRIER_CHANGES",""],["IFLA_CARRIER_DOWN_COUNT",""],["IFLA_CARRIER_UP_COUNT",""],["IFLA_COST",""],["IFLA_EVENT",""],["IFLA_EXT_MASK",""],["IFLA_GROUP",""],["IFLA_GSO_MAX_SEGS",""],["IFLA_GSO_MAX_SIZE",""],["IFLA_IFALIAS",""],["IFLA_IFNAME",""],["IFLA_IF_NETNSID",""],["IFLA_INFO_DATA",""],["IFLA_INFO_KIND",""],["IFLA_INFO_SLAVE_DATA",""],["IFLA_INFO_SLAVE_KIND",""],["IFLA_INFO_UNSPEC",""],["IFLA_INFO_XSTATS",""],["IFLA_LINK",""],["IFLA_LINKINFO",""],["IFLA_LINKMODE",""],["IFLA_LINK_NETNSID",""],["IFLA_MAP",""],["IFLA_MASTER",""],["IFLA_MAX_MTU",""],["IFLA_MIN_MTU",""],["IFLA_MTU",""],["IFLA_NET_NS_FD",""],["IFLA_NET_NS_PID",""],["IFLA_NEW_IFINDEX",""],["IFLA_NEW_NETNSID",""],["IFLA_NUM_RX_QUEUES",""],["IFLA_NUM_TX_QUEUES",""],["IFLA_NUM_VF",""],["IFLA_OPERSTATE",""],["IFLA_PAD",""],["IFLA_PERM_ADDRESS",""],["IFLA_PHYS_PORT_ID",""],["IFLA_PHYS_PORT_NAME",""],["IFLA_PHYS_SWITCH_ID",""],["IFLA_PORT_SELF",""],["IFLA_PRIORITY",""],["IFLA_PROMISCUITY",""],["IFLA_PROP_LIST",""],["IFLA_PROTINFO",""],["IFLA_PROTO_DOWN",""],["IFLA_PROTO_DOWN_REASON",""],["IFLA_QDISC",""],["IFLA_STATS",""],["IFLA_STATS64",""],["IFLA_TARGET_NETNSID",""],["IFLA_TXQLEN",""],["IFLA_UNSPEC",""],["IFLA_VFINFO_LIST",""],["IFLA_VF_PORTS",""],["IFLA_WEIGHT",""],["IFLA_WIRELESS",""],["IFLA_XDP",""],["IFNAMSIZ",""],["IF_NAMESIZE",""],["IGNBRK",""],["IGNCR",""],["IGNPAR",""],["IMAXBEL",""],["INADDR_ANY",""],["INADDR_BROADCAST",""],["INADDR_LOOPBACK",""],["INADDR_NONE",""],["INIT_PROCESS",""],["INLCR",""],["INPCK",""],["INPUT_PROP_CNT",""],["INPUT_PROP_MAX",""],["INT_MAX",""],["INT_MIN",""],["IN_ACCESS",""],["IN_ALL_EVENTS",""],["IN_ATTRIB",""],["IN_CLOEXEC",""],["IN_CLOSE",""],["IN_CLOSE_NOWRITE",""],["IN_CLOSE_WRITE",""],["IN_CREATE",""],["IN_DELETE",""],["IN_DELETE_SELF",""],["IN_DONT_FOLLOW",""],["IN_EXCL_UNLINK",""],["IN_IGNORED",""],["IN_ISDIR",""],["IN_MASK_ADD",""],["IN_MASK_CREATE",""],["IN_MODIFY",""],["IN_MOVE",""],["IN_MOVED_FROM",""],["IN_MOVED_TO",""],["IN_MOVE_SELF",""],["IN_NONBLOCK",""],["IN_ONESHOT",""],["IN_ONLYDIR",""],["IN_OPEN",""],["IN_Q_OVERFLOW",""],["IN_UNMOUNT",""],["IP6T_SO_ORIGINAL_DST",""],["IPC_CREAT",""],["IPC_EXCL",""],["IPC_INFO",""],["IPC_NOWAIT",""],["IPC_PRIVATE",""],["IPC_RMID",""],["IPC_SET",""],["IPC_STAT",""],["IPDEFTTL",""],["IPOPT_CLASS_MASK",""],["IPOPT_CONTROL",""],["IPOPT_COPY",""],["IPOPT_END",""],["IPOPT_EOL",""],["IPOPT_LSRR",""],["IPOPT_MEASUREMENT",""],["IPOPT_MINOFF",""],["IPOPT_NOOP",""],["IPOPT_NOP",""],["IPOPT_NUMBER_MASK",""],["IPOPT_OFFSET",""],["IPOPT_OLEN",""],["IPOPT_OPTVAL",""],["IPOPT_RA",""],["IPOPT_RESERVED1",""],["IPOPT_RESERVED2",""],["IPOPT_RR",""],["IPOPT_SEC",""],["IPOPT_SID",""],["IPOPT_SSRR",""],["IPOPT_TIMESTAMP",""],["IPOPT_TS",""],["IPOPT_TS_PRESPEC",""],["IPOPT_TS_TSANDADDR",""],["IPOPT_TS_TSONLY",""],["IPPROTO_AH","IP6 Auth Header"],["IPPROTO_BEETPH",""],["IPPROTO_COMP","IP Payload Comp. Protocol"],["IPPROTO_DCCP","DCCP"],["IPPROTO_DSTOPTS","IP6 destination option"],["IPPROTO_EGP","exterior gateway protocol"],["IPPROTO_ENCAP","encapsulation header"],["IPPROTO_ESP","IP6 Encap Sec. Payload"],["IPPROTO_FRAGMENT","IP6 fragmentation header"],["IPPROTO_GRE","General Routing Encap."],["IPPROTO_HOPOPTS","Hop-by-hop option header"],["IPPROTO_ICMP",""],["IPPROTO_ICMPV6",""],["IPPROTO_IDP","xns idp"],["IPPROTO_IGMP","group mgmt protocol"],["IPPROTO_IP",""],["IPPROTO_IPIP","for compatibility"],["IPPROTO_IPV6",""],["IPPROTO_MAX",""],["IPPROTO_MH",""],["IPPROTO_MPLS",""],["IPPROTO_MPTCP","Multipath TCP"],["IPPROTO_MTP",""],["IPPROTO_NONE","IP6 no next header"],["IPPROTO_PIM","Protocol indep. multicast"],["IPPROTO_PUP","pup"],["IPPROTO_RAW","raw IP packet"],["IPPROTO_ROUTING","IP6 routing header"],["IPPROTO_RSVP","resource reservation"],["IPPROTO_SCTP","SCTP"],["IPPROTO_TCP",""],["IPPROTO_TP","tp-4 w\/ class negotiation"],["IPPROTO_UDP",""],["IPPROTO_UDPLITE",""],["IPTOS_ECN_CE",""],["IPTOS_ECN_ECT0",""],["IPTOS_ECN_ECT1",""],["IPTOS_ECN_MASK",""],["IPTOS_ECN_NOT_ECT",""],["IPTOS_LOWDELAY",""],["IPTOS_MINCOST",""],["IPTOS_PREC_CRITIC_ECP",""],["IPTOS_PREC_FLASH",""],["IPTOS_PREC_FLASHOVERRIDE",""],["IPTOS_PREC_IMMEDIATE",""],["IPTOS_PREC_INTERNETCONTROL",""],["IPTOS_PREC_MASK",""],["IPTOS_PREC_NETCONTROL",""],["IPTOS_PREC_PRIORITY",""],["IPTOS_PREC_ROUTINE",""],["IPTOS_RELIABILITY",""],["IPTOS_THROUGHPUT",""],["IPTOS_TOS_MASK",""],["IPV6_2292DSTOPTS",""],["IPV6_2292HOPLIMIT",""],["IPV6_2292HOPOPTS",""],["IPV6_2292PKTINFO",""],["IPV6_2292PKTOPTIONS",""],["IPV6_2292RTHDR",""],["IPV6_ADDRFORM",""],["IPV6_ADDR_PREFERENCES",""],["IPV6_ADD_MEMBERSHIP",""],["IPV6_AUTHHDR",""],["IPV6_AUTOFLOWLABEL",""],["IPV6_CHECKSUM",""],["IPV6_DONTFRAG",""],["IPV6_DROP_MEMBERSHIP",""],["IPV6_DSTOPTS",""],["IPV6_FLOWINFO",""],["IPV6_FLOWINFO_FLOWLABEL",""],["IPV6_FLOWINFO_PRIORITY",""],["IPV6_FLOWINFO_SEND",""],["IPV6_FLOWLABEL_MGR",""],["IPV6_FREEBIND",""],["IPV6_HDRINCL",""],["IPV6_HOPLIMIT",""],["IPV6_HOPOPTS",""],["IPV6_IPSEC_POLICY",""],["IPV6_JOIN_ANYCAST",""],["IPV6_LEAVE_ANYCAST",""],["IPV6_MINHOPCOUNT",""],["IPV6_MTU",""],["IPV6_MTU_DISCOVER",""],["IPV6_MULTICAST_ALL",""],["IPV6_MULTICAST_HOPS",""],["IPV6_MULTICAST_IF",""],["IPV6_MULTICAST_LOOP",""],["IPV6_NEXTHOP",""],["IPV6_ORIGDSTADDR",""],["IPV6_PATHMTU",""],["IPV6_PKTINFO",""],["IPV6_PMTUDISC_DO",""],["IPV6_PMTUDISC_DONT",""],["IPV6_PMTUDISC_INTERFACE",""],["IPV6_PMTUDISC_OMIT",""],["IPV6_PMTUDISC_PROBE",""],["IPV6_PMTUDISC_WANT",""],["IPV6_PREFER_SRC_CGA",""],["IPV6_PREFER_SRC_COA",""],["IPV6_PREFER_SRC_HOME",""],["IPV6_PREFER_SRC_NONCGA",""],["IPV6_PREFER_SRC_PUBLIC",""],["IPV6_PREFER_SRC_PUBTMP_DEFAULT",""],["IPV6_PREFER_SRC_TMP",""],["IPV6_RECVDSTOPTS",""],["IPV6_RECVERR",""],["IPV6_RECVFRAGSIZE",""],["IPV6_RECVHOPLIMIT",""],["IPV6_RECVHOPOPTS",""],["IPV6_RECVORIGDSTADDR",""],["IPV6_RECVPATHMTU",""],["IPV6_RECVPKTINFO",""],["IPV6_RECVRTHDR",""],["IPV6_RECVTCLASS",""],["IPV6_ROUTER_ALERT",""],["IPV6_ROUTER_ALERT_ISOLATE",""],["IPV6_RTHDR",""],["IPV6_RTHDRDSTOPTS",""],["IPV6_RTHDR_LOOSE",""],["IPV6_RTHDR_STRICT",""],["IPV6_TCLASS",""],["IPV6_TRANSPARENT",""],["IPV6_UNICAST_HOPS",""],["IPV6_UNICAST_IF",""],["IPV6_V6ONLY",""],["IPV6_XFRM_POLICY",""],["IPVERSION",""],["IP_ADD_MEMBERSHIP",""],["IP_ADD_SOURCE_MEMBERSHIP",""],["IP_BIND_ADDRESS_NO_PORT",""],["IP_BLOCK_SOURCE",""],["IP_CHECKSUM",""],["IP_DEFAULT_MULTICAST_LOOP",""],["IP_DEFAULT_MULTICAST_TTL",""],["IP_DROP_MEMBERSHIP",""],["IP_DROP_SOURCE_MEMBERSHIP",""],["IP_FREEBIND",""],["IP_HDRINCL",""],["IP_IPSEC_POLICY",""],["IP_MINTTL",""],["IP_MSFILTER",""],["IP_MTU",""],["IP_MTU_DISCOVER",""],["IP_MULTICAST_ALL",""],["IP_MULTICAST_IF",""],["IP_MULTICAST_LOOP",""],["IP_MULTICAST_TTL",""],["IP_NODEFRAG",""],["IP_OPTIONS",""],["IP_ORIGDSTADDR",""],["IP_PASSSEC",""],["IP_PKTINFO",""],["IP_PKTOPTIONS",""],["IP_PMTUDISC_DO",""],["IP_PMTUDISC_DONT",""],["IP_PMTUDISC_INTERFACE",""],["IP_PMTUDISC_OMIT",""],["IP_PMTUDISC_PROBE",""],["IP_PMTUDISC_WANT",""],["IP_RECVERR",""],["IP_RECVFRAGSIZE",""],["IP_RECVOPTS",""],["IP_RECVORIGDSTADDR",""],["IP_RECVTOS",""],["IP_RECVTTL",""],["IP_RETOPTS",""],["IP_ROUTER_ALERT",""],["IP_TOS",""],["IP_TRANSPARENT",""],["IP_TTL",""],["IP_UNBLOCK_SOURCE",""],["IP_UNICAST_IF",""],["IP_XFRM_POLICY",""],["ISIG",""],["ISOFS_SUPER_MAGIC",""],["ISTRIP",""],["ITIMER_PROF",""],["ITIMER_REAL",""],["ITIMER_VIRTUAL",""],["IUTF8",""],["IXANY",""],["IXOFF",""],["IXON",""],["J1939_EE_INFO_NONE",""],["J1939_EE_INFO_RX_ABORT",""],["J1939_EE_INFO_RX_DPO",""],["J1939_EE_INFO_RX_RTS",""],["J1939_EE_INFO_TX_ABORT",""],["J1939_FILTER_MAX",""],["J1939_IDLE_ADDR",""],["J1939_MAX_UNICAST_ADDR",""],["J1939_NLA_BYTES_ACKED",""],["J1939_NLA_DEST_ADDR",""],["J1939_NLA_DEST_NAME",""],["J1939_NLA_PAD",""],["J1939_NLA_PGN",""],["J1939_NLA_SRC_ADDR",""],["J1939_NLA_SRC_NAME",""],["J1939_NLA_TOTAL_SIZE",""],["J1939_NO_ADDR",""],["J1939_NO_NAME",""],["J1939_NO_PGN",""],["J1939_PGN_ADDRESS_CLAIMED",""],["J1939_PGN_ADDRESS_COMMANDED",""],["J1939_PGN_MAX",""],["J1939_PGN_PDU1_MAX",""],["J1939_PGN_REQUEST",""],["JFFS2_SUPER_MAGIC",""],["KEYCTL_ASSUME_AUTHORITY",""],["KEYCTL_CAPABILITIES",""],["KEYCTL_CAPS0_BIG_KEY",""],["KEYCTL_CAPS0_CAPABILITIES",""],["KEYCTL_CAPS0_DIFFIE_HELLMAN",""],["KEYCTL_CAPS0_INVALIDATE",""],["KEYCTL_CAPS0_MOVE",""],["KEYCTL_CAPS0_PERSISTENT_KEYRINGS",""],["KEYCTL_CAPS0_PUBLIC_KEY",""],["KEYCTL_CAPS0_RESTRICT_KEYRING",""],["KEYCTL_CAPS1_NS_KEYRING_NAME",""],["KEYCTL_CAPS1_NS_KEY_TAG",""],["KEYCTL_CHOWN",""],["KEYCTL_CLEAR",""],["KEYCTL_DESCRIBE",""],["KEYCTL_DH_COMPUTE",""],["KEYCTL_GET_KEYRING_ID",""],["KEYCTL_GET_PERSISTENT",""],["KEYCTL_GET_SECURITY",""],["KEYCTL_INSTANTIATE",""],["KEYCTL_INSTANTIATE_IOV",""],["KEYCTL_INVALIDATE",""],["KEYCTL_JOIN_SESSION_KEYRING",""],["KEYCTL_LINK",""],["KEYCTL_MOVE",""],["KEYCTL_NEGATE",""],["KEYCTL_PKEY_DECRYPT",""],["KEYCTL_PKEY_ENCRYPT",""],["KEYCTL_PKEY_QUERY",""],["KEYCTL_PKEY_SIGN",""],["KEYCTL_PKEY_VERIFY",""],["KEYCTL_READ",""],["KEYCTL_REJECT",""],["KEYCTL_RESTRICT_KEYRING",""],["KEYCTL_REVOKE",""],["KEYCTL_SEARCH",""],["KEYCTL_SESSION_TO_PARENT",""],["KEYCTL_SETPERM",""],["KEYCTL_SET_REQKEY_KEYRING",""],["KEYCTL_SET_TIMEOUT",""],["KEYCTL_SUPPORTS_DECRYPT",""],["KEYCTL_SUPPORTS_ENCRYPT",""],["KEYCTL_SUPPORTS_SIGN",""],["KEYCTL_SUPPORTS_VERIFY",""],["KEYCTL_UNLINK",""],["KEYCTL_UPDATE",""],["KEY_CNT",""],["KEY_MAX",""],["KEY_REQKEY_DEFL_DEFAULT",""],["KEY_REQKEY_DEFL_GROUP_KEYRING",""],["KEY_REQKEY_DEFL_NO_CHANGE",""],["KEY_REQKEY_DEFL_PROCESS_KEYRING",""],["KEY_REQKEY_DEFL_REQUESTOR_KEYRING",""],["KEY_REQKEY_DEFL_SESSION_KEYRING",""],["KEY_REQKEY_DEFL_THREAD_KEYRING",""],["KEY_REQKEY_DEFL_USER_KEYRING",""],["KEY_REQKEY_DEFL_USER_SESSION_KEYRING",""],["KEY_SPEC_GROUP_KEYRING",""],["KEY_SPEC_PROCESS_KEYRING",""],["KEY_SPEC_REQKEY_AUTH_KEY",""],["KEY_SPEC_REQUESTOR_KEYRING",""],["KEY_SPEC_SESSION_KEYRING",""],["KEY_SPEC_THREAD_KEYRING",""],["KEY_SPEC_USER_KEYRING",""],["KEY_SPEC_USER_SESSION_KEYRING",""],["LC_ADDRESS",""],["LC_ADDRESS_MASK",""],["LC_ALL",""],["LC_ALL_MASK",""],["LC_COLLATE",""],["LC_COLLATE_MASK",""],["LC_CTYPE",""],["LC_CTYPE_MASK",""],["LC_IDENTIFICATION",""],["LC_IDENTIFICATION_MASK",""],["LC_MEASUREMENT",""],["LC_MEASUREMENT_MASK",""],["LC_MESSAGES",""],["LC_MESSAGES_MASK",""],["LC_MONETARY",""],["LC_MONETARY_MASK",""],["LC_NAME",""],["LC_NAME_MASK",""],["LC_NUMERIC",""],["LC_NUMERIC_MASK",""],["LC_PAPER",""],["LC_PAPER_MASK",""],["LC_TELEPHONE",""],["LC_TELEPHONE_MASK",""],["LC_TIME",""],["LC_TIME_MASK",""],["LED_CNT",""],["LED_MAX",""],["LINUX_REBOOT_CMD_CAD_OFF",""],["LINUX_REBOOT_CMD_CAD_ON",""],["LINUX_REBOOT_CMD_HALT",""],["LINUX_REBOOT_CMD_KEXEC",""],["LINUX_REBOOT_CMD_POWER_OFF",""],["LINUX_REBOOT_CMD_RESTART",""],["LINUX_REBOOT_CMD_RESTART2",""],["LINUX_REBOOT_CMD_SW_SUSPEND",""],["LINUX_REBOOT_MAGIC1",""],["LINUX_REBOOT_MAGIC2",""],["LINUX_REBOOT_MAGIC2A",""],["LINUX_REBOOT_MAGIC2B",""],["LINUX_REBOOT_MAGIC2C",""],["LIO_NOP",""],["LIO_NOWAIT",""],["LIO_READ",""],["LIO_WAIT",""],["LIO_WRITE",""],["LM_ID_BASE",""],["LM_ID_NEWLM",""],["LOCK_EX",""],["LOCK_NB",""],["LOCK_SH",""],["LOCK_UN",""],["LOGIN_PROCESS",""],["LOG_ALERT",""],["LOG_AUTH",""],["LOG_AUTHPRIV",""],["LOG_CONS",""],["LOG_CRIT",""],["LOG_CRON",""],["LOG_DAEMON",""],["LOG_DEBUG",""],["LOG_EMERG",""],["LOG_ERR",""],["LOG_FACMASK",""],["LOG_FTP",""],["LOG_INFO",""],["LOG_KERN",""],["LOG_LOCAL0",""],["LOG_LOCAL1",""],["LOG_LOCAL2",""],["LOG_LOCAL3",""],["LOG_LOCAL4",""],["LOG_LOCAL5",""],["LOG_LOCAL6",""],["LOG_LOCAL7",""],["LOG_LPR",""],["LOG_MAIL",""],["LOG_NDELAY",""],["LOG_NEWS",""],["LOG_NFACILITIES",""],["LOG_NOTICE",""],["LOG_NOWAIT",""],["LOG_ODELAY",""],["LOG_PERROR",""],["LOG_PID",""],["LOG_PRIMASK",""],["LOG_SYSLOG",""],["LOG_USER",""],["LOG_UUCP",""],["LOG_WARNING",""],["L_tmpnam",""],["MADV_DODUMP",""],["MADV_DOFORK",""],["MADV_DONTDUMP",""],["MADV_DONTFORK",""],["MADV_DONTNEED",""],["MADV_FREE",""],["MADV_HUGEPAGE",""],["MADV_HWPOISON",""],["MADV_MERGEABLE",""],["MADV_NOHUGEPAGE",""],["MADV_NORMAL",""],["MADV_RANDOM",""],["MADV_REMOVE",""],["MADV_SEQUENTIAL",""],["MADV_SOFT_OFFLINE",""],["MADV_UNMERGEABLE",""],["MADV_WILLNEED",""],["MAP_32BIT",""],["MAP_ANON",""],["MAP_ANONYMOUS",""],["MAP_DENYWRITE",""],["MAP_EXECUTABLE",""],["MAP_FAILED",""],["MAP_FILE",""],["MAP_FIXED",""],["MAP_FIXED_NOREPLACE",""],["MAP_GROWSDOWN",""],["MAP_HUGETLB",""],["MAP_HUGE_16GB",""],["MAP_HUGE_16MB",""],["MAP_HUGE_1GB",""],["MAP_HUGE_1MB",""],["MAP_HUGE_256MB",""],["MAP_HUGE_2GB",""],["MAP_HUGE_2MB",""],["MAP_HUGE_32MB",""],["MAP_HUGE_512KB",""],["MAP_HUGE_512MB",""],["MAP_HUGE_64KB",""],["MAP_HUGE_8MB",""],["MAP_HUGE_MASK",""],["MAP_HUGE_SHIFT",""],["MAP_LOCKED",""],["MAP_NONBLOCK",""],["MAP_NORESERVE",""],["MAP_POPULATE",""],["MAP_PRIVATE",""],["MAP_SHARED",""],["MAP_SHARED_VALIDATE",""],["MAP_STACK",""],["MAP_SYNC",""],["MAP_TYPE",""],["MAXTC",""],["MAXTTL",""],["MAX_ADDR_LEN",""],["MAX_IPOPTLEN",""],["MAX_LINKS",""],["MCAST_BLOCK_SOURCE",""],["MCAST_EXCLUDE",""],["MCAST_INCLUDE",""],["MCAST_JOIN_GROUP",""],["MCAST_JOIN_SOURCE_GROUP",""],["MCAST_LEAVE_GROUP",""],["MCAST_LEAVE_SOURCE_GROUP",""],["MCAST_MSFILTER",""],["MCAST_UNBLOCK_SOURCE",""],["MCL_CURRENT",""],["MCL_FUTURE",""],["MFD_ALLOW_SEALING",""],["MFD_CLOEXEC",""],["MFD_HUGETLB",""],["MFD_HUGE_16GB",""],["MFD_HUGE_16MB",""],["MFD_HUGE_1GB",""],["MFD_HUGE_1MB",""],["MFD_HUGE_256MB",""],["MFD_HUGE_2GB",""],["MFD_HUGE_2MB",""],["MFD_HUGE_32MB",""],["MFD_HUGE_512KB",""],["MFD_HUGE_512MB",""],["MFD_HUGE_64KB",""],["MFD_HUGE_8MB",""],["MFD_HUGE_MASK",""],["MFD_HUGE_SHIFT",""],["MINIX2_SUPER_MAGIC",""],["MINIX2_SUPER_MAGIC2",""],["MINIX3_SUPER_MAGIC",""],["MINIX_SUPER_MAGIC",""],["MINIX_SUPER_MAGIC2",""],["MINSIGSTKSZ",""],["MLOCK_ONFAULT",""],["MMAP_PAGE_ZERO",""],["MNT_DETACH",""],["MNT_EXPIRE",""],["MNT_FORCE",""],["MODULE_INIT_IGNORE_MODVERSIONS",""],["MODULE_INIT_IGNORE_VERMAGIC",""],["MOD_CLKA",""],["MOD_CLKB",""],["MOD_ESTERROR",""],["MOD_FREQUENCY",""],["MOD_MAXERROR",""],["MOD_MICRO",""],["MOD_NANO",""],["MOD_OFFSET",""],["MOD_STATUS",""],["MOD_TAI",""],["MOD_TIMECONST",""],["MON_1",""],["MON_10",""],["MON_11",""],["MON_12",""],["MON_2",""],["MON_3",""],["MON_4",""],["MON_5",""],["MON_6",""],["MON_7",""],["MON_8",""],["MON_9",""],["MPOL_BIND",""],["MPOL_DEFAULT",""],["MPOL_F_NUMA_BALANCING",""],["MPOL_F_RELATIVE_NODES",""],["MPOL_F_STATIC_NODES",""],["MPOL_INTERLEAVE",""],["MPOL_LOCAL",""],["MPOL_PREFERRED",""],["MREMAP_DONTUNMAP",""],["MREMAP_FIXED",""],["MREMAP_MAYMOVE",""],["MSC_CNT",""],["MSC_MAX",""],["MSDOS_SUPER_MAGIC",""],["MSG_CMSG_CLOEXEC",""],["MSG_CONFIRM",""],["MSG_COPY",""],["MSG_CTRUNC",""],["MSG_DONTROUTE",""],["MSG_DONTWAIT",""],["MSG_EOR",""],["MSG_ERRQUEUE",""],["MSG_EXCEPT",""],["MSG_FASTOPEN",""],["MSG_FIN",""],["MSG_INFO",""],["MSG_MORE",""],["MSG_NOERROR",""],["MSG_NOSIGNAL",""],["MSG_OOB",""],["MSG_PEEK",""],["MSG_RST",""],["MSG_STAT",""],["MSG_SYN",""],["MSG_TRUNC",""],["MSG_TRYHARD",""],["MSG_WAITALL",""],["MSG_WAITFORONE",""],["MSG_ZEROCOPY",""],["MS_ACTIVE",""],["MS_ASYNC",""],["MS_BIND",""],["MS_DIRSYNC",""],["MS_INVALIDATE",""],["MS_I_VERSION",""],["MS_KERNMOUNT",""],["MS_LAZYTIME",""],["MS_MANDLOCK",""],["MS_MGC_MSK",""],["MS_MGC_VAL",""],["MS_MOVE",""],["MS_NOATIME",""],["MS_NODEV",""],["MS_NODIRATIME",""],["MS_NOEXEC",""],["MS_NOSUID",""],["MS_NOUSER",""],["MS_POSIXACL",""],["MS_PRIVATE",""],["MS_RDONLY",""],["MS_REC",""],["MS_RELATIME",""],["MS_REMOUNT",""],["MS_RMT_MASK",""],["MS_SHARED",""],["MS_SILENT",""],["MS_SLAVE",""],["MS_STRICTATIME",""],["MS_SYNC",""],["MS_SYNCHRONOUS",""],["MS_UNBINDABLE",""],["M_ARENA_MAX",""],["M_ARENA_TEST",""],["M_CHECK_ACTION",""],["M_GRAIN",""],["M_KEEP",""],["M_MMAP_MAX",""],["M_MMAP_THRESHOLD",""],["M_MXFAST",""],["M_NLBLKS",""],["M_PERTURB",""],["M_TOP_PAD",""],["M_TRIM_THRESHOLD",""],["NCCS",""],["NCP_SUPER_MAGIC",""],["NDA_CACHEINFO",""],["NDA_DST",""],["NDA_IFINDEX",""],["NDA_LINK_NETNSID",""],["NDA_LLADDR",""],["NDA_MASTER",""],["NDA_PORT",""],["NDA_PROBES",""],["NDA_SRC_VNI",""],["NDA_UNSPEC",""],["NDA_VLAN",""],["NDA_VNI",""],["NETLINK_ADD_MEMBERSHIP",""],["NETLINK_AUDIT",""],["NETLINK_BROADCAST_ERROR",""],["NETLINK_CAP_ACK",""],["NETLINK_CONNECTOR",""],["NETLINK_CRYPTO",""],["NETLINK_DNRTMSG",""],["NETLINK_DROP_MEMBERSHIP",""],["NETLINK_ECRYPTFS",""],["NETLINK_EXT_ACK",""],["NETLINK_FIB_LOOKUP",""],["NETLINK_FIREWALL",""],["NETLINK_GENERIC",""],["NETLINK_GET_STRICT_CHK",""],["NETLINK_INET_DIAG",""],["NETLINK_IP6_FW",""],["NETLINK_ISCSI",""],["NETLINK_KOBJECT_UEVENT",""],["NETLINK_LISTEN_ALL_NSID",""],["NETLINK_LIST_MEMBERSHIPS",""],["NETLINK_NETFILTER",""],["NETLINK_NFLOG",""],["NETLINK_NO_ENOBUFS",""],["NETLINK_PKTINFO",""],["NETLINK_RDMA",""],["NETLINK_ROUTE",""],["NETLINK_RX_RING",""],["NETLINK_SCSITRANSPORT",""],["NETLINK_SELINUX",""],["NETLINK_SOCK_DIAG",""],["NETLINK_TX_RING",""],["NETLINK_UNUSED",""],["NETLINK_USERSOCK",""],["NETLINK_XFRM",""],["NEW_TIME",""],["NFNETLINK_V0",""],["NFNLGRP_ACCT_QUOTA",""],["NFNLGRP_CONNTRACK_DESTROY",""],["NFNLGRP_CONNTRACK_EXP_DESTROY",""],["NFNLGRP_CONNTRACK_EXP_NEW",""],["NFNLGRP_CONNTRACK_EXP_UPDATE",""],["NFNLGRP_CONNTRACK_NEW",""],["NFNLGRP_CONNTRACK_UPDATE",""],["NFNLGRP_NFTABLES",""],["NFNLGRP_NFTRACE",""],["NFNLGRP_NONE",""],["NFNL_BATCH_GENID",""],["NFNL_BATCH_UNSPEC",""],["NFNL_MSG_BATCH_BEGIN",""],["NFNL_MSG_BATCH_END",""],["NFNL_SUBSYS_ACCT",""],["NFNL_SUBSYS_COUNT",""],["NFNL_SUBSYS_CTHELPER",""],["NFNL_SUBSYS_CTNETLINK",""],["NFNL_SUBSYS_CTNETLINK_EXP",""],["NFNL_SUBSYS_CTNETLINK_TIMEOUT",""],["NFNL_SUBSYS_HOOK",""],["NFNL_SUBSYS_IPSET",""],["NFNL_SUBSYS_NFTABLES",""],["NFNL_SUBSYS_NFT_COMPAT",""],["NFNL_SUBSYS_NONE",""],["NFNL_SUBSYS_OSF",""],["NFNL_SUBSYS_QUEUE",""],["NFNL_SUBSYS_ULOG",""],["NFPROTO_ARP",""],["NFPROTO_BRIDGE",""],["NFPROTO_DECNET",""],["NFPROTO_INET",""],["NFPROTO_IPV4",""],["NFPROTO_IPV6",""],["NFPROTO_NETDEV",""],["NFPROTO_NUMPROTO",""],["NFPROTO_UNSPEC",""],["NFQA_CAP_LEN",""],["NFQA_CFG_CMD",""],["NFQA_CFG_FLAGS",""],["NFQA_CFG_F_CONNTRACK",""],["NFQA_CFG_F_FAIL_OPEN",""],["NFQA_CFG_F_GSO",""],["NFQA_CFG_F_MAX",""],["NFQA_CFG_F_SECCTX",""],["NFQA_CFG_F_UID_GID",""],["NFQA_CFG_MASK",""],["NFQA_CFG_PARAMS",""],["NFQA_CFG_QUEUE_MAXLEN",""],["NFQA_CFG_UNSPEC",""],["NFQA_CT",""],["NFQA_CT_INFO",""],["NFQA_EXP",""],["NFQA_GID",""],["NFQA_HWADDR",""],["NFQA_IFINDEX_INDEV",""],["NFQA_IFINDEX_OUTDEV",""],["NFQA_IFINDEX_PHYSINDEV",""],["NFQA_IFINDEX_PHYSOUTDEV",""],["NFQA_L2HDR",""],["NFQA_MARK",""],["NFQA_PACKET_HDR",""],["NFQA_PAYLOAD",""],["NFQA_PRIORITY",""],["NFQA_SECCTX",""],["NFQA_SKB_CSUMNOTREADY",""],["NFQA_SKB_CSUM_NOTVERIFIED",""],["NFQA_SKB_GSO",""],["NFQA_SKB_INFO",""],["NFQA_TIMESTAMP",""],["NFQA_UID",""],["NFQA_UNSPEC",""],["NFQA_VERDICT_HDR",""],["NFQA_VLAN",""],["NFQA_VLAN_PROTO",""],["NFQA_VLAN_TCI",""],["NFQA_VLAN_UNSPEC",""],["NFQNL_CFG_CMD_BIND",""],["NFQNL_CFG_CMD_NONE",""],["NFQNL_CFG_CMD_PF_BIND",""],["NFQNL_CFG_CMD_PF_UNBIND",""],["NFQNL_CFG_CMD_UNBIND",""],["NFQNL_COPY_META",""],["NFQNL_COPY_NONE",""],["NFQNL_COPY_PACKET",""],["NFQNL_MSG_CONFIG",""],["NFQNL_MSG_PACKET",""],["NFQNL_MSG_VERDICT",""],["NFQNL_MSG_VERDICT_BATCH",""],["NFS_SUPER_MAGIC",""],["NFT_BREAK",""],["NFT_BYTEORDER_HTON",""],["NFT_BYTEORDER_NTOH",""],["NFT_CHAIN_MAXNAMELEN",""],["NFT_CMP_EQ",""],["NFT_CMP_GT",""],["NFT_CMP_GTE",""],["NFT_CMP_LT",""],["NFT_CMP_LTE",""],["NFT_CMP_NEQ",""],["NFT_CONTINUE",""],["NFT_CT_BYTES",""],["NFT_CT_DIRECTION",""],["NFT_CT_DST",""],["NFT_CT_EXPIRATION",""],["NFT_CT_HELPER",""],["NFT_CT_L3PROTOCOL",""],["NFT_CT_LABELS",""],["NFT_CT_MARK",""],["NFT_CT_PKTS",""],["NFT_CT_PROTOCOL",""],["NFT_CT_PROTO_DST",""],["NFT_CT_PROTO_SRC",""],["NFT_CT_SECMARK",""],["NFT_CT_SRC",""],["NFT_CT_STATE",""],["NFT_CT_STATUS",""],["NFT_DATA_RESERVED_MASK",""],["NFT_DATA_VALUE",""],["NFT_DATA_VALUE_MAXLEN",""],["NFT_DATA_VERDICT",""],["NFT_DYNSET_F_INV",""],["NFT_DYNSET_OP_ADD",""],["NFT_DYNSET_OP_UPDATE",""],["NFT_GOTO",""],["NFT_JUMP",""],["NFT_LIMIT_F_INV",""],["NFT_LIMIT_PKTS",""],["NFT_LIMIT_PKT_BYTES",""],["NFT_LOOKUP_F_INV",""],["NFT_META_BRI_IIFNAME",""],["NFT_META_BRI_OIFNAME",""],["NFT_META_CGROUP",""],["NFT_META_CPU",""],["NFT_META_IIF",""],["NFT_META_IIFGROUP",""],["NFT_META_IIFNAME",""],["NFT_META_IIFTYPE",""],["NFT_META_L4PROTO",""],["NFT_META_LEN",""],["NFT_META_MARK",""],["NFT_META_NFPROTO",""],["NFT_META_NFTRACE",""],["NFT_META_OIF",""],["NFT_META_OIFGROUP",""],["NFT_META_OIFNAME",""],["NFT_META_OIFTYPE",""],["NFT_META_PKTTYPE",""],["NFT_META_PRANDOM",""],["NFT_META_PRIORITY",""],["NFT_META_PROTOCOL",""],["NFT_META_RTCLASSID",""],["NFT_META_SECMARK",""],["NFT_META_SKGID",""],["NFT_META_SKUID",""],["NFT_MSG_DELCHAIN",""],["NFT_MSG_DELOBJ",""],["NFT_MSG_DELRULE",""],["NFT_MSG_DELSET",""],["NFT_MSG_DELSETELEM",""],["NFT_MSG_DELTABLE",""],["NFT_MSG_GETCHAIN",""],["NFT_MSG_GETGEN",""],["NFT_MSG_GETOBJ",""],["NFT_MSG_GETOBJ_RESET",""],["NFT_MSG_GETRULE",""],["NFT_MSG_GETSET",""],["NFT_MSG_GETSETELEM",""],["NFT_MSG_GETTABLE",""],["NFT_MSG_MAX",""],["NFT_MSG_NEWCHAIN",""],["NFT_MSG_NEWGEN",""],["NFT_MSG_NEWOBJ",""],["NFT_MSG_NEWRULE",""],["NFT_MSG_NEWSET",""],["NFT_MSG_NEWSETELEM",""],["NFT_MSG_NEWTABLE",""],["NFT_MSG_TRACE",""],["NFT_NAT_DNAT",""],["NFT_NAT_SNAT",""],["NFT_NG_INCREMENTAL",""],["NFT_NG_RANDOM",""],["NFT_OBJ_MAXNAMELEN",""],["NFT_PAYLOAD_CSUM_INET",""],["NFT_PAYLOAD_CSUM_NONE",""],["NFT_PAYLOAD_LL_HEADER",""],["NFT_PAYLOAD_NETWORK_HEADER",""],["NFT_PAYLOAD_TRANSPORT_HEADER",""],["NFT_QUEUE_FLAG_BYPASS",""],["NFT_QUEUE_FLAG_CPU_FANOUT",""],["NFT_QUEUE_FLAG_MASK",""],["NFT_QUOTA_F_INV",""],["NFT_RANGE_EQ",""],["NFT_RANGE_NEQ",""],["NFT_REG32_00",""],["NFT_REG32_01",""],["NFT_REG32_02",""],["NFT_REG32_03",""],["NFT_REG32_04",""],["NFT_REG32_05",""],["NFT_REG32_06",""],["NFT_REG32_07",""],["NFT_REG32_08",""],["NFT_REG32_09",""],["NFT_REG32_10",""],["NFT_REG32_11",""],["NFT_REG32_12",""],["NFT_REG32_13",""],["NFT_REG32_14",""],["NFT_REG32_15",""],["NFT_REG32_SIZE",""],["NFT_REG_1",""],["NFT_REG_2",""],["NFT_REG_3",""],["NFT_REG_4",""],["NFT_REG_SIZE",""],["NFT_REG_VERDICT",""],["NFT_REJECT_ICMPX_ADMIN_PROHIBITED",""],["NFT_REJECT_ICMPX_HOST_UNREACH",""],["NFT_REJECT_ICMPX_NO_ROUTE",""],["NFT_REJECT_ICMPX_PORT_UNREACH",""],["NFT_REJECT_ICMPX_UNREACH",""],["NFT_REJECT_ICMP_UNREACH",""],["NFT_REJECT_TCP_RST",""],["NFT_RETURN",""],["NFT_SET_ANONYMOUS",""],["NFT_SET_CONSTANT",""],["NFT_SET_ELEM_INTERVAL_END",""],["NFT_SET_EVAL",""],["NFT_SET_INTERVAL",""],["NFT_SET_MAP",""],["NFT_SET_MAXNAMELEN",""],["NFT_SET_POL_MEMORY",""],["NFT_SET_POL_PERFORMANCE",""],["NFT_SET_TIMEOUT",""],["NFT_TABLE_MAXNAMELEN",""],["NFT_TRACETYPE_POLICY",""],["NFT_TRACETYPE_RETURN",""],["NFT_TRACETYPE_RULE",""],["NFT_TRACETYPE_UNSPEC",""],["NFT_USERDATA_MAXLEN",""],["NFULA_CFG_CMD",""],["NFULA_CFG_FLAGS",""],["NFULA_CFG_MODE",""],["NFULA_CFG_NLBUFSIZ",""],["NFULA_CFG_QTHRESH",""],["NFULA_CFG_TIMEOUT",""],["NFULA_CFG_UNSPEC",""],["NFULA_CT",""],["NFULA_CT_INFO",""],["NFULA_GID",""],["NFULA_HWADDR",""],["NFULA_HWHEADER",""],["NFULA_HWLEN",""],["NFULA_HWTYPE",""],["NFULA_IFINDEX_INDEV",""],["NFULA_IFINDEX_OUTDEV",""],["NFULA_IFINDEX_PHYSINDEV",""],["NFULA_IFINDEX_PHYSOUTDEV",""],["NFULA_L2HDR",""],["NFULA_MARK",""],["NFULA_PACKET_HDR",""],["NFULA_PAYLOAD",""],["NFULA_PREFIX",""],["NFULA_SEQ",""],["NFULA_SEQ_GLOBAL",""],["NFULA_TIMESTAMP",""],["NFULA_UID",""],["NFULA_UNSPEC",""],["NFULA_VLAN",""],["NFULA_VLAN_PROTO",""],["NFULA_VLAN_TCI",""],["NFULA_VLAN_UNSPEC",""],["NFULNL_CFG_CMD_BIND",""],["NFULNL_CFG_CMD_NONE",""],["NFULNL_CFG_CMD_PF_BIND",""],["NFULNL_CFG_CMD_PF_UNBIND",""],["NFULNL_CFG_CMD_UNBIND",""],["NFULNL_CFG_F_CONNTRACK",""],["NFULNL_CFG_F_SEQ",""],["NFULNL_CFG_F_SEQ_GLOBAL",""],["NFULNL_COPY_META",""],["NFULNL_COPY_NONE",""],["NFULNL_COPY_PACKET",""],["NFULNL_MSG_CONFIG",""],["NFULNL_MSG_PACKET",""],["NF_ACCEPT",""],["NF_DROP",""],["NF_INET_FORWARD",""],["NF_INET_LOCAL_IN",""],["NF_INET_LOCAL_OUT",""],["NF_INET_NUMHOOKS",""],["NF_INET_POST_ROUTING",""],["NF_INET_PRE_ROUTING",""],["NF_IP6_FORWARD",""],["NF_IP6_LOCAL_IN",""],["NF_IP6_LOCAL_OUT",""],["NF_IP6_NUMHOOKS",""],["NF_IP6_POST_ROUTING",""],["NF_IP6_PRE_ROUTING",""],["NF_IP6_PRI_CONNTRACK",""],["NF_IP6_PRI_CONNTRACK_DEFRAG",""],["NF_IP6_PRI_CONNTRACK_HELPER",""],["NF_IP6_PRI_FILTER",""],["NF_IP6_PRI_FIRST",""],["NF_IP6_PRI_LAST",""],["NF_IP6_PRI_MANGLE",""],["NF_IP6_PRI_NAT_DST",""],["NF_IP6_PRI_NAT_SRC",""],["NF_IP6_PRI_RAW",""],["NF_IP6_PRI_SECURITY",""],["NF_IP6_PRI_SELINUX_FIRST",""],["NF_IP6_PRI_SELINUX_LAST",""],["NF_IP_FORWARD",""],["NF_IP_LOCAL_IN",""],["NF_IP_LOCAL_OUT",""],["NF_IP_NUMHOOKS",""],["NF_IP_POST_ROUTING",""],["NF_IP_PRE_ROUTING",""],["NF_IP_PRI_CONNTRACK",""],["NF_IP_PRI_CONNTRACK_CONFIRM",""],["NF_IP_PRI_CONNTRACK_DEFRAG",""],["NF_IP_PRI_CONNTRACK_HELPER",""],["NF_IP_PRI_FILTER",""],["NF_IP_PRI_FIRST",""],["NF_IP_PRI_LAST",""],["NF_IP_PRI_MANGLE",""],["NF_IP_PRI_NAT_DST",""],["NF_IP_PRI_NAT_SRC",""],["NF_IP_PRI_RAW",""],["NF_IP_PRI_SECURITY",""],["NF_IP_PRI_SELINUX_FIRST",""],["NF_IP_PRI_SELINUX_LAST",""],["NF_MAX_VERDICT",""],["NF_NETDEV_INGRESS",""],["NF_NETDEV_NUMHOOKS",""],["NF_QUEUE",""],["NF_REPEAT",""],["NF_STOLEN",""],["NF_STOP",""],["NF_VERDICT_BITS",""],["NF_VERDICT_FLAG_QUEUE_BYPASS",""],["NF_VERDICT_MASK",""],["NF_VERDICT_QBITS",""],["NF_VERDICT_QMASK",""],["NILFS_SUPER_MAGIC",""],["NI_DGRAM",""],["NI_MAXHOST",""],["NI_NAMEREQD",""],["NI_NOFQDN",""],["NI_NUMERICHOST",""],["NI_NUMERICSERV",""],["NL0",""],["NL1",""],["NLA_ALIGNTO",""],["NLA_F_NESTED",""],["NLA_F_NET_BYTEORDER",""],["NLA_TYPE_MASK",""],["NLDLY",""],["NLMSG_DONE",""],["NLMSG_ERROR",""],["NLMSG_MIN_TYPE",""],["NLMSG_NOOP",""],["NLMSG_OVERRUN",""],["NLM_F_ACK",""],["NLM_F_APPEND",""],["NLM_F_ATOMIC",""],["NLM_F_CREATE",""],["NLM_F_DUMP",""],["NLM_F_DUMP_FILTERED",""],["NLM_F_DUMP_INTR",""],["NLM_F_ECHO",""],["NLM_F_EXCL",""],["NLM_F_MATCH",""],["NLM_F_MULTI",""],["NLM_F_REPLACE",""],["NLM_F_REQUEST",""],["NLM_F_ROOT",""],["NOEXPR",""],["NOFLSH",""],["NOSTR",""],["NSFS_MAGIC",""],["NTF_EXT_LEARNED",""],["NTF_MASTER",""],["NTF_OFFLOADED",""],["NTF_PROXY",""],["NTF_ROUTER",""],["NTF_SELF",""],["NTF_USE",""],["NTP_API",""],["NT_ASRS",""],["NT_AUXV",""],["NT_FPREGSET",""],["NT_GWINDOWS",""],["NT_LWPSINFO",""],["NT_LWPSTATUS",""],["NT_PLATFORM",""],["NT_PRCRED",""],["NT_PRFPREG",""],["NT_PRFPXREG",""],["NT_PRPSINFO",""],["NT_PRSTATUS",""],["NT_PRXREG",""],["NT_PSINFO",""],["NT_PSTATUS",""],["NT_TASKSTRUCT",""],["NT_UTSNAME",""],["NUD_DELAY",""],["NUD_FAILED",""],["NUD_INCOMPLETE",""],["NUD_NOARP",""],["NUD_NONE",""],["NUD_PERMANENT",""],["NUD_PROBE",""],["NUD_REACHABLE",""],["NUD_STALE",""],["OCFS2_SUPER_MAGIC",""],["OCRNL",""],["OFDEL",""],["OFILL",""],["OLCUC",""],["OLD_TIME",""],["ONLCR",""],["ONLRET",""],["ONOCR",""],["OPENPROM_SUPER_MAGIC",""],["OPOST",""],["ORIG_RAX",""],["OVERLAYFS_SUPER_MAGIC",""],["O_ACCMODE",""],["O_APPEND",""],["O_ASYNC",""],["O_CLOEXEC",""],["O_CREAT",""],["O_DIRECT",""],["O_DIRECTORY",""],["O_DSYNC",""],["O_EXCL",""],["O_FSYNC",""],["O_LARGEFILE",""],["O_NDELAY",""],["O_NOATIME",""],["O_NOCTTY",""],["O_NOFOLLOW",""],["O_NONBLOCK",""],["O_PATH",""],["O_RDONLY",""],["O_RDWR",""],["O_RSYNC",""],["O_SYNC",""],["O_TMPFILE",""],["O_TRUNC",""],["O_WRONLY",""],["PACKET_ADD_MEMBERSHIP",""],["PACKET_DROP_MEMBERSHIP",""],["PACKET_MR_ALLMULTI",""],["PACKET_MR_MULTICAST",""],["PACKET_MR_PROMISC",""],["PACKET_MR_UNICAST",""],["PARENB",""],["PARMRK",""],["PARODD",""],["PATH_MAX",""],["PENDIN",""],["PF_ALG",""],["PF_APPLETALK",""],["PF_ASH",""],["PF_ATMPVC",""],["PF_ATMSVC",""],["PF_AX25",""],["PF_BLUETOOTH",""],["PF_BRIDGE",""],["PF_CAIF",""],["PF_CAN",""],["PF_DECnet",""],["PF_ECONET",""],["PF_IB",""],["PF_IEEE802154",""],["PF_INET",""],["PF_INET6",""],["PF_IPX",""],["PF_IRDA",""],["PF_ISDN",""],["PF_IUCV",""],["PF_KEY",""],["PF_LLC",""],["PF_LOCAL",""],["PF_MASKOS",""],["PF_MASKPROC",""],["PF_MPLS",""],["PF_NETBEUI",""],["PF_NETLINK",""],["PF_NETROM",""],["PF_NFC",""],["PF_PACKET",""],["PF_PHONET",""],["PF_PPPOX",""],["PF_R",""],["PF_RDS",""],["PF_ROSE",""],["PF_ROUTE",""],["PF_RXRPC",""],["PF_SECURITY",""],["PF_SNA",""],["PF_TIPC",""],["PF_UNIX",""],["PF_UNSPEC",""],["PF_VSOCK",""],["PF_W",""],["PF_WANPIPE",""],["PF_X",""],["PF_X25",""],["PF_XDP",""],["PIDFD_NONBLOCK",""],["PIPE_BUF",""],["PM_STR",""],["POLLERR",""],["POLLHUP",""],["POLLIN",""],["POLLNVAL",""],["POLLOUT",""],["POLLPRI",""],["POLLRDBAND",""],["POLLRDHUP",""],["POLLRDNORM",""],["POLLWRBAND",""],["POLLWRNORM",""],["POSIX_FADV_DONTNEED",""],["POSIX_FADV_NOREUSE",""],["POSIX_FADV_NORMAL",""],["POSIX_FADV_RANDOM",""],["POSIX_FADV_SEQUENTIAL",""],["POSIX_FADV_WILLNEED",""],["POSIX_MADV_DONTNEED",""],["POSIX_MADV_NORMAL",""],["POSIX_MADV_RANDOM",""],["POSIX_MADV_SEQUENTIAL",""],["POSIX_MADV_WILLNEED",""],["POSIX_SPAWN_RESETIDS",""],["POSIX_SPAWN_SETPGROUP",""],["POSIX_SPAWN_SETSCHEDPARAM",""],["POSIX_SPAWN_SETSCHEDULER",""],["POSIX_SPAWN_SETSID",""],["POSIX_SPAWN_SETSIGDEF",""],["POSIX_SPAWN_SETSIGMASK",""],["POSIX_SPAWN_USEVFORK",""],["PRIO_MAX",""],["PRIO_MIN",""],["PRIO_PGRP",""],["PRIO_PROCESS",""],["PRIO_USER",""],["PROC_SUPER_MAGIC",""],["PROT_EXEC",""],["PROT_GROWSDOWN",""],["PROT_GROWSUP",""],["PROT_NONE",""],["PROT_READ",""],["PROT_WRITE",""],["PR_CAPBSET_DROP",""],["PR_CAPBSET_READ",""],["PR_CAP_AMBIENT",""],["PR_CAP_AMBIENT_CLEAR_ALL",""],["PR_CAP_AMBIENT_IS_SET",""],["PR_CAP_AMBIENT_LOWER",""],["PR_CAP_AMBIENT_RAISE",""],["PR_ENDIAN_BIG",""],["PR_ENDIAN_LITTLE",""],["PR_ENDIAN_PPC_LITTLE",""],["PR_FPEMU_NOPRINT",""],["PR_FPEMU_SIGFPE",""],["PR_FP_EXC_ASYNC",""],["PR_FP_EXC_DISABLED",""],["PR_FP_EXC_DIV",""],["PR_FP_EXC_INV",""],["PR_FP_EXC_NONRECOV",""],["PR_FP_EXC_OVF",""],["PR_FP_EXC_PRECISE",""],["PR_FP_EXC_RES",""],["PR_FP_EXC_SW_ENABLE",""],["PR_FP_EXC_UND",""],["PR_FP_MODE_FR",""],["PR_FP_MODE_FRE",""],["PR_GET_CHILD_SUBREAPER",""],["PR_GET_DUMPABLE",""],["PR_GET_ENDIAN",""],["PR_GET_FPEMU",""],["PR_GET_FPEXC",""],["PR_GET_FP_MODE",""],["PR_GET_KEEPCAPS",""],["PR_GET_NAME",""],["PR_GET_NO_NEW_PRIVS",""],["PR_GET_PDEATHSIG",""],["PR_GET_SECCOMP",""],["PR_GET_SECUREBITS",""],["PR_GET_SPECULATION_CTRL",""],["PR_GET_THP_DISABLE",""],["PR_GET_TID_ADDRESS",""],["PR_GET_TIMERSLACK",""],["PR_GET_TIMING",""],["PR_GET_TSC",""],["PR_GET_UNALIGN",""],["PR_MCE_KILL",""],["PR_MCE_KILL_CLEAR",""],["PR_MCE_KILL_DEFAULT",""],["PR_MCE_KILL_EARLY",""],["PR_MCE_KILL_GET",""],["PR_MCE_KILL_LATE",""],["PR_MCE_KILL_SET",""],["PR_MPX_DISABLE_MANAGEMENT",""],["PR_MPX_ENABLE_MANAGEMENT",""],["PR_SET_CHILD_SUBREAPER",""],["PR_SET_DUMPABLE",""],["PR_SET_ENDIAN",""],["PR_SET_FPEMU",""],["PR_SET_FPEXC",""],["PR_SET_FP_MODE",""],["PR_SET_KEEPCAPS",""],["PR_SET_MM",""],["PR_SET_MM_ARG_END",""],["PR_SET_MM_ARG_START",""],["PR_SET_MM_AUXV",""],["PR_SET_MM_BRK",""],["PR_SET_MM_END_CODE",""],["PR_SET_MM_END_DATA",""],["PR_SET_MM_ENV_END",""],["PR_SET_MM_ENV_START",""],["PR_SET_MM_EXE_FILE",""],["PR_SET_MM_MAP",""],["PR_SET_MM_MAP_SIZE",""],["PR_SET_MM_START_BRK",""],["PR_SET_MM_START_CODE",""],["PR_SET_MM_START_DATA",""],["PR_SET_MM_START_STACK",""],["PR_SET_NAME",""],["PR_SET_NO_NEW_PRIVS",""],["PR_SET_PDEATHSIG",""],["PR_SET_PTRACER",""],["PR_SET_SECCOMP",""],["PR_SET_SECUREBITS",""],["PR_SET_SPECULATION_CTRL",""],["PR_SET_THP_DISABLE",""],["PR_SET_TIMERSLACK",""],["PR_SET_TIMING",""],["PR_SET_TSC",""],["PR_SET_UNALIGN",""],["PR_SET_VMA",""],["PR_SET_VMA_ANON_NAME",""],["PR_SPEC_DISABLE",""],["PR_SPEC_DISABLE_NOEXEC",""],["PR_SPEC_ENABLE",""],["PR_SPEC_FORCE_DISABLE",""],["PR_SPEC_INDIRECT_BRANCH",""],["PR_SPEC_NOT_AFFECTED",""],["PR_SPEC_PRCTL",""],["PR_SPEC_STORE_BYPASS",""],["PR_TASK_PERF_EVENTS_DISABLE",""],["PR_TASK_PERF_EVENTS_ENABLE",""],["PR_TIMING_STATISTICAL",""],["PR_TIMING_TIMESTAMP",""],["PR_TSC_ENABLE",""],["PR_TSC_SIGSEGV",""],["PR_UNALIGN_NOPRINT",""],["PR_UNALIGN_SIGBUS",""],["PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP",""],["PTHREAD_COND_INITIALIZER",""],["PTHREAD_CREATE_DETACHED",""],["PTHREAD_CREATE_JOINABLE",""],["PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP",""],["PTHREAD_MUTEX_ADAPTIVE_NP",""],["PTHREAD_MUTEX_DEFAULT",""],["PTHREAD_MUTEX_ERRORCHECK",""],["PTHREAD_MUTEX_INITIALIZER",""],["PTHREAD_MUTEX_NORMAL",""],["PTHREAD_MUTEX_RECURSIVE",""],["PTHREAD_MUTEX_ROBUST",""],["PTHREAD_MUTEX_STALLED",""],["PTHREAD_PRIO_INHERIT",""],["PTHREAD_PRIO_NONE",""],["PTHREAD_PRIO_PROTECT",""],["PTHREAD_PROCESS_PRIVATE",""],["PTHREAD_PROCESS_SHARED",""],["PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP",""],["PTHREAD_RWLOCK_INITIALIZER",""],["PTHREAD_STACK_MIN",""],["PTRACE_ATTACH",""],["PTRACE_CONT",""],["PTRACE_DETACH",""],["PTRACE_EVENT_CLONE",""],["PTRACE_EVENT_EXEC",""],["PTRACE_EVENT_EXIT",""],["PTRACE_EVENT_FORK",""],["PTRACE_EVENT_SECCOMP",""],["PTRACE_EVENT_STOP",""],["PTRACE_EVENT_VFORK",""],["PTRACE_EVENT_VFORK_DONE",""],["PTRACE_GETEVENTMSG",""],["PTRACE_GETFPREGS",""],["PTRACE_GETFPXREGS",""],["PTRACE_GETREGS",""],["PTRACE_GETREGSET",""],["PTRACE_GETSIGINFO",""],["PTRACE_GET_RSEQ_CONFIGURATION",""],["PTRACE_GET_SYSCALL_INFO",""],["PTRACE_INTERRUPT",""],["PTRACE_KILL",""],["PTRACE_LISTEN",""],["PTRACE_O_EXITKILL",""],["PTRACE_O_MASK",""],["PTRACE_O_SUSPEND_SECCOMP",""],["PTRACE_O_TRACECLONE",""],["PTRACE_O_TRACEEXEC",""],["PTRACE_O_TRACEEXIT",""],["PTRACE_O_TRACEFORK",""],["PTRACE_O_TRACESECCOMP",""],["PTRACE_O_TRACESYSGOOD",""],["PTRACE_O_TRACEVFORK",""],["PTRACE_O_TRACEVFORKDONE",""],["PTRACE_PEEKDATA",""],["PTRACE_PEEKSIGINFO",""],["PTRACE_PEEKSIGINFO_SHARED",""],["PTRACE_PEEKTEXT",""],["PTRACE_PEEKUSER",""],["PTRACE_POKEDATA",""],["PTRACE_POKETEXT",""],["PTRACE_POKEUSER",""],["PTRACE_SEIZE",""],["PTRACE_SETFPREGS",""],["PTRACE_SETFPXREGS",""],["PTRACE_SETOPTIONS",""],["PTRACE_SETREGS",""],["PTRACE_SETREGSET",""],["PTRACE_SETSIGINFO",""],["PTRACE_SINGLESTEP",""],["PTRACE_SYSCALL",""],["PTRACE_SYSEMU",""],["PTRACE_SYSEMU_SINGLESTEP",""],["PTRACE_TRACEME",""],["PT_DYNAMIC",""],["PT_GNU_EH_FRAME",""],["PT_GNU_RELRO",""],["PT_GNU_STACK",""],["PT_HIOS",""],["PT_HIPROC",""],["PT_HISUNW",""],["PT_INTERP",""],["PT_LOAD",""],["PT_LOOS",""],["PT_LOPROC",""],["PT_LOSUNW",""],["PT_NOTE",""],["PT_NULL",""],["PT_NUM",""],["PT_PHDR",""],["PT_SHLIB",""],["PT_SUNWBSS",""],["PT_SUNWSTACK",""],["PT_TLS",""],["P_ALL",""],["P_PGID",""],["P_PID",""],["P_PIDFD",""],["QFMT_VFS_OLD",""],["QFMT_VFS_V0",""],["QFMT_VFS_V1",""],["QIF_ALL",""],["QIF_BLIMITS",""],["QIF_BTIME",""],["QIF_ILIMITS",""],["QIF_INODES",""],["QIF_ITIME",""],["QIF_LIMITS",""],["QIF_SPACE",""],["QIF_TIMES",""],["QIF_USAGE",""],["QNX4_SUPER_MAGIC",""],["QNX6_SUPER_MAGIC",""],["Q_GETFMT",""],["Q_GETINFO",""],["Q_GETQUOTA",""],["Q_QUOTAOFF",""],["Q_QUOTAON",""],["Q_SETINFO",""],["Q_SETQUOTA",""],["Q_SYNC",""],["R10",""],["R11",""],["R12",""],["R13",""],["R14",""],["R15",""],["R8",""],["R9",""],["RADIXCHAR",""],["RAND_MAX",""],["RAX",""],["RBP",""],["RBX",""],["RB_AUTOBOOT",""],["RB_DISABLE_CAD",""],["RB_ENABLE_CAD",""],["RB_HALT_SYSTEM",""],["RB_KEXEC",""],["RB_POWER_OFF",""],["RB_SW_SUSPEND",""],["RCX",""],["RDI",""],["RDTGROUP_SUPER_MAGIC",""],["RDX",""],["READ_IMPLIES_EXEC",""],["REG_BADBR",""],["REG_BADPAT",""],["REG_BADRPT",""],["REG_CR2",""],["REG_CSGSFS",""],["REG_EBRACE",""],["REG_EBRACK",""],["REG_ECOLLATE",""],["REG_ECTYPE",""],["REG_EEND",""],["REG_EESCAPE",""],["REG_EFL",""],["REG_ENOSYS",""],["REG_EPAREN",""],["REG_ERANGE",""],["REG_ERPAREN",""],["REG_ERR",""],["REG_ESIZE",""],["REG_ESPACE",""],["REG_ESUBREG",""],["REG_EXTENDED",""],["REG_ICASE",""],["REG_NEWLINE",""],["REG_NOMATCH",""],["REG_NOSUB",""],["REG_NOTBOL",""],["REG_NOTEOL",""],["REG_OLDMASK",""],["REG_R10",""],["REG_R11",""],["REG_R12",""],["REG_R13",""],["REG_R14",""],["REG_R15",""],["REG_R8",""],["REG_R9",""],["REG_RAX",""],["REG_RBP",""],["REG_RBX",""],["REG_RCX",""],["REG_RDI",""],["REG_RDX",""],["REG_RIP",""],["REG_RSI",""],["REG_RSP",""],["REG_STARTEND",""],["REG_TRAPNO",""],["REISERFS_SUPER_MAGIC",""],["REL_CNT",""],["REL_MAX",""],["RENAME_EXCHANGE",""],["RENAME_NOREPLACE",""],["RENAME_WHITEOUT",""],["REP_CNT",""],["REP_MAX",""],["RESOLVE_BENEATH",""],["RESOLVE_CACHED",""],["RESOLVE_IN_ROOT",""],["RESOLVE_NO_MAGICLINKS",""],["RESOLVE_NO_SYMLINKS",""],["RESOLVE_NO_XDEV",""],["RIP",""],["RLIMIT_AS",""],["RLIMIT_CORE",""],["RLIMIT_CPU",""],["RLIMIT_DATA",""],["RLIMIT_FSIZE",""],["RLIMIT_LOCKS",""],["RLIMIT_MEMLOCK",""],["RLIMIT_MSGQUEUE",""],["RLIMIT_NICE",""],["RLIMIT_NLIMITS",""],["RLIMIT_NOFILE",""],["RLIMIT_NPROC",""],["RLIMIT_RSS",""],["RLIMIT_RTPRIO",""],["RLIMIT_RTTIME",""],["RLIMIT_SIGPENDING",""],["RLIMIT_STACK",""],["RLIM_INFINITY",""],["RLIM_NLIMITS",""],["RLIM_SAVED_CUR",""],["RLIM_SAVED_MAX",""],["RSI",""],["RSP",""],["RTA_CACHEINFO",""],["RTA_DST",""],["RTA_ENCAP",""],["RTA_ENCAP_TYPE",""],["RTA_EXPIRES",""],["RTA_FLOW",""],["RTA_GATEWAY",""],["RTA_IIF",""],["RTA_MARK",""],["RTA_METRICS",""],["RTA_MFC_STATS",""],["RTA_MP_ALGO",""],["RTA_MULTIPATH",""],["RTA_NEWDST",""],["RTA_OIF",""],["RTA_PAD",""],["RTA_PREF",""],["RTA_PREFSRC",""],["RTA_PRIORITY",""],["RTA_PROTOINFO",""],["RTA_SESSION",""],["RTA_SRC",""],["RTA_TABLE",""],["RTA_TTL_PROPAGATE",""],["RTA_UID",""],["RTA_UNSPEC",""],["RTA_VIA",""],["RTCF_DIRECTSRC",""],["RTCF_DOREDIRECT",""],["RTCF_LOG",""],["RTCF_MASQ",""],["RTCF_NAT",""],["RTCF_VALVE",""],["RTF_ADDRCLASSMASK",""],["RTF_ADDRCONF",""],["RTF_ALLONLINK",""],["RTF_BROADCAST",""],["RTF_CACHE",""],["RTF_DEFAULT",""],["RTF_DYNAMIC",""],["RTF_FLOW",""],["RTF_GATEWAY",""],["RTF_HOST",""],["RTF_INTERFACE",""],["RTF_IRTT",""],["RTF_LINKRT",""],["RTF_LOCAL",""],["RTF_MODIFIED",""],["RTF_MSS",""],["RTF_MTU",""],["RTF_MULTICAST",""],["RTF_NAT",""],["RTF_NOFORWARD",""],["RTF_NONEXTHOP",""],["RTF_NOPMTUDISC",""],["RTF_POLICY",""],["RTF_REINSTATE",""],["RTF_REJECT",""],["RTF_STATIC",""],["RTF_THROW",""],["RTF_UP",""],["RTF_WINDOW",""],["RTF_XRESOLVE",""],["RTLD_DEEPBIND",""],["RTLD_DEFAULT",""],["RTLD_DI_CONFIGADDR",""],["RTLD_DI_LINKMAP",""],["RTLD_DI_LMID",""],["RTLD_DI_ORIGIN",""],["RTLD_DI_PROFILENAME",""],["RTLD_DI_PROFILEOUT",""],["RTLD_DI_SERINFO",""],["RTLD_DI_SERINFOSIZE",""],["RTLD_DI_TLS_DATA",""],["RTLD_DI_TLS_MODID",""],["RTLD_GLOBAL",""],["RTLD_LAZY",""],["RTLD_LOCAL",""],["RTLD_NEXT",""],["RTLD_NODELETE",""],["RTLD_NOLOAD",""],["RTLD_NOW",""],["RTMGRP_DECnet_IFADDR",""],["RTMGRP_DECnet_ROUTE",""],["RTMGRP_IPV4_IFADDR",""],["RTMGRP_IPV4_MROUTE",""],["RTMGRP_IPV4_ROUTE",""],["RTMGRP_IPV4_RULE",""],["RTMGRP_IPV6_IFADDR",""],["RTMGRP_IPV6_IFINFO",""],["RTMGRP_IPV6_MROUTE",""],["RTMGRP_IPV6_PREFIX",""],["RTMGRP_IPV6_ROUTE",""],["RTMGRP_LINK",""],["RTMGRP_NEIGH",""],["RTMGRP_NOTIFY",""],["RTMGRP_TC",""],["RTMSG_AR_FAILED",""],["RTMSG_CONTROL",""],["RTMSG_DELDEVICE",""],["RTMSG_DELROUTE",""],["RTMSG_DELRULE",""],["RTMSG_NEWDEVICE",""],["RTMSG_NEWROUTE",""],["RTMSG_NEWRULE",""],["RTMSG_OVERRUN",""],["RTM_DELACTION",""],["RTM_DELADDR",""],["RTM_DELADDRLABEL",""],["RTM_DELLINK",""],["RTM_DELMDB",""],["RTM_DELNEIGH",""],["RTM_DELNETCONF",""],["RTM_DELNSID",""],["RTM_DELQDISC",""],["RTM_DELROUTE",""],["RTM_DELRULE",""],["RTM_DELTCLASS",""],["RTM_DELTFILTER",""],["RTM_F_CLONED",""],["RTM_F_EQUALIZE",""],["RTM_F_FIB_MATCH",""],["RTM_F_LOOKUP_TABLE",""],["RTM_F_NOTIFY",""],["RTM_F_PREFIX",""],["RTM_GETACTION",""],["RTM_GETADDR",""],["RTM_GETADDRLABEL",""],["RTM_GETANYCAST",""],["RTM_GETDCB",""],["RTM_GETLINK",""],["RTM_GETMDB",""],["RTM_GETMULTICAST",""],["RTM_GETNEIGH",""],["RTM_GETNEIGHTBL",""],["RTM_GETNETCONF",""],["RTM_GETNSID",""],["RTM_GETQDISC",""],["RTM_GETROUTE",""],["RTM_GETRULE",""],["RTM_GETSTATS",""],["RTM_GETTCLASS",""],["RTM_GETTFILTER",""],["RTM_NEWACTION",""],["RTM_NEWADDR",""],["RTM_NEWADDRLABEL",""],["RTM_NEWCACHEREPORT",""],["RTM_NEWLINK",""],["RTM_NEWMDB",""],["RTM_NEWNDUSEROPT",""],["RTM_NEWNEIGH",""],["RTM_NEWNEIGHTBL",""],["RTM_NEWNETCONF",""],["RTM_NEWNSID",""],["RTM_NEWPREFIX",""],["RTM_NEWQDISC",""],["RTM_NEWROUTE",""],["RTM_NEWRULE",""],["RTM_NEWSTATS",""],["RTM_NEWTCLASS",""],["RTM_NEWTFILTER",""],["RTM_SETDCB",""],["RTM_SETLINK",""],["RTM_SETNEIGHTBL",""],["RTNLGRP_BRVLAN",""],["RTNLGRP_DCB",""],["RTNLGRP_DECnet_IFADDR",""],["RTNLGRP_DECnet_ROUTE",""],["RTNLGRP_DECnet_RULE",""],["RTNLGRP_IPV4_IFADDR",""],["RTNLGRP_IPV4_MROUTE",""],["RTNLGRP_IPV4_MROUTE_R",""],["RTNLGRP_IPV4_NETCONF",""],["RTNLGRP_IPV4_ROUTE",""],["RTNLGRP_IPV4_RULE",""],["RTNLGRP_IPV6_IFADDR",""],["RTNLGRP_IPV6_IFINFO",""],["RTNLGRP_IPV6_MROUTE",""],["RTNLGRP_IPV6_MROUTE_R",""],["RTNLGRP_IPV6_NETCONF",""],["RTNLGRP_IPV6_PREFIX",""],["RTNLGRP_IPV6_ROUTE",""],["RTNLGRP_IPV6_RULE",""],["RTNLGRP_LINK",""],["RTNLGRP_MCTP_IFADDR",""],["RTNLGRP_MDB",""],["RTNLGRP_MPLS_NETCONF",""],["RTNLGRP_MPLS_ROUTE",""],["RTNLGRP_ND_USEROPT",""],["RTNLGRP_NEIGH",""],["RTNLGRP_NEXTHOP",""],["RTNLGRP_NONE",""],["RTNLGRP_NOP2",""],["RTNLGRP_NOP4",""],["RTNLGRP_NOTIFY",""],["RTNLGRP_NSID",""],["RTNLGRP_PHONET_IFADDR",""],["RTNLGRP_PHONET_ROUTE",""],["RTNLGRP_STATS",""],["RTNLGRP_TC",""],["RTNLGRP_TUNNEL",""],["RTN_ANYCAST",""],["RTN_BLACKHOLE",""],["RTN_BROADCAST",""],["RTN_LOCAL",""],["RTN_MULTICAST",""],["RTN_NAT",""],["RTN_PROHIBIT",""],["RTN_THROW",""],["RTN_UNICAST",""],["RTN_UNREACHABLE",""],["RTN_UNSPEC",""],["RTN_XRESOLVE",""],["RTPROT_BOOT",""],["RTPROT_KERNEL",""],["RTPROT_REDIRECT",""],["RTPROT_STATIC",""],["RTPROT_UNSPEC",""],["RT_CLASS_DEFAULT",""],["RT_CLASS_LOCAL",""],["RT_CLASS_MAIN",""],["RT_CLASS_MAX",""],["RT_CLASS_UNSPEC",""],["RT_SCOPE_HOST",""],["RT_SCOPE_LINK",""],["RT_SCOPE_NOWHERE",""],["RT_SCOPE_SITE",""],["RT_SCOPE_UNIVERSE",""],["RT_TABLE_COMPAT",""],["RT_TABLE_DEFAULT",""],["RT_TABLE_LOCAL",""],["RT_TABLE_MAIN",""],["RT_TABLE_UNSPEC",""],["RUN_LVL",""],["RUSAGE_CHILDREN",""],["RUSAGE_SELF",""],["RUSAGE_THREAD",""],["RWF_APPEND",""],["RWF_DSYNC",""],["RWF_HIPRI",""],["RWF_NOWAIT",""],["RWF_SYNC",""],["R_OK",""],["SA_NOCLDSTOP",""],["SA_NOCLDWAIT",""],["SA_NODEFER",""],["SA_ONSTACK",""],["SA_RESETHAND",""],["SA_RESTART",""],["SA_SIGINFO",""],["SCHED_BATCH",""],["SCHED_FIFO",""],["SCHED_IDLE",""],["SCHED_OTHER",""],["SCHED_RESET_ON_FORK",""],["SCHED_RR",""],["SCM_CREDENTIALS",""],["SCM_J1939_DEST_ADDR",""],["SCM_J1939_DEST_NAME",""],["SCM_J1939_ERRQUEUE",""],["SCM_J1939_PRIO",""],["SCM_RIGHTS",""],["SCM_TIMESTAMP",""],["SCM_TIMESTAMPING",""],["SCM_TIMESTAMPING_OPT_STATS",""],["SCM_TIMESTAMPING_PKTINFO",""],["SCM_TIMESTAMPNS",""],["SCM_TXTIME",""],["SCM_WIFI_STATUS",""],["SECCOMP_FILTER_FLAG_LOG",""],["SECCOMP_FILTER_FLAG_SPEC_ALLOW",""],["SECCOMP_FILTER_FLAG_TSYNC",""],["SECCOMP_GET_ACTION_AVAIL",""],["SECCOMP_GET_NOTIF_SIZES",""],["SECCOMP_MODE_DISABLED",""],["SECCOMP_MODE_FILTER",""],["SECCOMP_MODE_STRICT",""],["SECCOMP_RET_ACTION",""],["SECCOMP_RET_ACTION_FULL",""],["SECCOMP_RET_ALLOW",""],["SECCOMP_RET_DATA",""],["SECCOMP_RET_ERRNO",""],["SECCOMP_RET_KILL",""],["SECCOMP_RET_KILL_PROCESS",""],["SECCOMP_RET_KILL_THREAD",""],["SECCOMP_RET_LOG",""],["SECCOMP_RET_TRACE",""],["SECCOMP_RET_TRAP",""],["SECCOMP_SET_MODE_FILTER",""],["SECCOMP_SET_MODE_STRICT",""],["SECURITYFS_MAGIC",""],["SEEK_CUR",""],["SEEK_DATA",""],["SEEK_END",""],["SEEK_HOLE",""],["SEEK_SET",""],["SELFMAG",""],["SELINUX_MAGIC",""],["SEM_FAILED",""],["SFD_CLOEXEC",""],["SFD_NONBLOCK",""],["SHM_EXEC",""],["SHM_HUGETLB",""],["SHM_LOCK",""],["SHM_NORESERVE",""],["SHM_R",""],["SHM_RDONLY",""],["SHM_REMAP",""],["SHM_RND",""],["SHM_UNLOCK",""],["SHM_W",""],["SHORT_INODE",""],["SHUT_RD",""],["SHUT_RDWR",""],["SHUT_WR",""],["SIGABRT",""],["SIGALRM",""],["SIGBUS",""],["SIGCHLD",""],["SIGCONT",""],["SIGEV_NONE",""],["SIGEV_SIGNAL",""],["SIGEV_THREAD",""],["SIGEV_THREAD_ID",""],["SIGFPE",""],["SIGHUP",""],["SIGILL",""],["SIGINT",""],["SIGIO",""],["SIGIOT",""],["SIGKILL",""],["SIGPIPE",""],["SIGPOLL",""],["SIGPROF",""],["SIGPWR",""],["SIGQUIT",""],["SIGSEGV",""],["SIGSTKFLT",""],["SIGSTKSZ",""],["SIGSTOP",""],["SIGSYS",""],["SIGTERM",""],["SIGTRAP",""],["SIGTSTP",""],["SIGTTIN",""],["SIGTTOU",""],["SIGUNUSED",""],["SIGURG",""],["SIGUSR1",""],["SIGUSR2",""],["SIGVTALRM",""],["SIGWINCH",""],["SIGXCPU",""],["SIGXFSZ",""],["SIG_BLOCK",""],["SIG_DFL",""],["SIG_ERR",""],["SIG_IGN",""],["SIG_SETMASK",""],["SIG_UNBLOCK",""],["SIOCADDMULTI",""],["SIOCADDRT",""],["SIOCDARP",""],["SIOCDELMULTI",""],["SIOCDELRT",""],["SIOCDIFADDR",""],["SIOCDRARP",""],["SIOCETHTOOL",""],["SIOCGARP",""],["SIOCGIFADDR",""],["SIOCGIFBR",""],["SIOCGIFBRDADDR",""],["SIOCGIFCONF",""],["SIOCGIFCOUNT",""],["SIOCGIFDSTADDR",""],["SIOCGIFENCAP",""],["SIOCGIFFLAGS",""],["SIOCGIFHWADDR",""],["SIOCGIFINDEX",""],["SIOCGIFMAP",""],["SIOCGIFMEM",""],["SIOCGIFMETRIC",""],["SIOCGIFMTU",""],["SIOCGIFNAME",""],["SIOCGIFNETMASK",""],["SIOCGIFPFLAGS",""],["SIOCGIFSLAVE",""],["SIOCGIFTXQLEN",""],["SIOCGMIIPHY",""],["SIOCGMIIREG",""],["SIOCGRARP",""],["SIOCGSKNS",""],["SIOCOUTQNSD",""],["SIOCSARP",""],["SIOCSIFADDR",""],["SIOCSIFBR",""],["SIOCSIFBRDADDR",""],["SIOCSIFDSTADDR",""],["SIOCSIFENCAP",""],["SIOCSIFFLAGS",""],["SIOCSIFHWADDR",""],["SIOCSIFHWBROADCAST",""],["SIOCSIFLINK",""],["SIOCSIFMAP",""],["SIOCSIFMEM",""],["SIOCSIFMETRIC",""],["SIOCSIFMTU",""],["SIOCSIFNETMASK",""],["SIOCSIFPFLAGS",""],["SIOCSIFSLAVE",""],["SIOCSIFTXQLEN",""],["SIOCSMIIREG",""],["SIOCSRARP",""],["SIOCWANDEV",""],["SIOGIFINDEX",""],["SI_LOAD_SHIFT",""],["SKF_AD_ALU_XOR_X",""],["SKF_AD_CPU",""],["SKF_AD_HATYPE",""],["SKF_AD_IFINDEX",""],["SKF_AD_MARK",""],["SKF_AD_MAX",""],["SKF_AD_NLATTR",""],["SKF_AD_NLATTR_NEST",""],["SKF_AD_OFF",""],["SKF_AD_PAY_OFFSET",""],["SKF_AD_PKTTYPE",""],["SKF_AD_PROTOCOL",""],["SKF_AD_QUEUE",""],["SKF_AD_RANDOM",""],["SKF_AD_RXHASH",""],["SKF_AD_VLAN_TAG",""],["SKF_AD_VLAN_TAG_PRESENT",""],["SKF_AD_VLAN_TPID",""],["SKF_LL_OFF",""],["SKF_NET_OFF",""],["SK_MEMINFO_BACKLOG",""],["SK_MEMINFO_DROPS",""],["SK_MEMINFO_FWD_ALLOC",""],["SK_MEMINFO_OPTMEM",""],["SK_MEMINFO_RCVBUF",""],["SK_MEMINFO_RMEM_ALLOC",""],["SK_MEMINFO_SNDBUF",""],["SK_MEMINFO_WMEM_ALLOC",""],["SK_MEMINFO_WMEM_QUEUED",""],["SMACK_MAGIC",""],["SMB_SUPER_MAGIC",""],["SND_CNT",""],["SND_MAX",""],["SOCK_CLOEXEC",""],["SOCK_DCCP",""],["SOCK_DGRAM",""],["SOCK_NONBLOCK",""],["SOCK_PACKET",""],["SOCK_RAW",""],["SOCK_RDM",""],["SOCK_SEQPACKET",""],["SOCK_STREAM",""],["SOF_TIMESTAMPING_OPT_CMSG",""],["SOF_TIMESTAMPING_OPT_ID",""],["SOF_TIMESTAMPING_OPT_PKTINFO",""],["SOF_TIMESTAMPING_OPT_STATS",""],["SOF_TIMESTAMPING_OPT_TSONLY",""],["SOF_TIMESTAMPING_OPT_TX_SWHW",""],["SOF_TIMESTAMPING_RAW_HARDWARE",""],["SOF_TIMESTAMPING_RX_HARDWARE",""],["SOF_TIMESTAMPING_RX_SOFTWARE",""],["SOF_TIMESTAMPING_SOFTWARE",""],["SOF_TIMESTAMPING_SYS_HARDWARE",""],["SOF_TIMESTAMPING_TX_ACK",""],["SOF_TIMESTAMPING_TX_HARDWARE",""],["SOF_TIMESTAMPING_TX_SCHED",""],["SOF_TIMESTAMPING_TX_SOFTWARE",""],["SOF_TXTIME_DEADLINE_MODE",""],["SOF_TXTIME_REPORT_ERRORS",""],["SOL_AAL",""],["SOL_ALG",""],["SOL_ATM",""],["SOL_BLUETOOTH",""],["SOL_CAIF",""],["SOL_CAN_BASE",""],["SOL_CAN_J1939",""],["SOL_CAN_RAW",""],["SOL_DCCP",""],["SOL_DECNET",""],["SOL_ICMPV6",""],["SOL_IP",""],["SOL_IPV6",""],["SOL_IRDA",""],["SOL_IUCV",""],["SOL_LLC",""],["SOL_NETBEUI",""],["SOL_NETLINK",""],["SOL_NFC",""],["SOL_PACKET",""],["SOL_PNPIPE",""],["SOL_PPPOL2TP",""],["SOL_RAW",""],["SOL_RDS",""],["SOL_RXRPC",""],["SOL_SOCKET",""],["SOL_TCP",""],["SOL_TIPC",""],["SOL_UDP",""],["SOL_X25",""],["SOL_XDP",""],["SOMAXCONN",""],["SO_ACCEPTCONN",""],["SO_ATTACH_BPF",""],["SO_ATTACH_FILTER",""],["SO_ATTACH_REUSEPORT_CBPF",""],["SO_ATTACH_REUSEPORT_EBPF",""],["SO_BINDTODEVICE",""],["SO_BINDTOIFINDEX",""],["SO_BPF_EXTENSIONS",""],["SO_BROADCAST",""],["SO_BSDCOMPAT",""],["SO_BUSY_POLL",""],["SO_CNX_ADVICE",""],["SO_COOKIE",""],["SO_DEBUG",""],["SO_DETACH_BPF",""],["SO_DETACH_FILTER",""],["SO_DETACH_REUSEPORT_BPF",""],["SO_DOMAIN",""],["SO_DONTROUTE",""],["SO_EE_ORIGIN_ICMP",""],["SO_EE_ORIGIN_ICMP6",""],["SO_EE_ORIGIN_LOCAL",""],["SO_EE_ORIGIN_NONE",""],["SO_EE_ORIGIN_TIMESTAMPING",""],["SO_EE_ORIGIN_TXSTATUS",""],["SO_ERROR",""],["SO_GET_FILTER",""],["SO_INCOMING_CPU",""],["SO_INCOMING_NAPI_ID",""],["SO_J1939_ERRQUEUE",""],["SO_J1939_FILTER",""],["SO_J1939_PROMISC",""],["SO_J1939_SEND_PRIO",""],["SO_KEEPALIVE",""],["SO_LINGER",""],["SO_LOCK_FILTER",""],["SO_MARK",""],["SO_MAX_PACING_RATE",""],["SO_MEMINFO",""],["SO_NOFCS",""],["SO_NO_CHECK",""],["SO_OOBINLINE",""],["SO_ORIGINAL_DST",""],["SO_PASSCRED",""],["SO_PASSSEC",""],["SO_PEEK_OFF",""],["SO_PEERCRED",""],["SO_PEERGROUPS",""],["SO_PEERNAME",""],["SO_PEERSEC",""],["SO_PRIORITY",""],["SO_PROTOCOL",""],["SO_RCVBUF",""],["SO_RCVBUFFORCE",""],["SO_RCVLOWAT",""],["SO_RCVTIMEO",""],["SO_RCVTIMEO_NEW",""],["SO_REUSEADDR",""],["SO_REUSEPORT",""],["SO_RXQ_OVFL",""],["SO_SECURITY_AUTHENTICATION",""],["SO_SECURITY_ENCRYPTION_NETWORK",""],["SO_SECURITY_ENCRYPTION_TRANSPORT",""],["SO_SELECT_ERR_QUEUE",""],["SO_SNDBUF",""],["SO_SNDBUFFORCE",""],["SO_SNDLOWAT",""],["SO_SNDTIMEO",""],["SO_SNDTIMEO_NEW",""],["SO_TIMESTAMP",""],["SO_TIMESTAMPING",""],["SO_TIMESTAMPING_NEW",""],["SO_TIMESTAMPNS",""],["SO_TIMESTAMPNS_NEW",""],["SO_TIMESTAMP_NEW",""],["SO_TXTIME",""],["SO_TYPE",""],["SO_WIFI_STATUS",""],["SO_ZEROCOPY",""],["SPLICE_F_GIFT",""],["SPLICE_F_MORE",""],["SPLICE_F_MOVE",""],["SPLICE_F_NONBLOCK",""],["SS",""],["SS_DISABLE",""],["SS_ONSTACK",""],["STATX_ALL",""],["STATX_ATIME",""],["STATX_ATTR_APPEND",""],["STATX_ATTR_AUTOMOUNT",""],["STATX_ATTR_COMPRESSED",""],["STATX_ATTR_DAX",""],["STATX_ATTR_ENCRYPTED",""],["STATX_ATTR_IMMUTABLE",""],["STATX_ATTR_MOUNT_ROOT",""],["STATX_ATTR_NODUMP",""],["STATX_ATTR_VERITY",""],["STATX_BASIC_STATS",""],["STATX_BLOCKS",""],["STATX_BTIME",""],["STATX_CTIME",""],["STATX_GID",""],["STATX_INO",""],["STATX_MNT_ID",""],["STATX_MODE",""],["STATX_MTIME",""],["STATX_NLINK",""],["STATX_SIZE",""],["STATX_TYPE",""],["STATX_UID",""],["STATX__RESERVED",""],["STA_CLK",""],["STA_CLOCKERR",""],["STA_DEL",""],["STA_FLL",""],["STA_FREQHOLD",""],["STA_INS",""],["STA_MODE",""],["STA_NANO",""],["STA_PLL",""],["STA_PPSERROR",""],["STA_PPSFREQ",""],["STA_PPSJITTER",""],["STA_PPSSIGNAL",""],["STA_PPSTIME",""],["STA_PPSWANDER",""],["STA_RONLY",""],["STA_UNSYNC",""],["STDERR_FILENO",""],["STDIN_FILENO",""],["STDOUT_FILENO",""],["STICKY_TIMEOUTS",""],["ST_APPEND",""],["ST_IMMUTABLE",""],["ST_MANDLOCK",""],["ST_NOATIME",""],["ST_NODEV",""],["ST_NODIRATIME",""],["ST_NOEXEC",""],["ST_NOSUID",""],["ST_RDONLY",""],["ST_RELATIME",""],["ST_SYNCHRONOUS",""],["ST_WRITE",""],["SW_CNT",""],["SW_MAX",""],["SYNC_FILE_RANGE_WAIT_AFTER",""],["SYNC_FILE_RANGE_WAIT_BEFORE",""],["SYNC_FILE_RANGE_WRITE",""],["SYN_CNT",""],["SYN_MAX",""],["SYSFS_MAGIC",""],["SYS__sysctl",""],["SYS_accept",""],["SYS_accept4",""],["SYS_access",""],["SYS_acct",""],["SYS_add_key",""],["SYS_adjtimex",""],["SYS_afs_syscall",""],["SYS_alarm",""],["SYS_arch_prctl",""],["SYS_bind",""],["SYS_bpf",""],["SYS_brk",""],["SYS_capget",""],["SYS_capset",""],["SYS_chdir",""],["SYS_chmod",""],["SYS_chown",""],["SYS_chroot",""],["SYS_clock_adjtime",""],["SYS_clock_getres",""],["SYS_clock_gettime",""],["SYS_clock_nanosleep",""],["SYS_clock_settime",""],["SYS_clone",""],["SYS_clone3",""],["SYS_close",""],["SYS_close_range",""],["SYS_connect",""],["SYS_copy_file_range",""],["SYS_creat",""],["SYS_create_module",""],["SYS_delete_module",""],["SYS_dup",""],["SYS_dup2",""],["SYS_dup3",""],["SYS_epoll_create",""],["SYS_epoll_create1",""],["SYS_epoll_ctl",""],["SYS_epoll_ctl_old",""],["SYS_epoll_pwait",""],["SYS_epoll_pwait2",""],["SYS_epoll_wait",""],["SYS_epoll_wait_old",""],["SYS_eventfd",""],["SYS_eventfd2",""],["SYS_execve",""],["SYS_execveat",""],["SYS_exit",""],["SYS_exit_group",""],["SYS_faccessat",""],["SYS_faccessat2",""],["SYS_fadvise64",""],["SYS_fallocate",""],["SYS_fanotify_init",""],["SYS_fanotify_mark",""],["SYS_fchdir",""],["SYS_fchmod",""],["SYS_fchmodat",""],["SYS_fchown",""],["SYS_fchownat",""],["SYS_fcntl",""],["SYS_fdatasync",""],["SYS_fgetxattr",""],["SYS_finit_module",""],["SYS_flistxattr",""],["SYS_flock",""],["SYS_fork",""],["SYS_fremovexattr",""],["SYS_fsconfig",""],["SYS_fsetxattr",""],["SYS_fsmount",""],["SYS_fsopen",""],["SYS_fspick",""],["SYS_fstat",""],["SYS_fstatfs",""],["SYS_fsync",""],["SYS_ftruncate",""],["SYS_futex",""],["SYS_futex_waitv",""],["SYS_futimesat",""],["SYS_get_kernel_syms",""],["SYS_get_mempolicy",""],["SYS_get_robust_list",""],["SYS_get_thread_area",""],["SYS_getcpu",""],["SYS_getcwd",""],["SYS_getdents",""],["SYS_getdents64",""],["SYS_getegid",""],["SYS_geteuid",""],["SYS_getgid",""],["SYS_getgroups",""],["SYS_getitimer",""],["SYS_getpeername",""],["SYS_getpgid",""],["SYS_getpgrp",""],["SYS_getpid",""],["SYS_getpmsg",""],["SYS_getppid",""],["SYS_getpriority",""],["SYS_getrandom",""],["SYS_getresgid",""],["SYS_getresuid",""],["SYS_getrlimit",""],["SYS_getrusage",""],["SYS_getsid",""],["SYS_getsockname",""],["SYS_getsockopt",""],["SYS_gettid",""],["SYS_gettimeofday",""],["SYS_getuid",""],["SYS_getxattr",""],["SYS_init_module",""],["SYS_inotify_add_watch",""],["SYS_inotify_init",""],["SYS_inotify_init1",""],["SYS_inotify_rm_watch",""],["SYS_io_cancel",""],["SYS_io_destroy",""],["SYS_io_getevents",""],["SYS_io_setup",""],["SYS_io_submit",""],["SYS_io_uring_enter",""],["SYS_io_uring_register",""],["SYS_io_uring_setup",""],["SYS_ioctl",""],["SYS_ioperm",""],["SYS_iopl",""],["SYS_ioprio_get",""],["SYS_ioprio_set",""],["SYS_kcmp",""],["SYS_kexec_file_load",""],["SYS_kexec_load",""],["SYS_keyctl",""],["SYS_kill",""],["SYS_landlock_add_rule",""],["SYS_landlock_create_ruleset",""],["SYS_landlock_restrict_self",""],["SYS_lchown",""],["SYS_lgetxattr",""],["SYS_link",""],["SYS_linkat",""],["SYS_listen",""],["SYS_listxattr",""],["SYS_llistxattr",""],["SYS_lookup_dcookie",""],["SYS_lremovexattr",""],["SYS_lseek",""],["SYS_lsetxattr",""],["SYS_lstat",""],["SYS_madvise",""],["SYS_mbind",""],["SYS_membarrier",""],["SYS_memfd_create",""],["SYS_memfd_secret",""],["SYS_migrate_pages",""],["SYS_mincore",""],["SYS_mkdir",""],["SYS_mkdirat",""],["SYS_mknod",""],["SYS_mknodat",""],["SYS_mlock",""],["SYS_mlock2",""],["SYS_mlockall",""],["SYS_mmap",""],["SYS_modify_ldt",""],["SYS_mount",""],["SYS_mount_setattr",""],["SYS_move_mount",""],["SYS_move_pages",""],["SYS_mprotect",""],["SYS_mq_getsetattr",""],["SYS_mq_notify",""],["SYS_mq_open",""],["SYS_mq_timedreceive",""],["SYS_mq_timedsend",""],["SYS_mq_unlink",""],["SYS_mremap",""],["SYS_msgctl",""],["SYS_msgget",""],["SYS_msgrcv",""],["SYS_msgsnd",""],["SYS_msync",""],["SYS_munlock",""],["SYS_munlockall",""],["SYS_munmap",""],["SYS_name_to_handle_at",""],["SYS_nanosleep",""],["SYS_newfstatat",""],["SYS_nfsservctl",""],["SYS_open",""],["SYS_open_by_handle_at",""],["SYS_open_tree",""],["SYS_openat",""],["SYS_openat2",""],["SYS_pause",""],["SYS_perf_event_open",""],["SYS_personality",""],["SYS_pidfd_getfd",""],["SYS_pidfd_open",""],["SYS_pidfd_send_signal",""],["SYS_pipe",""],["SYS_pipe2",""],["SYS_pivot_root",""],["SYS_pkey_alloc",""],["SYS_pkey_free",""],["SYS_pkey_mprotect",""],["SYS_poll",""],["SYS_ppoll",""],["SYS_prctl",""],["SYS_pread64",""],["SYS_preadv",""],["SYS_preadv2",""],["SYS_prlimit64",""],["SYS_process_madvise",""],["SYS_process_mrelease",""],["SYS_process_vm_readv",""],["SYS_process_vm_writev",""],["SYS_pselect6",""],["SYS_ptrace",""],["SYS_putpmsg",""],["SYS_pwrite64",""],["SYS_pwritev",""],["SYS_pwritev2",""],["SYS_query_module",""],["SYS_quotactl",""],["SYS_quotactl_fd",""],["SYS_read",""],["SYS_readahead",""],["SYS_readlink",""],["SYS_readlinkat",""],["SYS_readv",""],["SYS_reboot",""],["SYS_recvfrom",""],["SYS_recvmmsg",""],["SYS_recvmsg",""],["SYS_remap_file_pages",""],["SYS_removexattr",""],["SYS_rename",""],["SYS_renameat",""],["SYS_renameat2",""],["SYS_request_key",""],["SYS_restart_syscall",""],["SYS_rmdir",""],["SYS_rseq",""],["SYS_rt_sigaction",""],["SYS_rt_sigpending",""],["SYS_rt_sigprocmask",""],["SYS_rt_sigqueueinfo",""],["SYS_rt_sigreturn",""],["SYS_rt_sigsuspend",""],["SYS_rt_sigtimedwait",""],["SYS_rt_tgsigqueueinfo",""],["SYS_sched_get_priority_max",""],["SYS_sched_get_priority_min",""],["SYS_sched_getaffinity",""],["SYS_sched_getattr",""],["SYS_sched_getparam",""],["SYS_sched_getscheduler",""],["SYS_sched_rr_get_interval",""],["SYS_sched_setaffinity",""],["SYS_sched_setattr",""],["SYS_sched_setparam",""],["SYS_sched_setscheduler",""],["SYS_sched_yield",""],["SYS_seccomp",""],["SYS_security",""],["SYS_select",""],["SYS_semctl",""],["SYS_semget",""],["SYS_semop",""],["SYS_semtimedop",""],["SYS_sendfile",""],["SYS_sendmmsg",""],["SYS_sendmsg",""],["SYS_sendto",""],["SYS_set_mempolicy",""],["SYS_set_mempolicy_home_node",""],["SYS_set_robust_list",""],["SYS_set_thread_area",""],["SYS_set_tid_address",""],["SYS_setdomainname",""],["SYS_setfsgid",""],["SYS_setfsuid",""],["SYS_setgid",""],["SYS_setgroups",""],["SYS_sethostname",""],["SYS_setitimer",""],["SYS_setns",""],["SYS_setpgid",""],["SYS_setpriority",""],["SYS_setregid",""],["SYS_setresgid",""],["SYS_setresuid",""],["SYS_setreuid",""],["SYS_setrlimit",""],["SYS_setsid",""],["SYS_setsockopt",""],["SYS_settimeofday",""],["SYS_setuid",""],["SYS_setxattr",""],["SYS_shmat",""],["SYS_shmctl",""],["SYS_shmdt",""],["SYS_shmget",""],["SYS_shutdown",""],["SYS_sigaltstack",""],["SYS_signalfd",""],["SYS_signalfd4",""],["SYS_socket",""],["SYS_socketpair",""],["SYS_splice",""],["SYS_stat",""],["SYS_statfs",""],["SYS_statx",""],["SYS_swapoff",""],["SYS_swapon",""],["SYS_symlink",""],["SYS_symlinkat",""],["SYS_sync",""],["SYS_sync_file_range",""],["SYS_syncfs",""],["SYS_sysfs",""],["SYS_sysinfo",""],["SYS_syslog",""],["SYS_tee",""],["SYS_tgkill",""],["SYS_time",""],["SYS_timer_create",""],["SYS_timer_delete",""],["SYS_timer_getoverrun",""],["SYS_timer_gettime",""],["SYS_timer_settime",""],["SYS_timerfd_create",""],["SYS_timerfd_gettime",""],["SYS_timerfd_settime",""],["SYS_times",""],["SYS_tkill",""],["SYS_truncate",""],["SYS_tuxcall",""],["SYS_umask",""],["SYS_umount2",""],["SYS_uname",""],["SYS_unlink",""],["SYS_unlinkat",""],["SYS_unshare",""],["SYS_uselib",""],["SYS_userfaultfd",""],["SYS_ustat",""],["SYS_utime",""],["SYS_utimensat",""],["SYS_utimes",""],["SYS_vfork",""],["SYS_vhangup",""],["SYS_vmsplice",""],["SYS_vserver",""],["SYS_wait4",""],["SYS_waitid",""],["SYS_write",""],["SYS_writev",""],["S_IEXEC",""],["S_IFBLK",""],["S_IFCHR",""],["S_IFDIR",""],["S_IFIFO",""],["S_IFLNK",""],["S_IFMT",""],["S_IFREG",""],["S_IFSOCK",""],["S_IREAD",""],["S_IRGRP",""],["S_IROTH",""],["S_IRUSR",""],["S_IRWXG",""],["S_IRWXO",""],["S_IRWXU",""],["S_ISGID",""],["S_ISUID",""],["S_ISVTX",""],["S_IWGRP",""],["S_IWOTH",""],["S_IWRITE",""],["S_IWUSR",""],["S_IXGRP",""],["S_IXOTH",""],["S_IXUSR",""],["TAB0",""],["TAB1",""],["TAB2",""],["TAB3",""],["TABDLY",""],["TCA_CHAIN",""],["TCA_DUMP_INVISIBLE",""],["TCA_FCNT",""],["TCA_HW_OFFLOAD",""],["TCA_KIND",""],["TCA_OPTIONS",""],["TCA_PAD",""],["TCA_RATE",""],["TCA_STAB",""],["TCA_STATS",""],["TCA_STATS2",""],["TCA_UNSPEC",""],["TCA_XSTATS",""],["TCFLSH",""],["TCGETA",""],["TCGETS",""],["TCGETS2",""],["TCGETX",""],["TCIFLUSH",""],["TCIOFF",""],["TCIOFLUSH",""],["TCION",""],["TCOFLUSH",""],["TCOOFF",""],["TCOON",""],["TCP_CC_INFO",""],["TCP_CM_INQ",""],["TCP_CONGESTION",""],["TCP_COOKIE_TRANSACTIONS",""],["TCP_CORK",""],["TCP_DEFER_ACCEPT",""],["TCP_FASTOPEN",""],["TCP_FASTOPEN_CONNECT",""],["TCP_FASTOPEN_KEY",""],["TCP_FASTOPEN_NO_COOKIE",""],["TCP_INFO",""],["TCP_INQ",""],["TCP_KEEPCNT",""],["TCP_KEEPIDLE",""],["TCP_KEEPINTVL",""],["TCP_LINGER2",""],["TCP_MAXSEG",""],["TCP_MD5SIG",""],["TCP_MD5SIG_EXT",""],["TCP_NODELAY",""],["TCP_NOTSENT_LOWAT",""],["TCP_QUEUE_SEQ",""],["TCP_QUICKACK",""],["TCP_REPAIR",""],["TCP_REPAIR_OPTIONS",""],["TCP_REPAIR_QUEUE",""],["TCP_REPAIR_WINDOW",""],["TCP_SAVED_SYN",""],["TCP_SAVE_SYN",""],["TCP_SYNCNT",""],["TCP_THIN_DUPACK",""],["TCP_THIN_LINEAR_TIMEOUTS",""],["TCP_TIMESTAMP",""],["TCP_ULP",""],["TCP_USER_TIMEOUT",""],["TCP_WINDOW_CLAMP",""],["TCP_ZEROCOPY_RECEIVE",""],["TCSADRAIN",""],["TCSAFLUSH",""],["TCSANOW",""],["TCSBRK",""],["TCSBRKP",""],["TCSETA",""],["TCSETAF",""],["TCSETAW",""],["TCSETS",""],["TCSETS2",""],["TCSETSF",""],["TCSETSF2",""],["TCSETSW",""],["TCSETSW2",""],["TCSETX",""],["TCSETXF",""],["TCSETXW",""],["TCXONC",""],["TFD_CLOEXEC",""],["TFD_NONBLOCK",""],["TFD_TIMER_ABSTIME",""],["TFD_TIMER_CANCEL_ON_SET",""],["THOUSEP",""],["TIMER_ABSTIME",""],["TIME_BAD",""],["TIME_DEL",""],["TIME_ERROR",""],["TIME_INS",""],["TIME_OK",""],["TIME_OOP",""],["TIME_WAIT",""],["TIOCCBRK",""],["TIOCCONS",""],["TIOCEXCL",""],["TIOCGDEV",""],["TIOCGETD",""],["TIOCGEXCL",""],["TIOCGICOUNT",""],["TIOCGLCKTRMIOS",""],["TIOCGPGRP",""],["TIOCGPKT",""],["TIOCGPTLCK",""],["TIOCGPTN",""],["TIOCGPTPEER",""],["TIOCGRS485",""],["TIOCGSERIAL",""],["TIOCGSID",""],["TIOCGSOFTCAR",""],["TIOCGWINSZ",""],["TIOCINQ",""],["TIOCLINUX",""],["TIOCMBIC",""],["TIOCMBIS",""],["TIOCMGET",""],["TIOCMIWAIT",""],["TIOCMSET",""],["TIOCM_CAR",""],["TIOCM_CD",""],["TIOCM_CTS",""],["TIOCM_DSR",""],["TIOCM_DTR",""],["TIOCM_LE",""],["TIOCM_RI",""],["TIOCM_RNG",""],["TIOCM_RTS",""],["TIOCM_SR",""],["TIOCM_ST",""],["TIOCNOTTY",""],["TIOCNXCL",""],["TIOCOUTQ",""],["TIOCPKT",""],["TIOCSBRK",""],["TIOCSCTTY",""],["TIOCSERCONFIG",""],["TIOCSERGETLSR",""],["TIOCSERGETMULTI",""],["TIOCSERGSTRUCT",""],["TIOCSERGWILD",""],["TIOCSERSETMULTI",""],["TIOCSERSWILD",""],["TIOCSETD",""],["TIOCSIG",""],["TIOCSLCKTRMIOS",""],["TIOCSPGRP",""],["TIOCSPTLCK",""],["TIOCSRS485",""],["TIOCSSERIAL",""],["TIOCSSOFTCAR",""],["TIOCSTI",""],["TIOCSWINSZ",""],["TIOCVHANGUP",""],["TMPFS_MAGIC",""],["TMP_MAX",""],["TOSTOP",""],["TRACEFS_MAGIC",""],["TUN_READQ_SIZE",""],["TUN_TAP_DEV",""],["TUN_TUN_DEV",""],["TUN_TYPE_MASK",""],["T_FMT",""],["T_FMT_AMPM",""],["UDF_SUPER_MAGIC",""],["UDP_CORK",""],["UDP_ENCAP",""],["UDP_GRO",""],["UDP_NO_CHECK6_RX",""],["UDP_NO_CHECK6_TX",""],["UDP_SEGMENT",""],["UINPUT_MAX_NAME_SIZE",""],["UINPUT_VERSION",""],["UIO_MAXIOV",""],["UMOUNT_NOFOLLOW",""],["UNAME26",""],["USBDEVICE_SUPER_MAGIC",""],["USER_PROCESS",""],["USRQUOTA",""],["UTIME_NOW",""],["UTIME_OMIT",""],["VDISCARD",""],["VEOF",""],["VEOL",""],["VEOL2",""],["VERASE",""],["VINTR",""],["VKILL",""],["VLNEXT",""],["VMADDR_CID_ANY",""],["VMADDR_CID_HOST",""],["VMADDR_CID_HYPERVISOR",""],["VMADDR_CID_LOCAL",""],["VMADDR_CID_RESERVED",""],["VMADDR_PORT_ANY",""],["VMIN",""],["VQUIT",""],["VREPRINT",""],["VSTART",""],["VSTOP",""],["VSUSP",""],["VSWTC",""],["VT0",""],["VT1",""],["VTDLY",""],["VTIME",""],["VWERASE",""],["WCONTINUED",""],["WEXITED",""],["WHOLE_SECONDS",""],["WNOHANG",""],["WNOWAIT",""],["WSTOPPED",""],["WUNTRACED",""],["W_OK",""],["XATTR_CREATE",""],["XATTR_REPLACE",""],["XENFS_SUPER_MAGIC",""],["XFS_SUPER_MAGIC",""],["XTABS",""],["X_OK",""],["YESEXPR",""],["YESSTR",""],["_IOFBF",""],["_IOLBF",""],["_IONBF",""],["_PC_2_SYMLINKS",""],["_PC_ALLOC_SIZE_MIN",""],["_PC_ASYNC_IO",""],["_PC_CHOWN_RESTRICTED",""],["_PC_FILESIZEBITS",""],["_PC_LINK_MAX",""],["_PC_MAX_CANON",""],["_PC_MAX_INPUT",""],["_PC_NAME_MAX",""],["_PC_NO_TRUNC",""],["_PC_PATH_MAX",""],["_PC_PIPE_BUF",""],["_PC_PRIO_IO",""],["_PC_REC_INCR_XFER_SIZE",""],["_PC_REC_MAX_XFER_SIZE",""],["_PC_REC_MIN_XFER_SIZE",""],["_PC_REC_XFER_ALIGN",""],["_PC_SOCK_MAXBUF",""],["_PC_SYMLINK_MAX",""],["_PC_SYNC_IO",""],["_PC_VDISABLE",""],["_POSIX_VDISABLE",""],["_SC_2_CHAR_TERM",""],["_SC_2_C_BIND",""],["_SC_2_C_DEV",""],["_SC_2_C_VERSION",""],["_SC_2_FORT_DEV",""],["_SC_2_FORT_RUN",""],["_SC_2_LOCALEDEF",""],["_SC_2_PBS",""],["_SC_2_PBS_ACCOUNTING",""],["_SC_2_PBS_CHECKPOINT",""],["_SC_2_PBS_LOCATE",""],["_SC_2_PBS_MESSAGE",""],["_SC_2_PBS_TRACK",""],["_SC_2_SW_DEV",""],["_SC_2_UPE",""],["_SC_2_VERSION",""],["_SC_ADVISORY_INFO",""],["_SC_AIO_LISTIO_MAX",""],["_SC_AIO_MAX",""],["_SC_AIO_PRIO_DELTA_MAX",""],["_SC_ARG_MAX",""],["_SC_ASYNCHRONOUS_IO",""],["_SC_ATEXIT_MAX",""],["_SC_AVPHYS_PAGES",""],["_SC_BARRIERS",""],["_SC_BASE",""],["_SC_BC_BASE_MAX",""],["_SC_BC_DIM_MAX",""],["_SC_BC_SCALE_MAX",""],["_SC_BC_STRING_MAX",""],["_SC_CHARCLASS_NAME_MAX",""],["_SC_CHAR_BIT",""],["_SC_CHAR_MAX",""],["_SC_CHAR_MIN",""],["_SC_CHILD_MAX",""],["_SC_CLK_TCK",""],["_SC_CLOCK_SELECTION",""],["_SC_COLL_WEIGHTS_MAX",""],["_SC_CPUTIME",""],["_SC_C_LANG_SUPPORT",""],["_SC_C_LANG_SUPPORT_R",""],["_SC_DELAYTIMER_MAX",""],["_SC_DEVICE_IO",""],["_SC_DEVICE_SPECIFIC",""],["_SC_DEVICE_SPECIFIC_R",""],["_SC_EQUIV_CLASS_MAX",""],["_SC_EXPR_NEST_MAX",""],["_SC_FD_MGMT",""],["_SC_FIFO",""],["_SC_FILE_ATTRIBUTES",""],["_SC_FILE_LOCKING",""],["_SC_FILE_SYSTEM",""],["_SC_FSYNC",""],["_SC_GETGR_R_SIZE_MAX",""],["_SC_GETPW_R_SIZE_MAX",""],["_SC_HOST_NAME_MAX",""],["_SC_INT_MAX",""],["_SC_INT_MIN",""],["_SC_IOV_MAX",""],["_SC_IPV6",""],["_SC_JOB_CONTROL",""],["_SC_LEVEL1_DCACHE_ASSOC",""],["_SC_LEVEL1_DCACHE_LINESIZE",""],["_SC_LEVEL1_DCACHE_SIZE",""],["_SC_LEVEL1_ICACHE_ASSOC",""],["_SC_LEVEL1_ICACHE_LINESIZE",""],["_SC_LEVEL1_ICACHE_SIZE",""],["_SC_LEVEL2_CACHE_ASSOC",""],["_SC_LEVEL2_CACHE_LINESIZE",""],["_SC_LEVEL2_CACHE_SIZE",""],["_SC_LEVEL3_CACHE_ASSOC",""],["_SC_LEVEL3_CACHE_LINESIZE",""],["_SC_LEVEL3_CACHE_SIZE",""],["_SC_LEVEL4_CACHE_ASSOC",""],["_SC_LEVEL4_CACHE_LINESIZE",""],["_SC_LEVEL4_CACHE_SIZE",""],["_SC_LINE_MAX",""],["_SC_LOGIN_NAME_MAX",""],["_SC_LONG_BIT",""],["_SC_MAPPED_FILES",""],["_SC_MB_LEN_MAX",""],["_SC_MEMLOCK",""],["_SC_MEMLOCK_RANGE",""],["_SC_MEMORY_PROTECTION",""],["_SC_MESSAGE_PASSING",""],["_SC_MONOTONIC_CLOCK",""],["_SC_MQ_OPEN_MAX",""],["_SC_MQ_PRIO_MAX",""],["_SC_MULTI_PROCESS",""],["_SC_NETWORKING",""],["_SC_NGROUPS_MAX",""],["_SC_NL_ARGMAX",""],["_SC_NL_LANGMAX",""],["_SC_NL_MSGMAX",""],["_SC_NL_NMAX",""],["_SC_NL_SETMAX",""],["_SC_NL_TEXTMAX",""],["_SC_NPROCESSORS_CONF",""],["_SC_NPROCESSORS_ONLN",""],["_SC_NZERO",""],["_SC_OPEN_MAX",""],["_SC_PAGESIZE",""],["_SC_PAGE_SIZE",""],["_SC_PASS_MAX",""],["_SC_PHYS_PAGES",""],["_SC_PII",""],["_SC_PII_INTERNET",""],["_SC_PII_INTERNET_DGRAM",""],["_SC_PII_INTERNET_STREAM",""],["_SC_PII_OSI",""],["_SC_PII_OSI_CLTS",""],["_SC_PII_OSI_COTS",""],["_SC_PII_OSI_M",""],["_SC_PII_SOCKET",""],["_SC_PII_XTI",""],["_SC_PIPE",""],["_SC_POLL",""],["_SC_PRIORITIZED_IO",""],["_SC_PRIORITY_SCHEDULING",""],["_SC_RAW_SOCKETS",""],["_SC_READER_WRITER_LOCKS",""],["_SC_REALTIME_SIGNALS",""],["_SC_REGEXP",""],["_SC_REGEX_VERSION",""],["_SC_RE_DUP_MAX",""],["_SC_RTSIG_MAX",""],["_SC_SAVED_IDS",""],["_SC_SCHAR_MAX",""],["_SC_SCHAR_MIN",""],["_SC_SELECT",""],["_SC_SEMAPHORES",""],["_SC_SEM_NSEMS_MAX",""],["_SC_SEM_VALUE_MAX",""],["_SC_SHARED_MEMORY_OBJECTS",""],["_SC_SHELL",""],["_SC_SHRT_MAX",""],["_SC_SHRT_MIN",""],["_SC_SIGNALS",""],["_SC_SIGQUEUE_MAX",""],["_SC_SINGLE_PROCESS",""],["_SC_SPAWN",""],["_SC_SPIN_LOCKS",""],["_SC_SPORADIC_SERVER",""],["_SC_SSIZE_MAX",""],["_SC_SS_REPL_MAX",""],["_SC_STREAMS",""],["_SC_STREAM_MAX",""],["_SC_SYMLOOP_MAX",""],["_SC_SYNCHRONIZED_IO",""],["_SC_SYSTEM_DATABASE",""],["_SC_SYSTEM_DATABASE_R",""],["_SC_THREADS",""],["_SC_THREAD_ATTR_STACKADDR",""],["_SC_THREAD_ATTR_STACKSIZE",""],["_SC_THREAD_CPUTIME",""],["_SC_THREAD_DESTRUCTOR_ITERATIONS",""],["_SC_THREAD_KEYS_MAX",""],["_SC_THREAD_PRIORITY_SCHEDULING",""],["_SC_THREAD_PRIO_INHERIT",""],["_SC_THREAD_PRIO_PROTECT",""],["_SC_THREAD_PROCESS_SHARED",""],["_SC_THREAD_ROBUST_PRIO_INHERIT",""],["_SC_THREAD_ROBUST_PRIO_PROTECT",""],["_SC_THREAD_SAFE_FUNCTIONS",""],["_SC_THREAD_SPORADIC_SERVER",""],["_SC_THREAD_STACK_MIN",""],["_SC_THREAD_THREADS_MAX",""],["_SC_TIMEOUTS",""],["_SC_TIMERS",""],["_SC_TIMER_MAX",""],["_SC_TRACE",""],["_SC_TRACE_EVENT_FILTER",""],["_SC_TRACE_EVENT_NAME_MAX",""],["_SC_TRACE_INHERIT",""],["_SC_TRACE_LOG",""],["_SC_TRACE_NAME_MAX",""],["_SC_TRACE_SYS_MAX",""],["_SC_TRACE_USER_EVENT_MAX",""],["_SC_TTY_NAME_MAX",""],["_SC_TYPED_MEMORY_OBJECTS",""],["_SC_TZNAME_MAX",""],["_SC_T_IOV_MAX",""],["_SC_UCHAR_MAX",""],["_SC_UINT_MAX",""],["_SC_UIO_MAXIOV",""],["_SC_ULONG_MAX",""],["_SC_USER_GROUPS",""],["_SC_USER_GROUPS_R",""],["_SC_USHRT_MAX",""],["_SC_V6_ILP32_OFF32",""],["_SC_V6_ILP32_OFFBIG",""],["_SC_V6_LP64_OFF64",""],["_SC_V6_LPBIG_OFFBIG",""],["_SC_V7_ILP32_OFF32",""],["_SC_V7_ILP32_OFFBIG",""],["_SC_V7_LP64_OFF64",""],["_SC_V7_LPBIG_OFFBIG",""],["_SC_VERSION",""],["_SC_WORD_BIT",""],["_SC_XBS5_ILP32_OFF32",""],["_SC_XBS5_ILP32_OFFBIG",""],["_SC_XBS5_LP64_OFF64",""],["_SC_XBS5_LPBIG_OFFBIG",""],["_SC_XOPEN_CRYPT",""],["_SC_XOPEN_ENH_I18N",""],["_SC_XOPEN_LEGACY",""],["_SC_XOPEN_REALTIME",""],["_SC_XOPEN_REALTIME_THREADS",""],["_SC_XOPEN_SHM",""],["_SC_XOPEN_STREAMS",""],["_SC_XOPEN_UNIX",""],["_SC_XOPEN_VERSION",""],["_SC_XOPEN_XCU_VERSION",""],["_SC_XOPEN_XPG2",""],["_SC_XOPEN_XPG3",""],["_SC_XOPEN_XPG4",""],["__NFT_REG_MAX",""],["__SIZEOF_PTHREAD_CONDATTR_T",""],["__SIZEOF_PTHREAD_COND_T",""],["__SIZEOF_PTHREAD_MUTEXATTR_T",""],["__SIZEOF_PTHREAD_MUTEX_T",""],["__SIZEOF_PTHREAD_RWLOCKATTR_T",""],["__SIZEOF_PTHREAD_RWLOCK_T",""],["__UT_HOSTSIZE",""],["__UT_LINESIZE",""],["__UT_NAMESIZE",""],["__WALL",""],["__WCLONE",""],["__WNOTHREAD",""]],"enum":[["DIR",""],["FILE",""],["c_void","Equivalent to C’s `void` type when used as a [pointer]."],["fpos64_t",""],["fpos_t",""],["timezone",""]],"fn":[["BPF_JUMP",""],["BPF_MISCOP",""],["BPF_RVAL",""],["BPF_STMT",""],["CMSG_DATA",""],["CMSG_FIRSTHDR",""],["CMSG_LEN",""],["CMSG_NXTHDR",""],["CMSG_SPACE",""],["CPU_ALLOC_SIZE",""],["CPU_CLR",""],["CPU_COUNT",""],["CPU_COUNT_S",""],["CPU_EQUAL",""],["CPU_ISSET",""],["CPU_SET",""],["CPU_ZERO",""],["FD_CLR",""],["FD_ISSET",""],["FD_SET",""],["FD_ZERO",""],["IPOPT_CLASS",""],["IPOPT_COPIED",""],["IPOPT_NUMBER",""],["IPTOS_ECN",""],["IPTOS_PREC",""],["IPTOS_TOS",""],["KERNEL_VERSION",""],["NLA_ALIGN",""],["QCMD",""],["RT_ADDRCLASS",""],["RT_LOCALADDR",""],["RT_TOS",""],["SIGRTMAX",""],["SIGRTMIN",""],["SO_EE_OFFENDER",""],["WCOREDUMP",""],["WEXITSTATUS",""],["WIFCONTINUED",""],["WIFEXITED",""],["WIFSIGNALED",""],["WIFSTOPPED",""],["WSTOPSIG",""],["WTERMSIG",""],["W_EXITCODE",""],["W_STOPCODE",""],["__errno_location",""],["_exit",""],["abort",""],["abs",""],["accept",""],["accept4",""],["access",""],["acct",""],["addmntent",""],["adjtime",""],["adjtimex",""],["aio_cancel",""],["aio_error",""],["aio_fsync",""],["aio_read",""],["aio_return",""],["aio_suspend",""],["aio_write",""],["alarm",""],["asctime_r",""],["atexit",""],["atof",""],["atoi",""],["atol",""],["atoll",""],["backtrace",""],["bind",""],["brk",""],["bsearch",""],["calloc",""],["cfgetispeed",""],["cfgetospeed",""],["cfmakeraw",""],["cfsetispeed",""],["cfsetospeed",""],["cfsetspeed",""],["chdir",""],["chmod",""],["chown",""],["chroot",""],["clearenv",""],["clearerr",""],["clock_adjtime",""],["clock_getcpuclockid",""],["clock_getres",""],["clock_gettime",""],["clock_nanosleep",""],["clock_settime",""],["clone",""],["close",""],["closedir",""],["closelog",""],["connect",""],["copy_file_range",""],["creat",""],["creat64",""],["ctermid",""],["ctime_r",""],["daemon",""],["difftime",""],["dirfd",""],["dirname",""],["dl_iterate_phdr",""],["dladdr",""],["dladdr1",""],["dlclose",""],["dlerror",""],["dlinfo",""],["dlmopen",""],["dlopen",""],["dlsym",""],["drand48",""],["dup",""],["dup2",""],["dup3",""],["duplocale",""],["eaccess",""],["endgrent",""],["endmntent",""],["endpwent",""],["endservent",""],["endspent",""],["endutxent",""],["epoll_create",""],["epoll_create1",""],["epoll_ctl",""],["epoll_pwait",""],["epoll_wait",""],["erand48",""],["euidaccess",""],["eventfd",""],["execl",""],["execle",""],["execlp",""],["execv",""],["execve",""],["execvp",""],["execvpe",""],["exit",""],["explicit_bzero",""],["faccessat",""],["fallocate",""],["fallocate64",""],["fanotify_init",""],["fanotify_mark",""],["fchdir",""],["fchmod",""],["fchmodat",""],["fchown",""],["fchownat",""],["fclose",""],["fcntl",""],["fdatasync",""],["fdopen",""],["fdopendir",""],["feof",""],["ferror",""],["fexecve",""],["fflush",""],["fgetc",""],["fgetgrent_r",""],["fgetpos",""],["fgetpos64",""],["fgetpwent_r",""],["fgets",""],["fgetspent_r",""],["fgetxattr",""],["fileno",""],["flistxattr",""],["flock",""],["fmemopen",""],["fopen",""],["fopen64",""],["fork",""],["forkpty",""],["fpathconf",""],["fprintf",""],["fputc",""],["fputs",""],["fread",""],["fread_unlocked",""],["free",""],["freeaddrinfo",""],["freeifaddrs",""],["freelocale",""],["fremovexattr",""],["freopen",""],["freopen64",""],["fscanf",""],["fseek",""],["fseeko",""],["fseeko64",""],["fsetpos",""],["fsetpos64",""],["fsetxattr",""],["fstat",""],["fstat64",""],["fstatat",""],["fstatat64",""],["fstatfs",""],["fstatfs64",""],["fstatvfs",""],["fstatvfs64",""],["fsync",""],["ftell",""],["ftello",""],["ftello64",""],["ftok",""],["ftruncate",""],["ftruncate64",""],["futimens",""],["futimes",""],["fwrite",""],["gai_strerror",""],["getaddrinfo",""],["getauxval",""],["getchar",""],["getchar_unlocked",""],["getcontext",""],["getcwd",""],["getdomainname",""],["getdtablesize",""],["getegid",""],["getentropy",""],["getenv",""],["geteuid",""],["getgid",""],["getgrent",""],["getgrent_r",""],["getgrgid",""],["getgrgid_r",""],["getgrnam",""],["getgrnam_r",""],["getgrouplist",""],["getgroups",""],["gethostid",""],["gethostname",""],["getifaddrs",""],["getline",""],["getloadavg",""],["getlogin",""],["getmntent",""],["getnameinfo",""],["getopt",""],["getopt_long",""],["getpeername",""],["getpgid",""],["getpgrp",""],["getpid",""],["getppid",""],["getpriority",""],["getprotobyname",""],["getprotobynumber",""],["getpt",""],["getpwent",""],["getpwent_r",""],["getpwnam",""],["getpwnam_r",""],["getpwuid",""],["getpwuid_r",""],["getrandom",""],["getresgid",""],["getresuid",""],["getrlimit",""],["getrlimit64",""],["getrusage",""],["getservbyname",""],["getservbyport",""],["getservent",""],["getsid",""],["getsockname",""],["getsockopt",""],["getspent",""],["getspent_r",""],["getspnam",""],["getspnam_r",""],["gettid",""],["gettimeofday",""],["getuid",""],["getutxent",""],["getutxid",""],["getutxline",""],["getxattr",""],["glob",""],["glob64",""],["globfree",""],["globfree64",""],["gmtime",""],["gmtime_r",""],["gnu_basename","GNU version of `basename(3)`, defined in `string.h`."],["gnu_get_libc_release",""],["gnu_get_libc_version",""],["grantpt",""],["hasmntopt",""],["hstrerror",""],["iconv",""],["iconv_close",""],["iconv_open",""],["if_freenameindex",""],["if_indextoname",""],["if_nameindex",""],["if_nametoindex",""],["initgroups",""],["inotify_add_watch",""],["inotify_init",""],["inotify_init1",""],["inotify_rm_watch",""],["ioctl",""],["ioperm",""],["iopl",""],["isalnum",""],["isalpha",""],["isatty",""],["isblank",""],["iscntrl",""],["isdigit",""],["isgraph",""],["islower",""],["isprint",""],["ispunct",""],["isspace",""],["isupper",""],["isxdigit",""],["jrand48",""],["kill",""],["killpg",""],["labs",""],["lchown",""],["lcong48",""],["lgetxattr",""],["link",""],["linkat",""],["lio_listio",""],["listen",""],["listxattr",""],["llistxattr",""],["localeconv",""],["localtime",""],["localtime_r",""],["lockf",""],["login_tty",""],["lrand48",""],["lremovexattr",""],["lseek",""],["lseek64",""],["lsetxattr",""],["lstat",""],["lstat64",""],["lutimes",""],["madvise",""],["major",""],["makecontext",""],["makedev",""],["mallinfo",""],["mallinfo2",""],["malloc",""],["malloc_info",""],["malloc_trim",""],["malloc_usable_size",""],["mallopt",""],["memalign",""],["memchr",""],["memcmp",""],["memcpy",""],["memfd_create",""],["memmem",""],["memmove",""],["memrchr",""],["memset",""],["mincore",""],["minor",""],["mkdir",""],["mkdirat",""],["mkdtemp",""],["mkfifo",""],["mkfifoat",""],["mknod",""],["mknodat",""],["mkostemp",""],["mkostemps",""],["mkstemp",""],["mkstemps",""],["mktime",""],["mlock",""],["mlock2",""],["mlockall",""],["mmap",""],["mmap64",""],["mount",""],["mprotect",""],["mq_close",""],["mq_getattr",""],["mq_open",""],["mq_receive",""],["mq_send",""],["mq_setattr",""],["mq_timedreceive",""],["mq_timedsend",""],["mq_unlink",""],["mrand48",""],["mremap",""],["msgctl",""],["msgget",""],["msgrcv",""],["msgsnd",""],["msync",""],["munlock",""],["munlockall",""],["munmap",""],["nanosleep",""],["newlocale",""],["nice",""],["nl_langinfo",""],["nl_langinfo_l",""],["nrand48",""],["ntp_adjtime",""],["ntp_gettime",""],["open",""],["open64",""],["open_memstream",""],["open_wmemstream",""],["openat",""],["openat64",""],["opendir",""],["openlog",""],["openpty",""],["pathconf",""],["pause",""],["pclose",""],["perror",""],["personality",""],["pipe",""],["pipe2",""],["poll",""],["popen",""],["posix_basename","POSIX version of `basename(3)`, defined in `libgen.h`."],["posix_fadvise",""],["posix_fadvise64",""],["posix_fallocate",""],["posix_fallocate64",""],["posix_madvise",""],["posix_memalign",""],["posix_openpt",""],["posix_spawn",""],["posix_spawn_file_actions_addclose",""],["posix_spawn_file_actions_adddup2",""],["posix_spawn_file_actions_addopen",""],["posix_spawn_file_actions_destroy",""],["posix_spawn_file_actions_init",""],["posix_spawnattr_destroy",""],["posix_spawnattr_getflags",""],["posix_spawnattr_getpgroup",""],["posix_spawnattr_getschedparam",""],["posix_spawnattr_getschedpolicy",""],["posix_spawnattr_getsigdefault",""],["posix_spawnattr_getsigmask",""],["posix_spawnattr_init",""],["posix_spawnattr_setflags",""],["posix_spawnattr_setpgroup",""],["posix_spawnattr_setschedparam",""],["posix_spawnattr_setschedpolicy",""],["posix_spawnattr_setsigdefault",""],["posix_spawnattr_setsigmask",""],["posix_spawnp",""],["ppoll",""],["prctl",""],["pread",""],["pread64",""],["preadv",""],["preadv2",""],["preadv64",""],["preadv64v2",""],["printf",""],["prlimit",""],["prlimit64",""],["process_vm_readv",""],["process_vm_writev",""],["pselect",""],["pthread_atfork",""],["pthread_attr_destroy",""],["pthread_attr_getaffinity_np",""],["pthread_attr_getguardsize",""],["pthread_attr_getstack",""],["pthread_attr_init",""],["pthread_attr_setaffinity_np",""],["pthread_attr_setdetachstate",""],["pthread_attr_setstacksize",""],["pthread_cancel",""],["pthread_cond_broadcast",""],["pthread_cond_destroy",""],["pthread_cond_init",""],["pthread_cond_signal",""],["pthread_cond_timedwait",""],["pthread_cond_wait",""],["pthread_condattr_destroy",""],["pthread_condattr_getclock",""],["pthread_condattr_getpshared",""],["pthread_condattr_init",""],["pthread_condattr_setclock",""],["pthread_condattr_setpshared",""],["pthread_create",""],["pthread_detach",""],["pthread_exit",""],["pthread_getaffinity_np",""],["pthread_getattr_np",""],["pthread_getcpuclockid",""],["pthread_getname_np",""],["pthread_getschedparam",""],["pthread_getspecific",""],["pthread_join",""],["pthread_key_create",""],["pthread_key_delete",""],["pthread_kill",""],["pthread_mutex_consistent",""],["pthread_mutex_destroy",""],["pthread_mutex_init",""],["pthread_mutex_lock",""],["pthread_mutex_timedlock",""],["pthread_mutex_trylock",""],["pthread_mutex_unlock",""],["pthread_mutexattr_destroy",""],["pthread_mutexattr_getprotocol",""],["pthread_mutexattr_getpshared",""],["pthread_mutexattr_getrobust",""],["pthread_mutexattr_init",""],["pthread_mutexattr_setprotocol",""],["pthread_mutexattr_setpshared",""],["pthread_mutexattr_setrobust",""],["pthread_mutexattr_settype",""],["pthread_rwlock_destroy",""],["pthread_rwlock_init",""],["pthread_rwlock_rdlock",""],["pthread_rwlock_tryrdlock",""],["pthread_rwlock_trywrlock",""],["pthread_rwlock_unlock",""],["pthread_rwlock_wrlock",""],["pthread_rwlockattr_destroy",""],["pthread_rwlockattr_getkind_np",""],["pthread_rwlockattr_getpshared",""],["pthread_rwlockattr_init",""],["pthread_rwlockattr_setkind_np",""],["pthread_rwlockattr_setpshared",""],["pthread_self",""],["pthread_setaffinity_np",""],["pthread_setname_np",""],["pthread_setschedparam",""],["pthread_setschedprio",""],["pthread_setspecific",""],["pthread_sigmask",""],["pthread_sigqueue",""],["pthread_spin_destroy",""],["pthread_spin_init",""],["pthread_spin_lock",""],["pthread_spin_trylock",""],["pthread_spin_unlock",""],["ptrace",""],["ptsname",""],["ptsname_r",""],["putchar",""],["putchar_unlocked",""],["putenv",""],["puts",""],["pututxline",""],["pwrite",""],["pwrite64",""],["pwritev",""],["pwritev2",""],["pwritev64",""],["pwritev64v2",""],["qsort",""],["qsort_r",""],["quotactl",""],["raise",""],["rand",""],["read",""],["readahead",""],["readdir",""],["readdir64",""],["readdir64_r",""],["readdir_r","The 64-bit libc on Solaris and illumos only has readdir_r. If a 32-bit Solaris or illumos target is ever created, it should use __posix_readdir_r. See libc(3LIB) on Solaris or illumos: https:\/\/illumos.org\/man\/3lib\/libc https:\/\/docs.oracle.com\/cd\/E36784_01\/html\/E36873\/libc-3lib.html https:\/\/www.unix.com\/man-page\/opensolaris\/3LIB\/libc\/"],["readlink",""],["readlinkat",""],["readv",""],["realloc",""],["reallocarray",""],["realpath",""],["reboot",""],["recv",""],["recvfrom",""],["recvmmsg",""],["recvmsg",""],["regcomp",""],["regerror",""],["regexec",""],["regfree",""],["remap_file_pages",""],["remove",""],["removexattr",""],["rename",""],["renameat",""],["renameat2",""],["res_init",""],["rewind",""],["rewinddir",""],["rmdir",""],["sbrk",""],["scanf",""],["sched_get_priority_max",""],["sched_get_priority_min",""],["sched_getaffinity",""],["sched_getcpu",""],["sched_getparam",""],["sched_getscheduler",""],["sched_rr_get_interval",""],["sched_setaffinity",""],["sched_setparam",""],["sched_setscheduler",""],["sched_yield",""],["seed48",""],["seekdir",""],["select",""],["sem_close",""],["sem_destroy",""],["sem_getvalue",""],["sem_init",""],["sem_open",""],["sem_post",""],["sem_timedwait",""],["sem_trywait",""],["sem_unlink",""],["sem_wait",""],["semctl",""],["semget",""],["semop",""],["send",""],["sendfile",""],["sendfile64",""],["sendmmsg",""],["sendmsg",""],["sendto",""],["setbuf",""],["setcontext",""],["setdomainname",""],["setegid",""],["setenv",""],["seteuid",""],["setfsgid",""],["setfsuid",""],["setgid",""],["setgrent",""],["setgroups",""],["sethostid",""],["sethostname",""],["setlocale",""],["setlogmask",""],["setmntent",""],["setns",""],["setpgid",""],["setpriority",""],["setpwent",""],["setregid",""],["setresgid",""],["setresuid",""],["setreuid",""],["setrlimit",""],["setrlimit64",""],["setservent",""],["setsid",""],["setsockopt",""],["setspent",""],["settimeofday",""],["setuid",""],["setutxent",""],["setvbuf",""],["setxattr",""],["sgetspent_r",""],["shm_open",""],["shm_unlink",""],["shmat",""],["shmctl",""],["shmdt",""],["shmget",""],["shutdown",""],["sigaction",""],["sigaddset",""],["sigaltstack",""],["sigdelset",""],["sigemptyset",""],["sigfillset",""],["sigismember",""],["signal",""],["signalfd",""],["sigpending",""],["sigprocmask",""],["sigsuspend",""],["sigtimedwait",""],["sigwait",""],["sigwaitinfo",""],["sleep",""],["snprintf",""],["socket",""],["socketpair",""],["splice",""],["sprintf",""],["srand",""],["srand48",""],["sscanf",""],["stat",""],["stat64",""],["statfs",""],["statfs64",""],["statvfs",""],["statvfs64",""],["statx",""],["stpcpy",""],["stpncpy",""],["strcasecmp",""],["strcasestr",""],["strcat",""],["strchr",""],["strcmp",""],["strcoll",""],["strcpy",""],["strcspn",""],["strdup",""],["strerror",""],["strerror_r",""],["strftime",""],["strlen",""],["strncasecmp",""],["strncat",""],["strncmp",""],["strncpy",""],["strndup",""],["strnlen",""],["strpbrk",""],["strptime",""],["strrchr",""],["strsignal",""],["strspn",""],["strstr",""],["strtod",""],["strtof",""],["strtok",""],["strtok_r",""],["strtol",""],["strtoll",""],["strtoul",""],["strtoull",""],["strxfrm",""],["swapcontext",""],["swapoff",""],["swapon",""],["symlink",""],["symlinkat",""],["sync",""],["sync_file_range",""],["syncfs",""],["syscall",""],["sysconf",""],["sysctl",""],["sysinfo",""],["syslog",""],["system",""],["tcdrain",""],["tcflow",""],["tcflush",""],["tcgetattr",""],["tcgetpgrp",""],["tcgetsid",""],["tcsendbreak",""],["tcsetattr",""],["tcsetpgrp",""],["tee",""],["telldir",""],["time",""],["timegm",""],["timer_create",""],["timer_delete",""],["timer_getoverrun",""],["timer_gettime",""],["timer_settime",""],["timerfd_create",""],["timerfd_gettime",""],["timerfd_settime",""],["times",""],["tmpfile",""],["tmpfile64",""],["tmpnam",""],["tolower",""],["toupper",""],["truncate",""],["truncate64",""],["ttyname",""],["ttyname_r",""],["umask",""],["umount",""],["umount2",""],["uname",""],["ungetc",""],["unlink",""],["unlinkat",""],["unlockpt",""],["unsetenv",""],["unshare",""],["uselocale",""],["usleep",""],["utime",""],["utimensat",""],["utimes",""],["utmpname",""],["utmpxname",""],["vfork",""],["vhangup",""],["vmsplice",""],["wait",""],["wait4",""],["waitid",""],["waitpid",""],["wcslen",""],["wcstombs",""],["wmemchr",""],["write",""],["writev",""]],"struct":[["Dl_info",""],["Elf32_Chdr",""],["Elf32_Ehdr",""],["Elf32_Phdr",""],["Elf32_Shdr",""],["Elf32_Sym",""],["Elf64_Chdr",""],["Elf64_Ehdr",""],["Elf64_Phdr",""],["Elf64_Shdr",""],["Elf64_Sym",""],["__c_anonymous_ifru_map",""],["__c_anonymous_ptrace_syscall_info_entry",""],["__c_anonymous_ptrace_syscall_info_exit",""],["__c_anonymous_ptrace_syscall_info_seccomp",""],["__c_anonymous_sockaddr_can_j1939",""],["__c_anonymous_sockaddr_can_tp",""],["__exit_status",""],["__timeval",""],["_libc_fpstate",""],["_libc_fpxreg",""],["_libc_xmmreg",""],["addrinfo",""],["af_alg_iv","WARNING: The `PartialEq`, `Eq` and `Hash` implementations of this type are unsound and will be removed in the future."],["aiocb",""],["arpd_request",""],["arphdr",""],["arpreq",""],["arpreq_old",""],["can_filter",""],["can_frame",""],["canfd_frame",""],["clone_args",""],["cmsghdr",""],["cpu_set_t",""],["dirent",""],["dirent64",""],["dl_phdr_info",""],["dqblk",""],["epoll_event",""],["fanotify_event_metadata",""],["fanotify_response",""],["fd_set",""],["ff_condition_effect",""],["ff_constant_effect",""],["ff_effect",""],["ff_envelope",""],["ff_periodic_effect",""],["ff_ramp_effect",""],["ff_replay",""],["ff_rumble_effect",""],["ff_trigger",""],["file_clone_range",""],["flock",""],["flock64",""],["fsid_t",""],["genlmsghdr",""],["glob64_t",""],["glob_t",""],["group",""],["hostent",""],["if_nameindex",""],["ifaddrs",""],["ifreq",""],["in6_addr",""],["in6_ifreq",""],["in6_pktinfo",""],["in6_rtmsg",""],["in_addr",""],["in_pktinfo",""],["inotify_event",""],["input_absinfo",""],["input_event",""],["input_id",""],["input_keymap_entry",""],["input_mask",""],["iovec",""],["ip_mreq",""],["ip_mreq_source",""],["ip_mreqn",""],["ipc_perm",""],["ipv6_mreq",""],["itimerspec",""],["itimerval",""],["j1939_filter",""],["lconv",""],["linger",""],["mallinfo",""],["mallinfo2",""],["max_align_t",""],["mcontext_t",""],["mmsghdr",""],["mntent",""],["mq_attr",""],["msghdr",""],["msginfo",""],["msqid_ds",""],["nl_mmap_hdr",""],["nl_mmap_req",""],["nl_pktinfo",""],["nlattr",""],["nlmsgerr",""],["nlmsghdr",""],["ntptimeval",""],["open_how",""],["option",""],["packet_mreq",""],["passwd",""],["pollfd",""],["posix_spawn_file_actions_t",""],["posix_spawnattr_t",""],["protoent",""],["pthread_attr_t",""],["pthread_cond_t",""],["pthread_condattr_t",""],["pthread_mutex_t",""],["pthread_mutexattr_t",""],["pthread_rwlock_t",""],["pthread_rwlockattr_t",""],["ptrace_peeksiginfo_args",""],["ptrace_rseq_configuration",""],["ptrace_syscall_info",""],["regex_t",""],["regmatch_t",""],["rlimit",""],["rlimit64",""],["rtentry",""],["rusage",""],["sched_param",""],["seccomp_data",""],["seccomp_notif_sizes",""],["sem_t",""],["sembuf",""],["semid_ds",""],["seminfo",""],["servent",""],["shmid_ds",""],["sigaction",""],["sigevent",""],["siginfo_t",""],["signalfd_siginfo",""],["sigset_t",""],["sigval",""],["sock_extended_err",""],["sock_filter",""],["sock_fprog",""],["sock_txtime",""],["sockaddr",""],["sockaddr_alg",""],["sockaddr_can",""],["sockaddr_in",""],["sockaddr_in6",""],["sockaddr_ll",""],["sockaddr_nl",""],["sockaddr_storage",""],["sockaddr_un",""],["sockaddr_vm",""],["spwd",""],["stack_t",""],["stat",""],["stat64",""],["statfs",""],["statfs64",""],["statvfs",""],["statvfs64",""],["statx",""],["statx_timestamp",""],["sysinfo",""],["termios",""],["termios2",""],["timespec",""],["timeval",""],["timex",""],["tm",""],["tms",""],["ucontext_t",""],["ucred",""],["uinput_abs_setup",""],["uinput_ff_erase",""],["uinput_ff_upload",""],["uinput_setup",""],["uinput_user_dev",""],["user",""],["user_fpregs_struct",""],["user_regs_struct",""],["utimbuf",""],["utmpx",""],["utsname",""],["winsize",""]],"type":[["Elf32_Addr",""],["Elf32_Half",""],["Elf32_Off",""],["Elf32_Section",""],["Elf32_Word",""],["Elf64_Addr",""],["Elf64_Half",""],["Elf64_Off",""],["Elf64_Section",""],["Elf64_Sxword",""],["Elf64_Word",""],["Elf64_Xword",""],["Lmid_t",""],["__fsword_t",""],["__priority_which_t",""],["__rlimit_resource_t",""],["__s16",""],["__s32",""],["__s64",""],["__syscall_ulong_t",""],["__u16",""],["__u32",""],["__u64",""],["__u8",""],["blkcnt64_t",""],["blkcnt_t",""],["blksize_t",""],["c_char",""],["c_double",""],["c_float",""],["c_int",""],["c_long",""],["c_longlong",""],["c_schar",""],["c_short",""],["c_uchar",""],["c_uint",""],["c_ulong",""],["c_ulonglong",""],["c_ushort",""],["can_err_mask_t",""],["canid_t",""],["cc_t",""],["clock_t",""],["clockid_t",""],["dev_t",""],["fsblkcnt_t",""],["fsfilcnt_t",""],["gid_t",""],["greg_t",""],["iconv_t",""],["id_t",""],["idtype_t",""],["in_addr_t",""],["in_port_t",""],["ino64_t",""],["ino_t",""],["int16_t",""],["int32_t",""],["int64_t",""],["int8_t",""],["intmax_t",""],["intptr_t",""],["key_t",""],["locale_t",""],["loff_t",""],["mode_t",""],["mqd_t",""],["msglen_t",""],["msgqnum_t",""],["name_t",""],["nfds_t",""],["nl_item",""],["nlink_t",""],["off64_t",""],["off_t",""],["pgn_t",""],["pid_t",""],["priority_t",""],["pthread_key_t",""],["pthread_spinlock_t",""],["pthread_t",""],["ptrdiff_t",""],["regoff_t",""],["rlim64_t",""],["rlim_t",""],["sa_family_t",""],["shmatt_t",""],["sighandler_t",""],["size_t",""],["socklen_t",""],["speed_t",""],["ssize_t",""],["suseconds_t",""],["tcflag_t",""],["time_t",""],["timer_t",""],["uid_t",""],["uint16_t",""],["uint32_t",""],["uint64_t",""],["uint8_t",""],["uintmax_t",""],["uintptr_t",""],["useconds_t",""],["wchar_t",""]],"union":[["__c_anonymous_ifr_ifru",""],["__c_anonymous_ptrace_syscall_info_data",""],["__c_anonymous_sockaddr_can_can_addr",""]]};/;" p class:window.SIDEBAR_ITEMS
|
||
enum guessing_game/target/doc/rand/distributions/sidebar-items.js /^window.SIDEBAR_ITEMS = {"enum":[["BernoulliError","Error type returned from `Bernoulli::new`."],["WeightedError","Error type returned from `WeightedIndex::new`."]],"mod":[["uniform","A distribution uniformly sampling numbers within a given range."],["weighted","Weighted index sampling"]],"struct":[["Alphanumeric","Sample a `u8`, uniformly distributed over ASCII letters and numbers: a-z, A-Z and 0-9."],["Bernoulli","The Bernoulli distribution."],["DistIter","An iterator that generates random values of `T` with distribution `D`, using `R` as the source of randomness."],["DistMap","A distribution of values of type `S` derived from the distribution `D` by mapping its output of type `T` through the closure `F`."],["Open01","A distribution to sample floating point numbers uniformly in the open interval `(0, 1)`, i.e. not including either endpoint."],["OpenClosed01","A distribution to sample floating point numbers uniformly in the half-open interval `(0, 1]`, i.e. including 1 but not 0."],["Slice","A distribution to sample items uniformly from a slice."],["Standard","A generic random value distribution, implemented for many primitive types. Usually generates values with a numerically uniform distribution, and with a range appropriate to the type."],["Uniform","Sample values uniformly between two bounds."],["WeightedIndex","A distribution using weighted sampling of discrete items"]],"trait":[["DistString","`String` sampler"],["Distribution","Types (distributions) that can be used to create a random instance of `T`."]]};/;" p class:window.SIDEBAR_ITEMS
|
||
enum guessing_game/target/doc/rand/distributions/weighted/sidebar-items.js /^window.SIDEBAR_ITEMS = {"enum":[["WeightedError","Error type returned from `WeightedIndex::new`."]],"mod":[["alias_method",""]],"struct":[["WeightedIndex","A distribution using weighted sampling of discrete items"]]};/;" p class:window.SIDEBAR_ITEMS
|
||
enum guessing_game/target/doc/rand/seq/index/sidebar-items.js /^window.SIDEBAR_ITEMS = {"enum":[["IndexVec","A vector of indices."],["IndexVecIntoIter","Return type of `IndexVec::into_iter`."],["IndexVecIter","Return type of `IndexVec::iter`."]],"fn":[["sample","Randomly sample exactly `amount` distinct indices from `0..length`, and return them in random order (fully shuffled)."],["sample_weighted","Randomly sample exactly `amount` distinct indices from `0..length`, and return them in an arbitrary order (there is no guarantee of shuffling or ordering). The weights are to be provided by the input function `weights`, which will be called once for each index."]]};/;" p class:window.SIDEBAR_ITEMS
|
||
execQuery guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f
|
||
expandSection guessing_game/target/doc/static.files/main-c55e1eb52e1886b4.js /^"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.type="text\/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("\/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"))};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="<h3 class=\\"search-loading\\">"+searchState.loadingText+"<\/h3>";searchState.showResults(search)},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(\/^#\/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`<a href="index.html#${id}">${longty}<\/a>`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const item of filtered){const name=item[0];const desc=item[1];let path;if(shortty==="mod"){path=name+"\/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("\/").pop();const link=document.createElement("a");link.href=path;link.title=desc;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"\/index.html";if(window.rootPath!==".\/"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\\n").length;const elems=[];for(let i=0;i<count;++i){elems.push(i+1)}const node=document.createElement("pre");addClass(node,"example-line-numbers");node.innerHTML=elems.join("\\n");parent.insertBefore(node,x)})};window.rustdoc_remove_line_numbers_from_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}let oldSidebarScrollPosition=null;window.rustdocMobileScrollLock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(window.innerWidth<=window.RUSTDOC_MOBILE_BREAKPOINT){oldSidebarScrollPosition=window.scrollY;document.body.style.width=`${document.body.offsetWidth}px`;document.body.style.position="fixed";document.body.style.top=`-${oldSidebarScrollPosition}px`;if(mobile_topbar){mobile_topbar.style.top=`${oldSidebarScrollPosition}px`;mobile_topbar.style.position="relative"}}else{oldSidebarScrollPosition=null}};window.rustdocMobileScrollUnlock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(oldSidebarScrollPosition!==null){document.body.style.width="";document.body.style.position="";document.body.style.top="";if(mobile_topbar){mobile_topbar.style.top="";mobile_topbar.style.position=""}window.scrollTo(0,oldSidebarScrollPosition);oldSidebarScrollPosition=null}};function showSidebar(){window.hideAllModals(false);window.rustdocMobileScrollLock();const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){window.rustdocMobileScrollUnlock();const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.innerWidth>window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}if(window.CURRENT_NOTABLE_ELEMENT){const base=window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE;const force_visible=base.NOTABLE_FORCE_VISIBLE;hideNotable(false);if(force_visible){showNotable(base);base.NOTABLE_FORCE_VISIBLE=true}}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showNotable(e){if(!window.NOTABLE_TRAITS){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showNotable() called on page without any notable traits!")}}if(window.CURRENT_NOTABLE_ELEMENT&&window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE===e){return}window.hideAllModals(false);const ty=e.getAttribute("data-ty");const wrapper=document.createElement("div");wrapper.innerHTML="<div class=\\"docblock\\">"+window.NOTABLE_TRAITS[ty]+"<\/div>";wrapper.className="notable popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideNotable;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_NOTABLE_ELEMENT=wrapper;window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE=e;wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,e)){hideNotable(true)}}}function notableBlurHandler(event){if(window.CURRENT_NOTABLE_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)){setTimeout(()=>hideNotable(false),0)}}function hideNotable(focus){if(window.CURRENT_NOTABLE_ELEMENT){if(window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE){if(focus){window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus()}window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_NOTABLE_ELEMENT);window.CURRENT_NOTABLE_ELEMENT=null}}onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.NOTABLE_FORCE_VISIBLE=this.NOTABLE_FORCE_VISIBLE?false:true;if(window.CURRENT_NOTABLE_ELEMENT&&!this.NOTABLE_FORCE_VISIBLE){hideNotable(true)}else{showNotable(this);window.CURRENT_NOTABLE_ELEMENT.setAttribute("tabindex","0");window.CURRENT_NOTABLE_ELEMENT.focus();window.CURRENT_NOTABLE_ELEMENT.onblur=notableBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}showNotable(this)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)){hideNotable(true)}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \\$/;" f
|
||
findArg guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:execQuery
|
||
fn guessing_game/target/doc/getrandom/sidebar-items.js /^window.SIDEBAR_ITEMS = {"fn":[["getrandom","Fill `dest` with random bytes from the system’s preferred random number source."]],"struct":[["Error","A small and `no_std` compatible error type"]]};/;" p class:window.SIDEBAR_ITEMS
|
||
fn guessing_game/target/doc/guessing_game/sidebar-items.js /^window.SIDEBAR_ITEMS = {"fn":[["main",""]]};/;" p class:window.SIDEBAR_ITEMS
|
||
fn guessing_game/target/doc/libc/sidebar-items.js /^window.SIDEBAR_ITEMS = {"constant":[["ABDAY_1",""],["ABDAY_2",""],["ABDAY_3",""],["ABDAY_4",""],["ABDAY_5",""],["ABDAY_6",""],["ABDAY_7",""],["ABMON_1",""],["ABMON_10",""],["ABMON_11",""],["ABMON_12",""],["ABMON_2",""],["ABMON_3",""],["ABMON_4",""],["ABMON_5",""],["ABMON_6",""],["ABMON_7",""],["ABMON_8",""],["ABMON_9",""],["ABS_CNT",""],["ABS_MAX",""],["ACCOUNTING",""],["ADDR_COMPAT_LAYOUT",""],["ADDR_LIMIT_32BIT",""],["ADDR_LIMIT_3GB",""],["ADDR_NO_RANDOMIZE",""],["ADFS_SUPER_MAGIC",""],["ADJ_ESTERROR",""],["ADJ_FREQUENCY",""],["ADJ_MAXERROR",""],["ADJ_MICRO",""],["ADJ_NANO",""],["ADJ_OFFSET",""],["ADJ_OFFSET_SINGLESHOT",""],["ADJ_OFFSET_SS_READ",""],["ADJ_SETOFFSET",""],["ADJ_STATUS",""],["ADJ_TAI",""],["ADJ_TICK",""],["ADJ_TIMECONST",""],["AFFS_SUPER_MAGIC",""],["AFS_SUPER_MAGIC",""],["AF_ALG",""],["AF_APPLETALK",""],["AF_ASH",""],["AF_ATMPVC",""],["AF_ATMSVC",""],["AF_AX25",""],["AF_BLUETOOTH",""],["AF_BRIDGE",""],["AF_CAIF",""],["AF_CAN",""],["AF_DECnet",""],["AF_ECONET",""],["AF_IB",""],["AF_IEEE802154",""],["AF_INET",""],["AF_INET6",""],["AF_IPX",""],["AF_IRDA",""],["AF_ISDN",""],["AF_IUCV",""],["AF_KEY",""],["AF_LLC",""],["AF_LOCAL",""],["AF_MPLS",""],["AF_NETBEUI",""],["AF_NETLINK",""],["AF_NETROM",""],["AF_NFC",""],["AF_PACKET",""],["AF_PHONET",""],["AF_PPPOX",""],["AF_RDS",""],["AF_ROSE",""],["AF_ROUTE",""],["AF_RXRPC",""],["AF_SECURITY",""],["AF_SNA",""],["AF_TIPC",""],["AF_UNIX",""],["AF_UNSPEC",""],["AF_VSOCK",""],["AF_WANPIPE",""],["AF_X25",""],["AF_XDP",""],["AIO_ALLDONE",""],["AIO_CANCELED",""],["AIO_NOTCANCELED",""],["AI_ADDRCONFIG",""],["AI_ALL",""],["AI_CANONNAME",""],["AI_NUMERICHOST",""],["AI_NUMERICSERV",""],["AI_PASSIVE",""],["AI_V4MAPPED",""],["ALG_OP_DECRYPT",""],["ALG_OP_ENCRYPT",""],["ALG_SET_AEAD_ASSOCLEN",""],["ALG_SET_AEAD_AUTHSIZE",""],["ALG_SET_IV",""],["ALG_SET_KEY",""],["ALG_SET_OP",""],["ALT_DIGITS",""],["AM_STR",""],["ARPD_FLUSH",""],["ARPD_LOOKUP",""],["ARPD_UPDATE",""],["ARPHRD_ADAPT",""],["ARPHRD_APPLETLK",""],["ARPHRD_ARCNET",""],["ARPHRD_ASH",""],["ARPHRD_ATM",""],["ARPHRD_AX25",""],["ARPHRD_BIF",""],["ARPHRD_CAN",""],["ARPHRD_CHAOS",""],["ARPHRD_CISCO",""],["ARPHRD_CSLIP",""],["ARPHRD_CSLIP6",""],["ARPHRD_DDCMP",""],["ARPHRD_DLCI",""],["ARPHRD_ECONET",""],["ARPHRD_EETHER",""],["ARPHRD_ETHER",""],["ARPHRD_EUI64",""],["ARPHRD_FCAL",""],["ARPHRD_FCFABRIC",""],["ARPHRD_FCPL",""],["ARPHRD_FCPP",""],["ARPHRD_FDDI",""],["ARPHRD_FRAD",""],["ARPHRD_HDLC",""],["ARPHRD_HIPPI",""],["ARPHRD_HWX25",""],["ARPHRD_IEEE1394",""],["ARPHRD_IEEE802",""],["ARPHRD_IEEE80211",""],["ARPHRD_IEEE80211_PRISM",""],["ARPHRD_IEEE80211_RADIOTAP",""],["ARPHRD_IEEE802154",""],["ARPHRD_IEEE802_TR",""],["ARPHRD_INFINIBAND",""],["ARPHRD_IPDDP",""],["ARPHRD_IPGRE",""],["ARPHRD_IRDA",""],["ARPHRD_LAPB",""],["ARPHRD_LOCALTLK",""],["ARPHRD_LOOPBACK",""],["ARPHRD_METRICOM",""],["ARPHRD_NETROM",""],["ARPHRD_NONE",""],["ARPHRD_PIMREG",""],["ARPHRD_PPP",""],["ARPHRD_PRONET",""],["ARPHRD_RAWHDLC",""],["ARPHRD_ROSE",""],["ARPHRD_RSRVD",""],["ARPHRD_SIT",""],["ARPHRD_SKIP",""],["ARPHRD_SLIP",""],["ARPHRD_SLIP6",""],["ARPHRD_TUNNEL",""],["ARPHRD_TUNNEL6",""],["ARPHRD_VOID",""],["ARPHRD_X25",""],["ARPOP_InREPLY",""],["ARPOP_InREQUEST",""],["ARPOP_NAK",""],["ARPOP_REPLY",""],["ARPOP_REQUEST",""],["ARPOP_RREPLY",""],["ARPOP_RREQUEST",""],["ATF_COM",""],["ATF_DONTPUB",""],["ATF_MAGIC",""],["ATF_NETMASK",""],["ATF_PERM",""],["ATF_PUBL",""],["ATF_USETRAILERS",""],["AT_BASE",""],["AT_BASE_PLATFORM",""],["AT_CLKTCK",""],["AT_EACCESS",""],["AT_EGID",""],["AT_EMPTY_PATH",""],["AT_ENTRY",""],["AT_EUID",""],["AT_EXECFD",""],["AT_EXECFN",""],["AT_FDCWD",""],["AT_FLAGS",""],["AT_GID",""],["AT_HWCAP",""],["AT_HWCAP2",""],["AT_IGNORE",""],["AT_NOTELF",""],["AT_NO_AUTOMOUNT",""],["AT_NULL",""],["AT_PAGESZ",""],["AT_PHDR",""],["AT_PHENT",""],["AT_PHNUM",""],["AT_PLATFORM",""],["AT_RANDOM",""],["AT_REMOVEDIR",""],["AT_SECURE",""],["AT_STATX_DONT_SYNC",""],["AT_STATX_FORCE_SYNC",""],["AT_STATX_SYNC_AS_STAT",""],["AT_STATX_SYNC_TYPE",""],["AT_SYMLINK_FOLLOW",""],["AT_SYMLINK_NOFOLLOW",""],["AT_SYSINFO_EHDR",""],["AT_UID",""],["AUTOFS_SUPER_MAGIC",""],["B0",""],["B1000000",""],["B110",""],["B115200",""],["B1152000",""],["B1200",""],["B134",""],["B150",""],["B1500000",""],["B1800",""],["B19200",""],["B200",""],["B2000000",""],["B230400",""],["B2400",""],["B2500000",""],["B300",""],["B3000000",""],["B3500000",""],["B38400",""],["B4000000",""],["B460800",""],["B4800",""],["B50",""],["B500000",""],["B57600",""],["B576000",""],["B600",""],["B75",""],["B921600",""],["B9600",""],["BINDERFS_SUPER_MAGIC",""],["BLKIOMIN",""],["BLKIOOPT",""],["BLKPBSZGET",""],["BLKSSZGET",""],["BOOT_TIME",""],["BOTHER",""],["BPF_ABS",""],["BPF_ADD",""],["BPF_ALU",""],["BPF_AND",""],["BPF_B",""],["BPF_DIV",""],["BPF_FS_MAGIC",""],["BPF_H",""],["BPF_IMM",""],["BPF_IND",""],["BPF_JA",""],["BPF_JEQ",""],["BPF_JGE",""],["BPF_JGT",""],["BPF_JMP",""],["BPF_JSET",""],["BPF_K",""],["BPF_LD",""],["BPF_LDX",""],["BPF_LEN",""],["BPF_LL_OFF",""],["BPF_LSH",""],["BPF_MAXINSNS",""],["BPF_MEM",""],["BPF_MEMWORDS",""],["BPF_MISC",""],["BPF_MOD",""],["BPF_MSH",""],["BPF_MUL",""],["BPF_NEG",""],["BPF_NET_OFF",""],["BPF_OR",""],["BPF_RET",""],["BPF_RSH",""],["BPF_ST",""],["BPF_STX",""],["BPF_SUB",""],["BPF_W",""],["BPF_X",""],["BPF_XOR",""],["BRKINT",""],["BS0",""],["BS1",""],["BSDLY",""],["BTRFS_SUPER_MAGIC",""],["BUFSIZ",""],["BUS_ADRALN",""],["BUS_ADRERR",""],["BUS_MCEERR_AO",""],["BUS_MCEERR_AR",""],["BUS_OBJERR",""],["CANFD_BRS",""],["CANFD_ESI",""],["CANFD_MAX_DLC",""],["CANFD_MAX_DLEN",""],["CANFD_MTU",""],["CAN_BCM",""],["CAN_EFF_FLAG",""],["CAN_EFF_ID_BITS",""],["CAN_EFF_MASK",""],["CAN_ERR_FLAG",""],["CAN_ERR_MASK",""],["CAN_INV_FILTER",""],["CAN_ISOTP",""],["CAN_J1939",""],["CAN_MAX_DLC",""],["CAN_MAX_DLEN",""],["CAN_MCNET",""],["CAN_MTU",""],["CAN_NPROTO",""],["CAN_RAW",""],["CAN_RAW_ERR_FILTER",""],["CAN_RAW_FD_FRAMES",""],["CAN_RAW_FILTER",""],["CAN_RAW_FILTER_MAX",""],["CAN_RAW_JOIN_FILTERS",""],["CAN_RAW_LOOPBACK",""],["CAN_RAW_RECV_OWN_MSGS",""],["CAN_RTR_FLAG",""],["CAN_SFF_ID_BITS",""],["CAN_SFF_MASK",""],["CAN_TP16",""],["CAN_TP20",""],["CBAUD",""],["CBAUDEX",""],["CGROUP2_SUPER_MAGIC",""],["CGROUP_SUPER_MAGIC",""],["CIBAUD",""],["CLD_CONTINUED",""],["CLD_DUMPED",""],["CLD_EXITED",""],["CLD_KILLED",""],["CLD_STOPPED",""],["CLD_TRAPPED",""],["CLOCAL",""],["CLOCK_BOOTTIME",""],["CLOCK_BOOTTIME_ALARM",""],["CLOCK_MONOTONIC",""],["CLOCK_MONOTONIC_COARSE",""],["CLOCK_MONOTONIC_RAW",""],["CLOCK_PROCESS_CPUTIME_ID",""],["CLOCK_REALTIME",""],["CLOCK_REALTIME_ALARM",""],["CLOCK_REALTIME_COARSE",""],["CLOCK_TAI",""],["CLOCK_THREAD_CPUTIME_ID",""],["CLONE_CHILD_CLEARTID",""],["CLONE_CHILD_SETTID",""],["CLONE_DETACHED",""],["CLONE_FILES",""],["CLONE_FS",""],["CLONE_IO",""],["CLONE_NEWCGROUP",""],["CLONE_NEWIPC",""],["CLONE_NEWNET",""],["CLONE_NEWNS",""],["CLONE_NEWPID",""],["CLONE_NEWUSER",""],["CLONE_NEWUTS",""],["CLONE_PARENT",""],["CLONE_PARENT_SETTID",""],["CLONE_PIDFD",""],["CLONE_PTRACE",""],["CLONE_SETTLS",""],["CLONE_SIGHAND",""],["CLONE_SYSVSEM",""],["CLONE_THREAD",""],["CLONE_UNTRACED",""],["CLONE_VFORK",""],["CLONE_VM",""],["CLOSE_RANGE_CLOEXEC",""],["CLOSE_RANGE_UNSHARE",""],["CMSPAR",""],["CODA_SUPER_MAGIC",""],["CODESET",""],["CPU_SETSIZE",""],["CR0",""],["CR1",""],["CR2",""],["CR3",""],["CRAMFS_MAGIC",""],["CRDLY",""],["CREAD",""],["CRNCYSTR",""],["CRTSCTS",""],["CS",""],["CS5",""],["CS6",""],["CS7",""],["CS8",""],["CSIZE",""],["CSTOPB",""],["CTRL_ATTR_FAMILY_ID",""],["CTRL_ATTR_FAMILY_NAME",""],["CTRL_ATTR_HDRSIZE",""],["CTRL_ATTR_MAXATTR",""],["CTRL_ATTR_MCAST_GROUPS",""],["CTRL_ATTR_MCAST_GRP_ID",""],["CTRL_ATTR_MCAST_GRP_NAME",""],["CTRL_ATTR_MCAST_GRP_UNSPEC",""],["CTRL_ATTR_OPS",""],["CTRL_ATTR_OP_FLAGS",""],["CTRL_ATTR_OP_ID",""],["CTRL_ATTR_OP_UNSPEC",""],["CTRL_ATTR_UNSPEC",""],["CTRL_ATTR_VERSION",""],["CTRL_CMD_DELFAMILY",""],["CTRL_CMD_DELMCAST_GRP",""],["CTRL_CMD_DELOPS",""],["CTRL_CMD_GETFAMILY",""],["CTRL_CMD_GETMCAST_GRP",""],["CTRL_CMD_GETOPS",""],["CTRL_CMD_NEWFAMILY",""],["CTRL_CMD_NEWMCAST_GRP",""],["CTRL_CMD_NEWOPS",""],["CTRL_CMD_UNSPEC",""],["DAY_1",""],["DAY_2",""],["DAY_3",""],["DAY_4",""],["DAY_5",""],["DAY_6",""],["DAY_7",""],["DCCP_SERVICE_LIST_MAX_LEN","maximum number of services provided on the same listening port"],["DCCP_SOCKOPT_AVAILABLE_CCIDS",""],["DCCP_SOCKOPT_CCID",""],["DCCP_SOCKOPT_CCID_RX_INFO",""],["DCCP_SOCKOPT_CCID_TX_INFO",""],["DCCP_SOCKOPT_CHANGE_L",""],["DCCP_SOCKOPT_CHANGE_R",""],["DCCP_SOCKOPT_GET_CUR_MPS",""],["DCCP_SOCKOPT_PACKET_SIZE",""],["DCCP_SOCKOPT_QPOLICY_ID",""],["DCCP_SOCKOPT_QPOLICY_TXQLEN",""],["DCCP_SOCKOPT_RECV_CSCOV",""],["DCCP_SOCKOPT_RX_CCID",""],["DCCP_SOCKOPT_SEND_CSCOV",""],["DCCP_SOCKOPT_SERVER_TIMEWAIT",""],["DCCP_SOCKOPT_SERVICE",""],["DCCP_SOCKOPT_TX_CCID",""],["DEAD_PROCESS",""],["DEBUGFS_MAGIC",""],["DEVPTS_SUPER_MAGIC",""],["DS",""],["DT_BLK",""],["DT_CHR",""],["DT_DIR",""],["DT_FIFO",""],["DT_LNK",""],["DT_REG",""],["DT_SOCK",""],["DT_UNKNOWN",""],["D_FMT",""],["D_T_FMT",""],["E2BIG",""],["EACCES",""],["EADDRINUSE",""],["EADDRNOTAVAIL",""],["EADV",""],["EAFNOSUPPORT",""],["EAGAIN",""],["EAI_AGAIN",""],["EAI_BADFLAGS",""],["EAI_FAIL",""],["EAI_FAMILY",""],["EAI_MEMORY",""],["EAI_NODATA",""],["EAI_NONAME",""],["EAI_OVERFLOW",""],["EAI_SERVICE",""],["EAI_SOCKTYPE",""],["EAI_SYSTEM",""],["EALREADY",""],["EBADE",""],["EBADF",""],["EBADFD",""],["EBADMSG",""],["EBADR",""],["EBADRQC",""],["EBADSLT",""],["EBFONT",""],["EBUSY",""],["ECANCELED",""],["ECHILD",""],["ECHO",""],["ECHOCTL",""],["ECHOE",""],["ECHOK",""],["ECHOKE",""],["ECHONL",""],["ECHOPRT",""],["ECHRNG",""],["ECOMM",""],["ECONNABORTED",""],["ECONNREFUSED",""],["ECONNRESET",""],["ECRYPTFS_SUPER_MAGIC",""],["EDEADLK",""],["EDEADLOCK",""],["EDESTADDRREQ",""],["EDOM",""],["EDOTDOT",""],["EDQUOT",""],["EEXIST",""],["EFAULT",""],["EFBIG",""],["EFD_CLOEXEC",""],["EFD_NONBLOCK",""],["EFD_SEMAPHORE",""],["EFLAGS",""],["EFS_SUPER_MAGIC",""],["EHOSTDOWN",""],["EHOSTUNREACH",""],["EHWPOISON",""],["EIDRM",""],["EILSEQ",""],["EINPROGRESS",""],["EINTR",""],["EINVAL",""],["EIO",""],["EISCONN",""],["EISDIR",""],["EISNAM",""],["EI_ABIVERSION",""],["EI_CLASS",""],["EI_DATA",""],["EI_MAG0",""],["EI_MAG1",""],["EI_MAG2",""],["EI_MAG3",""],["EI_NIDENT",""],["EI_OSABI",""],["EI_PAD",""],["EI_VERSION",""],["EKEYEXPIRED",""],["EKEYREJECTED",""],["EKEYREVOKED",""],["EL2HLT",""],["EL2NSYNC",""],["EL3HLT",""],["EL3RST",""],["ELFCLASS32",""],["ELFCLASS64",""],["ELFCLASSNONE",""],["ELFCLASSNUM",""],["ELFDATA2LSB",""],["ELFDATA2MSB",""],["ELFDATANONE",""],["ELFDATANUM",""],["ELFMAG0",""],["ELFMAG1",""],["ELFMAG2",""],["ELFMAG3",""],["ELFOSABI_AIX",""],["ELFOSABI_ARM",""],["ELFOSABI_ARM_AEABI",""],["ELFOSABI_FREEBSD",""],["ELFOSABI_GNU",""],["ELFOSABI_HPUX",""],["ELFOSABI_IRIX",""],["ELFOSABI_LINUX",""],["ELFOSABI_MODESTO",""],["ELFOSABI_NETBSD",""],["ELFOSABI_NONE",""],["ELFOSABI_OPENBSD",""],["ELFOSABI_SOLARIS",""],["ELFOSABI_STANDALONE",""],["ELFOSABI_SYSV",""],["ELFOSABI_TRU64",""],["ELIBACC",""],["ELIBBAD",""],["ELIBEXEC",""],["ELIBMAX",""],["ELIBSCN",""],["ELNRNG",""],["ELOOP",""],["EMEDIUMTYPE",""],["EMFILE",""],["EMLINK",""],["EMPTY",""],["EMSGSIZE",""],["EMULTIHOP",""],["EM_386",""],["EM_68HC05",""],["EM_68HC08",""],["EM_68HC11",""],["EM_68HC12",""],["EM_68HC16",""],["EM_68K",""],["EM_860",""],["EM_88K",""],["EM_960",""],["EM_AARCH64",""],["EM_ALPHA",""],["EM_ARC",""],["EM_ARC_A5",""],["EM_ARM",""],["EM_AVR",""],["EM_COLDFIRE",""],["EM_CRIS",""],["EM_D10V",""],["EM_D30V",""],["EM_FAKE_ALPHA",""],["EM_FIREPATH",""],["EM_FR20",""],["EM_FR30",""],["EM_FX66",""],["EM_H8S",""],["EM_H8_300",""],["EM_H8_300H",""],["EM_H8_500",""],["EM_HUANY",""],["EM_IA_64",""],["EM_JAVELIN",""],["EM_M32",""],["EM_M32R",""],["EM_ME16",""],["EM_MIPS",""],["EM_MIPS_RS3_LE",""],["EM_MIPS_X",""],["EM_MMA",""],["EM_MMIX",""],["EM_MN10200",""],["EM_MN10300",""],["EM_NCPU",""],["EM_NDR1",""],["EM_NONE",""],["EM_OPENRISC",""],["EM_PARISC",""],["EM_PCP",""],["EM_PDSP",""],["EM_PJ",""],["EM_PPC",""],["EM_PPC64",""],["EM_PRISM",""],["EM_RCE",""],["EM_RH32",""],["EM_S370",""],["EM_S390",""],["EM_SH",""],["EM_SPARC",""],["EM_SPARC32PLUS",""],["EM_SPARCV9",""],["EM_ST100",""],["EM_ST19",""],["EM_ST7",""],["EM_ST9PLUS",""],["EM_STARCORE",""],["EM_SVX",""],["EM_TILEGX",""],["EM_TILEPRO",""],["EM_TINYJ",""],["EM_TRICORE",""],["EM_V800",""],["EM_V850",""],["EM_VAX",""],["EM_VPP500",""],["EM_X86_64",""],["EM_XTENSA",""],["EM_ZSP",""],["ENAMETOOLONG",""],["ENAVAIL",""],["ENETDOWN",""],["ENETRESET",""],["ENETUNREACH",""],["ENFILE",""],["ENOANO",""],["ENOATTR",""],["ENOBUFS",""],["ENOCSI",""],["ENODATA",""],["ENODEV",""],["ENOENT",""],["ENOEXEC",""],["ENOKEY",""],["ENOLCK",""],["ENOLINK",""],["ENOMEDIUM",""],["ENOMEM",""],["ENOMSG",""],["ENONET",""],["ENOPKG",""],["ENOPROTOOPT",""],["ENOSPC",""],["ENOSR",""],["ENOSTR",""],["ENOSYS",""],["ENOTBLK",""],["ENOTCONN",""],["ENOTDIR",""],["ENOTEMPTY",""],["ENOTNAM",""],["ENOTRECOVERABLE",""],["ENOTSOCK",""],["ENOTSUP",""],["ENOTTY",""],["ENOTUNIQ",""],["ENXIO",""],["EOF",""],["EOPNOTSUPP",""],["EOVERFLOW",""],["EOWNERDEAD",""],["EPERM",""],["EPFNOSUPPORT",""],["EPIPE",""],["EPOLLERR",""],["EPOLLET",""],["EPOLLEXCLUSIVE",""],["EPOLLHUP",""],["EPOLLIN",""],["EPOLLMSG",""],["EPOLLONESHOT",""],["EPOLLOUT",""],["EPOLLPRI",""],["EPOLLRDBAND",""],["EPOLLRDHUP",""],["EPOLLRDNORM",""],["EPOLLWAKEUP",""],["EPOLLWRBAND",""],["EPOLLWRNORM",""],["EPOLL_CLOEXEC",""],["EPOLL_CTL_ADD",""],["EPOLL_CTL_DEL",""],["EPOLL_CTL_MOD",""],["EPROTO",""],["EPROTONOSUPPORT",""],["EPROTOTYPE",""],["ERA",""],["ERANGE",""],["ERA_D_FMT",""],["ERA_D_T_FMT",""],["ERA_T_FMT",""],["EREMCHG",""],["EREMOTE",""],["EREMOTEIO",""],["ERESTART",""],["ERFKILL",""],["EROFS",""],["ES",""],["ESHUTDOWN",""],["ESOCKTNOSUPPORT",""],["ESPIPE",""],["ESRCH",""],["ESRMNT",""],["ESTALE",""],["ESTRPIPE",""],["ETH_ALEN",""],["ETH_DATA_LEN",""],["ETH_FCS_LEN",""],["ETH_FRAME_LEN",""],["ETH_HLEN",""],["ETH_P_1588",""],["ETH_P_8021AD",""],["ETH_P_8021AH",""],["ETH_P_8021Q",""],["ETH_P_80221",""],["ETH_P_802_2",""],["ETH_P_802_3",""],["ETH_P_802_3_MIN",""],["ETH_P_802_EX1",""],["ETH_P_AARP",""],["ETH_P_AF_IUCV",""],["ETH_P_ALL",""],["ETH_P_AOE",""],["ETH_P_ARCNET",""],["ETH_P_ARP",""],["ETH_P_ATALK",""],["ETH_P_ATMFATE",""],["ETH_P_ATMMPOA",""],["ETH_P_AX25",""],["ETH_P_BATMAN",""],["ETH_P_BPQ",""],["ETH_P_CAIF",""],["ETH_P_CANFD",""],["ETH_P_CONTROL",""],["ETH_P_CUST",""],["ETH_P_DDCMP",""],["ETH_P_DEC",""],["ETH_P_DIAG",""],["ETH_P_DNA_DL",""],["ETH_P_DNA_RC",""],["ETH_P_DNA_RT",""],["ETH_P_DSA",""],["ETH_P_ECONET",""],["ETH_P_EDSA",""],["ETH_P_FCOE",""],["ETH_P_FIP",""],["ETH_P_HDLC",""],["ETH_P_IEEE802154",""],["ETH_P_IEEEPUP",""],["ETH_P_IEEEPUPAT",""],["ETH_P_IP",""],["ETH_P_IPV6",""],["ETH_P_IPX",""],["ETH_P_IRDA",""],["ETH_P_LAT",""],["ETH_P_LINK_CTL",""],["ETH_P_LOCALTALK",""],["ETH_P_LOOP",""],["ETH_P_LOOPBACK",""],["ETH_P_MACSEC",""],["ETH_P_MOBITEX",""],["ETH_P_MPLS_MC",""],["ETH_P_MPLS_UC",""],["ETH_P_MVRP",""],["ETH_P_PAE",""],["ETH_P_PAUSE",""],["ETH_P_PHONET",""],["ETH_P_PPPTALK",""],["ETH_P_PPP_DISC",""],["ETH_P_PPP_MP",""],["ETH_P_PPP_SES",""],["ETH_P_PRP",""],["ETH_P_PUP",""],["ETH_P_PUPAT",""],["ETH_P_QINQ1",""],["ETH_P_QINQ2",""],["ETH_P_QINQ3",""],["ETH_P_RARP",""],["ETH_P_SCA",""],["ETH_P_SLOW",""],["ETH_P_SNAP",""],["ETH_P_TDLS",""],["ETH_P_TEB",""],["ETH_P_TIPC",""],["ETH_P_TRAILER",""],["ETH_P_TR_802_2",""],["ETH_P_WAN_PPP",""],["ETH_P_WCCP",""],["ETH_P_X25",""],["ETH_ZLEN",""],["ETIME",""],["ETIMEDOUT",""],["ETOOMANYREFS",""],["ETXTBSY",""],["ET_CORE",""],["ET_DYN",""],["ET_EXEC",""],["ET_HIOS",""],["ET_HIPROC",""],["ET_LOOS",""],["ET_LOPROC",""],["ET_NONE",""],["ET_NUM",""],["ET_REL",""],["EUCLEAN",""],["EUNATCH",""],["EUSERS",""],["EV_CNT",""],["EV_CURRENT",""],["EV_MAX",""],["EV_NONE",""],["EV_NUM",""],["EWOULDBLOCK",""],["EXDEV",""],["EXFULL",""],["EXIT_FAILURE",""],["EXIT_SUCCESS",""],["EXT2_SUPER_MAGIC",""],["EXT3_SUPER_MAGIC",""],["EXT4_SUPER_MAGIC",""],["EXTA",""],["EXTB",""],["EXTPROC",""],["F2FS_SUPER_MAGIC",""],["FALLOC_FL_COLLAPSE_RANGE",""],["FALLOC_FL_INSERT_RANGE",""],["FALLOC_FL_KEEP_SIZE",""],["FALLOC_FL_PUNCH_HOLE",""],["FALLOC_FL_UNSHARE_RANGE",""],["FALLOC_FL_ZERO_RANGE",""],["FANOTIFY_METADATA_VERSION",""],["FAN_ACCESS",""],["FAN_ACCESS_PERM",""],["FAN_ALLOW",""],["FAN_CLASS_CONTENT",""],["FAN_CLASS_NOTIF",""],["FAN_CLASS_PRE_CONTENT",""],["FAN_CLOEXEC",""],["FAN_CLOSE",""],["FAN_CLOSE_NOWRITE",""],["FAN_CLOSE_WRITE",""],["FAN_DENY",""],["FAN_EVENT_ON_CHILD",""],["FAN_MARK_ADD",""],["FAN_MARK_DONT_FOLLOW",""],["FAN_MARK_FILESYSTEM",""],["FAN_MARK_FLUSH",""],["FAN_MARK_IGNORED_MASK",""],["FAN_MARK_IGNORED_SURV_MODIFY",""],["FAN_MARK_INODE",""],["FAN_MARK_MOUNT",""],["FAN_MARK_ONLYDIR",""],["FAN_MARK_REMOVE",""],["FAN_MODIFY",""],["FAN_NOFD",""],["FAN_NONBLOCK",""],["FAN_ONDIR",""],["FAN_OPEN",""],["FAN_OPEN_PERM",""],["FAN_Q_OVERFLOW",""],["FAN_UNLIMITED_MARKS",""],["FAN_UNLIMITED_QUEUE",""],["FDPIC_FUNCPTRS",""],["FD_CLOEXEC",""],["FD_SETSIZE",""],["FF0",""],["FF1",""],["FFDLY",""],["FF_CNT",""],["FF_MAX",""],["FICLONE",""],["FICLONERANGE",""],["FILENAME_MAX",""],["FIOASYNC",""],["FIOCLEX",""],["FIONBIO",""],["FIONCLEX",""],["FIONREAD",""],["FIOQSIZE",""],["FLUSHO",""],["FOPEN_MAX",""],["FS",""],["FS_BASE",""],["FUSE_SUPER_MAGIC",""],["FUTEXFS_SUPER_MAGIC",""],["FUTEX_CLOCK_REALTIME",""],["FUTEX_CMD_MASK",""],["FUTEX_CMP_REQUEUE",""],["FUTEX_CMP_REQUEUE_PI",""],["FUTEX_FD",""],["FUTEX_LOCK_PI",""],["FUTEX_LOCK_PI2",""],["FUTEX_PRIVATE_FLAG",""],["FUTEX_REQUEUE",""],["FUTEX_TRYLOCK_PI",""],["FUTEX_UNLOCK_PI",""],["FUTEX_WAIT",""],["FUTEX_WAIT_BITSET",""],["FUTEX_WAIT_REQUEUE_PI",""],["FUTEX_WAKE",""],["FUTEX_WAKE_BITSET",""],["FUTEX_WAKE_OP",""],["F_ADD_SEALS",""],["F_CANCELLK",""],["F_DUPFD",""],["F_DUPFD_CLOEXEC",""],["F_GETFD",""],["F_GETFL",""],["F_GETLEASE",""],["F_GETLK",""],["F_GETOWN",""],["F_GETPIPE_SZ",""],["F_GET_SEALS",""],["F_LOCK",""],["F_NOTIFY",""],["F_OFD_GETLK",""],["F_OFD_SETLK",""],["F_OFD_SETLKW",""],["F_OK",""],["F_RDLCK",""],["F_SEAL_FUTURE_WRITE",""],["F_SEAL_GROW",""],["F_SEAL_SEAL",""],["F_SEAL_SHRINK",""],["F_SEAL_WRITE",""],["F_SETFD",""],["F_SETFL",""],["F_SETLEASE",""],["F_SETLK",""],["F_SETLKW",""],["F_SETOWN",""],["F_SETPIPE_SZ",""],["F_TEST",""],["F_TLOCK",""],["F_ULOCK",""],["F_UNLCK",""],["F_WRLCK",""],["GENL_ADMIN_PERM",""],["GENL_CMD_CAP_DO",""],["GENL_CMD_CAP_DUMP",""],["GENL_CMD_CAP_HASPOL",""],["GENL_ID_CTRL",""],["GENL_ID_PMCRAID",""],["GENL_ID_VFS_DQUOT",""],["GENL_MAX_ID",""],["GENL_MIN_ID",""],["GENL_NAMSIZ",""],["GENL_UNS_ADMIN_PERM",""],["GLOB_ABORTED",""],["GLOB_APPEND",""],["GLOB_DOOFFS",""],["GLOB_ERR",""],["GLOB_MARK",""],["GLOB_NOCHECK",""],["GLOB_NOESCAPE",""],["GLOB_NOMATCH",""],["GLOB_NOSORT",""],["GLOB_NOSPACE",""],["GRND_INSECURE",""],["GRND_NONBLOCK",""],["GRND_RANDOM",""],["GRPQUOTA",""],["GS",""],["GS_BASE",""],["HOSTFS_SUPER_MAGIC",""],["HPFS_SUPER_MAGIC",""],["HUGETLBFS_MAGIC",""],["HUGETLB_FLAG_ENCODE_16GB",""],["HUGETLB_FLAG_ENCODE_16MB",""],["HUGETLB_FLAG_ENCODE_1GB",""],["HUGETLB_FLAG_ENCODE_1MB",""],["HUGETLB_FLAG_ENCODE_256MB",""],["HUGETLB_FLAG_ENCODE_2GB",""],["HUGETLB_FLAG_ENCODE_2MB",""],["HUGETLB_FLAG_ENCODE_32MB",""],["HUGETLB_FLAG_ENCODE_512KB",""],["HUGETLB_FLAG_ENCODE_512MB",""],["HUGETLB_FLAG_ENCODE_64KB",""],["HUGETLB_FLAG_ENCODE_8MB",""],["HUGETLB_FLAG_ENCODE_MASK",""],["HUGETLB_FLAG_ENCODE_SHIFT",""],["HUPCL",""],["IBSHIFT",""],["ICANON",""],["ICRNL",""],["IEXTEN",""],["IFA_ADDRESS",""],["IFA_ANYCAST",""],["IFA_BROADCAST",""],["IFA_CACHEINFO",""],["IFA_FLAGS",""],["IFA_F_DADFAILED",""],["IFA_F_DEPRECATED",""],["IFA_F_HOMEADDRESS",""],["IFA_F_MANAGETEMPADDR",""],["IFA_F_MCAUTOJOIN",""],["IFA_F_NODAD",""],["IFA_F_NOPREFIXROUTE",""],["IFA_F_OPTIMISTIC",""],["IFA_F_PERMANENT",""],["IFA_F_SECONDARY",""],["IFA_F_STABLE_PRIVACY",""],["IFA_F_TEMPORARY",""],["IFA_F_TENTATIVE",""],["IFA_LABEL",""],["IFA_LOCAL",""],["IFA_MULTICAST",""],["IFA_UNSPEC",""],["IFF_ALLMULTI",""],["IFF_ATTACH_QUEUE",""],["IFF_AUTOMEDIA",""],["IFF_BROADCAST",""],["IFF_DEBUG",""],["IFF_DETACH_QUEUE",""],["IFF_DORMANT",""],["IFF_DYNAMIC",""],["IFF_ECHO",""],["IFF_LOOPBACK",""],["IFF_LOWER_UP",""],["IFF_MASTER",""],["IFF_MULTICAST",""],["IFF_MULTI_QUEUE",""],["IFF_NOARP",""],["IFF_NOFILTER",""],["IFF_NOTRAILERS",""],["IFF_NO_PI",""],["IFF_ONE_QUEUE",""],["IFF_PERSIST",""],["IFF_POINTOPOINT",""],["IFF_PORTSEL",""],["IFF_PROMISC",""],["IFF_RUNNING",""],["IFF_SLAVE",""],["IFF_TAP",""],["IFF_TUN",""],["IFF_TUN_EXCL",""],["IFF_UP",""],["IFF_VNET_HDR",""],["IFLA_ADDRESS",""],["IFLA_AF_SPEC",""],["IFLA_ALT_IFNAME",""],["IFLA_BROADCAST",""],["IFLA_CARRIER",""],["IFLA_CARRIER_CHANGES",""],["IFLA_CARRIER_DOWN_COUNT",""],["IFLA_CARRIER_UP_COUNT",""],["IFLA_COST",""],["IFLA_EVENT",""],["IFLA_EXT_MASK",""],["IFLA_GROUP",""],["IFLA_GSO_MAX_SEGS",""],["IFLA_GSO_MAX_SIZE",""],["IFLA_IFALIAS",""],["IFLA_IFNAME",""],["IFLA_IF_NETNSID",""],["IFLA_INFO_DATA",""],["IFLA_INFO_KIND",""],["IFLA_INFO_SLAVE_DATA",""],["IFLA_INFO_SLAVE_KIND",""],["IFLA_INFO_UNSPEC",""],["IFLA_INFO_XSTATS",""],["IFLA_LINK",""],["IFLA_LINKINFO",""],["IFLA_LINKMODE",""],["IFLA_LINK_NETNSID",""],["IFLA_MAP",""],["IFLA_MASTER",""],["IFLA_MAX_MTU",""],["IFLA_MIN_MTU",""],["IFLA_MTU",""],["IFLA_NET_NS_FD",""],["IFLA_NET_NS_PID",""],["IFLA_NEW_IFINDEX",""],["IFLA_NEW_NETNSID",""],["IFLA_NUM_RX_QUEUES",""],["IFLA_NUM_TX_QUEUES",""],["IFLA_NUM_VF",""],["IFLA_OPERSTATE",""],["IFLA_PAD",""],["IFLA_PERM_ADDRESS",""],["IFLA_PHYS_PORT_ID",""],["IFLA_PHYS_PORT_NAME",""],["IFLA_PHYS_SWITCH_ID",""],["IFLA_PORT_SELF",""],["IFLA_PRIORITY",""],["IFLA_PROMISCUITY",""],["IFLA_PROP_LIST",""],["IFLA_PROTINFO",""],["IFLA_PROTO_DOWN",""],["IFLA_PROTO_DOWN_REASON",""],["IFLA_QDISC",""],["IFLA_STATS",""],["IFLA_STATS64",""],["IFLA_TARGET_NETNSID",""],["IFLA_TXQLEN",""],["IFLA_UNSPEC",""],["IFLA_VFINFO_LIST",""],["IFLA_VF_PORTS",""],["IFLA_WEIGHT",""],["IFLA_WIRELESS",""],["IFLA_XDP",""],["IFNAMSIZ",""],["IF_NAMESIZE",""],["IGNBRK",""],["IGNCR",""],["IGNPAR",""],["IMAXBEL",""],["INADDR_ANY",""],["INADDR_BROADCAST",""],["INADDR_LOOPBACK",""],["INADDR_NONE",""],["INIT_PROCESS",""],["INLCR",""],["INPCK",""],["INPUT_PROP_CNT",""],["INPUT_PROP_MAX",""],["INT_MAX",""],["INT_MIN",""],["IN_ACCESS",""],["IN_ALL_EVENTS",""],["IN_ATTRIB",""],["IN_CLOEXEC",""],["IN_CLOSE",""],["IN_CLOSE_NOWRITE",""],["IN_CLOSE_WRITE",""],["IN_CREATE",""],["IN_DELETE",""],["IN_DELETE_SELF",""],["IN_DONT_FOLLOW",""],["IN_EXCL_UNLINK",""],["IN_IGNORED",""],["IN_ISDIR",""],["IN_MASK_ADD",""],["IN_MASK_CREATE",""],["IN_MODIFY",""],["IN_MOVE",""],["IN_MOVED_FROM",""],["IN_MOVED_TO",""],["IN_MOVE_SELF",""],["IN_NONBLOCK",""],["IN_ONESHOT",""],["IN_ONLYDIR",""],["IN_OPEN",""],["IN_Q_OVERFLOW",""],["IN_UNMOUNT",""],["IP6T_SO_ORIGINAL_DST",""],["IPC_CREAT",""],["IPC_EXCL",""],["IPC_INFO",""],["IPC_NOWAIT",""],["IPC_PRIVATE",""],["IPC_RMID",""],["IPC_SET",""],["IPC_STAT",""],["IPDEFTTL",""],["IPOPT_CLASS_MASK",""],["IPOPT_CONTROL",""],["IPOPT_COPY",""],["IPOPT_END",""],["IPOPT_EOL",""],["IPOPT_LSRR",""],["IPOPT_MEASUREMENT",""],["IPOPT_MINOFF",""],["IPOPT_NOOP",""],["IPOPT_NOP",""],["IPOPT_NUMBER_MASK",""],["IPOPT_OFFSET",""],["IPOPT_OLEN",""],["IPOPT_OPTVAL",""],["IPOPT_RA",""],["IPOPT_RESERVED1",""],["IPOPT_RESERVED2",""],["IPOPT_RR",""],["IPOPT_SEC",""],["IPOPT_SID",""],["IPOPT_SSRR",""],["IPOPT_TIMESTAMP",""],["IPOPT_TS",""],["IPOPT_TS_PRESPEC",""],["IPOPT_TS_TSANDADDR",""],["IPOPT_TS_TSONLY",""],["IPPROTO_AH","IP6 Auth Header"],["IPPROTO_BEETPH",""],["IPPROTO_COMP","IP Payload Comp. Protocol"],["IPPROTO_DCCP","DCCP"],["IPPROTO_DSTOPTS","IP6 destination option"],["IPPROTO_EGP","exterior gateway protocol"],["IPPROTO_ENCAP","encapsulation header"],["IPPROTO_ESP","IP6 Encap Sec. Payload"],["IPPROTO_FRAGMENT","IP6 fragmentation header"],["IPPROTO_GRE","General Routing Encap."],["IPPROTO_HOPOPTS","Hop-by-hop option header"],["IPPROTO_ICMP",""],["IPPROTO_ICMPV6",""],["IPPROTO_IDP","xns idp"],["IPPROTO_IGMP","group mgmt protocol"],["IPPROTO_IP",""],["IPPROTO_IPIP","for compatibility"],["IPPROTO_IPV6",""],["IPPROTO_MAX",""],["IPPROTO_MH",""],["IPPROTO_MPLS",""],["IPPROTO_MPTCP","Multipath TCP"],["IPPROTO_MTP",""],["IPPROTO_NONE","IP6 no next header"],["IPPROTO_PIM","Protocol indep. multicast"],["IPPROTO_PUP","pup"],["IPPROTO_RAW","raw IP packet"],["IPPROTO_ROUTING","IP6 routing header"],["IPPROTO_RSVP","resource reservation"],["IPPROTO_SCTP","SCTP"],["IPPROTO_TCP",""],["IPPROTO_TP","tp-4 w\/ class negotiation"],["IPPROTO_UDP",""],["IPPROTO_UDPLITE",""],["IPTOS_ECN_CE",""],["IPTOS_ECN_ECT0",""],["IPTOS_ECN_ECT1",""],["IPTOS_ECN_MASK",""],["IPTOS_ECN_NOT_ECT",""],["IPTOS_LOWDELAY",""],["IPTOS_MINCOST",""],["IPTOS_PREC_CRITIC_ECP",""],["IPTOS_PREC_FLASH",""],["IPTOS_PREC_FLASHOVERRIDE",""],["IPTOS_PREC_IMMEDIATE",""],["IPTOS_PREC_INTERNETCONTROL",""],["IPTOS_PREC_MASK",""],["IPTOS_PREC_NETCONTROL",""],["IPTOS_PREC_PRIORITY",""],["IPTOS_PREC_ROUTINE",""],["IPTOS_RELIABILITY",""],["IPTOS_THROUGHPUT",""],["IPTOS_TOS_MASK",""],["IPV6_2292DSTOPTS",""],["IPV6_2292HOPLIMIT",""],["IPV6_2292HOPOPTS",""],["IPV6_2292PKTINFO",""],["IPV6_2292PKTOPTIONS",""],["IPV6_2292RTHDR",""],["IPV6_ADDRFORM",""],["IPV6_ADDR_PREFERENCES",""],["IPV6_ADD_MEMBERSHIP",""],["IPV6_AUTHHDR",""],["IPV6_AUTOFLOWLABEL",""],["IPV6_CHECKSUM",""],["IPV6_DONTFRAG",""],["IPV6_DROP_MEMBERSHIP",""],["IPV6_DSTOPTS",""],["IPV6_FLOWINFO",""],["IPV6_FLOWINFO_FLOWLABEL",""],["IPV6_FLOWINFO_PRIORITY",""],["IPV6_FLOWINFO_SEND",""],["IPV6_FLOWLABEL_MGR",""],["IPV6_FREEBIND",""],["IPV6_HDRINCL",""],["IPV6_HOPLIMIT",""],["IPV6_HOPOPTS",""],["IPV6_IPSEC_POLICY",""],["IPV6_JOIN_ANYCAST",""],["IPV6_LEAVE_ANYCAST",""],["IPV6_MINHOPCOUNT",""],["IPV6_MTU",""],["IPV6_MTU_DISCOVER",""],["IPV6_MULTICAST_ALL",""],["IPV6_MULTICAST_HOPS",""],["IPV6_MULTICAST_IF",""],["IPV6_MULTICAST_LOOP",""],["IPV6_NEXTHOP",""],["IPV6_ORIGDSTADDR",""],["IPV6_PATHMTU",""],["IPV6_PKTINFO",""],["IPV6_PMTUDISC_DO",""],["IPV6_PMTUDISC_DONT",""],["IPV6_PMTUDISC_INTERFACE",""],["IPV6_PMTUDISC_OMIT",""],["IPV6_PMTUDISC_PROBE",""],["IPV6_PMTUDISC_WANT",""],["IPV6_PREFER_SRC_CGA",""],["IPV6_PREFER_SRC_COA",""],["IPV6_PREFER_SRC_HOME",""],["IPV6_PREFER_SRC_NONCGA",""],["IPV6_PREFER_SRC_PUBLIC",""],["IPV6_PREFER_SRC_PUBTMP_DEFAULT",""],["IPV6_PREFER_SRC_TMP",""],["IPV6_RECVDSTOPTS",""],["IPV6_RECVERR",""],["IPV6_RECVFRAGSIZE",""],["IPV6_RECVHOPLIMIT",""],["IPV6_RECVHOPOPTS",""],["IPV6_RECVORIGDSTADDR",""],["IPV6_RECVPATHMTU",""],["IPV6_RECVPKTINFO",""],["IPV6_RECVRTHDR",""],["IPV6_RECVTCLASS",""],["IPV6_ROUTER_ALERT",""],["IPV6_ROUTER_ALERT_ISOLATE",""],["IPV6_RTHDR",""],["IPV6_RTHDRDSTOPTS",""],["IPV6_RTHDR_LOOSE",""],["IPV6_RTHDR_STRICT",""],["IPV6_TCLASS",""],["IPV6_TRANSPARENT",""],["IPV6_UNICAST_HOPS",""],["IPV6_UNICAST_IF",""],["IPV6_V6ONLY",""],["IPV6_XFRM_POLICY",""],["IPVERSION",""],["IP_ADD_MEMBERSHIP",""],["IP_ADD_SOURCE_MEMBERSHIP",""],["IP_BIND_ADDRESS_NO_PORT",""],["IP_BLOCK_SOURCE",""],["IP_CHECKSUM",""],["IP_DEFAULT_MULTICAST_LOOP",""],["IP_DEFAULT_MULTICAST_TTL",""],["IP_DROP_MEMBERSHIP",""],["IP_DROP_SOURCE_MEMBERSHIP",""],["IP_FREEBIND",""],["IP_HDRINCL",""],["IP_IPSEC_POLICY",""],["IP_MINTTL",""],["IP_MSFILTER",""],["IP_MTU",""],["IP_MTU_DISCOVER",""],["IP_MULTICAST_ALL",""],["IP_MULTICAST_IF",""],["IP_MULTICAST_LOOP",""],["IP_MULTICAST_TTL",""],["IP_NODEFRAG",""],["IP_OPTIONS",""],["IP_ORIGDSTADDR",""],["IP_PASSSEC",""],["IP_PKTINFO",""],["IP_PKTOPTIONS",""],["IP_PMTUDISC_DO",""],["IP_PMTUDISC_DONT",""],["IP_PMTUDISC_INTERFACE",""],["IP_PMTUDISC_OMIT",""],["IP_PMTUDISC_PROBE",""],["IP_PMTUDISC_WANT",""],["IP_RECVERR",""],["IP_RECVFRAGSIZE",""],["IP_RECVOPTS",""],["IP_RECVORIGDSTADDR",""],["IP_RECVTOS",""],["IP_RECVTTL",""],["IP_RETOPTS",""],["IP_ROUTER_ALERT",""],["IP_TOS",""],["IP_TRANSPARENT",""],["IP_TTL",""],["IP_UNBLOCK_SOURCE",""],["IP_UNICAST_IF",""],["IP_XFRM_POLICY",""],["ISIG",""],["ISOFS_SUPER_MAGIC",""],["ISTRIP",""],["ITIMER_PROF",""],["ITIMER_REAL",""],["ITIMER_VIRTUAL",""],["IUTF8",""],["IXANY",""],["IXOFF",""],["IXON",""],["J1939_EE_INFO_NONE",""],["J1939_EE_INFO_RX_ABORT",""],["J1939_EE_INFO_RX_DPO",""],["J1939_EE_INFO_RX_RTS",""],["J1939_EE_INFO_TX_ABORT",""],["J1939_FILTER_MAX",""],["J1939_IDLE_ADDR",""],["J1939_MAX_UNICAST_ADDR",""],["J1939_NLA_BYTES_ACKED",""],["J1939_NLA_DEST_ADDR",""],["J1939_NLA_DEST_NAME",""],["J1939_NLA_PAD",""],["J1939_NLA_PGN",""],["J1939_NLA_SRC_ADDR",""],["J1939_NLA_SRC_NAME",""],["J1939_NLA_TOTAL_SIZE",""],["J1939_NO_ADDR",""],["J1939_NO_NAME",""],["J1939_NO_PGN",""],["J1939_PGN_ADDRESS_CLAIMED",""],["J1939_PGN_ADDRESS_COMMANDED",""],["J1939_PGN_MAX",""],["J1939_PGN_PDU1_MAX",""],["J1939_PGN_REQUEST",""],["JFFS2_SUPER_MAGIC",""],["KEYCTL_ASSUME_AUTHORITY",""],["KEYCTL_CAPABILITIES",""],["KEYCTL_CAPS0_BIG_KEY",""],["KEYCTL_CAPS0_CAPABILITIES",""],["KEYCTL_CAPS0_DIFFIE_HELLMAN",""],["KEYCTL_CAPS0_INVALIDATE",""],["KEYCTL_CAPS0_MOVE",""],["KEYCTL_CAPS0_PERSISTENT_KEYRINGS",""],["KEYCTL_CAPS0_PUBLIC_KEY",""],["KEYCTL_CAPS0_RESTRICT_KEYRING",""],["KEYCTL_CAPS1_NS_KEYRING_NAME",""],["KEYCTL_CAPS1_NS_KEY_TAG",""],["KEYCTL_CHOWN",""],["KEYCTL_CLEAR",""],["KEYCTL_DESCRIBE",""],["KEYCTL_DH_COMPUTE",""],["KEYCTL_GET_KEYRING_ID",""],["KEYCTL_GET_PERSISTENT",""],["KEYCTL_GET_SECURITY",""],["KEYCTL_INSTANTIATE",""],["KEYCTL_INSTANTIATE_IOV",""],["KEYCTL_INVALIDATE",""],["KEYCTL_JOIN_SESSION_KEYRING",""],["KEYCTL_LINK",""],["KEYCTL_MOVE",""],["KEYCTL_NEGATE",""],["KEYCTL_PKEY_DECRYPT",""],["KEYCTL_PKEY_ENCRYPT",""],["KEYCTL_PKEY_QUERY",""],["KEYCTL_PKEY_SIGN",""],["KEYCTL_PKEY_VERIFY",""],["KEYCTL_READ",""],["KEYCTL_REJECT",""],["KEYCTL_RESTRICT_KEYRING",""],["KEYCTL_REVOKE",""],["KEYCTL_SEARCH",""],["KEYCTL_SESSION_TO_PARENT",""],["KEYCTL_SETPERM",""],["KEYCTL_SET_REQKEY_KEYRING",""],["KEYCTL_SET_TIMEOUT",""],["KEYCTL_SUPPORTS_DECRYPT",""],["KEYCTL_SUPPORTS_ENCRYPT",""],["KEYCTL_SUPPORTS_SIGN",""],["KEYCTL_SUPPORTS_VERIFY",""],["KEYCTL_UNLINK",""],["KEYCTL_UPDATE",""],["KEY_CNT",""],["KEY_MAX",""],["KEY_REQKEY_DEFL_DEFAULT",""],["KEY_REQKEY_DEFL_GROUP_KEYRING",""],["KEY_REQKEY_DEFL_NO_CHANGE",""],["KEY_REQKEY_DEFL_PROCESS_KEYRING",""],["KEY_REQKEY_DEFL_REQUESTOR_KEYRING",""],["KEY_REQKEY_DEFL_SESSION_KEYRING",""],["KEY_REQKEY_DEFL_THREAD_KEYRING",""],["KEY_REQKEY_DEFL_USER_KEYRING",""],["KEY_REQKEY_DEFL_USER_SESSION_KEYRING",""],["KEY_SPEC_GROUP_KEYRING",""],["KEY_SPEC_PROCESS_KEYRING",""],["KEY_SPEC_REQKEY_AUTH_KEY",""],["KEY_SPEC_REQUESTOR_KEYRING",""],["KEY_SPEC_SESSION_KEYRING",""],["KEY_SPEC_THREAD_KEYRING",""],["KEY_SPEC_USER_KEYRING",""],["KEY_SPEC_USER_SESSION_KEYRING",""],["LC_ADDRESS",""],["LC_ADDRESS_MASK",""],["LC_ALL",""],["LC_ALL_MASK",""],["LC_COLLATE",""],["LC_COLLATE_MASK",""],["LC_CTYPE",""],["LC_CTYPE_MASK",""],["LC_IDENTIFICATION",""],["LC_IDENTIFICATION_MASK",""],["LC_MEASUREMENT",""],["LC_MEASUREMENT_MASK",""],["LC_MESSAGES",""],["LC_MESSAGES_MASK",""],["LC_MONETARY",""],["LC_MONETARY_MASK",""],["LC_NAME",""],["LC_NAME_MASK",""],["LC_NUMERIC",""],["LC_NUMERIC_MASK",""],["LC_PAPER",""],["LC_PAPER_MASK",""],["LC_TELEPHONE",""],["LC_TELEPHONE_MASK",""],["LC_TIME",""],["LC_TIME_MASK",""],["LED_CNT",""],["LED_MAX",""],["LINUX_REBOOT_CMD_CAD_OFF",""],["LINUX_REBOOT_CMD_CAD_ON",""],["LINUX_REBOOT_CMD_HALT",""],["LINUX_REBOOT_CMD_KEXEC",""],["LINUX_REBOOT_CMD_POWER_OFF",""],["LINUX_REBOOT_CMD_RESTART",""],["LINUX_REBOOT_CMD_RESTART2",""],["LINUX_REBOOT_CMD_SW_SUSPEND",""],["LINUX_REBOOT_MAGIC1",""],["LINUX_REBOOT_MAGIC2",""],["LINUX_REBOOT_MAGIC2A",""],["LINUX_REBOOT_MAGIC2B",""],["LINUX_REBOOT_MAGIC2C",""],["LIO_NOP",""],["LIO_NOWAIT",""],["LIO_READ",""],["LIO_WAIT",""],["LIO_WRITE",""],["LM_ID_BASE",""],["LM_ID_NEWLM",""],["LOCK_EX",""],["LOCK_NB",""],["LOCK_SH",""],["LOCK_UN",""],["LOGIN_PROCESS",""],["LOG_ALERT",""],["LOG_AUTH",""],["LOG_AUTHPRIV",""],["LOG_CONS",""],["LOG_CRIT",""],["LOG_CRON",""],["LOG_DAEMON",""],["LOG_DEBUG",""],["LOG_EMERG",""],["LOG_ERR",""],["LOG_FACMASK",""],["LOG_FTP",""],["LOG_INFO",""],["LOG_KERN",""],["LOG_LOCAL0",""],["LOG_LOCAL1",""],["LOG_LOCAL2",""],["LOG_LOCAL3",""],["LOG_LOCAL4",""],["LOG_LOCAL5",""],["LOG_LOCAL6",""],["LOG_LOCAL7",""],["LOG_LPR",""],["LOG_MAIL",""],["LOG_NDELAY",""],["LOG_NEWS",""],["LOG_NFACILITIES",""],["LOG_NOTICE",""],["LOG_NOWAIT",""],["LOG_ODELAY",""],["LOG_PERROR",""],["LOG_PID",""],["LOG_PRIMASK",""],["LOG_SYSLOG",""],["LOG_USER",""],["LOG_UUCP",""],["LOG_WARNING",""],["L_tmpnam",""],["MADV_DODUMP",""],["MADV_DOFORK",""],["MADV_DONTDUMP",""],["MADV_DONTFORK",""],["MADV_DONTNEED",""],["MADV_FREE",""],["MADV_HUGEPAGE",""],["MADV_HWPOISON",""],["MADV_MERGEABLE",""],["MADV_NOHUGEPAGE",""],["MADV_NORMAL",""],["MADV_RANDOM",""],["MADV_REMOVE",""],["MADV_SEQUENTIAL",""],["MADV_SOFT_OFFLINE",""],["MADV_UNMERGEABLE",""],["MADV_WILLNEED",""],["MAP_32BIT",""],["MAP_ANON",""],["MAP_ANONYMOUS",""],["MAP_DENYWRITE",""],["MAP_EXECUTABLE",""],["MAP_FAILED",""],["MAP_FILE",""],["MAP_FIXED",""],["MAP_FIXED_NOREPLACE",""],["MAP_GROWSDOWN",""],["MAP_HUGETLB",""],["MAP_HUGE_16GB",""],["MAP_HUGE_16MB",""],["MAP_HUGE_1GB",""],["MAP_HUGE_1MB",""],["MAP_HUGE_256MB",""],["MAP_HUGE_2GB",""],["MAP_HUGE_2MB",""],["MAP_HUGE_32MB",""],["MAP_HUGE_512KB",""],["MAP_HUGE_512MB",""],["MAP_HUGE_64KB",""],["MAP_HUGE_8MB",""],["MAP_HUGE_MASK",""],["MAP_HUGE_SHIFT",""],["MAP_LOCKED",""],["MAP_NONBLOCK",""],["MAP_NORESERVE",""],["MAP_POPULATE",""],["MAP_PRIVATE",""],["MAP_SHARED",""],["MAP_SHARED_VALIDATE",""],["MAP_STACK",""],["MAP_SYNC",""],["MAP_TYPE",""],["MAXTC",""],["MAXTTL",""],["MAX_ADDR_LEN",""],["MAX_IPOPTLEN",""],["MAX_LINKS",""],["MCAST_BLOCK_SOURCE",""],["MCAST_EXCLUDE",""],["MCAST_INCLUDE",""],["MCAST_JOIN_GROUP",""],["MCAST_JOIN_SOURCE_GROUP",""],["MCAST_LEAVE_GROUP",""],["MCAST_LEAVE_SOURCE_GROUP",""],["MCAST_MSFILTER",""],["MCAST_UNBLOCK_SOURCE",""],["MCL_CURRENT",""],["MCL_FUTURE",""],["MFD_ALLOW_SEALING",""],["MFD_CLOEXEC",""],["MFD_HUGETLB",""],["MFD_HUGE_16GB",""],["MFD_HUGE_16MB",""],["MFD_HUGE_1GB",""],["MFD_HUGE_1MB",""],["MFD_HUGE_256MB",""],["MFD_HUGE_2GB",""],["MFD_HUGE_2MB",""],["MFD_HUGE_32MB",""],["MFD_HUGE_512KB",""],["MFD_HUGE_512MB",""],["MFD_HUGE_64KB",""],["MFD_HUGE_8MB",""],["MFD_HUGE_MASK",""],["MFD_HUGE_SHIFT",""],["MINIX2_SUPER_MAGIC",""],["MINIX2_SUPER_MAGIC2",""],["MINIX3_SUPER_MAGIC",""],["MINIX_SUPER_MAGIC",""],["MINIX_SUPER_MAGIC2",""],["MINSIGSTKSZ",""],["MLOCK_ONFAULT",""],["MMAP_PAGE_ZERO",""],["MNT_DETACH",""],["MNT_EXPIRE",""],["MNT_FORCE",""],["MODULE_INIT_IGNORE_MODVERSIONS",""],["MODULE_INIT_IGNORE_VERMAGIC",""],["MOD_CLKA",""],["MOD_CLKB",""],["MOD_ESTERROR",""],["MOD_FREQUENCY",""],["MOD_MAXERROR",""],["MOD_MICRO",""],["MOD_NANO",""],["MOD_OFFSET",""],["MOD_STATUS",""],["MOD_TAI",""],["MOD_TIMECONST",""],["MON_1",""],["MON_10",""],["MON_11",""],["MON_12",""],["MON_2",""],["MON_3",""],["MON_4",""],["MON_5",""],["MON_6",""],["MON_7",""],["MON_8",""],["MON_9",""],["MPOL_BIND",""],["MPOL_DEFAULT",""],["MPOL_F_NUMA_BALANCING",""],["MPOL_F_RELATIVE_NODES",""],["MPOL_F_STATIC_NODES",""],["MPOL_INTERLEAVE",""],["MPOL_LOCAL",""],["MPOL_PREFERRED",""],["MREMAP_DONTUNMAP",""],["MREMAP_FIXED",""],["MREMAP_MAYMOVE",""],["MSC_CNT",""],["MSC_MAX",""],["MSDOS_SUPER_MAGIC",""],["MSG_CMSG_CLOEXEC",""],["MSG_CONFIRM",""],["MSG_COPY",""],["MSG_CTRUNC",""],["MSG_DONTROUTE",""],["MSG_DONTWAIT",""],["MSG_EOR",""],["MSG_ERRQUEUE",""],["MSG_EXCEPT",""],["MSG_FASTOPEN",""],["MSG_FIN",""],["MSG_INFO",""],["MSG_MORE",""],["MSG_NOERROR",""],["MSG_NOSIGNAL",""],["MSG_OOB",""],["MSG_PEEK",""],["MSG_RST",""],["MSG_STAT",""],["MSG_SYN",""],["MSG_TRUNC",""],["MSG_TRYHARD",""],["MSG_WAITALL",""],["MSG_WAITFORONE",""],["MSG_ZEROCOPY",""],["MS_ACTIVE",""],["MS_ASYNC",""],["MS_BIND",""],["MS_DIRSYNC",""],["MS_INVALIDATE",""],["MS_I_VERSION",""],["MS_KERNMOUNT",""],["MS_LAZYTIME",""],["MS_MANDLOCK",""],["MS_MGC_MSK",""],["MS_MGC_VAL",""],["MS_MOVE",""],["MS_NOATIME",""],["MS_NODEV",""],["MS_NODIRATIME",""],["MS_NOEXEC",""],["MS_NOSUID",""],["MS_NOUSER",""],["MS_POSIXACL",""],["MS_PRIVATE",""],["MS_RDONLY",""],["MS_REC",""],["MS_RELATIME",""],["MS_REMOUNT",""],["MS_RMT_MASK",""],["MS_SHARED",""],["MS_SILENT",""],["MS_SLAVE",""],["MS_STRICTATIME",""],["MS_SYNC",""],["MS_SYNCHRONOUS",""],["MS_UNBINDABLE",""],["M_ARENA_MAX",""],["M_ARENA_TEST",""],["M_CHECK_ACTION",""],["M_GRAIN",""],["M_KEEP",""],["M_MMAP_MAX",""],["M_MMAP_THRESHOLD",""],["M_MXFAST",""],["M_NLBLKS",""],["M_PERTURB",""],["M_TOP_PAD",""],["M_TRIM_THRESHOLD",""],["NCCS",""],["NCP_SUPER_MAGIC",""],["NDA_CACHEINFO",""],["NDA_DST",""],["NDA_IFINDEX",""],["NDA_LINK_NETNSID",""],["NDA_LLADDR",""],["NDA_MASTER",""],["NDA_PORT",""],["NDA_PROBES",""],["NDA_SRC_VNI",""],["NDA_UNSPEC",""],["NDA_VLAN",""],["NDA_VNI",""],["NETLINK_ADD_MEMBERSHIP",""],["NETLINK_AUDIT",""],["NETLINK_BROADCAST_ERROR",""],["NETLINK_CAP_ACK",""],["NETLINK_CONNECTOR",""],["NETLINK_CRYPTO",""],["NETLINK_DNRTMSG",""],["NETLINK_DROP_MEMBERSHIP",""],["NETLINK_ECRYPTFS",""],["NETLINK_EXT_ACK",""],["NETLINK_FIB_LOOKUP",""],["NETLINK_FIREWALL",""],["NETLINK_GENERIC",""],["NETLINK_GET_STRICT_CHK",""],["NETLINK_INET_DIAG",""],["NETLINK_IP6_FW",""],["NETLINK_ISCSI",""],["NETLINK_KOBJECT_UEVENT",""],["NETLINK_LISTEN_ALL_NSID",""],["NETLINK_LIST_MEMBERSHIPS",""],["NETLINK_NETFILTER",""],["NETLINK_NFLOG",""],["NETLINK_NO_ENOBUFS",""],["NETLINK_PKTINFO",""],["NETLINK_RDMA",""],["NETLINK_ROUTE",""],["NETLINK_RX_RING",""],["NETLINK_SCSITRANSPORT",""],["NETLINK_SELINUX",""],["NETLINK_SOCK_DIAG",""],["NETLINK_TX_RING",""],["NETLINK_UNUSED",""],["NETLINK_USERSOCK",""],["NETLINK_XFRM",""],["NEW_TIME",""],["NFNETLINK_V0",""],["NFNLGRP_ACCT_QUOTA",""],["NFNLGRP_CONNTRACK_DESTROY",""],["NFNLGRP_CONNTRACK_EXP_DESTROY",""],["NFNLGRP_CONNTRACK_EXP_NEW",""],["NFNLGRP_CONNTRACK_EXP_UPDATE",""],["NFNLGRP_CONNTRACK_NEW",""],["NFNLGRP_CONNTRACK_UPDATE",""],["NFNLGRP_NFTABLES",""],["NFNLGRP_NFTRACE",""],["NFNLGRP_NONE",""],["NFNL_BATCH_GENID",""],["NFNL_BATCH_UNSPEC",""],["NFNL_MSG_BATCH_BEGIN",""],["NFNL_MSG_BATCH_END",""],["NFNL_SUBSYS_ACCT",""],["NFNL_SUBSYS_COUNT",""],["NFNL_SUBSYS_CTHELPER",""],["NFNL_SUBSYS_CTNETLINK",""],["NFNL_SUBSYS_CTNETLINK_EXP",""],["NFNL_SUBSYS_CTNETLINK_TIMEOUT",""],["NFNL_SUBSYS_HOOK",""],["NFNL_SUBSYS_IPSET",""],["NFNL_SUBSYS_NFTABLES",""],["NFNL_SUBSYS_NFT_COMPAT",""],["NFNL_SUBSYS_NONE",""],["NFNL_SUBSYS_OSF",""],["NFNL_SUBSYS_QUEUE",""],["NFNL_SUBSYS_ULOG",""],["NFPROTO_ARP",""],["NFPROTO_BRIDGE",""],["NFPROTO_DECNET",""],["NFPROTO_INET",""],["NFPROTO_IPV4",""],["NFPROTO_IPV6",""],["NFPROTO_NETDEV",""],["NFPROTO_NUMPROTO",""],["NFPROTO_UNSPEC",""],["NFQA_CAP_LEN",""],["NFQA_CFG_CMD",""],["NFQA_CFG_FLAGS",""],["NFQA_CFG_F_CONNTRACK",""],["NFQA_CFG_F_FAIL_OPEN",""],["NFQA_CFG_F_GSO",""],["NFQA_CFG_F_MAX",""],["NFQA_CFG_F_SECCTX",""],["NFQA_CFG_F_UID_GID",""],["NFQA_CFG_MASK",""],["NFQA_CFG_PARAMS",""],["NFQA_CFG_QUEUE_MAXLEN",""],["NFQA_CFG_UNSPEC",""],["NFQA_CT",""],["NFQA_CT_INFO",""],["NFQA_EXP",""],["NFQA_GID",""],["NFQA_HWADDR",""],["NFQA_IFINDEX_INDEV",""],["NFQA_IFINDEX_OUTDEV",""],["NFQA_IFINDEX_PHYSINDEV",""],["NFQA_IFINDEX_PHYSOUTDEV",""],["NFQA_L2HDR",""],["NFQA_MARK",""],["NFQA_PACKET_HDR",""],["NFQA_PAYLOAD",""],["NFQA_PRIORITY",""],["NFQA_SECCTX",""],["NFQA_SKB_CSUMNOTREADY",""],["NFQA_SKB_CSUM_NOTVERIFIED",""],["NFQA_SKB_GSO",""],["NFQA_SKB_INFO",""],["NFQA_TIMESTAMP",""],["NFQA_UID",""],["NFQA_UNSPEC",""],["NFQA_VERDICT_HDR",""],["NFQA_VLAN",""],["NFQA_VLAN_PROTO",""],["NFQA_VLAN_TCI",""],["NFQA_VLAN_UNSPEC",""],["NFQNL_CFG_CMD_BIND",""],["NFQNL_CFG_CMD_NONE",""],["NFQNL_CFG_CMD_PF_BIND",""],["NFQNL_CFG_CMD_PF_UNBIND",""],["NFQNL_CFG_CMD_UNBIND",""],["NFQNL_COPY_META",""],["NFQNL_COPY_NONE",""],["NFQNL_COPY_PACKET",""],["NFQNL_MSG_CONFIG",""],["NFQNL_MSG_PACKET",""],["NFQNL_MSG_VERDICT",""],["NFQNL_MSG_VERDICT_BATCH",""],["NFS_SUPER_MAGIC",""],["NFT_BREAK",""],["NFT_BYTEORDER_HTON",""],["NFT_BYTEORDER_NTOH",""],["NFT_CHAIN_MAXNAMELEN",""],["NFT_CMP_EQ",""],["NFT_CMP_GT",""],["NFT_CMP_GTE",""],["NFT_CMP_LT",""],["NFT_CMP_LTE",""],["NFT_CMP_NEQ",""],["NFT_CONTINUE",""],["NFT_CT_BYTES",""],["NFT_CT_DIRECTION",""],["NFT_CT_DST",""],["NFT_CT_EXPIRATION",""],["NFT_CT_HELPER",""],["NFT_CT_L3PROTOCOL",""],["NFT_CT_LABELS",""],["NFT_CT_MARK",""],["NFT_CT_PKTS",""],["NFT_CT_PROTOCOL",""],["NFT_CT_PROTO_DST",""],["NFT_CT_PROTO_SRC",""],["NFT_CT_SECMARK",""],["NFT_CT_SRC",""],["NFT_CT_STATE",""],["NFT_CT_STATUS",""],["NFT_DATA_RESERVED_MASK",""],["NFT_DATA_VALUE",""],["NFT_DATA_VALUE_MAXLEN",""],["NFT_DATA_VERDICT",""],["NFT_DYNSET_F_INV",""],["NFT_DYNSET_OP_ADD",""],["NFT_DYNSET_OP_UPDATE",""],["NFT_GOTO",""],["NFT_JUMP",""],["NFT_LIMIT_F_INV",""],["NFT_LIMIT_PKTS",""],["NFT_LIMIT_PKT_BYTES",""],["NFT_LOOKUP_F_INV",""],["NFT_META_BRI_IIFNAME",""],["NFT_META_BRI_OIFNAME",""],["NFT_META_CGROUP",""],["NFT_META_CPU",""],["NFT_META_IIF",""],["NFT_META_IIFGROUP",""],["NFT_META_IIFNAME",""],["NFT_META_IIFTYPE",""],["NFT_META_L4PROTO",""],["NFT_META_LEN",""],["NFT_META_MARK",""],["NFT_META_NFPROTO",""],["NFT_META_NFTRACE",""],["NFT_META_OIF",""],["NFT_META_OIFGROUP",""],["NFT_META_OIFNAME",""],["NFT_META_OIFTYPE",""],["NFT_META_PKTTYPE",""],["NFT_META_PRANDOM",""],["NFT_META_PRIORITY",""],["NFT_META_PROTOCOL",""],["NFT_META_RTCLASSID",""],["NFT_META_SECMARK",""],["NFT_META_SKGID",""],["NFT_META_SKUID",""],["NFT_MSG_DELCHAIN",""],["NFT_MSG_DELOBJ",""],["NFT_MSG_DELRULE",""],["NFT_MSG_DELSET",""],["NFT_MSG_DELSETELEM",""],["NFT_MSG_DELTABLE",""],["NFT_MSG_GETCHAIN",""],["NFT_MSG_GETGEN",""],["NFT_MSG_GETOBJ",""],["NFT_MSG_GETOBJ_RESET",""],["NFT_MSG_GETRULE",""],["NFT_MSG_GETSET",""],["NFT_MSG_GETSETELEM",""],["NFT_MSG_GETTABLE",""],["NFT_MSG_MAX",""],["NFT_MSG_NEWCHAIN",""],["NFT_MSG_NEWGEN",""],["NFT_MSG_NEWOBJ",""],["NFT_MSG_NEWRULE",""],["NFT_MSG_NEWSET",""],["NFT_MSG_NEWSETELEM",""],["NFT_MSG_NEWTABLE",""],["NFT_MSG_TRACE",""],["NFT_NAT_DNAT",""],["NFT_NAT_SNAT",""],["NFT_NG_INCREMENTAL",""],["NFT_NG_RANDOM",""],["NFT_OBJ_MAXNAMELEN",""],["NFT_PAYLOAD_CSUM_INET",""],["NFT_PAYLOAD_CSUM_NONE",""],["NFT_PAYLOAD_LL_HEADER",""],["NFT_PAYLOAD_NETWORK_HEADER",""],["NFT_PAYLOAD_TRANSPORT_HEADER",""],["NFT_QUEUE_FLAG_BYPASS",""],["NFT_QUEUE_FLAG_CPU_FANOUT",""],["NFT_QUEUE_FLAG_MASK",""],["NFT_QUOTA_F_INV",""],["NFT_RANGE_EQ",""],["NFT_RANGE_NEQ",""],["NFT_REG32_00",""],["NFT_REG32_01",""],["NFT_REG32_02",""],["NFT_REG32_03",""],["NFT_REG32_04",""],["NFT_REG32_05",""],["NFT_REG32_06",""],["NFT_REG32_07",""],["NFT_REG32_08",""],["NFT_REG32_09",""],["NFT_REG32_10",""],["NFT_REG32_11",""],["NFT_REG32_12",""],["NFT_REG32_13",""],["NFT_REG32_14",""],["NFT_REG32_15",""],["NFT_REG32_SIZE",""],["NFT_REG_1",""],["NFT_REG_2",""],["NFT_REG_3",""],["NFT_REG_4",""],["NFT_REG_SIZE",""],["NFT_REG_VERDICT",""],["NFT_REJECT_ICMPX_ADMIN_PROHIBITED",""],["NFT_REJECT_ICMPX_HOST_UNREACH",""],["NFT_REJECT_ICMPX_NO_ROUTE",""],["NFT_REJECT_ICMPX_PORT_UNREACH",""],["NFT_REJECT_ICMPX_UNREACH",""],["NFT_REJECT_ICMP_UNREACH",""],["NFT_REJECT_TCP_RST",""],["NFT_RETURN",""],["NFT_SET_ANONYMOUS",""],["NFT_SET_CONSTANT",""],["NFT_SET_ELEM_INTERVAL_END",""],["NFT_SET_EVAL",""],["NFT_SET_INTERVAL",""],["NFT_SET_MAP",""],["NFT_SET_MAXNAMELEN",""],["NFT_SET_POL_MEMORY",""],["NFT_SET_POL_PERFORMANCE",""],["NFT_SET_TIMEOUT",""],["NFT_TABLE_MAXNAMELEN",""],["NFT_TRACETYPE_POLICY",""],["NFT_TRACETYPE_RETURN",""],["NFT_TRACETYPE_RULE",""],["NFT_TRACETYPE_UNSPEC",""],["NFT_USERDATA_MAXLEN",""],["NFULA_CFG_CMD",""],["NFULA_CFG_FLAGS",""],["NFULA_CFG_MODE",""],["NFULA_CFG_NLBUFSIZ",""],["NFULA_CFG_QTHRESH",""],["NFULA_CFG_TIMEOUT",""],["NFULA_CFG_UNSPEC",""],["NFULA_CT",""],["NFULA_CT_INFO",""],["NFULA_GID",""],["NFULA_HWADDR",""],["NFULA_HWHEADER",""],["NFULA_HWLEN",""],["NFULA_HWTYPE",""],["NFULA_IFINDEX_INDEV",""],["NFULA_IFINDEX_OUTDEV",""],["NFULA_IFINDEX_PHYSINDEV",""],["NFULA_IFINDEX_PHYSOUTDEV",""],["NFULA_L2HDR",""],["NFULA_MARK",""],["NFULA_PACKET_HDR",""],["NFULA_PAYLOAD",""],["NFULA_PREFIX",""],["NFULA_SEQ",""],["NFULA_SEQ_GLOBAL",""],["NFULA_TIMESTAMP",""],["NFULA_UID",""],["NFULA_UNSPEC",""],["NFULA_VLAN",""],["NFULA_VLAN_PROTO",""],["NFULA_VLAN_TCI",""],["NFULA_VLAN_UNSPEC",""],["NFULNL_CFG_CMD_BIND",""],["NFULNL_CFG_CMD_NONE",""],["NFULNL_CFG_CMD_PF_BIND",""],["NFULNL_CFG_CMD_PF_UNBIND",""],["NFULNL_CFG_CMD_UNBIND",""],["NFULNL_CFG_F_CONNTRACK",""],["NFULNL_CFG_F_SEQ",""],["NFULNL_CFG_F_SEQ_GLOBAL",""],["NFULNL_COPY_META",""],["NFULNL_COPY_NONE",""],["NFULNL_COPY_PACKET",""],["NFULNL_MSG_CONFIG",""],["NFULNL_MSG_PACKET",""],["NF_ACCEPT",""],["NF_DROP",""],["NF_INET_FORWARD",""],["NF_INET_LOCAL_IN",""],["NF_INET_LOCAL_OUT",""],["NF_INET_NUMHOOKS",""],["NF_INET_POST_ROUTING",""],["NF_INET_PRE_ROUTING",""],["NF_IP6_FORWARD",""],["NF_IP6_LOCAL_IN",""],["NF_IP6_LOCAL_OUT",""],["NF_IP6_NUMHOOKS",""],["NF_IP6_POST_ROUTING",""],["NF_IP6_PRE_ROUTING",""],["NF_IP6_PRI_CONNTRACK",""],["NF_IP6_PRI_CONNTRACK_DEFRAG",""],["NF_IP6_PRI_CONNTRACK_HELPER",""],["NF_IP6_PRI_FILTER",""],["NF_IP6_PRI_FIRST",""],["NF_IP6_PRI_LAST",""],["NF_IP6_PRI_MANGLE",""],["NF_IP6_PRI_NAT_DST",""],["NF_IP6_PRI_NAT_SRC",""],["NF_IP6_PRI_RAW",""],["NF_IP6_PRI_SECURITY",""],["NF_IP6_PRI_SELINUX_FIRST",""],["NF_IP6_PRI_SELINUX_LAST",""],["NF_IP_FORWARD",""],["NF_IP_LOCAL_IN",""],["NF_IP_LOCAL_OUT",""],["NF_IP_NUMHOOKS",""],["NF_IP_POST_ROUTING",""],["NF_IP_PRE_ROUTING",""],["NF_IP_PRI_CONNTRACK",""],["NF_IP_PRI_CONNTRACK_CONFIRM",""],["NF_IP_PRI_CONNTRACK_DEFRAG",""],["NF_IP_PRI_CONNTRACK_HELPER",""],["NF_IP_PRI_FILTER",""],["NF_IP_PRI_FIRST",""],["NF_IP_PRI_LAST",""],["NF_IP_PRI_MANGLE",""],["NF_IP_PRI_NAT_DST",""],["NF_IP_PRI_NAT_SRC",""],["NF_IP_PRI_RAW",""],["NF_IP_PRI_SECURITY",""],["NF_IP_PRI_SELINUX_FIRST",""],["NF_IP_PRI_SELINUX_LAST",""],["NF_MAX_VERDICT",""],["NF_NETDEV_INGRESS",""],["NF_NETDEV_NUMHOOKS",""],["NF_QUEUE",""],["NF_REPEAT",""],["NF_STOLEN",""],["NF_STOP",""],["NF_VERDICT_BITS",""],["NF_VERDICT_FLAG_QUEUE_BYPASS",""],["NF_VERDICT_MASK",""],["NF_VERDICT_QBITS",""],["NF_VERDICT_QMASK",""],["NILFS_SUPER_MAGIC",""],["NI_DGRAM",""],["NI_MAXHOST",""],["NI_NAMEREQD",""],["NI_NOFQDN",""],["NI_NUMERICHOST",""],["NI_NUMERICSERV",""],["NL0",""],["NL1",""],["NLA_ALIGNTO",""],["NLA_F_NESTED",""],["NLA_F_NET_BYTEORDER",""],["NLA_TYPE_MASK",""],["NLDLY",""],["NLMSG_DONE",""],["NLMSG_ERROR",""],["NLMSG_MIN_TYPE",""],["NLMSG_NOOP",""],["NLMSG_OVERRUN",""],["NLM_F_ACK",""],["NLM_F_APPEND",""],["NLM_F_ATOMIC",""],["NLM_F_CREATE",""],["NLM_F_DUMP",""],["NLM_F_DUMP_FILTERED",""],["NLM_F_DUMP_INTR",""],["NLM_F_ECHO",""],["NLM_F_EXCL",""],["NLM_F_MATCH",""],["NLM_F_MULTI",""],["NLM_F_REPLACE",""],["NLM_F_REQUEST",""],["NLM_F_ROOT",""],["NOEXPR",""],["NOFLSH",""],["NOSTR",""],["NSFS_MAGIC",""],["NTF_EXT_LEARNED",""],["NTF_MASTER",""],["NTF_OFFLOADED",""],["NTF_PROXY",""],["NTF_ROUTER",""],["NTF_SELF",""],["NTF_USE",""],["NTP_API",""],["NT_ASRS",""],["NT_AUXV",""],["NT_FPREGSET",""],["NT_GWINDOWS",""],["NT_LWPSINFO",""],["NT_LWPSTATUS",""],["NT_PLATFORM",""],["NT_PRCRED",""],["NT_PRFPREG",""],["NT_PRFPXREG",""],["NT_PRPSINFO",""],["NT_PRSTATUS",""],["NT_PRXREG",""],["NT_PSINFO",""],["NT_PSTATUS",""],["NT_TASKSTRUCT",""],["NT_UTSNAME",""],["NUD_DELAY",""],["NUD_FAILED",""],["NUD_INCOMPLETE",""],["NUD_NOARP",""],["NUD_NONE",""],["NUD_PERMANENT",""],["NUD_PROBE",""],["NUD_REACHABLE",""],["NUD_STALE",""],["OCFS2_SUPER_MAGIC",""],["OCRNL",""],["OFDEL",""],["OFILL",""],["OLCUC",""],["OLD_TIME",""],["ONLCR",""],["ONLRET",""],["ONOCR",""],["OPENPROM_SUPER_MAGIC",""],["OPOST",""],["ORIG_RAX",""],["OVERLAYFS_SUPER_MAGIC",""],["O_ACCMODE",""],["O_APPEND",""],["O_ASYNC",""],["O_CLOEXEC",""],["O_CREAT",""],["O_DIRECT",""],["O_DIRECTORY",""],["O_DSYNC",""],["O_EXCL",""],["O_FSYNC",""],["O_LARGEFILE",""],["O_NDELAY",""],["O_NOATIME",""],["O_NOCTTY",""],["O_NOFOLLOW",""],["O_NONBLOCK",""],["O_PATH",""],["O_RDONLY",""],["O_RDWR",""],["O_RSYNC",""],["O_SYNC",""],["O_TMPFILE",""],["O_TRUNC",""],["O_WRONLY",""],["PACKET_ADD_MEMBERSHIP",""],["PACKET_DROP_MEMBERSHIP",""],["PACKET_MR_ALLMULTI",""],["PACKET_MR_MULTICAST",""],["PACKET_MR_PROMISC",""],["PACKET_MR_UNICAST",""],["PARENB",""],["PARMRK",""],["PARODD",""],["PATH_MAX",""],["PENDIN",""],["PF_ALG",""],["PF_APPLETALK",""],["PF_ASH",""],["PF_ATMPVC",""],["PF_ATMSVC",""],["PF_AX25",""],["PF_BLUETOOTH",""],["PF_BRIDGE",""],["PF_CAIF",""],["PF_CAN",""],["PF_DECnet",""],["PF_ECONET",""],["PF_IB",""],["PF_IEEE802154",""],["PF_INET",""],["PF_INET6",""],["PF_IPX",""],["PF_IRDA",""],["PF_ISDN",""],["PF_IUCV",""],["PF_KEY",""],["PF_LLC",""],["PF_LOCAL",""],["PF_MASKOS",""],["PF_MASKPROC",""],["PF_MPLS",""],["PF_NETBEUI",""],["PF_NETLINK",""],["PF_NETROM",""],["PF_NFC",""],["PF_PACKET",""],["PF_PHONET",""],["PF_PPPOX",""],["PF_R",""],["PF_RDS",""],["PF_ROSE",""],["PF_ROUTE",""],["PF_RXRPC",""],["PF_SECURITY",""],["PF_SNA",""],["PF_TIPC",""],["PF_UNIX",""],["PF_UNSPEC",""],["PF_VSOCK",""],["PF_W",""],["PF_WANPIPE",""],["PF_X",""],["PF_X25",""],["PF_XDP",""],["PIDFD_NONBLOCK",""],["PIPE_BUF",""],["PM_STR",""],["POLLERR",""],["POLLHUP",""],["POLLIN",""],["POLLNVAL",""],["POLLOUT",""],["POLLPRI",""],["POLLRDBAND",""],["POLLRDHUP",""],["POLLRDNORM",""],["POLLWRBAND",""],["POLLWRNORM",""],["POSIX_FADV_DONTNEED",""],["POSIX_FADV_NOREUSE",""],["POSIX_FADV_NORMAL",""],["POSIX_FADV_RANDOM",""],["POSIX_FADV_SEQUENTIAL",""],["POSIX_FADV_WILLNEED",""],["POSIX_MADV_DONTNEED",""],["POSIX_MADV_NORMAL",""],["POSIX_MADV_RANDOM",""],["POSIX_MADV_SEQUENTIAL",""],["POSIX_MADV_WILLNEED",""],["POSIX_SPAWN_RESETIDS",""],["POSIX_SPAWN_SETPGROUP",""],["POSIX_SPAWN_SETSCHEDPARAM",""],["POSIX_SPAWN_SETSCHEDULER",""],["POSIX_SPAWN_SETSID",""],["POSIX_SPAWN_SETSIGDEF",""],["POSIX_SPAWN_SETSIGMASK",""],["POSIX_SPAWN_USEVFORK",""],["PRIO_MAX",""],["PRIO_MIN",""],["PRIO_PGRP",""],["PRIO_PROCESS",""],["PRIO_USER",""],["PROC_SUPER_MAGIC",""],["PROT_EXEC",""],["PROT_GROWSDOWN",""],["PROT_GROWSUP",""],["PROT_NONE",""],["PROT_READ",""],["PROT_WRITE",""],["PR_CAPBSET_DROP",""],["PR_CAPBSET_READ",""],["PR_CAP_AMBIENT",""],["PR_CAP_AMBIENT_CLEAR_ALL",""],["PR_CAP_AMBIENT_IS_SET",""],["PR_CAP_AMBIENT_LOWER",""],["PR_CAP_AMBIENT_RAISE",""],["PR_ENDIAN_BIG",""],["PR_ENDIAN_LITTLE",""],["PR_ENDIAN_PPC_LITTLE",""],["PR_FPEMU_NOPRINT",""],["PR_FPEMU_SIGFPE",""],["PR_FP_EXC_ASYNC",""],["PR_FP_EXC_DISABLED",""],["PR_FP_EXC_DIV",""],["PR_FP_EXC_INV",""],["PR_FP_EXC_NONRECOV",""],["PR_FP_EXC_OVF",""],["PR_FP_EXC_PRECISE",""],["PR_FP_EXC_RES",""],["PR_FP_EXC_SW_ENABLE",""],["PR_FP_EXC_UND",""],["PR_FP_MODE_FR",""],["PR_FP_MODE_FRE",""],["PR_GET_CHILD_SUBREAPER",""],["PR_GET_DUMPABLE",""],["PR_GET_ENDIAN",""],["PR_GET_FPEMU",""],["PR_GET_FPEXC",""],["PR_GET_FP_MODE",""],["PR_GET_KEEPCAPS",""],["PR_GET_NAME",""],["PR_GET_NO_NEW_PRIVS",""],["PR_GET_PDEATHSIG",""],["PR_GET_SECCOMP",""],["PR_GET_SECUREBITS",""],["PR_GET_SPECULATION_CTRL",""],["PR_GET_THP_DISABLE",""],["PR_GET_TID_ADDRESS",""],["PR_GET_TIMERSLACK",""],["PR_GET_TIMING",""],["PR_GET_TSC",""],["PR_GET_UNALIGN",""],["PR_MCE_KILL",""],["PR_MCE_KILL_CLEAR",""],["PR_MCE_KILL_DEFAULT",""],["PR_MCE_KILL_EARLY",""],["PR_MCE_KILL_GET",""],["PR_MCE_KILL_LATE",""],["PR_MCE_KILL_SET",""],["PR_MPX_DISABLE_MANAGEMENT",""],["PR_MPX_ENABLE_MANAGEMENT",""],["PR_SET_CHILD_SUBREAPER",""],["PR_SET_DUMPABLE",""],["PR_SET_ENDIAN",""],["PR_SET_FPEMU",""],["PR_SET_FPEXC",""],["PR_SET_FP_MODE",""],["PR_SET_KEEPCAPS",""],["PR_SET_MM",""],["PR_SET_MM_ARG_END",""],["PR_SET_MM_ARG_START",""],["PR_SET_MM_AUXV",""],["PR_SET_MM_BRK",""],["PR_SET_MM_END_CODE",""],["PR_SET_MM_END_DATA",""],["PR_SET_MM_ENV_END",""],["PR_SET_MM_ENV_START",""],["PR_SET_MM_EXE_FILE",""],["PR_SET_MM_MAP",""],["PR_SET_MM_MAP_SIZE",""],["PR_SET_MM_START_BRK",""],["PR_SET_MM_START_CODE",""],["PR_SET_MM_START_DATA",""],["PR_SET_MM_START_STACK",""],["PR_SET_NAME",""],["PR_SET_NO_NEW_PRIVS",""],["PR_SET_PDEATHSIG",""],["PR_SET_PTRACER",""],["PR_SET_SECCOMP",""],["PR_SET_SECUREBITS",""],["PR_SET_SPECULATION_CTRL",""],["PR_SET_THP_DISABLE",""],["PR_SET_TIMERSLACK",""],["PR_SET_TIMING",""],["PR_SET_TSC",""],["PR_SET_UNALIGN",""],["PR_SET_VMA",""],["PR_SET_VMA_ANON_NAME",""],["PR_SPEC_DISABLE",""],["PR_SPEC_DISABLE_NOEXEC",""],["PR_SPEC_ENABLE",""],["PR_SPEC_FORCE_DISABLE",""],["PR_SPEC_INDIRECT_BRANCH",""],["PR_SPEC_NOT_AFFECTED",""],["PR_SPEC_PRCTL",""],["PR_SPEC_STORE_BYPASS",""],["PR_TASK_PERF_EVENTS_DISABLE",""],["PR_TASK_PERF_EVENTS_ENABLE",""],["PR_TIMING_STATISTICAL",""],["PR_TIMING_TIMESTAMP",""],["PR_TSC_ENABLE",""],["PR_TSC_SIGSEGV",""],["PR_UNALIGN_NOPRINT",""],["PR_UNALIGN_SIGBUS",""],["PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP",""],["PTHREAD_COND_INITIALIZER",""],["PTHREAD_CREATE_DETACHED",""],["PTHREAD_CREATE_JOINABLE",""],["PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP",""],["PTHREAD_MUTEX_ADAPTIVE_NP",""],["PTHREAD_MUTEX_DEFAULT",""],["PTHREAD_MUTEX_ERRORCHECK",""],["PTHREAD_MUTEX_INITIALIZER",""],["PTHREAD_MUTEX_NORMAL",""],["PTHREAD_MUTEX_RECURSIVE",""],["PTHREAD_MUTEX_ROBUST",""],["PTHREAD_MUTEX_STALLED",""],["PTHREAD_PRIO_INHERIT",""],["PTHREAD_PRIO_NONE",""],["PTHREAD_PRIO_PROTECT",""],["PTHREAD_PROCESS_PRIVATE",""],["PTHREAD_PROCESS_SHARED",""],["PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP",""],["PTHREAD_RWLOCK_INITIALIZER",""],["PTHREAD_STACK_MIN",""],["PTRACE_ATTACH",""],["PTRACE_CONT",""],["PTRACE_DETACH",""],["PTRACE_EVENT_CLONE",""],["PTRACE_EVENT_EXEC",""],["PTRACE_EVENT_EXIT",""],["PTRACE_EVENT_FORK",""],["PTRACE_EVENT_SECCOMP",""],["PTRACE_EVENT_STOP",""],["PTRACE_EVENT_VFORK",""],["PTRACE_EVENT_VFORK_DONE",""],["PTRACE_GETEVENTMSG",""],["PTRACE_GETFPREGS",""],["PTRACE_GETFPXREGS",""],["PTRACE_GETREGS",""],["PTRACE_GETREGSET",""],["PTRACE_GETSIGINFO",""],["PTRACE_GET_RSEQ_CONFIGURATION",""],["PTRACE_GET_SYSCALL_INFO",""],["PTRACE_INTERRUPT",""],["PTRACE_KILL",""],["PTRACE_LISTEN",""],["PTRACE_O_EXITKILL",""],["PTRACE_O_MASK",""],["PTRACE_O_SUSPEND_SECCOMP",""],["PTRACE_O_TRACECLONE",""],["PTRACE_O_TRACEEXEC",""],["PTRACE_O_TRACEEXIT",""],["PTRACE_O_TRACEFORK",""],["PTRACE_O_TRACESECCOMP",""],["PTRACE_O_TRACESYSGOOD",""],["PTRACE_O_TRACEVFORK",""],["PTRACE_O_TRACEVFORKDONE",""],["PTRACE_PEEKDATA",""],["PTRACE_PEEKSIGINFO",""],["PTRACE_PEEKSIGINFO_SHARED",""],["PTRACE_PEEKTEXT",""],["PTRACE_PEEKUSER",""],["PTRACE_POKEDATA",""],["PTRACE_POKETEXT",""],["PTRACE_POKEUSER",""],["PTRACE_SEIZE",""],["PTRACE_SETFPREGS",""],["PTRACE_SETFPXREGS",""],["PTRACE_SETOPTIONS",""],["PTRACE_SETREGS",""],["PTRACE_SETREGSET",""],["PTRACE_SETSIGINFO",""],["PTRACE_SINGLESTEP",""],["PTRACE_SYSCALL",""],["PTRACE_SYSEMU",""],["PTRACE_SYSEMU_SINGLESTEP",""],["PTRACE_TRACEME",""],["PT_DYNAMIC",""],["PT_GNU_EH_FRAME",""],["PT_GNU_RELRO",""],["PT_GNU_STACK",""],["PT_HIOS",""],["PT_HIPROC",""],["PT_HISUNW",""],["PT_INTERP",""],["PT_LOAD",""],["PT_LOOS",""],["PT_LOPROC",""],["PT_LOSUNW",""],["PT_NOTE",""],["PT_NULL",""],["PT_NUM",""],["PT_PHDR",""],["PT_SHLIB",""],["PT_SUNWBSS",""],["PT_SUNWSTACK",""],["PT_TLS",""],["P_ALL",""],["P_PGID",""],["P_PID",""],["P_PIDFD",""],["QFMT_VFS_OLD",""],["QFMT_VFS_V0",""],["QFMT_VFS_V1",""],["QIF_ALL",""],["QIF_BLIMITS",""],["QIF_BTIME",""],["QIF_ILIMITS",""],["QIF_INODES",""],["QIF_ITIME",""],["QIF_LIMITS",""],["QIF_SPACE",""],["QIF_TIMES",""],["QIF_USAGE",""],["QNX4_SUPER_MAGIC",""],["QNX6_SUPER_MAGIC",""],["Q_GETFMT",""],["Q_GETINFO",""],["Q_GETQUOTA",""],["Q_QUOTAOFF",""],["Q_QUOTAON",""],["Q_SETINFO",""],["Q_SETQUOTA",""],["Q_SYNC",""],["R10",""],["R11",""],["R12",""],["R13",""],["R14",""],["R15",""],["R8",""],["R9",""],["RADIXCHAR",""],["RAND_MAX",""],["RAX",""],["RBP",""],["RBX",""],["RB_AUTOBOOT",""],["RB_DISABLE_CAD",""],["RB_ENABLE_CAD",""],["RB_HALT_SYSTEM",""],["RB_KEXEC",""],["RB_POWER_OFF",""],["RB_SW_SUSPEND",""],["RCX",""],["RDI",""],["RDTGROUP_SUPER_MAGIC",""],["RDX",""],["READ_IMPLIES_EXEC",""],["REG_BADBR",""],["REG_BADPAT",""],["REG_BADRPT",""],["REG_CR2",""],["REG_CSGSFS",""],["REG_EBRACE",""],["REG_EBRACK",""],["REG_ECOLLATE",""],["REG_ECTYPE",""],["REG_EEND",""],["REG_EESCAPE",""],["REG_EFL",""],["REG_ENOSYS",""],["REG_EPAREN",""],["REG_ERANGE",""],["REG_ERPAREN",""],["REG_ERR",""],["REG_ESIZE",""],["REG_ESPACE",""],["REG_ESUBREG",""],["REG_EXTENDED",""],["REG_ICASE",""],["REG_NEWLINE",""],["REG_NOMATCH",""],["REG_NOSUB",""],["REG_NOTBOL",""],["REG_NOTEOL",""],["REG_OLDMASK",""],["REG_R10",""],["REG_R11",""],["REG_R12",""],["REG_R13",""],["REG_R14",""],["REG_R15",""],["REG_R8",""],["REG_R9",""],["REG_RAX",""],["REG_RBP",""],["REG_RBX",""],["REG_RCX",""],["REG_RDI",""],["REG_RDX",""],["REG_RIP",""],["REG_RSI",""],["REG_RSP",""],["REG_STARTEND",""],["REG_TRAPNO",""],["REISERFS_SUPER_MAGIC",""],["REL_CNT",""],["REL_MAX",""],["RENAME_EXCHANGE",""],["RENAME_NOREPLACE",""],["RENAME_WHITEOUT",""],["REP_CNT",""],["REP_MAX",""],["RESOLVE_BENEATH",""],["RESOLVE_CACHED",""],["RESOLVE_IN_ROOT",""],["RESOLVE_NO_MAGICLINKS",""],["RESOLVE_NO_SYMLINKS",""],["RESOLVE_NO_XDEV",""],["RIP",""],["RLIMIT_AS",""],["RLIMIT_CORE",""],["RLIMIT_CPU",""],["RLIMIT_DATA",""],["RLIMIT_FSIZE",""],["RLIMIT_LOCKS",""],["RLIMIT_MEMLOCK",""],["RLIMIT_MSGQUEUE",""],["RLIMIT_NICE",""],["RLIMIT_NLIMITS",""],["RLIMIT_NOFILE",""],["RLIMIT_NPROC",""],["RLIMIT_RSS",""],["RLIMIT_RTPRIO",""],["RLIMIT_RTTIME",""],["RLIMIT_SIGPENDING",""],["RLIMIT_STACK",""],["RLIM_INFINITY",""],["RLIM_NLIMITS",""],["RLIM_SAVED_CUR",""],["RLIM_SAVED_MAX",""],["RSI",""],["RSP",""],["RTA_CACHEINFO",""],["RTA_DST",""],["RTA_ENCAP",""],["RTA_ENCAP_TYPE",""],["RTA_EXPIRES",""],["RTA_FLOW",""],["RTA_GATEWAY",""],["RTA_IIF",""],["RTA_MARK",""],["RTA_METRICS",""],["RTA_MFC_STATS",""],["RTA_MP_ALGO",""],["RTA_MULTIPATH",""],["RTA_NEWDST",""],["RTA_OIF",""],["RTA_PAD",""],["RTA_PREF",""],["RTA_PREFSRC",""],["RTA_PRIORITY",""],["RTA_PROTOINFO",""],["RTA_SESSION",""],["RTA_SRC",""],["RTA_TABLE",""],["RTA_TTL_PROPAGATE",""],["RTA_UID",""],["RTA_UNSPEC",""],["RTA_VIA",""],["RTCF_DIRECTSRC",""],["RTCF_DOREDIRECT",""],["RTCF_LOG",""],["RTCF_MASQ",""],["RTCF_NAT",""],["RTCF_VALVE",""],["RTF_ADDRCLASSMASK",""],["RTF_ADDRCONF",""],["RTF_ALLONLINK",""],["RTF_BROADCAST",""],["RTF_CACHE",""],["RTF_DEFAULT",""],["RTF_DYNAMIC",""],["RTF_FLOW",""],["RTF_GATEWAY",""],["RTF_HOST",""],["RTF_INTERFACE",""],["RTF_IRTT",""],["RTF_LINKRT",""],["RTF_LOCAL",""],["RTF_MODIFIED",""],["RTF_MSS",""],["RTF_MTU",""],["RTF_MULTICAST",""],["RTF_NAT",""],["RTF_NOFORWARD",""],["RTF_NONEXTHOP",""],["RTF_NOPMTUDISC",""],["RTF_POLICY",""],["RTF_REINSTATE",""],["RTF_REJECT",""],["RTF_STATIC",""],["RTF_THROW",""],["RTF_UP",""],["RTF_WINDOW",""],["RTF_XRESOLVE",""],["RTLD_DEEPBIND",""],["RTLD_DEFAULT",""],["RTLD_DI_CONFIGADDR",""],["RTLD_DI_LINKMAP",""],["RTLD_DI_LMID",""],["RTLD_DI_ORIGIN",""],["RTLD_DI_PROFILENAME",""],["RTLD_DI_PROFILEOUT",""],["RTLD_DI_SERINFO",""],["RTLD_DI_SERINFOSIZE",""],["RTLD_DI_TLS_DATA",""],["RTLD_DI_TLS_MODID",""],["RTLD_GLOBAL",""],["RTLD_LAZY",""],["RTLD_LOCAL",""],["RTLD_NEXT",""],["RTLD_NODELETE",""],["RTLD_NOLOAD",""],["RTLD_NOW",""],["RTMGRP_DECnet_IFADDR",""],["RTMGRP_DECnet_ROUTE",""],["RTMGRP_IPV4_IFADDR",""],["RTMGRP_IPV4_MROUTE",""],["RTMGRP_IPV4_ROUTE",""],["RTMGRP_IPV4_RULE",""],["RTMGRP_IPV6_IFADDR",""],["RTMGRP_IPV6_IFINFO",""],["RTMGRP_IPV6_MROUTE",""],["RTMGRP_IPV6_PREFIX",""],["RTMGRP_IPV6_ROUTE",""],["RTMGRP_LINK",""],["RTMGRP_NEIGH",""],["RTMGRP_NOTIFY",""],["RTMGRP_TC",""],["RTMSG_AR_FAILED",""],["RTMSG_CONTROL",""],["RTMSG_DELDEVICE",""],["RTMSG_DELROUTE",""],["RTMSG_DELRULE",""],["RTMSG_NEWDEVICE",""],["RTMSG_NEWROUTE",""],["RTMSG_NEWRULE",""],["RTMSG_OVERRUN",""],["RTM_DELACTION",""],["RTM_DELADDR",""],["RTM_DELADDRLABEL",""],["RTM_DELLINK",""],["RTM_DELMDB",""],["RTM_DELNEIGH",""],["RTM_DELNETCONF",""],["RTM_DELNSID",""],["RTM_DELQDISC",""],["RTM_DELROUTE",""],["RTM_DELRULE",""],["RTM_DELTCLASS",""],["RTM_DELTFILTER",""],["RTM_F_CLONED",""],["RTM_F_EQUALIZE",""],["RTM_F_FIB_MATCH",""],["RTM_F_LOOKUP_TABLE",""],["RTM_F_NOTIFY",""],["RTM_F_PREFIX",""],["RTM_GETACTION",""],["RTM_GETADDR",""],["RTM_GETADDRLABEL",""],["RTM_GETANYCAST",""],["RTM_GETDCB",""],["RTM_GETLINK",""],["RTM_GETMDB",""],["RTM_GETMULTICAST",""],["RTM_GETNEIGH",""],["RTM_GETNEIGHTBL",""],["RTM_GETNETCONF",""],["RTM_GETNSID",""],["RTM_GETQDISC",""],["RTM_GETROUTE",""],["RTM_GETRULE",""],["RTM_GETSTATS",""],["RTM_GETTCLASS",""],["RTM_GETTFILTER",""],["RTM_NEWACTION",""],["RTM_NEWADDR",""],["RTM_NEWADDRLABEL",""],["RTM_NEWCACHEREPORT",""],["RTM_NEWLINK",""],["RTM_NEWMDB",""],["RTM_NEWNDUSEROPT",""],["RTM_NEWNEIGH",""],["RTM_NEWNEIGHTBL",""],["RTM_NEWNETCONF",""],["RTM_NEWNSID",""],["RTM_NEWPREFIX",""],["RTM_NEWQDISC",""],["RTM_NEWROUTE",""],["RTM_NEWRULE",""],["RTM_NEWSTATS",""],["RTM_NEWTCLASS",""],["RTM_NEWTFILTER",""],["RTM_SETDCB",""],["RTM_SETLINK",""],["RTM_SETNEIGHTBL",""],["RTNLGRP_BRVLAN",""],["RTNLGRP_DCB",""],["RTNLGRP_DECnet_IFADDR",""],["RTNLGRP_DECnet_ROUTE",""],["RTNLGRP_DECnet_RULE",""],["RTNLGRP_IPV4_IFADDR",""],["RTNLGRP_IPV4_MROUTE",""],["RTNLGRP_IPV4_MROUTE_R",""],["RTNLGRP_IPV4_NETCONF",""],["RTNLGRP_IPV4_ROUTE",""],["RTNLGRP_IPV4_RULE",""],["RTNLGRP_IPV6_IFADDR",""],["RTNLGRP_IPV6_IFINFO",""],["RTNLGRP_IPV6_MROUTE",""],["RTNLGRP_IPV6_MROUTE_R",""],["RTNLGRP_IPV6_NETCONF",""],["RTNLGRP_IPV6_PREFIX",""],["RTNLGRP_IPV6_ROUTE",""],["RTNLGRP_IPV6_RULE",""],["RTNLGRP_LINK",""],["RTNLGRP_MCTP_IFADDR",""],["RTNLGRP_MDB",""],["RTNLGRP_MPLS_NETCONF",""],["RTNLGRP_MPLS_ROUTE",""],["RTNLGRP_ND_USEROPT",""],["RTNLGRP_NEIGH",""],["RTNLGRP_NEXTHOP",""],["RTNLGRP_NONE",""],["RTNLGRP_NOP2",""],["RTNLGRP_NOP4",""],["RTNLGRP_NOTIFY",""],["RTNLGRP_NSID",""],["RTNLGRP_PHONET_IFADDR",""],["RTNLGRP_PHONET_ROUTE",""],["RTNLGRP_STATS",""],["RTNLGRP_TC",""],["RTNLGRP_TUNNEL",""],["RTN_ANYCAST",""],["RTN_BLACKHOLE",""],["RTN_BROADCAST",""],["RTN_LOCAL",""],["RTN_MULTICAST",""],["RTN_NAT",""],["RTN_PROHIBIT",""],["RTN_THROW",""],["RTN_UNICAST",""],["RTN_UNREACHABLE",""],["RTN_UNSPEC",""],["RTN_XRESOLVE",""],["RTPROT_BOOT",""],["RTPROT_KERNEL",""],["RTPROT_REDIRECT",""],["RTPROT_STATIC",""],["RTPROT_UNSPEC",""],["RT_CLASS_DEFAULT",""],["RT_CLASS_LOCAL",""],["RT_CLASS_MAIN",""],["RT_CLASS_MAX",""],["RT_CLASS_UNSPEC",""],["RT_SCOPE_HOST",""],["RT_SCOPE_LINK",""],["RT_SCOPE_NOWHERE",""],["RT_SCOPE_SITE",""],["RT_SCOPE_UNIVERSE",""],["RT_TABLE_COMPAT",""],["RT_TABLE_DEFAULT",""],["RT_TABLE_LOCAL",""],["RT_TABLE_MAIN",""],["RT_TABLE_UNSPEC",""],["RUN_LVL",""],["RUSAGE_CHILDREN",""],["RUSAGE_SELF",""],["RUSAGE_THREAD",""],["RWF_APPEND",""],["RWF_DSYNC",""],["RWF_HIPRI",""],["RWF_NOWAIT",""],["RWF_SYNC",""],["R_OK",""],["SA_NOCLDSTOP",""],["SA_NOCLDWAIT",""],["SA_NODEFER",""],["SA_ONSTACK",""],["SA_RESETHAND",""],["SA_RESTART",""],["SA_SIGINFO",""],["SCHED_BATCH",""],["SCHED_FIFO",""],["SCHED_IDLE",""],["SCHED_OTHER",""],["SCHED_RESET_ON_FORK",""],["SCHED_RR",""],["SCM_CREDENTIALS",""],["SCM_J1939_DEST_ADDR",""],["SCM_J1939_DEST_NAME",""],["SCM_J1939_ERRQUEUE",""],["SCM_J1939_PRIO",""],["SCM_RIGHTS",""],["SCM_TIMESTAMP",""],["SCM_TIMESTAMPING",""],["SCM_TIMESTAMPING_OPT_STATS",""],["SCM_TIMESTAMPING_PKTINFO",""],["SCM_TIMESTAMPNS",""],["SCM_TXTIME",""],["SCM_WIFI_STATUS",""],["SECCOMP_FILTER_FLAG_LOG",""],["SECCOMP_FILTER_FLAG_SPEC_ALLOW",""],["SECCOMP_FILTER_FLAG_TSYNC",""],["SECCOMP_GET_ACTION_AVAIL",""],["SECCOMP_GET_NOTIF_SIZES",""],["SECCOMP_MODE_DISABLED",""],["SECCOMP_MODE_FILTER",""],["SECCOMP_MODE_STRICT",""],["SECCOMP_RET_ACTION",""],["SECCOMP_RET_ACTION_FULL",""],["SECCOMP_RET_ALLOW",""],["SECCOMP_RET_DATA",""],["SECCOMP_RET_ERRNO",""],["SECCOMP_RET_KILL",""],["SECCOMP_RET_KILL_PROCESS",""],["SECCOMP_RET_KILL_THREAD",""],["SECCOMP_RET_LOG",""],["SECCOMP_RET_TRACE",""],["SECCOMP_RET_TRAP",""],["SECCOMP_SET_MODE_FILTER",""],["SECCOMP_SET_MODE_STRICT",""],["SECURITYFS_MAGIC",""],["SEEK_CUR",""],["SEEK_DATA",""],["SEEK_END",""],["SEEK_HOLE",""],["SEEK_SET",""],["SELFMAG",""],["SELINUX_MAGIC",""],["SEM_FAILED",""],["SFD_CLOEXEC",""],["SFD_NONBLOCK",""],["SHM_EXEC",""],["SHM_HUGETLB",""],["SHM_LOCK",""],["SHM_NORESERVE",""],["SHM_R",""],["SHM_RDONLY",""],["SHM_REMAP",""],["SHM_RND",""],["SHM_UNLOCK",""],["SHM_W",""],["SHORT_INODE",""],["SHUT_RD",""],["SHUT_RDWR",""],["SHUT_WR",""],["SIGABRT",""],["SIGALRM",""],["SIGBUS",""],["SIGCHLD",""],["SIGCONT",""],["SIGEV_NONE",""],["SIGEV_SIGNAL",""],["SIGEV_THREAD",""],["SIGEV_THREAD_ID",""],["SIGFPE",""],["SIGHUP",""],["SIGILL",""],["SIGINT",""],["SIGIO",""],["SIGIOT",""],["SIGKILL",""],["SIGPIPE",""],["SIGPOLL",""],["SIGPROF",""],["SIGPWR",""],["SIGQUIT",""],["SIGSEGV",""],["SIGSTKFLT",""],["SIGSTKSZ",""],["SIGSTOP",""],["SIGSYS",""],["SIGTERM",""],["SIGTRAP",""],["SIGTSTP",""],["SIGTTIN",""],["SIGTTOU",""],["SIGUNUSED",""],["SIGURG",""],["SIGUSR1",""],["SIGUSR2",""],["SIGVTALRM",""],["SIGWINCH",""],["SIGXCPU",""],["SIGXFSZ",""],["SIG_BLOCK",""],["SIG_DFL",""],["SIG_ERR",""],["SIG_IGN",""],["SIG_SETMASK",""],["SIG_UNBLOCK",""],["SIOCADDMULTI",""],["SIOCADDRT",""],["SIOCDARP",""],["SIOCDELMULTI",""],["SIOCDELRT",""],["SIOCDIFADDR",""],["SIOCDRARP",""],["SIOCETHTOOL",""],["SIOCGARP",""],["SIOCGIFADDR",""],["SIOCGIFBR",""],["SIOCGIFBRDADDR",""],["SIOCGIFCONF",""],["SIOCGIFCOUNT",""],["SIOCGIFDSTADDR",""],["SIOCGIFENCAP",""],["SIOCGIFFLAGS",""],["SIOCGIFHWADDR",""],["SIOCGIFINDEX",""],["SIOCGIFMAP",""],["SIOCGIFMEM",""],["SIOCGIFMETRIC",""],["SIOCGIFMTU",""],["SIOCGIFNAME",""],["SIOCGIFNETMASK",""],["SIOCGIFPFLAGS",""],["SIOCGIFSLAVE",""],["SIOCGIFTXQLEN",""],["SIOCGMIIPHY",""],["SIOCGMIIREG",""],["SIOCGRARP",""],["SIOCGSKNS",""],["SIOCOUTQNSD",""],["SIOCSARP",""],["SIOCSIFADDR",""],["SIOCSIFBR",""],["SIOCSIFBRDADDR",""],["SIOCSIFDSTADDR",""],["SIOCSIFENCAP",""],["SIOCSIFFLAGS",""],["SIOCSIFHWADDR",""],["SIOCSIFHWBROADCAST",""],["SIOCSIFLINK",""],["SIOCSIFMAP",""],["SIOCSIFMEM",""],["SIOCSIFMETRIC",""],["SIOCSIFMTU",""],["SIOCSIFNETMASK",""],["SIOCSIFPFLAGS",""],["SIOCSIFSLAVE",""],["SIOCSIFTXQLEN",""],["SIOCSMIIREG",""],["SIOCSRARP",""],["SIOCWANDEV",""],["SIOGIFINDEX",""],["SI_LOAD_SHIFT",""],["SKF_AD_ALU_XOR_X",""],["SKF_AD_CPU",""],["SKF_AD_HATYPE",""],["SKF_AD_IFINDEX",""],["SKF_AD_MARK",""],["SKF_AD_MAX",""],["SKF_AD_NLATTR",""],["SKF_AD_NLATTR_NEST",""],["SKF_AD_OFF",""],["SKF_AD_PAY_OFFSET",""],["SKF_AD_PKTTYPE",""],["SKF_AD_PROTOCOL",""],["SKF_AD_QUEUE",""],["SKF_AD_RANDOM",""],["SKF_AD_RXHASH",""],["SKF_AD_VLAN_TAG",""],["SKF_AD_VLAN_TAG_PRESENT",""],["SKF_AD_VLAN_TPID",""],["SKF_LL_OFF",""],["SKF_NET_OFF",""],["SK_MEMINFO_BACKLOG",""],["SK_MEMINFO_DROPS",""],["SK_MEMINFO_FWD_ALLOC",""],["SK_MEMINFO_OPTMEM",""],["SK_MEMINFO_RCVBUF",""],["SK_MEMINFO_RMEM_ALLOC",""],["SK_MEMINFO_SNDBUF",""],["SK_MEMINFO_WMEM_ALLOC",""],["SK_MEMINFO_WMEM_QUEUED",""],["SMACK_MAGIC",""],["SMB_SUPER_MAGIC",""],["SND_CNT",""],["SND_MAX",""],["SOCK_CLOEXEC",""],["SOCK_DCCP",""],["SOCK_DGRAM",""],["SOCK_NONBLOCK",""],["SOCK_PACKET",""],["SOCK_RAW",""],["SOCK_RDM",""],["SOCK_SEQPACKET",""],["SOCK_STREAM",""],["SOF_TIMESTAMPING_OPT_CMSG",""],["SOF_TIMESTAMPING_OPT_ID",""],["SOF_TIMESTAMPING_OPT_PKTINFO",""],["SOF_TIMESTAMPING_OPT_STATS",""],["SOF_TIMESTAMPING_OPT_TSONLY",""],["SOF_TIMESTAMPING_OPT_TX_SWHW",""],["SOF_TIMESTAMPING_RAW_HARDWARE",""],["SOF_TIMESTAMPING_RX_HARDWARE",""],["SOF_TIMESTAMPING_RX_SOFTWARE",""],["SOF_TIMESTAMPING_SOFTWARE",""],["SOF_TIMESTAMPING_SYS_HARDWARE",""],["SOF_TIMESTAMPING_TX_ACK",""],["SOF_TIMESTAMPING_TX_HARDWARE",""],["SOF_TIMESTAMPING_TX_SCHED",""],["SOF_TIMESTAMPING_TX_SOFTWARE",""],["SOF_TXTIME_DEADLINE_MODE",""],["SOF_TXTIME_REPORT_ERRORS",""],["SOL_AAL",""],["SOL_ALG",""],["SOL_ATM",""],["SOL_BLUETOOTH",""],["SOL_CAIF",""],["SOL_CAN_BASE",""],["SOL_CAN_J1939",""],["SOL_CAN_RAW",""],["SOL_DCCP",""],["SOL_DECNET",""],["SOL_ICMPV6",""],["SOL_IP",""],["SOL_IPV6",""],["SOL_IRDA",""],["SOL_IUCV",""],["SOL_LLC",""],["SOL_NETBEUI",""],["SOL_NETLINK",""],["SOL_NFC",""],["SOL_PACKET",""],["SOL_PNPIPE",""],["SOL_PPPOL2TP",""],["SOL_RAW",""],["SOL_RDS",""],["SOL_RXRPC",""],["SOL_SOCKET",""],["SOL_TCP",""],["SOL_TIPC",""],["SOL_UDP",""],["SOL_X25",""],["SOL_XDP",""],["SOMAXCONN",""],["SO_ACCEPTCONN",""],["SO_ATTACH_BPF",""],["SO_ATTACH_FILTER",""],["SO_ATTACH_REUSEPORT_CBPF",""],["SO_ATTACH_REUSEPORT_EBPF",""],["SO_BINDTODEVICE",""],["SO_BINDTOIFINDEX",""],["SO_BPF_EXTENSIONS",""],["SO_BROADCAST",""],["SO_BSDCOMPAT",""],["SO_BUSY_POLL",""],["SO_CNX_ADVICE",""],["SO_COOKIE",""],["SO_DEBUG",""],["SO_DETACH_BPF",""],["SO_DETACH_FILTER",""],["SO_DETACH_REUSEPORT_BPF",""],["SO_DOMAIN",""],["SO_DONTROUTE",""],["SO_EE_ORIGIN_ICMP",""],["SO_EE_ORIGIN_ICMP6",""],["SO_EE_ORIGIN_LOCAL",""],["SO_EE_ORIGIN_NONE",""],["SO_EE_ORIGIN_TIMESTAMPING",""],["SO_EE_ORIGIN_TXSTATUS",""],["SO_ERROR",""],["SO_GET_FILTER",""],["SO_INCOMING_CPU",""],["SO_INCOMING_NAPI_ID",""],["SO_J1939_ERRQUEUE",""],["SO_J1939_FILTER",""],["SO_J1939_PROMISC",""],["SO_J1939_SEND_PRIO",""],["SO_KEEPALIVE",""],["SO_LINGER",""],["SO_LOCK_FILTER",""],["SO_MARK",""],["SO_MAX_PACING_RATE",""],["SO_MEMINFO",""],["SO_NOFCS",""],["SO_NO_CHECK",""],["SO_OOBINLINE",""],["SO_ORIGINAL_DST",""],["SO_PASSCRED",""],["SO_PASSSEC",""],["SO_PEEK_OFF",""],["SO_PEERCRED",""],["SO_PEERGROUPS",""],["SO_PEERNAME",""],["SO_PEERSEC",""],["SO_PRIORITY",""],["SO_PROTOCOL",""],["SO_RCVBUF",""],["SO_RCVBUFFORCE",""],["SO_RCVLOWAT",""],["SO_RCVTIMEO",""],["SO_RCVTIMEO_NEW",""],["SO_REUSEADDR",""],["SO_REUSEPORT",""],["SO_RXQ_OVFL",""],["SO_SECURITY_AUTHENTICATION",""],["SO_SECURITY_ENCRYPTION_NETWORK",""],["SO_SECURITY_ENCRYPTION_TRANSPORT",""],["SO_SELECT_ERR_QUEUE",""],["SO_SNDBUF",""],["SO_SNDBUFFORCE",""],["SO_SNDLOWAT",""],["SO_SNDTIMEO",""],["SO_SNDTIMEO_NEW",""],["SO_TIMESTAMP",""],["SO_TIMESTAMPING",""],["SO_TIMESTAMPING_NEW",""],["SO_TIMESTAMPNS",""],["SO_TIMESTAMPNS_NEW",""],["SO_TIMESTAMP_NEW",""],["SO_TXTIME",""],["SO_TYPE",""],["SO_WIFI_STATUS",""],["SO_ZEROCOPY",""],["SPLICE_F_GIFT",""],["SPLICE_F_MORE",""],["SPLICE_F_MOVE",""],["SPLICE_F_NONBLOCK",""],["SS",""],["SS_DISABLE",""],["SS_ONSTACK",""],["STATX_ALL",""],["STATX_ATIME",""],["STATX_ATTR_APPEND",""],["STATX_ATTR_AUTOMOUNT",""],["STATX_ATTR_COMPRESSED",""],["STATX_ATTR_DAX",""],["STATX_ATTR_ENCRYPTED",""],["STATX_ATTR_IMMUTABLE",""],["STATX_ATTR_MOUNT_ROOT",""],["STATX_ATTR_NODUMP",""],["STATX_ATTR_VERITY",""],["STATX_BASIC_STATS",""],["STATX_BLOCKS",""],["STATX_BTIME",""],["STATX_CTIME",""],["STATX_GID",""],["STATX_INO",""],["STATX_MNT_ID",""],["STATX_MODE",""],["STATX_MTIME",""],["STATX_NLINK",""],["STATX_SIZE",""],["STATX_TYPE",""],["STATX_UID",""],["STATX__RESERVED",""],["STA_CLK",""],["STA_CLOCKERR",""],["STA_DEL",""],["STA_FLL",""],["STA_FREQHOLD",""],["STA_INS",""],["STA_MODE",""],["STA_NANO",""],["STA_PLL",""],["STA_PPSERROR",""],["STA_PPSFREQ",""],["STA_PPSJITTER",""],["STA_PPSSIGNAL",""],["STA_PPSTIME",""],["STA_PPSWANDER",""],["STA_RONLY",""],["STA_UNSYNC",""],["STDERR_FILENO",""],["STDIN_FILENO",""],["STDOUT_FILENO",""],["STICKY_TIMEOUTS",""],["ST_APPEND",""],["ST_IMMUTABLE",""],["ST_MANDLOCK",""],["ST_NOATIME",""],["ST_NODEV",""],["ST_NODIRATIME",""],["ST_NOEXEC",""],["ST_NOSUID",""],["ST_RDONLY",""],["ST_RELATIME",""],["ST_SYNCHRONOUS",""],["ST_WRITE",""],["SW_CNT",""],["SW_MAX",""],["SYNC_FILE_RANGE_WAIT_AFTER",""],["SYNC_FILE_RANGE_WAIT_BEFORE",""],["SYNC_FILE_RANGE_WRITE",""],["SYN_CNT",""],["SYN_MAX",""],["SYSFS_MAGIC",""],["SYS__sysctl",""],["SYS_accept",""],["SYS_accept4",""],["SYS_access",""],["SYS_acct",""],["SYS_add_key",""],["SYS_adjtimex",""],["SYS_afs_syscall",""],["SYS_alarm",""],["SYS_arch_prctl",""],["SYS_bind",""],["SYS_bpf",""],["SYS_brk",""],["SYS_capget",""],["SYS_capset",""],["SYS_chdir",""],["SYS_chmod",""],["SYS_chown",""],["SYS_chroot",""],["SYS_clock_adjtime",""],["SYS_clock_getres",""],["SYS_clock_gettime",""],["SYS_clock_nanosleep",""],["SYS_clock_settime",""],["SYS_clone",""],["SYS_clone3",""],["SYS_close",""],["SYS_close_range",""],["SYS_connect",""],["SYS_copy_file_range",""],["SYS_creat",""],["SYS_create_module",""],["SYS_delete_module",""],["SYS_dup",""],["SYS_dup2",""],["SYS_dup3",""],["SYS_epoll_create",""],["SYS_epoll_create1",""],["SYS_epoll_ctl",""],["SYS_epoll_ctl_old",""],["SYS_epoll_pwait",""],["SYS_epoll_pwait2",""],["SYS_epoll_wait",""],["SYS_epoll_wait_old",""],["SYS_eventfd",""],["SYS_eventfd2",""],["SYS_execve",""],["SYS_execveat",""],["SYS_exit",""],["SYS_exit_group",""],["SYS_faccessat",""],["SYS_faccessat2",""],["SYS_fadvise64",""],["SYS_fallocate",""],["SYS_fanotify_init",""],["SYS_fanotify_mark",""],["SYS_fchdir",""],["SYS_fchmod",""],["SYS_fchmodat",""],["SYS_fchown",""],["SYS_fchownat",""],["SYS_fcntl",""],["SYS_fdatasync",""],["SYS_fgetxattr",""],["SYS_finit_module",""],["SYS_flistxattr",""],["SYS_flock",""],["SYS_fork",""],["SYS_fremovexattr",""],["SYS_fsconfig",""],["SYS_fsetxattr",""],["SYS_fsmount",""],["SYS_fsopen",""],["SYS_fspick",""],["SYS_fstat",""],["SYS_fstatfs",""],["SYS_fsync",""],["SYS_ftruncate",""],["SYS_futex",""],["SYS_futex_waitv",""],["SYS_futimesat",""],["SYS_get_kernel_syms",""],["SYS_get_mempolicy",""],["SYS_get_robust_list",""],["SYS_get_thread_area",""],["SYS_getcpu",""],["SYS_getcwd",""],["SYS_getdents",""],["SYS_getdents64",""],["SYS_getegid",""],["SYS_geteuid",""],["SYS_getgid",""],["SYS_getgroups",""],["SYS_getitimer",""],["SYS_getpeername",""],["SYS_getpgid",""],["SYS_getpgrp",""],["SYS_getpid",""],["SYS_getpmsg",""],["SYS_getppid",""],["SYS_getpriority",""],["SYS_getrandom",""],["SYS_getresgid",""],["SYS_getresuid",""],["SYS_getrlimit",""],["SYS_getrusage",""],["SYS_getsid",""],["SYS_getsockname",""],["SYS_getsockopt",""],["SYS_gettid",""],["SYS_gettimeofday",""],["SYS_getuid",""],["SYS_getxattr",""],["SYS_init_module",""],["SYS_inotify_add_watch",""],["SYS_inotify_init",""],["SYS_inotify_init1",""],["SYS_inotify_rm_watch",""],["SYS_io_cancel",""],["SYS_io_destroy",""],["SYS_io_getevents",""],["SYS_io_setup",""],["SYS_io_submit",""],["SYS_io_uring_enter",""],["SYS_io_uring_register",""],["SYS_io_uring_setup",""],["SYS_ioctl",""],["SYS_ioperm",""],["SYS_iopl",""],["SYS_ioprio_get",""],["SYS_ioprio_set",""],["SYS_kcmp",""],["SYS_kexec_file_load",""],["SYS_kexec_load",""],["SYS_keyctl",""],["SYS_kill",""],["SYS_landlock_add_rule",""],["SYS_landlock_create_ruleset",""],["SYS_landlock_restrict_self",""],["SYS_lchown",""],["SYS_lgetxattr",""],["SYS_link",""],["SYS_linkat",""],["SYS_listen",""],["SYS_listxattr",""],["SYS_llistxattr",""],["SYS_lookup_dcookie",""],["SYS_lremovexattr",""],["SYS_lseek",""],["SYS_lsetxattr",""],["SYS_lstat",""],["SYS_madvise",""],["SYS_mbind",""],["SYS_membarrier",""],["SYS_memfd_create",""],["SYS_memfd_secret",""],["SYS_migrate_pages",""],["SYS_mincore",""],["SYS_mkdir",""],["SYS_mkdirat",""],["SYS_mknod",""],["SYS_mknodat",""],["SYS_mlock",""],["SYS_mlock2",""],["SYS_mlockall",""],["SYS_mmap",""],["SYS_modify_ldt",""],["SYS_mount",""],["SYS_mount_setattr",""],["SYS_move_mount",""],["SYS_move_pages",""],["SYS_mprotect",""],["SYS_mq_getsetattr",""],["SYS_mq_notify",""],["SYS_mq_open",""],["SYS_mq_timedreceive",""],["SYS_mq_timedsend",""],["SYS_mq_unlink",""],["SYS_mremap",""],["SYS_msgctl",""],["SYS_msgget",""],["SYS_msgrcv",""],["SYS_msgsnd",""],["SYS_msync",""],["SYS_munlock",""],["SYS_munlockall",""],["SYS_munmap",""],["SYS_name_to_handle_at",""],["SYS_nanosleep",""],["SYS_newfstatat",""],["SYS_nfsservctl",""],["SYS_open",""],["SYS_open_by_handle_at",""],["SYS_open_tree",""],["SYS_openat",""],["SYS_openat2",""],["SYS_pause",""],["SYS_perf_event_open",""],["SYS_personality",""],["SYS_pidfd_getfd",""],["SYS_pidfd_open",""],["SYS_pidfd_send_signal",""],["SYS_pipe",""],["SYS_pipe2",""],["SYS_pivot_root",""],["SYS_pkey_alloc",""],["SYS_pkey_free",""],["SYS_pkey_mprotect",""],["SYS_poll",""],["SYS_ppoll",""],["SYS_prctl",""],["SYS_pread64",""],["SYS_preadv",""],["SYS_preadv2",""],["SYS_prlimit64",""],["SYS_process_madvise",""],["SYS_process_mrelease",""],["SYS_process_vm_readv",""],["SYS_process_vm_writev",""],["SYS_pselect6",""],["SYS_ptrace",""],["SYS_putpmsg",""],["SYS_pwrite64",""],["SYS_pwritev",""],["SYS_pwritev2",""],["SYS_query_module",""],["SYS_quotactl",""],["SYS_quotactl_fd",""],["SYS_read",""],["SYS_readahead",""],["SYS_readlink",""],["SYS_readlinkat",""],["SYS_readv",""],["SYS_reboot",""],["SYS_recvfrom",""],["SYS_recvmmsg",""],["SYS_recvmsg",""],["SYS_remap_file_pages",""],["SYS_removexattr",""],["SYS_rename",""],["SYS_renameat",""],["SYS_renameat2",""],["SYS_request_key",""],["SYS_restart_syscall",""],["SYS_rmdir",""],["SYS_rseq",""],["SYS_rt_sigaction",""],["SYS_rt_sigpending",""],["SYS_rt_sigprocmask",""],["SYS_rt_sigqueueinfo",""],["SYS_rt_sigreturn",""],["SYS_rt_sigsuspend",""],["SYS_rt_sigtimedwait",""],["SYS_rt_tgsigqueueinfo",""],["SYS_sched_get_priority_max",""],["SYS_sched_get_priority_min",""],["SYS_sched_getaffinity",""],["SYS_sched_getattr",""],["SYS_sched_getparam",""],["SYS_sched_getscheduler",""],["SYS_sched_rr_get_interval",""],["SYS_sched_setaffinity",""],["SYS_sched_setattr",""],["SYS_sched_setparam",""],["SYS_sched_setscheduler",""],["SYS_sched_yield",""],["SYS_seccomp",""],["SYS_security",""],["SYS_select",""],["SYS_semctl",""],["SYS_semget",""],["SYS_semop",""],["SYS_semtimedop",""],["SYS_sendfile",""],["SYS_sendmmsg",""],["SYS_sendmsg",""],["SYS_sendto",""],["SYS_set_mempolicy",""],["SYS_set_mempolicy_home_node",""],["SYS_set_robust_list",""],["SYS_set_thread_area",""],["SYS_set_tid_address",""],["SYS_setdomainname",""],["SYS_setfsgid",""],["SYS_setfsuid",""],["SYS_setgid",""],["SYS_setgroups",""],["SYS_sethostname",""],["SYS_setitimer",""],["SYS_setns",""],["SYS_setpgid",""],["SYS_setpriority",""],["SYS_setregid",""],["SYS_setresgid",""],["SYS_setresuid",""],["SYS_setreuid",""],["SYS_setrlimit",""],["SYS_setsid",""],["SYS_setsockopt",""],["SYS_settimeofday",""],["SYS_setuid",""],["SYS_setxattr",""],["SYS_shmat",""],["SYS_shmctl",""],["SYS_shmdt",""],["SYS_shmget",""],["SYS_shutdown",""],["SYS_sigaltstack",""],["SYS_signalfd",""],["SYS_signalfd4",""],["SYS_socket",""],["SYS_socketpair",""],["SYS_splice",""],["SYS_stat",""],["SYS_statfs",""],["SYS_statx",""],["SYS_swapoff",""],["SYS_swapon",""],["SYS_symlink",""],["SYS_symlinkat",""],["SYS_sync",""],["SYS_sync_file_range",""],["SYS_syncfs",""],["SYS_sysfs",""],["SYS_sysinfo",""],["SYS_syslog",""],["SYS_tee",""],["SYS_tgkill",""],["SYS_time",""],["SYS_timer_create",""],["SYS_timer_delete",""],["SYS_timer_getoverrun",""],["SYS_timer_gettime",""],["SYS_timer_settime",""],["SYS_timerfd_create",""],["SYS_timerfd_gettime",""],["SYS_timerfd_settime",""],["SYS_times",""],["SYS_tkill",""],["SYS_truncate",""],["SYS_tuxcall",""],["SYS_umask",""],["SYS_umount2",""],["SYS_uname",""],["SYS_unlink",""],["SYS_unlinkat",""],["SYS_unshare",""],["SYS_uselib",""],["SYS_userfaultfd",""],["SYS_ustat",""],["SYS_utime",""],["SYS_utimensat",""],["SYS_utimes",""],["SYS_vfork",""],["SYS_vhangup",""],["SYS_vmsplice",""],["SYS_vserver",""],["SYS_wait4",""],["SYS_waitid",""],["SYS_write",""],["SYS_writev",""],["S_IEXEC",""],["S_IFBLK",""],["S_IFCHR",""],["S_IFDIR",""],["S_IFIFO",""],["S_IFLNK",""],["S_IFMT",""],["S_IFREG",""],["S_IFSOCK",""],["S_IREAD",""],["S_IRGRP",""],["S_IROTH",""],["S_IRUSR",""],["S_IRWXG",""],["S_IRWXO",""],["S_IRWXU",""],["S_ISGID",""],["S_ISUID",""],["S_ISVTX",""],["S_IWGRP",""],["S_IWOTH",""],["S_IWRITE",""],["S_IWUSR",""],["S_IXGRP",""],["S_IXOTH",""],["S_IXUSR",""],["TAB0",""],["TAB1",""],["TAB2",""],["TAB3",""],["TABDLY",""],["TCA_CHAIN",""],["TCA_DUMP_INVISIBLE",""],["TCA_FCNT",""],["TCA_HW_OFFLOAD",""],["TCA_KIND",""],["TCA_OPTIONS",""],["TCA_PAD",""],["TCA_RATE",""],["TCA_STAB",""],["TCA_STATS",""],["TCA_STATS2",""],["TCA_UNSPEC",""],["TCA_XSTATS",""],["TCFLSH",""],["TCGETA",""],["TCGETS",""],["TCGETS2",""],["TCGETX",""],["TCIFLUSH",""],["TCIOFF",""],["TCIOFLUSH",""],["TCION",""],["TCOFLUSH",""],["TCOOFF",""],["TCOON",""],["TCP_CC_INFO",""],["TCP_CM_INQ",""],["TCP_CONGESTION",""],["TCP_COOKIE_TRANSACTIONS",""],["TCP_CORK",""],["TCP_DEFER_ACCEPT",""],["TCP_FASTOPEN",""],["TCP_FASTOPEN_CONNECT",""],["TCP_FASTOPEN_KEY",""],["TCP_FASTOPEN_NO_COOKIE",""],["TCP_INFO",""],["TCP_INQ",""],["TCP_KEEPCNT",""],["TCP_KEEPIDLE",""],["TCP_KEEPINTVL",""],["TCP_LINGER2",""],["TCP_MAXSEG",""],["TCP_MD5SIG",""],["TCP_MD5SIG_EXT",""],["TCP_NODELAY",""],["TCP_NOTSENT_LOWAT",""],["TCP_QUEUE_SEQ",""],["TCP_QUICKACK",""],["TCP_REPAIR",""],["TCP_REPAIR_OPTIONS",""],["TCP_REPAIR_QUEUE",""],["TCP_REPAIR_WINDOW",""],["TCP_SAVED_SYN",""],["TCP_SAVE_SYN",""],["TCP_SYNCNT",""],["TCP_THIN_DUPACK",""],["TCP_THIN_LINEAR_TIMEOUTS",""],["TCP_TIMESTAMP",""],["TCP_ULP",""],["TCP_USER_TIMEOUT",""],["TCP_WINDOW_CLAMP",""],["TCP_ZEROCOPY_RECEIVE",""],["TCSADRAIN",""],["TCSAFLUSH",""],["TCSANOW",""],["TCSBRK",""],["TCSBRKP",""],["TCSETA",""],["TCSETAF",""],["TCSETAW",""],["TCSETS",""],["TCSETS2",""],["TCSETSF",""],["TCSETSF2",""],["TCSETSW",""],["TCSETSW2",""],["TCSETX",""],["TCSETXF",""],["TCSETXW",""],["TCXONC",""],["TFD_CLOEXEC",""],["TFD_NONBLOCK",""],["TFD_TIMER_ABSTIME",""],["TFD_TIMER_CANCEL_ON_SET",""],["THOUSEP",""],["TIMER_ABSTIME",""],["TIME_BAD",""],["TIME_DEL",""],["TIME_ERROR",""],["TIME_INS",""],["TIME_OK",""],["TIME_OOP",""],["TIME_WAIT",""],["TIOCCBRK",""],["TIOCCONS",""],["TIOCEXCL",""],["TIOCGDEV",""],["TIOCGETD",""],["TIOCGEXCL",""],["TIOCGICOUNT",""],["TIOCGLCKTRMIOS",""],["TIOCGPGRP",""],["TIOCGPKT",""],["TIOCGPTLCK",""],["TIOCGPTN",""],["TIOCGPTPEER",""],["TIOCGRS485",""],["TIOCGSERIAL",""],["TIOCGSID",""],["TIOCGSOFTCAR",""],["TIOCGWINSZ",""],["TIOCINQ",""],["TIOCLINUX",""],["TIOCMBIC",""],["TIOCMBIS",""],["TIOCMGET",""],["TIOCMIWAIT",""],["TIOCMSET",""],["TIOCM_CAR",""],["TIOCM_CD",""],["TIOCM_CTS",""],["TIOCM_DSR",""],["TIOCM_DTR",""],["TIOCM_LE",""],["TIOCM_RI",""],["TIOCM_RNG",""],["TIOCM_RTS",""],["TIOCM_SR",""],["TIOCM_ST",""],["TIOCNOTTY",""],["TIOCNXCL",""],["TIOCOUTQ",""],["TIOCPKT",""],["TIOCSBRK",""],["TIOCSCTTY",""],["TIOCSERCONFIG",""],["TIOCSERGETLSR",""],["TIOCSERGETMULTI",""],["TIOCSERGSTRUCT",""],["TIOCSERGWILD",""],["TIOCSERSETMULTI",""],["TIOCSERSWILD",""],["TIOCSETD",""],["TIOCSIG",""],["TIOCSLCKTRMIOS",""],["TIOCSPGRP",""],["TIOCSPTLCK",""],["TIOCSRS485",""],["TIOCSSERIAL",""],["TIOCSSOFTCAR",""],["TIOCSTI",""],["TIOCSWINSZ",""],["TIOCVHANGUP",""],["TMPFS_MAGIC",""],["TMP_MAX",""],["TOSTOP",""],["TRACEFS_MAGIC",""],["TUN_READQ_SIZE",""],["TUN_TAP_DEV",""],["TUN_TUN_DEV",""],["TUN_TYPE_MASK",""],["T_FMT",""],["T_FMT_AMPM",""],["UDF_SUPER_MAGIC",""],["UDP_CORK",""],["UDP_ENCAP",""],["UDP_GRO",""],["UDP_NO_CHECK6_RX",""],["UDP_NO_CHECK6_TX",""],["UDP_SEGMENT",""],["UINPUT_MAX_NAME_SIZE",""],["UINPUT_VERSION",""],["UIO_MAXIOV",""],["UMOUNT_NOFOLLOW",""],["UNAME26",""],["USBDEVICE_SUPER_MAGIC",""],["USER_PROCESS",""],["USRQUOTA",""],["UTIME_NOW",""],["UTIME_OMIT",""],["VDISCARD",""],["VEOF",""],["VEOL",""],["VEOL2",""],["VERASE",""],["VINTR",""],["VKILL",""],["VLNEXT",""],["VMADDR_CID_ANY",""],["VMADDR_CID_HOST",""],["VMADDR_CID_HYPERVISOR",""],["VMADDR_CID_LOCAL",""],["VMADDR_CID_RESERVED",""],["VMADDR_PORT_ANY",""],["VMIN",""],["VQUIT",""],["VREPRINT",""],["VSTART",""],["VSTOP",""],["VSUSP",""],["VSWTC",""],["VT0",""],["VT1",""],["VTDLY",""],["VTIME",""],["VWERASE",""],["WCONTINUED",""],["WEXITED",""],["WHOLE_SECONDS",""],["WNOHANG",""],["WNOWAIT",""],["WSTOPPED",""],["WUNTRACED",""],["W_OK",""],["XATTR_CREATE",""],["XATTR_REPLACE",""],["XENFS_SUPER_MAGIC",""],["XFS_SUPER_MAGIC",""],["XTABS",""],["X_OK",""],["YESEXPR",""],["YESSTR",""],["_IOFBF",""],["_IOLBF",""],["_IONBF",""],["_PC_2_SYMLINKS",""],["_PC_ALLOC_SIZE_MIN",""],["_PC_ASYNC_IO",""],["_PC_CHOWN_RESTRICTED",""],["_PC_FILESIZEBITS",""],["_PC_LINK_MAX",""],["_PC_MAX_CANON",""],["_PC_MAX_INPUT",""],["_PC_NAME_MAX",""],["_PC_NO_TRUNC",""],["_PC_PATH_MAX",""],["_PC_PIPE_BUF",""],["_PC_PRIO_IO",""],["_PC_REC_INCR_XFER_SIZE",""],["_PC_REC_MAX_XFER_SIZE",""],["_PC_REC_MIN_XFER_SIZE",""],["_PC_REC_XFER_ALIGN",""],["_PC_SOCK_MAXBUF",""],["_PC_SYMLINK_MAX",""],["_PC_SYNC_IO",""],["_PC_VDISABLE",""],["_POSIX_VDISABLE",""],["_SC_2_CHAR_TERM",""],["_SC_2_C_BIND",""],["_SC_2_C_DEV",""],["_SC_2_C_VERSION",""],["_SC_2_FORT_DEV",""],["_SC_2_FORT_RUN",""],["_SC_2_LOCALEDEF",""],["_SC_2_PBS",""],["_SC_2_PBS_ACCOUNTING",""],["_SC_2_PBS_CHECKPOINT",""],["_SC_2_PBS_LOCATE",""],["_SC_2_PBS_MESSAGE",""],["_SC_2_PBS_TRACK",""],["_SC_2_SW_DEV",""],["_SC_2_UPE",""],["_SC_2_VERSION",""],["_SC_ADVISORY_INFO",""],["_SC_AIO_LISTIO_MAX",""],["_SC_AIO_MAX",""],["_SC_AIO_PRIO_DELTA_MAX",""],["_SC_ARG_MAX",""],["_SC_ASYNCHRONOUS_IO",""],["_SC_ATEXIT_MAX",""],["_SC_AVPHYS_PAGES",""],["_SC_BARRIERS",""],["_SC_BASE",""],["_SC_BC_BASE_MAX",""],["_SC_BC_DIM_MAX",""],["_SC_BC_SCALE_MAX",""],["_SC_BC_STRING_MAX",""],["_SC_CHARCLASS_NAME_MAX",""],["_SC_CHAR_BIT",""],["_SC_CHAR_MAX",""],["_SC_CHAR_MIN",""],["_SC_CHILD_MAX",""],["_SC_CLK_TCK",""],["_SC_CLOCK_SELECTION",""],["_SC_COLL_WEIGHTS_MAX",""],["_SC_CPUTIME",""],["_SC_C_LANG_SUPPORT",""],["_SC_C_LANG_SUPPORT_R",""],["_SC_DELAYTIMER_MAX",""],["_SC_DEVICE_IO",""],["_SC_DEVICE_SPECIFIC",""],["_SC_DEVICE_SPECIFIC_R",""],["_SC_EQUIV_CLASS_MAX",""],["_SC_EXPR_NEST_MAX",""],["_SC_FD_MGMT",""],["_SC_FIFO",""],["_SC_FILE_ATTRIBUTES",""],["_SC_FILE_LOCKING",""],["_SC_FILE_SYSTEM",""],["_SC_FSYNC",""],["_SC_GETGR_R_SIZE_MAX",""],["_SC_GETPW_R_SIZE_MAX",""],["_SC_HOST_NAME_MAX",""],["_SC_INT_MAX",""],["_SC_INT_MIN",""],["_SC_IOV_MAX",""],["_SC_IPV6",""],["_SC_JOB_CONTROL",""],["_SC_LEVEL1_DCACHE_ASSOC",""],["_SC_LEVEL1_DCACHE_LINESIZE",""],["_SC_LEVEL1_DCACHE_SIZE",""],["_SC_LEVEL1_ICACHE_ASSOC",""],["_SC_LEVEL1_ICACHE_LINESIZE",""],["_SC_LEVEL1_ICACHE_SIZE",""],["_SC_LEVEL2_CACHE_ASSOC",""],["_SC_LEVEL2_CACHE_LINESIZE",""],["_SC_LEVEL2_CACHE_SIZE",""],["_SC_LEVEL3_CACHE_ASSOC",""],["_SC_LEVEL3_CACHE_LINESIZE",""],["_SC_LEVEL3_CACHE_SIZE",""],["_SC_LEVEL4_CACHE_ASSOC",""],["_SC_LEVEL4_CACHE_LINESIZE",""],["_SC_LEVEL4_CACHE_SIZE",""],["_SC_LINE_MAX",""],["_SC_LOGIN_NAME_MAX",""],["_SC_LONG_BIT",""],["_SC_MAPPED_FILES",""],["_SC_MB_LEN_MAX",""],["_SC_MEMLOCK",""],["_SC_MEMLOCK_RANGE",""],["_SC_MEMORY_PROTECTION",""],["_SC_MESSAGE_PASSING",""],["_SC_MONOTONIC_CLOCK",""],["_SC_MQ_OPEN_MAX",""],["_SC_MQ_PRIO_MAX",""],["_SC_MULTI_PROCESS",""],["_SC_NETWORKING",""],["_SC_NGROUPS_MAX",""],["_SC_NL_ARGMAX",""],["_SC_NL_LANGMAX",""],["_SC_NL_MSGMAX",""],["_SC_NL_NMAX",""],["_SC_NL_SETMAX",""],["_SC_NL_TEXTMAX",""],["_SC_NPROCESSORS_CONF",""],["_SC_NPROCESSORS_ONLN",""],["_SC_NZERO",""],["_SC_OPEN_MAX",""],["_SC_PAGESIZE",""],["_SC_PAGE_SIZE",""],["_SC_PASS_MAX",""],["_SC_PHYS_PAGES",""],["_SC_PII",""],["_SC_PII_INTERNET",""],["_SC_PII_INTERNET_DGRAM",""],["_SC_PII_INTERNET_STREAM",""],["_SC_PII_OSI",""],["_SC_PII_OSI_CLTS",""],["_SC_PII_OSI_COTS",""],["_SC_PII_OSI_M",""],["_SC_PII_SOCKET",""],["_SC_PII_XTI",""],["_SC_PIPE",""],["_SC_POLL",""],["_SC_PRIORITIZED_IO",""],["_SC_PRIORITY_SCHEDULING",""],["_SC_RAW_SOCKETS",""],["_SC_READER_WRITER_LOCKS",""],["_SC_REALTIME_SIGNALS",""],["_SC_REGEXP",""],["_SC_REGEX_VERSION",""],["_SC_RE_DUP_MAX",""],["_SC_RTSIG_MAX",""],["_SC_SAVED_IDS",""],["_SC_SCHAR_MAX",""],["_SC_SCHAR_MIN",""],["_SC_SELECT",""],["_SC_SEMAPHORES",""],["_SC_SEM_NSEMS_MAX",""],["_SC_SEM_VALUE_MAX",""],["_SC_SHARED_MEMORY_OBJECTS",""],["_SC_SHELL",""],["_SC_SHRT_MAX",""],["_SC_SHRT_MIN",""],["_SC_SIGNALS",""],["_SC_SIGQUEUE_MAX",""],["_SC_SINGLE_PROCESS",""],["_SC_SPAWN",""],["_SC_SPIN_LOCKS",""],["_SC_SPORADIC_SERVER",""],["_SC_SSIZE_MAX",""],["_SC_SS_REPL_MAX",""],["_SC_STREAMS",""],["_SC_STREAM_MAX",""],["_SC_SYMLOOP_MAX",""],["_SC_SYNCHRONIZED_IO",""],["_SC_SYSTEM_DATABASE",""],["_SC_SYSTEM_DATABASE_R",""],["_SC_THREADS",""],["_SC_THREAD_ATTR_STACKADDR",""],["_SC_THREAD_ATTR_STACKSIZE",""],["_SC_THREAD_CPUTIME",""],["_SC_THREAD_DESTRUCTOR_ITERATIONS",""],["_SC_THREAD_KEYS_MAX",""],["_SC_THREAD_PRIORITY_SCHEDULING",""],["_SC_THREAD_PRIO_INHERIT",""],["_SC_THREAD_PRIO_PROTECT",""],["_SC_THREAD_PROCESS_SHARED",""],["_SC_THREAD_ROBUST_PRIO_INHERIT",""],["_SC_THREAD_ROBUST_PRIO_PROTECT",""],["_SC_THREAD_SAFE_FUNCTIONS",""],["_SC_THREAD_SPORADIC_SERVER",""],["_SC_THREAD_STACK_MIN",""],["_SC_THREAD_THREADS_MAX",""],["_SC_TIMEOUTS",""],["_SC_TIMERS",""],["_SC_TIMER_MAX",""],["_SC_TRACE",""],["_SC_TRACE_EVENT_FILTER",""],["_SC_TRACE_EVENT_NAME_MAX",""],["_SC_TRACE_INHERIT",""],["_SC_TRACE_LOG",""],["_SC_TRACE_NAME_MAX",""],["_SC_TRACE_SYS_MAX",""],["_SC_TRACE_USER_EVENT_MAX",""],["_SC_TTY_NAME_MAX",""],["_SC_TYPED_MEMORY_OBJECTS",""],["_SC_TZNAME_MAX",""],["_SC_T_IOV_MAX",""],["_SC_UCHAR_MAX",""],["_SC_UINT_MAX",""],["_SC_UIO_MAXIOV",""],["_SC_ULONG_MAX",""],["_SC_USER_GROUPS",""],["_SC_USER_GROUPS_R",""],["_SC_USHRT_MAX",""],["_SC_V6_ILP32_OFF32",""],["_SC_V6_ILP32_OFFBIG",""],["_SC_V6_LP64_OFF64",""],["_SC_V6_LPBIG_OFFBIG",""],["_SC_V7_ILP32_OFF32",""],["_SC_V7_ILP32_OFFBIG",""],["_SC_V7_LP64_OFF64",""],["_SC_V7_LPBIG_OFFBIG",""],["_SC_VERSION",""],["_SC_WORD_BIT",""],["_SC_XBS5_ILP32_OFF32",""],["_SC_XBS5_ILP32_OFFBIG",""],["_SC_XBS5_LP64_OFF64",""],["_SC_XBS5_LPBIG_OFFBIG",""],["_SC_XOPEN_CRYPT",""],["_SC_XOPEN_ENH_I18N",""],["_SC_XOPEN_LEGACY",""],["_SC_XOPEN_REALTIME",""],["_SC_XOPEN_REALTIME_THREADS",""],["_SC_XOPEN_SHM",""],["_SC_XOPEN_STREAMS",""],["_SC_XOPEN_UNIX",""],["_SC_XOPEN_VERSION",""],["_SC_XOPEN_XCU_VERSION",""],["_SC_XOPEN_XPG2",""],["_SC_XOPEN_XPG3",""],["_SC_XOPEN_XPG4",""],["__NFT_REG_MAX",""],["__SIZEOF_PTHREAD_CONDATTR_T",""],["__SIZEOF_PTHREAD_COND_T",""],["__SIZEOF_PTHREAD_MUTEXATTR_T",""],["__SIZEOF_PTHREAD_MUTEX_T",""],["__SIZEOF_PTHREAD_RWLOCKATTR_T",""],["__SIZEOF_PTHREAD_RWLOCK_T",""],["__UT_HOSTSIZE",""],["__UT_LINESIZE",""],["__UT_NAMESIZE",""],["__WALL",""],["__WCLONE",""],["__WNOTHREAD",""]],"enum":[["DIR",""],["FILE",""],["c_void","Equivalent to C’s `void` type when used as a [pointer]."],["fpos64_t",""],["fpos_t",""],["timezone",""]],"fn":[["BPF_JUMP",""],["BPF_MISCOP",""],["BPF_RVAL",""],["BPF_STMT",""],["CMSG_DATA",""],["CMSG_FIRSTHDR",""],["CMSG_LEN",""],["CMSG_NXTHDR",""],["CMSG_SPACE",""],["CPU_ALLOC_SIZE",""],["CPU_CLR",""],["CPU_COUNT",""],["CPU_COUNT_S",""],["CPU_EQUAL",""],["CPU_ISSET",""],["CPU_SET",""],["CPU_ZERO",""],["FD_CLR",""],["FD_ISSET",""],["FD_SET",""],["FD_ZERO",""],["IPOPT_CLASS",""],["IPOPT_COPIED",""],["IPOPT_NUMBER",""],["IPTOS_ECN",""],["IPTOS_PREC",""],["IPTOS_TOS",""],["KERNEL_VERSION",""],["NLA_ALIGN",""],["QCMD",""],["RT_ADDRCLASS",""],["RT_LOCALADDR",""],["RT_TOS",""],["SIGRTMAX",""],["SIGRTMIN",""],["SO_EE_OFFENDER",""],["WCOREDUMP",""],["WEXITSTATUS",""],["WIFCONTINUED",""],["WIFEXITED",""],["WIFSIGNALED",""],["WIFSTOPPED",""],["WSTOPSIG",""],["WTERMSIG",""],["W_EXITCODE",""],["W_STOPCODE",""],["__errno_location",""],["_exit",""],["abort",""],["abs",""],["accept",""],["accept4",""],["access",""],["acct",""],["addmntent",""],["adjtime",""],["adjtimex",""],["aio_cancel",""],["aio_error",""],["aio_fsync",""],["aio_read",""],["aio_return",""],["aio_suspend",""],["aio_write",""],["alarm",""],["asctime_r",""],["atexit",""],["atof",""],["atoi",""],["atol",""],["atoll",""],["backtrace",""],["bind",""],["brk",""],["bsearch",""],["calloc",""],["cfgetispeed",""],["cfgetospeed",""],["cfmakeraw",""],["cfsetispeed",""],["cfsetospeed",""],["cfsetspeed",""],["chdir",""],["chmod",""],["chown",""],["chroot",""],["clearenv",""],["clearerr",""],["clock_adjtime",""],["clock_getcpuclockid",""],["clock_getres",""],["clock_gettime",""],["clock_nanosleep",""],["clock_settime",""],["clone",""],["close",""],["closedir",""],["closelog",""],["connect",""],["copy_file_range",""],["creat",""],["creat64",""],["ctermid",""],["ctime_r",""],["daemon",""],["difftime",""],["dirfd",""],["dirname",""],["dl_iterate_phdr",""],["dladdr",""],["dladdr1",""],["dlclose",""],["dlerror",""],["dlinfo",""],["dlmopen",""],["dlopen",""],["dlsym",""],["drand48",""],["dup",""],["dup2",""],["dup3",""],["duplocale",""],["eaccess",""],["endgrent",""],["endmntent",""],["endpwent",""],["endservent",""],["endspent",""],["endutxent",""],["epoll_create",""],["epoll_create1",""],["epoll_ctl",""],["epoll_pwait",""],["epoll_wait",""],["erand48",""],["euidaccess",""],["eventfd",""],["execl",""],["execle",""],["execlp",""],["execv",""],["execve",""],["execvp",""],["execvpe",""],["exit",""],["explicit_bzero",""],["faccessat",""],["fallocate",""],["fallocate64",""],["fanotify_init",""],["fanotify_mark",""],["fchdir",""],["fchmod",""],["fchmodat",""],["fchown",""],["fchownat",""],["fclose",""],["fcntl",""],["fdatasync",""],["fdopen",""],["fdopendir",""],["feof",""],["ferror",""],["fexecve",""],["fflush",""],["fgetc",""],["fgetgrent_r",""],["fgetpos",""],["fgetpos64",""],["fgetpwent_r",""],["fgets",""],["fgetspent_r",""],["fgetxattr",""],["fileno",""],["flistxattr",""],["flock",""],["fmemopen",""],["fopen",""],["fopen64",""],["fork",""],["forkpty",""],["fpathconf",""],["fprintf",""],["fputc",""],["fputs",""],["fread",""],["fread_unlocked",""],["free",""],["freeaddrinfo",""],["freeifaddrs",""],["freelocale",""],["fremovexattr",""],["freopen",""],["freopen64",""],["fscanf",""],["fseek",""],["fseeko",""],["fseeko64",""],["fsetpos",""],["fsetpos64",""],["fsetxattr",""],["fstat",""],["fstat64",""],["fstatat",""],["fstatat64",""],["fstatfs",""],["fstatfs64",""],["fstatvfs",""],["fstatvfs64",""],["fsync",""],["ftell",""],["ftello",""],["ftello64",""],["ftok",""],["ftruncate",""],["ftruncate64",""],["futimens",""],["futimes",""],["fwrite",""],["gai_strerror",""],["getaddrinfo",""],["getauxval",""],["getchar",""],["getchar_unlocked",""],["getcontext",""],["getcwd",""],["getdomainname",""],["getdtablesize",""],["getegid",""],["getentropy",""],["getenv",""],["geteuid",""],["getgid",""],["getgrent",""],["getgrent_r",""],["getgrgid",""],["getgrgid_r",""],["getgrnam",""],["getgrnam_r",""],["getgrouplist",""],["getgroups",""],["gethostid",""],["gethostname",""],["getifaddrs",""],["getline",""],["getloadavg",""],["getlogin",""],["getmntent",""],["getnameinfo",""],["getopt",""],["getopt_long",""],["getpeername",""],["getpgid",""],["getpgrp",""],["getpid",""],["getppid",""],["getpriority",""],["getprotobyname",""],["getprotobynumber",""],["getpt",""],["getpwent",""],["getpwent_r",""],["getpwnam",""],["getpwnam_r",""],["getpwuid",""],["getpwuid_r",""],["getrandom",""],["getresgid",""],["getresuid",""],["getrlimit",""],["getrlimit64",""],["getrusage",""],["getservbyname",""],["getservbyport",""],["getservent",""],["getsid",""],["getsockname",""],["getsockopt",""],["getspent",""],["getspent_r",""],["getspnam",""],["getspnam_r",""],["gettid",""],["gettimeofday",""],["getuid",""],["getutxent",""],["getutxid",""],["getutxline",""],["getxattr",""],["glob",""],["glob64",""],["globfree",""],["globfree64",""],["gmtime",""],["gmtime_r",""],["gnu_basename","GNU version of `basename(3)`, defined in `string.h`."],["gnu_get_libc_release",""],["gnu_get_libc_version",""],["grantpt",""],["hasmntopt",""],["hstrerror",""],["iconv",""],["iconv_close",""],["iconv_open",""],["if_freenameindex",""],["if_indextoname",""],["if_nameindex",""],["if_nametoindex",""],["initgroups",""],["inotify_add_watch",""],["inotify_init",""],["inotify_init1",""],["inotify_rm_watch",""],["ioctl",""],["ioperm",""],["iopl",""],["isalnum",""],["isalpha",""],["isatty",""],["isblank",""],["iscntrl",""],["isdigit",""],["isgraph",""],["islower",""],["isprint",""],["ispunct",""],["isspace",""],["isupper",""],["isxdigit",""],["jrand48",""],["kill",""],["killpg",""],["labs",""],["lchown",""],["lcong48",""],["lgetxattr",""],["link",""],["linkat",""],["lio_listio",""],["listen",""],["listxattr",""],["llistxattr",""],["localeconv",""],["localtime",""],["localtime_r",""],["lockf",""],["login_tty",""],["lrand48",""],["lremovexattr",""],["lseek",""],["lseek64",""],["lsetxattr",""],["lstat",""],["lstat64",""],["lutimes",""],["madvise",""],["major",""],["makecontext",""],["makedev",""],["mallinfo",""],["mallinfo2",""],["malloc",""],["malloc_info",""],["malloc_trim",""],["malloc_usable_size",""],["mallopt",""],["memalign",""],["memchr",""],["memcmp",""],["memcpy",""],["memfd_create",""],["memmem",""],["memmove",""],["memrchr",""],["memset",""],["mincore",""],["minor",""],["mkdir",""],["mkdirat",""],["mkdtemp",""],["mkfifo",""],["mkfifoat",""],["mknod",""],["mknodat",""],["mkostemp",""],["mkostemps",""],["mkstemp",""],["mkstemps",""],["mktime",""],["mlock",""],["mlock2",""],["mlockall",""],["mmap",""],["mmap64",""],["mount",""],["mprotect",""],["mq_close",""],["mq_getattr",""],["mq_open",""],["mq_receive",""],["mq_send",""],["mq_setattr",""],["mq_timedreceive",""],["mq_timedsend",""],["mq_unlink",""],["mrand48",""],["mremap",""],["msgctl",""],["msgget",""],["msgrcv",""],["msgsnd",""],["msync",""],["munlock",""],["munlockall",""],["munmap",""],["nanosleep",""],["newlocale",""],["nice",""],["nl_langinfo",""],["nl_langinfo_l",""],["nrand48",""],["ntp_adjtime",""],["ntp_gettime",""],["open",""],["open64",""],["open_memstream",""],["open_wmemstream",""],["openat",""],["openat64",""],["opendir",""],["openlog",""],["openpty",""],["pathconf",""],["pause",""],["pclose",""],["perror",""],["personality",""],["pipe",""],["pipe2",""],["poll",""],["popen",""],["posix_basename","POSIX version of `basename(3)`, defined in `libgen.h`."],["posix_fadvise",""],["posix_fadvise64",""],["posix_fallocate",""],["posix_fallocate64",""],["posix_madvise",""],["posix_memalign",""],["posix_openpt",""],["posix_spawn",""],["posix_spawn_file_actions_addclose",""],["posix_spawn_file_actions_adddup2",""],["posix_spawn_file_actions_addopen",""],["posix_spawn_file_actions_destroy",""],["posix_spawn_file_actions_init",""],["posix_spawnattr_destroy",""],["posix_spawnattr_getflags",""],["posix_spawnattr_getpgroup",""],["posix_spawnattr_getschedparam",""],["posix_spawnattr_getschedpolicy",""],["posix_spawnattr_getsigdefault",""],["posix_spawnattr_getsigmask",""],["posix_spawnattr_init",""],["posix_spawnattr_setflags",""],["posix_spawnattr_setpgroup",""],["posix_spawnattr_setschedparam",""],["posix_spawnattr_setschedpolicy",""],["posix_spawnattr_setsigdefault",""],["posix_spawnattr_setsigmask",""],["posix_spawnp",""],["ppoll",""],["prctl",""],["pread",""],["pread64",""],["preadv",""],["preadv2",""],["preadv64",""],["preadv64v2",""],["printf",""],["prlimit",""],["prlimit64",""],["process_vm_readv",""],["process_vm_writev",""],["pselect",""],["pthread_atfork",""],["pthread_attr_destroy",""],["pthread_attr_getaffinity_np",""],["pthread_attr_getguardsize",""],["pthread_attr_getstack",""],["pthread_attr_init",""],["pthread_attr_setaffinity_np",""],["pthread_attr_setdetachstate",""],["pthread_attr_setstacksize",""],["pthread_cancel",""],["pthread_cond_broadcast",""],["pthread_cond_destroy",""],["pthread_cond_init",""],["pthread_cond_signal",""],["pthread_cond_timedwait",""],["pthread_cond_wait",""],["pthread_condattr_destroy",""],["pthread_condattr_getclock",""],["pthread_condattr_getpshared",""],["pthread_condattr_init",""],["pthread_condattr_setclock",""],["pthread_condattr_setpshared",""],["pthread_create",""],["pthread_detach",""],["pthread_exit",""],["pthread_getaffinity_np",""],["pthread_getattr_np",""],["pthread_getcpuclockid",""],["pthread_getname_np",""],["pthread_getschedparam",""],["pthread_getspecific",""],["pthread_join",""],["pthread_key_create",""],["pthread_key_delete",""],["pthread_kill",""],["pthread_mutex_consistent",""],["pthread_mutex_destroy",""],["pthread_mutex_init",""],["pthread_mutex_lock",""],["pthread_mutex_timedlock",""],["pthread_mutex_trylock",""],["pthread_mutex_unlock",""],["pthread_mutexattr_destroy",""],["pthread_mutexattr_getprotocol",""],["pthread_mutexattr_getpshared",""],["pthread_mutexattr_getrobust",""],["pthread_mutexattr_init",""],["pthread_mutexattr_setprotocol",""],["pthread_mutexattr_setpshared",""],["pthread_mutexattr_setrobust",""],["pthread_mutexattr_settype",""],["pthread_rwlock_destroy",""],["pthread_rwlock_init",""],["pthread_rwlock_rdlock",""],["pthread_rwlock_tryrdlock",""],["pthread_rwlock_trywrlock",""],["pthread_rwlock_unlock",""],["pthread_rwlock_wrlock",""],["pthread_rwlockattr_destroy",""],["pthread_rwlockattr_getkind_np",""],["pthread_rwlockattr_getpshared",""],["pthread_rwlockattr_init",""],["pthread_rwlockattr_setkind_np",""],["pthread_rwlockattr_setpshared",""],["pthread_self",""],["pthread_setaffinity_np",""],["pthread_setname_np",""],["pthread_setschedparam",""],["pthread_setschedprio",""],["pthread_setspecific",""],["pthread_sigmask",""],["pthread_sigqueue",""],["pthread_spin_destroy",""],["pthread_spin_init",""],["pthread_spin_lock",""],["pthread_spin_trylock",""],["pthread_spin_unlock",""],["ptrace",""],["ptsname",""],["ptsname_r",""],["putchar",""],["putchar_unlocked",""],["putenv",""],["puts",""],["pututxline",""],["pwrite",""],["pwrite64",""],["pwritev",""],["pwritev2",""],["pwritev64",""],["pwritev64v2",""],["qsort",""],["qsort_r",""],["quotactl",""],["raise",""],["rand",""],["read",""],["readahead",""],["readdir",""],["readdir64",""],["readdir64_r",""],["readdir_r","The 64-bit libc on Solaris and illumos only has readdir_r. If a 32-bit Solaris or illumos target is ever created, it should use __posix_readdir_r. See libc(3LIB) on Solaris or illumos: https:\/\/illumos.org\/man\/3lib\/libc https:\/\/docs.oracle.com\/cd\/E36784_01\/html\/E36873\/libc-3lib.html https:\/\/www.unix.com\/man-page\/opensolaris\/3LIB\/libc\/"],["readlink",""],["readlinkat",""],["readv",""],["realloc",""],["reallocarray",""],["realpath",""],["reboot",""],["recv",""],["recvfrom",""],["recvmmsg",""],["recvmsg",""],["regcomp",""],["regerror",""],["regexec",""],["regfree",""],["remap_file_pages",""],["remove",""],["removexattr",""],["rename",""],["renameat",""],["renameat2",""],["res_init",""],["rewind",""],["rewinddir",""],["rmdir",""],["sbrk",""],["scanf",""],["sched_get_priority_max",""],["sched_get_priority_min",""],["sched_getaffinity",""],["sched_getcpu",""],["sched_getparam",""],["sched_getscheduler",""],["sched_rr_get_interval",""],["sched_setaffinity",""],["sched_setparam",""],["sched_setscheduler",""],["sched_yield",""],["seed48",""],["seekdir",""],["select",""],["sem_close",""],["sem_destroy",""],["sem_getvalue",""],["sem_init",""],["sem_open",""],["sem_post",""],["sem_timedwait",""],["sem_trywait",""],["sem_unlink",""],["sem_wait",""],["semctl",""],["semget",""],["semop",""],["send",""],["sendfile",""],["sendfile64",""],["sendmmsg",""],["sendmsg",""],["sendto",""],["setbuf",""],["setcontext",""],["setdomainname",""],["setegid",""],["setenv",""],["seteuid",""],["setfsgid",""],["setfsuid",""],["setgid",""],["setgrent",""],["setgroups",""],["sethostid",""],["sethostname",""],["setlocale",""],["setlogmask",""],["setmntent",""],["setns",""],["setpgid",""],["setpriority",""],["setpwent",""],["setregid",""],["setresgid",""],["setresuid",""],["setreuid",""],["setrlimit",""],["setrlimit64",""],["setservent",""],["setsid",""],["setsockopt",""],["setspent",""],["settimeofday",""],["setuid",""],["setutxent",""],["setvbuf",""],["setxattr",""],["sgetspent_r",""],["shm_open",""],["shm_unlink",""],["shmat",""],["shmctl",""],["shmdt",""],["shmget",""],["shutdown",""],["sigaction",""],["sigaddset",""],["sigaltstack",""],["sigdelset",""],["sigemptyset",""],["sigfillset",""],["sigismember",""],["signal",""],["signalfd",""],["sigpending",""],["sigprocmask",""],["sigsuspend",""],["sigtimedwait",""],["sigwait",""],["sigwaitinfo",""],["sleep",""],["snprintf",""],["socket",""],["socketpair",""],["splice",""],["sprintf",""],["srand",""],["srand48",""],["sscanf",""],["stat",""],["stat64",""],["statfs",""],["statfs64",""],["statvfs",""],["statvfs64",""],["statx",""],["stpcpy",""],["stpncpy",""],["strcasecmp",""],["strcasestr",""],["strcat",""],["strchr",""],["strcmp",""],["strcoll",""],["strcpy",""],["strcspn",""],["strdup",""],["strerror",""],["strerror_r",""],["strftime",""],["strlen",""],["strncasecmp",""],["strncat",""],["strncmp",""],["strncpy",""],["strndup",""],["strnlen",""],["strpbrk",""],["strptime",""],["strrchr",""],["strsignal",""],["strspn",""],["strstr",""],["strtod",""],["strtof",""],["strtok",""],["strtok_r",""],["strtol",""],["strtoll",""],["strtoul",""],["strtoull",""],["strxfrm",""],["swapcontext",""],["swapoff",""],["swapon",""],["symlink",""],["symlinkat",""],["sync",""],["sync_file_range",""],["syncfs",""],["syscall",""],["sysconf",""],["sysctl",""],["sysinfo",""],["syslog",""],["system",""],["tcdrain",""],["tcflow",""],["tcflush",""],["tcgetattr",""],["tcgetpgrp",""],["tcgetsid",""],["tcsendbreak",""],["tcsetattr",""],["tcsetpgrp",""],["tee",""],["telldir",""],["time",""],["timegm",""],["timer_create",""],["timer_delete",""],["timer_getoverrun",""],["timer_gettime",""],["timer_settime",""],["timerfd_create",""],["timerfd_gettime",""],["timerfd_settime",""],["times",""],["tmpfile",""],["tmpfile64",""],["tmpnam",""],["tolower",""],["toupper",""],["truncate",""],["truncate64",""],["ttyname",""],["ttyname_r",""],["umask",""],["umount",""],["umount2",""],["uname",""],["ungetc",""],["unlink",""],["unlinkat",""],["unlockpt",""],["unsetenv",""],["unshare",""],["uselocale",""],["usleep",""],["utime",""],["utimensat",""],["utimes",""],["utmpname",""],["utmpxname",""],["vfork",""],["vhangup",""],["vmsplice",""],["wait",""],["wait4",""],["waitid",""],["waitpid",""],["wcslen",""],["wcstombs",""],["wmemchr",""],["write",""],["writev",""]],"struct":[["Dl_info",""],["Elf32_Chdr",""],["Elf32_Ehdr",""],["Elf32_Phdr",""],["Elf32_Shdr",""],["Elf32_Sym",""],["Elf64_Chdr",""],["Elf64_Ehdr",""],["Elf64_Phdr",""],["Elf64_Shdr",""],["Elf64_Sym",""],["__c_anonymous_ifru_map",""],["__c_anonymous_ptrace_syscall_info_entry",""],["__c_anonymous_ptrace_syscall_info_exit",""],["__c_anonymous_ptrace_syscall_info_seccomp",""],["__c_anonymous_sockaddr_can_j1939",""],["__c_anonymous_sockaddr_can_tp",""],["__exit_status",""],["__timeval",""],["_libc_fpstate",""],["_libc_fpxreg",""],["_libc_xmmreg",""],["addrinfo",""],["af_alg_iv","WARNING: The `PartialEq`, `Eq` and `Hash` implementations of this type are unsound and will be removed in the future."],["aiocb",""],["arpd_request",""],["arphdr",""],["arpreq",""],["arpreq_old",""],["can_filter",""],["can_frame",""],["canfd_frame",""],["clone_args",""],["cmsghdr",""],["cpu_set_t",""],["dirent",""],["dirent64",""],["dl_phdr_info",""],["dqblk",""],["epoll_event",""],["fanotify_event_metadata",""],["fanotify_response",""],["fd_set",""],["ff_condition_effect",""],["ff_constant_effect",""],["ff_effect",""],["ff_envelope",""],["ff_periodic_effect",""],["ff_ramp_effect",""],["ff_replay",""],["ff_rumble_effect",""],["ff_trigger",""],["file_clone_range",""],["flock",""],["flock64",""],["fsid_t",""],["genlmsghdr",""],["glob64_t",""],["glob_t",""],["group",""],["hostent",""],["if_nameindex",""],["ifaddrs",""],["ifreq",""],["in6_addr",""],["in6_ifreq",""],["in6_pktinfo",""],["in6_rtmsg",""],["in_addr",""],["in_pktinfo",""],["inotify_event",""],["input_absinfo",""],["input_event",""],["input_id",""],["input_keymap_entry",""],["input_mask",""],["iovec",""],["ip_mreq",""],["ip_mreq_source",""],["ip_mreqn",""],["ipc_perm",""],["ipv6_mreq",""],["itimerspec",""],["itimerval",""],["j1939_filter",""],["lconv",""],["linger",""],["mallinfo",""],["mallinfo2",""],["max_align_t",""],["mcontext_t",""],["mmsghdr",""],["mntent",""],["mq_attr",""],["msghdr",""],["msginfo",""],["msqid_ds",""],["nl_mmap_hdr",""],["nl_mmap_req",""],["nl_pktinfo",""],["nlattr",""],["nlmsgerr",""],["nlmsghdr",""],["ntptimeval",""],["open_how",""],["option",""],["packet_mreq",""],["passwd",""],["pollfd",""],["posix_spawn_file_actions_t",""],["posix_spawnattr_t",""],["protoent",""],["pthread_attr_t",""],["pthread_cond_t",""],["pthread_condattr_t",""],["pthread_mutex_t",""],["pthread_mutexattr_t",""],["pthread_rwlock_t",""],["pthread_rwlockattr_t",""],["ptrace_peeksiginfo_args",""],["ptrace_rseq_configuration",""],["ptrace_syscall_info",""],["regex_t",""],["regmatch_t",""],["rlimit",""],["rlimit64",""],["rtentry",""],["rusage",""],["sched_param",""],["seccomp_data",""],["seccomp_notif_sizes",""],["sem_t",""],["sembuf",""],["semid_ds",""],["seminfo",""],["servent",""],["shmid_ds",""],["sigaction",""],["sigevent",""],["siginfo_t",""],["signalfd_siginfo",""],["sigset_t",""],["sigval",""],["sock_extended_err",""],["sock_filter",""],["sock_fprog",""],["sock_txtime",""],["sockaddr",""],["sockaddr_alg",""],["sockaddr_can",""],["sockaddr_in",""],["sockaddr_in6",""],["sockaddr_ll",""],["sockaddr_nl",""],["sockaddr_storage",""],["sockaddr_un",""],["sockaddr_vm",""],["spwd",""],["stack_t",""],["stat",""],["stat64",""],["statfs",""],["statfs64",""],["statvfs",""],["statvfs64",""],["statx",""],["statx_timestamp",""],["sysinfo",""],["termios",""],["termios2",""],["timespec",""],["timeval",""],["timex",""],["tm",""],["tms",""],["ucontext_t",""],["ucred",""],["uinput_abs_setup",""],["uinput_ff_erase",""],["uinput_ff_upload",""],["uinput_setup",""],["uinput_user_dev",""],["user",""],["user_fpregs_struct",""],["user_regs_struct",""],["utimbuf",""],["utmpx",""],["utsname",""],["winsize",""]],"type":[["Elf32_Addr",""],["Elf32_Half",""],["Elf32_Off",""],["Elf32_Section",""],["Elf32_Word",""],["Elf64_Addr",""],["Elf64_Half",""],["Elf64_Off",""],["Elf64_Section",""],["Elf64_Sxword",""],["Elf64_Word",""],["Elf64_Xword",""],["Lmid_t",""],["__fsword_t",""],["__priority_which_t",""],["__rlimit_resource_t",""],["__s16",""],["__s32",""],["__s64",""],["__syscall_ulong_t",""],["__u16",""],["__u32",""],["__u64",""],["__u8",""],["blkcnt64_t",""],["blkcnt_t",""],["blksize_t",""],["c_char",""],["c_double",""],["c_float",""],["c_int",""],["c_long",""],["c_longlong",""],["c_schar",""],["c_short",""],["c_uchar",""],["c_uint",""],["c_ulong",""],["c_ulonglong",""],["c_ushort",""],["can_err_mask_t",""],["canid_t",""],["cc_t",""],["clock_t",""],["clockid_t",""],["dev_t",""],["fsblkcnt_t",""],["fsfilcnt_t",""],["gid_t",""],["greg_t",""],["iconv_t",""],["id_t",""],["idtype_t",""],["in_addr_t",""],["in_port_t",""],["ino64_t",""],["ino_t",""],["int16_t",""],["int32_t",""],["int64_t",""],["int8_t",""],["intmax_t",""],["intptr_t",""],["key_t",""],["locale_t",""],["loff_t",""],["mode_t",""],["mqd_t",""],["msglen_t",""],["msgqnum_t",""],["name_t",""],["nfds_t",""],["nl_item",""],["nlink_t",""],["off64_t",""],["off_t",""],["pgn_t",""],["pid_t",""],["priority_t",""],["pthread_key_t",""],["pthread_spinlock_t",""],["pthread_t",""],["ptrdiff_t",""],["regoff_t",""],["rlim64_t",""],["rlim_t",""],["sa_family_t",""],["shmatt_t",""],["sighandler_t",""],["size_t",""],["socklen_t",""],["speed_t",""],["ssize_t",""],["suseconds_t",""],["tcflag_t",""],["time_t",""],["timer_t",""],["uid_t",""],["uint16_t",""],["uint32_t",""],["uint64_t",""],["uint8_t",""],["uintmax_t",""],["uintptr_t",""],["useconds_t",""],["wchar_t",""]],"union":[["__c_anonymous_ifr_ifru",""],["__c_anonymous_ptrace_syscall_info_data",""],["__c_anonymous_sockaddr_can_can_addr",""]]};/;" p class:window.SIDEBAR_ITEMS
|
||
fn guessing_game/target/doc/rand/seq/index/sidebar-items.js /^window.SIDEBAR_ITEMS = {"enum":[["IndexVec","A vector of indices."],["IndexVecIntoIter","Return type of `IndexVec::into_iter`."],["IndexVecIter","Return type of `IndexVec::iter`."]],"fn":[["sample","Randomly sample exactly `amount` distinct indices from `0..length`, and return them in random order (fully shuffled)."],["sample_weighted","Randomly sample exactly `amount` distinct indices from `0..length`, and return them in an arbitrary order (there is no guarantee of shuffling or ordering). The weights are to be provided by the input function `weights`, which will be called once for each index."]]};/;" p class:window.SIDEBAR_ITEMS
|
||
fn guessing_game/target/doc/rand/sidebar-items.js /^window.SIDEBAR_ITEMS = {"fn":[["random","Generates a random value using the thread-local random number generator."],["thread_rng","Retrieve the lazily-initialized thread-local random number generator, seeded by the system. Intended to be used in method chaining style, e.g. `thread_rng().gen::<i32>()`, or cached locally, e.g. `let mut rng = thread_rng();`. Invoked by the `Default` trait, making `ThreadRng::default()` equivalent."]],"mod":[["distributions","Generating random samples from probability distributions"],["prelude","Convenience re-export of common members"],["rngs","Random number generators and adapters"],["seq","Sequence-related functionality"]],"struct":[["Error","Error type of random number generators"]],"trait":[["CryptoRng","A marker trait used to indicate that an [`RngCore`] or `BlockRngCore` implementation is supposed to be cryptographically secure."],["Fill","Types which may be filled with random data"],["Rng","An automatically-implemented extension trait on [`RngCore`] providing high-level generic methods for sampling values and other convenience methods."],["RngCore","The core of a random number generator."],["SeedableRng","A random number generator that can be explicitly seeded."]]};/;" p class:window.SIDEBAR_ITEMS
|
||
fn guessing_game/target/doc/rand_core/impls/sidebar-items.js /^window.SIDEBAR_ITEMS = {"fn":[["fill_bytes_via_next","Implement `fill_bytes` via `next_u64` and `next_u32`, little-endian order."],["fill_via_u32_chunks","Implement `fill_bytes` by reading chunks from the output buffer of a block based RNG."],["fill_via_u64_chunks","Implement `fill_bytes` by reading chunks from the output buffer of a block based RNG."],["next_u32_via_fill","Implement `next_u32` via `fill_bytes`, little-endian order."],["next_u64_via_fill","Implement `next_u64` via `fill_bytes`, little-endian order."],["next_u64_via_u32","Implement `next_u64` via `next_u32`, little-endian order."]]};/;" p class:window.SIDEBAR_ITEMS
|
||
fn guessing_game/target/doc/rand_core/le/sidebar-items.js /^window.SIDEBAR_ITEMS = {"fn":[["read_u32_into","Reads unsigned 32 bit integers from `src` into `dst`."],["read_u64_into","Reads unsigned 64 bit integers from `src` into `dst`."]]};/;" p class:window.SIDEBAR_ITEMS
|
||
focusSearchResult guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f
|
||
genericsElems guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" p class:const
|
||
getAlternativeDisplayElem guessing_game/target/doc/static.files/main-c55e1eb52e1886b4.js /^"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.type="text\/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("\/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"))};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="<h3 class=\\"search-loading\\">"+searchState.loadingText+"<\/h3>";searchState.showResults(search)},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(\/^#\/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`<a href="index.html#${id}">${longty}<\/a>`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const item of filtered){const name=item[0];const desc=item[1];let path;if(shortty==="mod"){path=name+"\/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("\/").pop();const link=document.createElement("a");link.href=path;link.title=desc;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"\/index.html";if(window.rootPath!==".\/"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\\n").length;const elems=[];for(let i=0;i<count;++i){elems.push(i+1)}const node=document.createElement("pre");addClass(node,"example-line-numbers");node.innerHTML=elems.join("\\n");parent.insertBefore(node,x)})};window.rustdoc_remove_line_numbers_from_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}let oldSidebarScrollPosition=null;window.rustdocMobileScrollLock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(window.innerWidth<=window.RUSTDOC_MOBILE_BREAKPOINT){oldSidebarScrollPosition=window.scrollY;document.body.style.width=`${document.body.offsetWidth}px`;document.body.style.position="fixed";document.body.style.top=`-${oldSidebarScrollPosition}px`;if(mobile_topbar){mobile_topbar.style.top=`${oldSidebarScrollPosition}px`;mobile_topbar.style.position="relative"}}else{oldSidebarScrollPosition=null}};window.rustdocMobileScrollUnlock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(oldSidebarScrollPosition!==null){document.body.style.width="";document.body.style.position="";document.body.style.top="";if(mobile_topbar){mobile_topbar.style.top="";mobile_topbar.style.position=""}window.scrollTo(0,oldSidebarScrollPosition);oldSidebarScrollPosition=null}};function showSidebar(){window.hideAllModals(false);window.rustdocMobileScrollLock();const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){window.rustdocMobileScrollUnlock();const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.innerWidth>window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}if(window.CURRENT_NOTABLE_ELEMENT){const base=window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE;const force_visible=base.NOTABLE_FORCE_VISIBLE;hideNotable(false);if(force_visible){showNotable(base);base.NOTABLE_FORCE_VISIBLE=true}}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showNotable(e){if(!window.NOTABLE_TRAITS){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showNotable() called on page without any notable traits!")}}if(window.CURRENT_NOTABLE_ELEMENT&&window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE===e){return}window.hideAllModals(false);const ty=e.getAttribute("data-ty");const wrapper=document.createElement("div");wrapper.innerHTML="<div class=\\"docblock\\">"+window.NOTABLE_TRAITS[ty]+"<\/div>";wrapper.className="notable popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideNotable;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_NOTABLE_ELEMENT=wrapper;window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE=e;wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,e)){hideNotable(true)}}}function notableBlurHandler(event){if(window.CURRENT_NOTABLE_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)){setTimeout(()=>hideNotable(false),0)}}function hideNotable(focus){if(window.CURRENT_NOTABLE_ELEMENT){if(window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE){if(focus){window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus()}window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_NOTABLE_ELEMENT);window.CURRENT_NOTABLE_ELEMENT=null}}onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.NOTABLE_FORCE_VISIBLE=this.NOTABLE_FORCE_VISIBLE?false:true;if(window.CURRENT_NOTABLE_ELEMENT&&!this.NOTABLE_FORCE_VISIBLE){hideNotable(true)}else{showNotable(this);window.CURRENT_NOTABLE_ELEMENT.setAttribute("tabindex","0");window.CURRENT_NOTABLE_ELEMENT.focus();window.CURRENT_NOTABLE_ELEMENT.onblur=notableBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}showNotable(this)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)){hideNotable(true)}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \\$/;" f
|
||
getCurrentValue guessing_game/target/doc/static.files/storage-d43fa987303ecbbb.js /^"use strict";const darkThemes=["dark","ayu"];window.currentTheme=document.getElementById("themeStyle");window.mainTheme=document.getElementById("mainThemeStyle");window.RUSTDOC_MOBILE_BREAKPOINT=700;const settingsDataset=(function(){const settingsElement=document.getElementById("default-settings");if(settingsElement===null){return null}const dataset=settingsElement.dataset;if(dataset===undefined){return null}return dataset})();function getSettingValue(settingName){const current=getCurrentValue(settingName);if(current!==null){return current}if(settingsDataset!==null){const def=settingsDataset[settingName.replace(\/-\/g,"_")];if(def!==undefined){return def}}return null}const localStoredTheme=getSettingValue("theme");const savedHref=[];function hasClass(elem,className){return elem&&elem.classList&&elem.classList.contains(className)}function addClass(elem,className){if(!elem||!elem.classList){return}elem.classList.add(className)}function removeClass(elem,className){if(!elem||!elem.classList){return}elem.classList.remove(className)}function onEach(arr,func,reversed){if(arr&&arr.length>0&&func){if(reversed){const length=arr.length;for(let i=length-1;i>=0;--i){if(func(arr[i])){return true}}}else{for(const elem of arr){if(func(elem)){return true}}}}return false}function onEachLazy(lazyArray,func,reversed){return onEach(Array.prototype.slice.call(lazyArray),func,reversed)}function updateLocalStorage(name,value){try{window.localStorage.setItem("rustdoc-"+name,value)}catch(e){}}function getCurrentValue(name){try{return window.localStorage.getItem("rustdoc-"+name)}catch(e){return null}}function switchTheme(styleElem,mainStyleElem,newThemeName,saveTheme){if(saveTheme){updateLocalStorage("theme",newThemeName)}if(savedHref.length===0){onEachLazy(document.getElementsByTagName("link"),el=>{savedHref.push(el.href)})}const newHref=savedHref.find(url=>{const m=url.match(\/static\\.files\\\/(.*)-[a-f0-9]{16}\\.css$\/);if(m&&m[1]===newThemeName){return true}const m2=url.match(\/\\\/([^\/]*)\\.css$\/);if(m2&&m2[1].startsWith(newThemeName)){return true}});if(newHref&&newHref!==styleElem.href){styleElem.href=newHref}}function useSystemTheme(value){if(value===undefined){value=true}updateLocalStorage("use-system-theme",value);const toggle=document.getElementById("use-system-theme");if(toggle&&toggle instanceof HTMLInputElement){toggle.checked=value}}const updateSystemTheme=(function(){if(!window.matchMedia){return()=>{const cssTheme=getComputedStyle(document.documentElement).getPropertyValue("content");switchTheme(window.currentTheme,window.mainTheme,JSON.parse(cssTheme)||"light",true)}}const mql=window.matchMedia("(prefers-color-scheme: dark)");function handlePreferenceChange(mql){const use=theme=>{switchTheme(window.currentTheme,window.mainTheme,theme,true)};if(getSettingValue("use-system-theme")!=="false"){const lightTheme=getSettingValue("preferred-light-theme")||"light";const darkTheme=getSettingValue("preferred-dark-theme")||"dark";if(mql.matches){use(darkTheme)}else{use(lightTheme)}}else{use(getSettingValue("theme"))}}mql.addListener(handlePreferenceChange);return()=>{handlePreferenceChange(mql)}})();function switchToSavedTheme(){switchTheme(window.currentTheme,window.mainTheme,getSettingValue("theme")||"light",false)}if(getSettingValue("use-system-theme")!=="false"&&window.matchMedia){if(getSettingValue("use-system-theme")===null&&getSettingValue("preferred-dark-theme")===null&&darkThemes.indexOf(localStoredTheme)>=0){updateLocalStorage("preferred-dark-theme",localStoredTheme)}updateSystemTheme()}else{switchToSavedTheme()}if(getSettingValue("source-sidebar-show")==="true"){addClass(document.documentElement,"source-sidebar-expanded")}window.addEventListener("pageshow",ev=>{if(ev.persisted){setTimeout(switchToSavedTheme,0)}})/;" f
|
||
getFilterCrates guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f
|
||
getHelpButton guessing_game/target/doc/static.files/main-c55e1eb52e1886b4.js /^"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.type="text\/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("\/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"))};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="<h3 class=\\"search-loading\\">"+searchState.loadingText+"<\/h3>";searchState.showResults(search)},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(\/^#\/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`<a href="index.html#${id}">${longty}<\/a>`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const item of filtered){const name=item[0];const desc=item[1];let path;if(shortty==="mod"){path=name+"\/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("\/").pop();const link=document.createElement("a");link.href=path;link.title=desc;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"\/index.html";if(window.rootPath!==".\/"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\\n").length;const elems=[];for(let i=0;i<count;++i){elems.push(i+1)}const node=document.createElement("pre");addClass(node,"example-line-numbers");node.innerHTML=elems.join("\\n");parent.insertBefore(node,x)})};window.rustdoc_remove_line_numbers_from_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}let oldSidebarScrollPosition=null;window.rustdocMobileScrollLock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(window.innerWidth<=window.RUSTDOC_MOBILE_BREAKPOINT){oldSidebarScrollPosition=window.scrollY;document.body.style.width=`${document.body.offsetWidth}px`;document.body.style.position="fixed";document.body.style.top=`-${oldSidebarScrollPosition}px`;if(mobile_topbar){mobile_topbar.style.top=`${oldSidebarScrollPosition}px`;mobile_topbar.style.position="relative"}}else{oldSidebarScrollPosition=null}};window.rustdocMobileScrollUnlock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(oldSidebarScrollPosition!==null){document.body.style.width="";document.body.style.position="";document.body.style.top="";if(mobile_topbar){mobile_topbar.style.top="";mobile_topbar.style.position=""}window.scrollTo(0,oldSidebarScrollPosition);oldSidebarScrollPosition=null}};function showSidebar(){window.hideAllModals(false);window.rustdocMobileScrollLock();const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){window.rustdocMobileScrollUnlock();const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.innerWidth>window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}if(window.CURRENT_NOTABLE_ELEMENT){const base=window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE;const force_visible=base.NOTABLE_FORCE_VISIBLE;hideNotable(false);if(force_visible){showNotable(base);base.NOTABLE_FORCE_VISIBLE=true}}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showNotable(e){if(!window.NOTABLE_TRAITS){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showNotable() called on page without any notable traits!")}}if(window.CURRENT_NOTABLE_ELEMENT&&window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE===e){return}window.hideAllModals(false);const ty=e.getAttribute("data-ty");const wrapper=document.createElement("div");wrapper.innerHTML="<div class=\\"docblock\\">"+window.NOTABLE_TRAITS[ty]+"<\/div>";wrapper.className="notable popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideNotable;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_NOTABLE_ELEMENT=wrapper;window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE=e;wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,e)){hideNotable(true)}}}function notableBlurHandler(event){if(window.CURRENT_NOTABLE_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)){setTimeout(()=>hideNotable(false),0)}}function hideNotable(focus){if(window.CURRENT_NOTABLE_ELEMENT){if(window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE){if(focus){window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus()}window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_NOTABLE_ELEMENT);window.CURRENT_NOTABLE_ELEMENT=null}}onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.NOTABLE_FORCE_VISIBLE=this.NOTABLE_FORCE_VISIBLE?false:true;if(window.CURRENT_NOTABLE_ELEMENT&&!this.NOTABLE_FORCE_VISIBLE){hideNotable(true)}else{showNotable(this);window.CURRENT_NOTABLE_ELEMENT.setAttribute("tabindex","0");window.CURRENT_NOTABLE_ELEMENT.focus();window.CURRENT_NOTABLE_ELEMENT.onblur=notableBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}showNotable(this)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)){hideNotable(true)}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \\$/;" f
|
||
getIdentEndPosition guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:hasOwnPropertyRustdoc
|
||
getItemsBefore guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:hasOwnPropertyRustdoc
|
||
getNakedUrl guessing_game/target/doc/static.files/main-c55e1eb52e1886b4.js /^"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.type="text\/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("\/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"))};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="<h3 class=\\"search-loading\\">"+searchState.loadingText+"<\/h3>";searchState.showResults(search)},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(\/^#\/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`<a href="index.html#${id}">${longty}<\/a>`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const item of filtered){const name=item[0];const desc=item[1];let path;if(shortty==="mod"){path=name+"\/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("\/").pop();const link=document.createElement("a");link.href=path;link.title=desc;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"\/index.html";if(window.rootPath!==".\/"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\\n").length;const elems=[];for(let i=0;i<count;++i){elems.push(i+1)}const node=document.createElement("pre");addClass(node,"example-line-numbers");node.innerHTML=elems.join("\\n");parent.insertBefore(node,x)})};window.rustdoc_remove_line_numbers_from_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}let oldSidebarScrollPosition=null;window.rustdocMobileScrollLock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(window.innerWidth<=window.RUSTDOC_MOBILE_BREAKPOINT){oldSidebarScrollPosition=window.scrollY;document.body.style.width=`${document.body.offsetWidth}px`;document.body.style.position="fixed";document.body.style.top=`-${oldSidebarScrollPosition}px`;if(mobile_topbar){mobile_topbar.style.top=`${oldSidebarScrollPosition}px`;mobile_topbar.style.position="relative"}}else{oldSidebarScrollPosition=null}};window.rustdocMobileScrollUnlock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(oldSidebarScrollPosition!==null){document.body.style.width="";document.body.style.position="";document.body.style.top="";if(mobile_topbar){mobile_topbar.style.top="";mobile_topbar.style.position=""}window.scrollTo(0,oldSidebarScrollPosition);oldSidebarScrollPosition=null}};function showSidebar(){window.hideAllModals(false);window.rustdocMobileScrollLock();const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){window.rustdocMobileScrollUnlock();const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.innerWidth>window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}if(window.CURRENT_NOTABLE_ELEMENT){const base=window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE;const force_visible=base.NOTABLE_FORCE_VISIBLE;hideNotable(false);if(force_visible){showNotable(base);base.NOTABLE_FORCE_VISIBLE=true}}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showNotable(e){if(!window.NOTABLE_TRAITS){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showNotable() called on page without any notable traits!")}}if(window.CURRENT_NOTABLE_ELEMENT&&window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE===e){return}window.hideAllModals(false);const ty=e.getAttribute("data-ty");const wrapper=document.createElement("div");wrapper.innerHTML="<div class=\\"docblock\\">"+window.NOTABLE_TRAITS[ty]+"<\/div>";wrapper.className="notable popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideNotable;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_NOTABLE_ELEMENT=wrapper;window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE=e;wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,e)){hideNotable(true)}}}function notableBlurHandler(event){if(window.CURRENT_NOTABLE_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)){setTimeout(()=>hideNotable(false),0)}}function hideNotable(focus){if(window.CURRENT_NOTABLE_ELEMENT){if(window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE){if(focus){window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus()}window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_NOTABLE_ELEMENT);window.CURRENT_NOTABLE_ELEMENT=null}}onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.NOTABLE_FORCE_VISIBLE=this.NOTABLE_FORCE_VISIBLE?false:true;if(window.CURRENT_NOTABLE_ELEMENT&&!this.NOTABLE_FORCE_VISIBLE){hideNotable(true)}else{showNotable(this);window.CURRENT_NOTABLE_ELEMENT.setAttribute("tabindex","0");window.CURRENT_NOTABLE_ELEMENT.focus();window.CURRENT_NOTABLE_ELEMENT.onblur=notableBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}showNotable(this)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)){hideNotable(true)}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \\$/;" f
|
||
getNextElem guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:hasOwnPropertyRustdoc
|
||
getNotDisplayedElem guessing_game/target/doc/static.files/main-c55e1eb52e1886b4.js /^"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.type="text\/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("\/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"))};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="<h3 class=\\"search-loading\\">"+searchState.loadingText+"<\/h3>";searchState.showResults(search)},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(\/^#\/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`<a href="index.html#${id}">${longty}<\/a>`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const item of filtered){const name=item[0];const desc=item[1];let path;if(shortty==="mod"){path=name+"\/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("\/").pop();const link=document.createElement("a");link.href=path;link.title=desc;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"\/index.html";if(window.rootPath!==".\/"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\\n").length;const elems=[];for(let i=0;i<count;++i){elems.push(i+1)}const node=document.createElement("pre");addClass(node,"example-line-numbers");node.innerHTML=elems.join("\\n");parent.insertBefore(node,x)})};window.rustdoc_remove_line_numbers_from_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}let oldSidebarScrollPosition=null;window.rustdocMobileScrollLock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(window.innerWidth<=window.RUSTDOC_MOBILE_BREAKPOINT){oldSidebarScrollPosition=window.scrollY;document.body.style.width=`${document.body.offsetWidth}px`;document.body.style.position="fixed";document.body.style.top=`-${oldSidebarScrollPosition}px`;if(mobile_topbar){mobile_topbar.style.top=`${oldSidebarScrollPosition}px`;mobile_topbar.style.position="relative"}}else{oldSidebarScrollPosition=null}};window.rustdocMobileScrollUnlock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(oldSidebarScrollPosition!==null){document.body.style.width="";document.body.style.position="";document.body.style.top="";if(mobile_topbar){mobile_topbar.style.top="";mobile_topbar.style.position=""}window.scrollTo(0,oldSidebarScrollPosition);oldSidebarScrollPosition=null}};function showSidebar(){window.hideAllModals(false);window.rustdocMobileScrollLock();const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){window.rustdocMobileScrollUnlock();const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.innerWidth>window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}if(window.CURRENT_NOTABLE_ELEMENT){const base=window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE;const force_visible=base.NOTABLE_FORCE_VISIBLE;hideNotable(false);if(force_visible){showNotable(base);base.NOTABLE_FORCE_VISIBLE=true}}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showNotable(e){if(!window.NOTABLE_TRAITS){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showNotable() called on page without any notable traits!")}}if(window.CURRENT_NOTABLE_ELEMENT&&window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE===e){return}window.hideAllModals(false);const ty=e.getAttribute("data-ty");const wrapper=document.createElement("div");wrapper.innerHTML="<div class=\\"docblock\\">"+window.NOTABLE_TRAITS[ty]+"<\/div>";wrapper.className="notable popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideNotable;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_NOTABLE_ELEMENT=wrapper;window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE=e;wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,e)){hideNotable(true)}}}function notableBlurHandler(event){if(window.CURRENT_NOTABLE_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)){setTimeout(()=>hideNotable(false),0)}}function hideNotable(focus){if(window.CURRENT_NOTABLE_ELEMENT){if(window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE){if(focus){window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus()}window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_NOTABLE_ELEMENT);window.CURRENT_NOTABLE_ELEMENT=null}}onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.NOTABLE_FORCE_VISIBLE=this.NOTABLE_FORCE_VISIBLE?false:true;if(window.CURRENT_NOTABLE_ELEMENT&&!this.NOTABLE_FORCE_VISIBLE){hideNotable(true)}else{showNotable(this);window.CURRENT_NOTABLE_ELEMENT.setAttribute("tabindex","0");window.CURRENT_NOTABLE_ELEMENT.focus();window.CURRENT_NOTABLE_ELEMENT.onblur=notableBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}showNotable(this)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)){hideNotable(true)}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \\$/;" f
|
||
getOrCreateSection guessing_game/target/doc/static.files/main-c55e1eb52e1886b4.js /^"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.type="text\/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("\/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"))};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="<h3 class=\\"search-loading\\">"+searchState.loadingText+"<\/h3>";searchState.showResults(search)},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(\/^#\/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`<a href="index.html#${id}">${longty}<\/a>`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const item of filtered){const name=item[0];const desc=item[1];let path;if(shortty==="mod"){path=name+"\/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("\/").pop();const link=document.createElement("a");link.href=path;link.title=desc;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"\/index.html";if(window.rootPath!==".\/"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\\n").length;const elems=[];for(let i=0;i<count;++i){elems.push(i+1)}const node=document.createElement("pre");addClass(node,"example-line-numbers");node.innerHTML=elems.join("\\n");parent.insertBefore(node,x)})};window.rustdoc_remove_line_numbers_from_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}let oldSidebarScrollPosition=null;window.rustdocMobileScrollLock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(window.innerWidth<=window.RUSTDOC_MOBILE_BREAKPOINT){oldSidebarScrollPosition=window.scrollY;document.body.style.width=`${document.body.offsetWidth}px`;document.body.style.position="fixed";document.body.style.top=`-${oldSidebarScrollPosition}px`;if(mobile_topbar){mobile_topbar.style.top=`${oldSidebarScrollPosition}px`;mobile_topbar.style.position="relative"}}else{oldSidebarScrollPosition=null}};window.rustdocMobileScrollUnlock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(oldSidebarScrollPosition!==null){document.body.style.width="";document.body.style.position="";document.body.style.top="";if(mobile_topbar){mobile_topbar.style.top="";mobile_topbar.style.position=""}window.scrollTo(0,oldSidebarScrollPosition);oldSidebarScrollPosition=null}};function showSidebar(){window.hideAllModals(false);window.rustdocMobileScrollLock();const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){window.rustdocMobileScrollUnlock();const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.innerWidth>window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}if(window.CURRENT_NOTABLE_ELEMENT){const base=window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE;const force_visible=base.NOTABLE_FORCE_VISIBLE;hideNotable(false);if(force_visible){showNotable(base);base.NOTABLE_FORCE_VISIBLE=true}}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showNotable(e){if(!window.NOTABLE_TRAITS){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showNotable() called on page without any notable traits!")}}if(window.CURRENT_NOTABLE_ELEMENT&&window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE===e){return}window.hideAllModals(false);const ty=e.getAttribute("data-ty");const wrapper=document.createElement("div");wrapper.innerHTML="<div class=\\"docblock\\">"+window.NOTABLE_TRAITS[ty]+"<\/div>";wrapper.className="notable popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideNotable;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_NOTABLE_ELEMENT=wrapper;window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE=e;wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,e)){hideNotable(true)}}}function notableBlurHandler(event){if(window.CURRENT_NOTABLE_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)){setTimeout(()=>hideNotable(false),0)}}function hideNotable(focus){if(window.CURRENT_NOTABLE_ELEMENT){if(window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE){if(focus){window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus()}window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_NOTABLE_ELEMENT);window.CURRENT_NOTABLE_ELEMENT=null}}onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.NOTABLE_FORCE_VISIBLE=this.NOTABLE_FORCE_VISIBLE?false:true;if(window.CURRENT_NOTABLE_ELEMENT&&!this.NOTABLE_FORCE_VISIBLE){hideNotable(true)}else{showNotable(this);window.CURRENT_NOTABLE_ELEMENT.setAttribute("tabindex","0");window.CURRENT_NOTABLE_ELEMENT.focus();window.CURRENT_NOTABLE_ELEMENT.onblur=notableBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}showNotable(this)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)){hideNotable(true)}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \\$/;" f
|
||
getPageId guessing_game/target/doc/static.files/main-c55e1eb52e1886b4.js /^"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.type="text\/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("\/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"))};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="<h3 class=\\"search-loading\\">"+searchState.loadingText+"<\/h3>";searchState.showResults(search)},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(\/^#\/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`<a href="index.html#${id}">${longty}<\/a>`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const item of filtered){const name=item[0];const desc=item[1];let path;if(shortty==="mod"){path=name+"\/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("\/").pop();const link=document.createElement("a");link.href=path;link.title=desc;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"\/index.html";if(window.rootPath!==".\/"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\\n").length;const elems=[];for(let i=0;i<count;++i){elems.push(i+1)}const node=document.createElement("pre");addClass(node,"example-line-numbers");node.innerHTML=elems.join("\\n");parent.insertBefore(node,x)})};window.rustdoc_remove_line_numbers_from_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}let oldSidebarScrollPosition=null;window.rustdocMobileScrollLock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(window.innerWidth<=window.RUSTDOC_MOBILE_BREAKPOINT){oldSidebarScrollPosition=window.scrollY;document.body.style.width=`${document.body.offsetWidth}px`;document.body.style.position="fixed";document.body.style.top=`-${oldSidebarScrollPosition}px`;if(mobile_topbar){mobile_topbar.style.top=`${oldSidebarScrollPosition}px`;mobile_topbar.style.position="relative"}}else{oldSidebarScrollPosition=null}};window.rustdocMobileScrollUnlock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(oldSidebarScrollPosition!==null){document.body.style.width="";document.body.style.position="";document.body.style.top="";if(mobile_topbar){mobile_topbar.style.top="";mobile_topbar.style.position=""}window.scrollTo(0,oldSidebarScrollPosition);oldSidebarScrollPosition=null}};function showSidebar(){window.hideAllModals(false);window.rustdocMobileScrollLock();const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){window.rustdocMobileScrollUnlock();const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.innerWidth>window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}if(window.CURRENT_NOTABLE_ELEMENT){const base=window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE;const force_visible=base.NOTABLE_FORCE_VISIBLE;hideNotable(false);if(force_visible){showNotable(base);base.NOTABLE_FORCE_VISIBLE=true}}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showNotable(e){if(!window.NOTABLE_TRAITS){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showNotable() called on page without any notable traits!")}}if(window.CURRENT_NOTABLE_ELEMENT&&window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE===e){return}window.hideAllModals(false);const ty=e.getAttribute("data-ty");const wrapper=document.createElement("div");wrapper.innerHTML="<div class=\\"docblock\\">"+window.NOTABLE_TRAITS[ty]+"<\/div>";wrapper.className="notable popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideNotable;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_NOTABLE_ELEMENT=wrapper;window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE=e;wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,e)){hideNotable(true)}}}function notableBlurHandler(event){if(window.CURRENT_NOTABLE_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)){setTimeout(()=>hideNotable(false),0)}}function hideNotable(focus){if(window.CURRENT_NOTABLE_ELEMENT){if(window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE){if(focus){window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus()}window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_NOTABLE_ELEMENT);window.CURRENT_NOTABLE_ELEMENT=null}}onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.NOTABLE_FORCE_VISIBLE=this.NOTABLE_FORCE_VISIBLE?false:true;if(window.CURRENT_NOTABLE_ELEMENT&&!this.NOTABLE_FORCE_VISIBLE){hideNotable(true)}else{showNotable(this);window.CURRENT_NOTABLE_ELEMENT.setAttribute("tabindex","0");window.CURRENT_NOTABLE_ELEMENT.focus();window.CURRENT_NOTABLE_ELEMENT.onblur=notableBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}showNotable(this)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)){hideNotable(true)}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \\$/;" f
|
||
getSettingValue guessing_game/target/doc/static.files/storage-d43fa987303ecbbb.js /^"use strict";const darkThemes=["dark","ayu"];window.currentTheme=document.getElementById("themeStyle");window.mainTheme=document.getElementById("mainThemeStyle");window.RUSTDOC_MOBILE_BREAKPOINT=700;const settingsDataset=(function(){const settingsElement=document.getElementById("default-settings");if(settingsElement===null){return null}const dataset=settingsElement.dataset;if(dataset===undefined){return null}return dataset})();function getSettingValue(settingName){const current=getCurrentValue(settingName);if(current!==null){return current}if(settingsDataset!==null){const def=settingsDataset[settingName.replace(\/-\/g,"_")];if(def!==undefined){return def}}return null}const localStoredTheme=getSettingValue("theme");const savedHref=[];function hasClass(elem,className){return elem&&elem.classList&&elem.classList.contains(className)}function addClass(elem,className){if(!elem||!elem.classList){return}elem.classList.add(className)}function removeClass(elem,className){if(!elem||!elem.classList){return}elem.classList.remove(className)}function onEach(arr,func,reversed){if(arr&&arr.length>0&&func){if(reversed){const length=arr.length;for(let i=length-1;i>=0;--i){if(func(arr[i])){return true}}}else{for(const elem of arr){if(func(elem)){return true}}}}return false}function onEachLazy(lazyArray,func,reversed){return onEach(Array.prototype.slice.call(lazyArray),func,reversed)}function updateLocalStorage(name,value){try{window.localStorage.setItem("rustdoc-"+name,value)}catch(e){}}function getCurrentValue(name){try{return window.localStorage.getItem("rustdoc-"+name)}catch(e){return null}}function switchTheme(styleElem,mainStyleElem,newThemeName,saveTheme){if(saveTheme){updateLocalStorage("theme",newThemeName)}if(savedHref.length===0){onEachLazy(document.getElementsByTagName("link"),el=>{savedHref.push(el.href)})}const newHref=savedHref.find(url=>{const m=url.match(\/static\\.files\\\/(.*)-[a-f0-9]{16}\\.css$\/);if(m&&m[1]===newThemeName){return true}const m2=url.match(\/\\\/([^\/]*)\\.css$\/);if(m2&&m2[1].startsWith(newThemeName)){return true}});if(newHref&&newHref!==styleElem.href){styleElem.href=newHref}}function useSystemTheme(value){if(value===undefined){value=true}updateLocalStorage("use-system-theme",value);const toggle=document.getElementById("use-system-theme");if(toggle&&toggle instanceof HTMLInputElement){toggle.checked=value}}const updateSystemTheme=(function(){if(!window.matchMedia){return()=>{const cssTheme=getComputedStyle(document.documentElement).getPropertyValue("content");switchTheme(window.currentTheme,window.mainTheme,JSON.parse(cssTheme)||"light",true)}}const mql=window.matchMedia("(prefers-color-scheme: dark)");function handlePreferenceChange(mql){const use=theme=>{switchTheme(window.currentTheme,window.mainTheme,theme,true)};if(getSettingValue("use-system-theme")!=="false"){const lightTheme=getSettingValue("preferred-light-theme")||"light";const darkTheme=getSettingValue("preferred-dark-theme")||"dark";if(mql.matches){use(darkTheme)}else{use(lightTheme)}}else{use(getSettingValue("theme"))}}mql.addListener(handlePreferenceChange);return()=>{handlePreferenceChange(mql)}})();function switchToSavedTheme(){switchTheme(window.currentTheme,window.mainTheme,getSettingValue("theme")||"light",false)}if(getSettingValue("use-system-theme")!=="false"&&window.matchMedia){if(getSettingValue("use-system-theme")===null&&getSettingValue("preferred-dark-theme")===null&&darkThemes.indexOf(localStoredTheme)>=0){updateLocalStorage("preferred-dark-theme",localStoredTheme)}updateSystemTheme()}else{switchToSavedTheme()}if(getSettingValue("source-sidebar-show")==="true"){addClass(document.documentElement,"source-sidebar-expanded")}window.addEventListener("pageshow",ev=>{if(ev.persisted){setTimeout(switchToSavedTheme,0)}})/;" f
|
||
getSettingsButton guessing_game/target/doc/static.files/main-c55e1eb52e1886b4.js /^"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.type="text\/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("\/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"))};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="<h3 class=\\"search-loading\\">"+searchState.loadingText+"<\/h3>";searchState.showResults(search)},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(\/^#\/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`<a href="index.html#${id}">${longty}<\/a>`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const item of filtered){const name=item[0];const desc=item[1];let path;if(shortty==="mod"){path=name+"\/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("\/").pop();const link=document.createElement("a");link.href=path;link.title=desc;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"\/index.html";if(window.rootPath!==".\/"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\\n").length;const elems=[];for(let i=0;i<count;++i){elems.push(i+1)}const node=document.createElement("pre");addClass(node,"example-line-numbers");node.innerHTML=elems.join("\\n");parent.insertBefore(node,x)})};window.rustdoc_remove_line_numbers_from_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}let oldSidebarScrollPosition=null;window.rustdocMobileScrollLock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(window.innerWidth<=window.RUSTDOC_MOBILE_BREAKPOINT){oldSidebarScrollPosition=window.scrollY;document.body.style.width=`${document.body.offsetWidth}px`;document.body.style.position="fixed";document.body.style.top=`-${oldSidebarScrollPosition}px`;if(mobile_topbar){mobile_topbar.style.top=`${oldSidebarScrollPosition}px`;mobile_topbar.style.position="relative"}}else{oldSidebarScrollPosition=null}};window.rustdocMobileScrollUnlock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(oldSidebarScrollPosition!==null){document.body.style.width="";document.body.style.position="";document.body.style.top="";if(mobile_topbar){mobile_topbar.style.top="";mobile_topbar.style.position=""}window.scrollTo(0,oldSidebarScrollPosition);oldSidebarScrollPosition=null}};function showSidebar(){window.hideAllModals(false);window.rustdocMobileScrollLock();const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){window.rustdocMobileScrollUnlock();const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.innerWidth>window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}if(window.CURRENT_NOTABLE_ELEMENT){const base=window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE;const force_visible=base.NOTABLE_FORCE_VISIBLE;hideNotable(false);if(force_visible){showNotable(base);base.NOTABLE_FORCE_VISIBLE=true}}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showNotable(e){if(!window.NOTABLE_TRAITS){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showNotable() called on page without any notable traits!")}}if(window.CURRENT_NOTABLE_ELEMENT&&window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE===e){return}window.hideAllModals(false);const ty=e.getAttribute("data-ty");const wrapper=document.createElement("div");wrapper.innerHTML="<div class=\\"docblock\\">"+window.NOTABLE_TRAITS[ty]+"<\/div>";wrapper.className="notable popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideNotable;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_NOTABLE_ELEMENT=wrapper;window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE=e;wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,e)){hideNotable(true)}}}function notableBlurHandler(event){if(window.CURRENT_NOTABLE_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)){setTimeout(()=>hideNotable(false),0)}}function hideNotable(focus){if(window.CURRENT_NOTABLE_ELEMENT){if(window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE){if(focus){window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus()}window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_NOTABLE_ELEMENT);window.CURRENT_NOTABLE_ELEMENT=null}}onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.NOTABLE_FORCE_VISIBLE=this.NOTABLE_FORCE_VISIBLE?false:true;if(window.CURRENT_NOTABLE_ELEMENT&&!this.NOTABLE_FORCE_VISIBLE){hideNotable(true)}else{showNotable(this);window.CURRENT_NOTABLE_ELEMENT.setAttribute("tabindex","0");window.CURRENT_NOTABLE_ELEMENT.focus();window.CURRENT_NOTABLE_ELEMENT.onblur=notableBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}showNotable(this)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)){hideNotable(true)}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \\$/;" f
|
||
getStringElem guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:initSearch
|
||
getVar guessing_game/target/doc/static.files/main-c55e1eb52e1886b4.js /^"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.type="text\/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("\/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"))};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="<h3 class=\\"search-loading\\">"+searchState.loadingText+"<\/h3>";searchState.showResults(search)},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(\/^#\/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`<a href="index.html#${id}">${longty}<\/a>`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const item of filtered){const name=item[0];const desc=item[1];let path;if(shortty==="mod"){path=name+"\/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("\/").pop();const link=document.createElement("a");link.href=path;link.title=desc;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"\/index.html";if(window.rootPath!==".\/"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\\n").length;const elems=[];for(let i=0;i<count;++i){elems.push(i+1)}const node=document.createElement("pre");addClass(node,"example-line-numbers");node.innerHTML=elems.join("\\n");parent.insertBefore(node,x)})};window.rustdoc_remove_line_numbers_from_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}let oldSidebarScrollPosition=null;window.rustdocMobileScrollLock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(window.innerWidth<=window.RUSTDOC_MOBILE_BREAKPOINT){oldSidebarScrollPosition=window.scrollY;document.body.style.width=`${document.body.offsetWidth}px`;document.body.style.position="fixed";document.body.style.top=`-${oldSidebarScrollPosition}px`;if(mobile_topbar){mobile_topbar.style.top=`${oldSidebarScrollPosition}px`;mobile_topbar.style.position="relative"}}else{oldSidebarScrollPosition=null}};window.rustdocMobileScrollUnlock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(oldSidebarScrollPosition!==null){document.body.style.width="";document.body.style.position="";document.body.style.top="";if(mobile_topbar){mobile_topbar.style.top="";mobile_topbar.style.position=""}window.scrollTo(0,oldSidebarScrollPosition);oldSidebarScrollPosition=null}};function showSidebar(){window.hideAllModals(false);window.rustdocMobileScrollLock();const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){window.rustdocMobileScrollUnlock();const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.innerWidth>window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}if(window.CURRENT_NOTABLE_ELEMENT){const base=window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE;const force_visible=base.NOTABLE_FORCE_VISIBLE;hideNotable(false);if(force_visible){showNotable(base);base.NOTABLE_FORCE_VISIBLE=true}}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showNotable(e){if(!window.NOTABLE_TRAITS){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showNotable() called on page without any notable traits!")}}if(window.CURRENT_NOTABLE_ELEMENT&&window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE===e){return}window.hideAllModals(false);const ty=e.getAttribute("data-ty");const wrapper=document.createElement("div");wrapper.innerHTML="<div class=\\"docblock\\">"+window.NOTABLE_TRAITS[ty]+"<\/div>";wrapper.className="notable popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideNotable;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_NOTABLE_ELEMENT=wrapper;window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE=e;wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,e)){hideNotable(true)}}}function notableBlurHandler(event){if(window.CURRENT_NOTABLE_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)){setTimeout(()=>hideNotable(false),0)}}function hideNotable(focus){if(window.CURRENT_NOTABLE_ELEMENT){if(window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE){if(focus){window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus()}window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_NOTABLE_ELEMENT);window.CURRENT_NOTABLE_ELEMENT=null}}onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.NOTABLE_FORCE_VISIBLE=this.NOTABLE_FORCE_VISIBLE?false:true;if(window.CURRENT_NOTABLE_ELEMENT&&!this.NOTABLE_FORCE_VISIBLE){hideNotable(true)}else{showNotable(this);window.CURRENT_NOTABLE_ELEMENT.setAttribute("tabindex","0");window.CURRENT_NOTABLE_ELEMENT.focus();window.CURRENT_NOTABLE_ELEMENT.onblur=notableBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}showNotable(this)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)){hideNotable(true)}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \\$/;" f
|
||
getVirtualKey guessing_game/target/doc/static.files/main-c55e1eb52e1886b4.js /^"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.type="text\/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("\/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"))};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="<h3 class=\\"search-loading\\">"+searchState.loadingText+"<\/h3>";searchState.showResults(search)},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(\/^#\/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`<a href="index.html#${id}">${longty}<\/a>`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const item of filtered){const name=item[0];const desc=item[1];let path;if(shortty==="mod"){path=name+"\/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("\/").pop();const link=document.createElement("a");link.href=path;link.title=desc;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"\/index.html";if(window.rootPath!==".\/"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\\n").length;const elems=[];for(let i=0;i<count;++i){elems.push(i+1)}const node=document.createElement("pre");addClass(node,"example-line-numbers");node.innerHTML=elems.join("\\n");parent.insertBefore(node,x)})};window.rustdoc_remove_line_numbers_from_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}let oldSidebarScrollPosition=null;window.rustdocMobileScrollLock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(window.innerWidth<=window.RUSTDOC_MOBILE_BREAKPOINT){oldSidebarScrollPosition=window.scrollY;document.body.style.width=`${document.body.offsetWidth}px`;document.body.style.position="fixed";document.body.style.top=`-${oldSidebarScrollPosition}px`;if(mobile_topbar){mobile_topbar.style.top=`${oldSidebarScrollPosition}px`;mobile_topbar.style.position="relative"}}else{oldSidebarScrollPosition=null}};window.rustdocMobileScrollUnlock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(oldSidebarScrollPosition!==null){document.body.style.width="";document.body.style.position="";document.body.style.top="";if(mobile_topbar){mobile_topbar.style.top="";mobile_topbar.style.position=""}window.scrollTo(0,oldSidebarScrollPosition);oldSidebarScrollPosition=null}};function showSidebar(){window.hideAllModals(false);window.rustdocMobileScrollLock();const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){window.rustdocMobileScrollUnlock();const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.innerWidth>window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}if(window.CURRENT_NOTABLE_ELEMENT){const base=window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE;const force_visible=base.NOTABLE_FORCE_VISIBLE;hideNotable(false);if(force_visible){showNotable(base);base.NOTABLE_FORCE_VISIBLE=true}}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showNotable(e){if(!window.NOTABLE_TRAITS){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showNotable() called on page without any notable traits!")}}if(window.CURRENT_NOTABLE_ELEMENT&&window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE===e){return}window.hideAllModals(false);const ty=e.getAttribute("data-ty");const wrapper=document.createElement("div");wrapper.innerHTML="<div class=\\"docblock\\">"+window.NOTABLE_TRAITS[ty]+"<\/div>";wrapper.className="notable popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideNotable;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_NOTABLE_ELEMENT=wrapper;window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE=e;wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,e)){hideNotable(true)}}}function notableBlurHandler(event){if(window.CURRENT_NOTABLE_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)){setTimeout(()=>hideNotable(false),0)}}function hideNotable(focus){if(window.CURRENT_NOTABLE_ELEMENT){if(window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE){if(focus){window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus()}window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_NOTABLE_ELEMENT);window.CURRENT_NOTABLE_ELEMENT=null}}onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.NOTABLE_FORCE_VISIBLE=this.NOTABLE_FORCE_VISIBLE?false:true;if(window.CURRENT_NOTABLE_ELEMENT&&!this.NOTABLE_FORCE_VISIBLE){hideNotable(true)}else{showNotable(this);window.CURRENT_NOTABLE_ELEMENT.setAttribute("tabindex","0");window.CURRENT_NOTABLE_ELEMENT.focus();window.CURRENT_NOTABLE_ELEMENT.onblur=notableBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}showNotable(this)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)){hideNotable(true)}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \\$/;" f
|
||
getrandom guessing_game/target/doc/implementors/core/clone/trait.Clone.js /^"getrandom":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"getrandom\/struct.Error.html\\" title=\\"struct getrandom::Error\\">Error<\/a>"]],$/;" p
|
||
getrandom guessing_game/target/doc/implementors/core/cmp/trait.Eq.js /^"getrandom":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.Eq.html\\" title=\\"trait core::cmp::Eq\\">Eq<\/a> for <a class=\\"struct\\" href=\\"getrandom\/struct.Error.html\\" title=\\"struct getrandom::Error\\">Error<\/a>"]],$/;" p
|
||
getrandom guessing_game/target/doc/implementors/core/cmp/trait.PartialEq.js /^"getrandom":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.PartialEq.html\\" title=\\"trait core::cmp::PartialEq\\">PartialEq<\/a><<a class=\\"struct\\" href=\\"getrandom\/struct.Error.html\\" title=\\"struct getrandom::Error\\">Error<\/a>> for <a class=\\"struct\\" href=\\"getrandom\/struct.Error.html\\" title=\\"struct getrandom::Error\\">Error<\/a>"]],$/;" p
|
||
getrandom guessing_game/target/doc/implementors/core/convert/trait.From.js /^"getrandom":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/convert\/trait.From.html\\" title=\\"trait core::convert::From\\">From<\/a><<a class=\\"struct\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/num\/nonzero\/struct.NonZeroU32.html\\" title=\\"struct core::num::nonzero::NonZeroU32\\">NonZeroU32<\/a>> for <a class=\\"struct\\" href=\\"getrandom\/struct.Error.html\\" title=\\"struct getrandom::Error\\">Error<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/convert\/trait.From.html\\" title=\\"trait core::convert::From\\">From<\/a><<a class=\\"struct\\" href=\\"getrandom\/struct.Error.html\\" title=\\"struct getrandom::Error\\">Error<\/a>> for <a class=\\"struct\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/std\/io\/error\/struct.Error.html\\" title=\\"struct std::io::error::Error\\">Error<\/a>"]],$/;" p
|
||
getrandom guessing_game/target/doc/implementors/core/error/trait.Error.js /^"getrandom":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/error\/trait.Error.html\\" title=\\"trait core::error::Error\\">Error<\/a> for <a class=\\"struct\\" href=\\"getrandom\/struct.Error.html\\" title=\\"struct getrandom::Error\\">Error<\/a>"]],$/;" p
|
||
getrandom guessing_game/target/doc/implementors/core/fmt/trait.Debug.js /^"getrandom":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"getrandom\/struct.Error.html\\" title=\\"struct getrandom::Error\\">Error<\/a>"]],$/;" p
|
||
getrandom guessing_game/target/doc/implementors/core/fmt/trait.Display.js /^"getrandom":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Display.html\\" title=\\"trait core::fmt::Display\\">Display<\/a> for <a class=\\"struct\\" href=\\"getrandom\/struct.Error.html\\" title=\\"struct getrandom::Error\\">Error<\/a>"]],$/;" p
|
||
getrandom guessing_game/target/doc/implementors/core/marker/trait.Copy.js /^"getrandom":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"getrandom\/struct.Error.html\\" title=\\"struct getrandom::Error\\">Error<\/a>"]],$/;" p
|
||
getrandom guessing_game/target/doc/implementors/core/marker/trait.Freeze.js /^"getrandom":[["impl Freeze for <a class=\\"struct\\" href=\\"getrandom\/struct.Error.html\\" title=\\"struct getrandom::Error\\">Error<\/a>",1,["getrandom::error::Error"]]],$/;" p
|
||
getrandom guessing_game/target/doc/implementors/core/marker/trait.Send.js /^"getrandom":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"getrandom\/struct.Error.html\\" title=\\"struct getrandom::Error\\">Error<\/a>",1,["getrandom::error::Error"]]],$/;" p
|
||
getrandom guessing_game/target/doc/implementors/core/marker/trait.StructuralEq.js /^"getrandom":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.StructuralEq.html\\" title=\\"trait core::marker::StructuralEq\\">StructuralEq<\/a> for <a class=\\"struct\\" href=\\"getrandom\/struct.Error.html\\" title=\\"struct getrandom::Error\\">Error<\/a>"]],$/;" p
|
||
getrandom guessing_game/target/doc/implementors/core/marker/trait.StructuralPartialEq.js /^"getrandom":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.StructuralPartialEq.html\\" title=\\"trait core::marker::StructuralPartialEq\\">StructuralPartialEq<\/a> for <a class=\\"struct\\" href=\\"getrandom\/struct.Error.html\\" title=\\"struct getrandom::Error\\">Error<\/a>"]],$/;" p
|
||
getrandom guessing_game/target/doc/implementors/core/marker/trait.Sync.js /^"getrandom":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"getrandom\/struct.Error.html\\" title=\\"struct getrandom::Error\\">Error<\/a>",1,["getrandom::error::Error"]]],$/;" p
|
||
getrandom guessing_game/target/doc/implementors/core/marker/trait.Unpin.js /^"getrandom":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"getrandom\/struct.Error.html\\" title=\\"struct getrandom::Error\\">Error<\/a>",1,["getrandom::error::Error"]]],$/;" p
|
||
getrandom guessing_game/target/doc/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js /^"getrandom":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"getrandom\/struct.Error.html\\" title=\\"struct getrandom::Error\\">Error<\/a>",1,["getrandom::error::Error"]]],$/;" p
|
||
getrandom guessing_game/target/doc/implementors/core/panic/unwind_safe/trait.UnwindSafe.js /^"getrandom":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"getrandom\/struct.Error.html\\" title=\\"struct getrandom::Error\\">Error<\/a>",1,["getrandom::error::Error"]]],$/;" p
|
||
handleAliases guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f
|
||
handleArgs guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f
|
||
handleEscape guessing_game/target/doc/static.files/main-c55e1eb52e1886b4.js /^"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.type="text\/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("\/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"))};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="<h3 class=\\"search-loading\\">"+searchState.loadingText+"<\/h3>";searchState.showResults(search)},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(\/^#\/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`<a href="index.html#${id}">${longty}<\/a>`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const item of filtered){const name=item[0];const desc=item[1];let path;if(shortty==="mod"){path=name+"\/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("\/").pop();const link=document.createElement("a");link.href=path;link.title=desc;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"\/index.html";if(window.rootPath!==".\/"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\\n").length;const elems=[];for(let i=0;i<count;++i){elems.push(i+1)}const node=document.createElement("pre");addClass(node,"example-line-numbers");node.innerHTML=elems.join("\\n");parent.insertBefore(node,x)})};window.rustdoc_remove_line_numbers_from_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}let oldSidebarScrollPosition=null;window.rustdocMobileScrollLock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(window.innerWidth<=window.RUSTDOC_MOBILE_BREAKPOINT){oldSidebarScrollPosition=window.scrollY;document.body.style.width=`${document.body.offsetWidth}px`;document.body.style.position="fixed";document.body.style.top=`-${oldSidebarScrollPosition}px`;if(mobile_topbar){mobile_topbar.style.top=`${oldSidebarScrollPosition}px`;mobile_topbar.style.position="relative"}}else{oldSidebarScrollPosition=null}};window.rustdocMobileScrollUnlock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(oldSidebarScrollPosition!==null){document.body.style.width="";document.body.style.position="";document.body.style.top="";if(mobile_topbar){mobile_topbar.style.top="";mobile_topbar.style.position=""}window.scrollTo(0,oldSidebarScrollPosition);oldSidebarScrollPosition=null}};function showSidebar(){window.hideAllModals(false);window.rustdocMobileScrollLock();const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){window.rustdocMobileScrollUnlock();const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.innerWidth>window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}if(window.CURRENT_NOTABLE_ELEMENT){const base=window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE;const force_visible=base.NOTABLE_FORCE_VISIBLE;hideNotable(false);if(force_visible){showNotable(base);base.NOTABLE_FORCE_VISIBLE=true}}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showNotable(e){if(!window.NOTABLE_TRAITS){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showNotable() called on page without any notable traits!")}}if(window.CURRENT_NOTABLE_ELEMENT&&window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE===e){return}window.hideAllModals(false);const ty=e.getAttribute("data-ty");const wrapper=document.createElement("div");wrapper.innerHTML="<div class=\\"docblock\\">"+window.NOTABLE_TRAITS[ty]+"<\/div>";wrapper.className="notable popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideNotable;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_NOTABLE_ELEMENT=wrapper;window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE=e;wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,e)){hideNotable(true)}}}function notableBlurHandler(event){if(window.CURRENT_NOTABLE_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)){setTimeout(()=>hideNotable(false),0)}}function hideNotable(focus){if(window.CURRENT_NOTABLE_ELEMENT){if(window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE){if(focus){window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus()}window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_NOTABLE_ELEMENT);window.CURRENT_NOTABLE_ELEMENT=null}}onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.NOTABLE_FORCE_VISIBLE=this.NOTABLE_FORCE_VISIBLE?false:true;if(window.CURRENT_NOTABLE_ELEMENT&&!this.NOTABLE_FORCE_VISIBLE){hideNotable(true)}else{showNotable(this);window.CURRENT_NOTABLE_ELEMENT.setAttribute("tabindex","0");window.CURRENT_NOTABLE_ELEMENT.focus();window.CURRENT_NOTABLE_ELEMENT.onblur=notableBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}showNotable(this)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)){hideNotable(true)}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \\$/;" f
|
||
handleHashes guessing_game/target/doc/static.files/main-c55e1eb52e1886b4.js /^"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.type="text\/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("\/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"))};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="<h3 class=\\"search-loading\\">"+searchState.loadingText+"<\/h3>";searchState.showResults(search)},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(\/^#\/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`<a href="index.html#${id}">${longty}<\/a>`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const item of filtered){const name=item[0];const desc=item[1];let path;if(shortty==="mod"){path=name+"\/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("\/").pop();const link=document.createElement("a");link.href=path;link.title=desc;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"\/index.html";if(window.rootPath!==".\/"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\\n").length;const elems=[];for(let i=0;i<count;++i){elems.push(i+1)}const node=document.createElement("pre");addClass(node,"example-line-numbers");node.innerHTML=elems.join("\\n");parent.insertBefore(node,x)})};window.rustdoc_remove_line_numbers_from_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}let oldSidebarScrollPosition=null;window.rustdocMobileScrollLock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(window.innerWidth<=window.RUSTDOC_MOBILE_BREAKPOINT){oldSidebarScrollPosition=window.scrollY;document.body.style.width=`${document.body.offsetWidth}px`;document.body.style.position="fixed";document.body.style.top=`-${oldSidebarScrollPosition}px`;if(mobile_topbar){mobile_topbar.style.top=`${oldSidebarScrollPosition}px`;mobile_topbar.style.position="relative"}}else{oldSidebarScrollPosition=null}};window.rustdocMobileScrollUnlock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(oldSidebarScrollPosition!==null){document.body.style.width="";document.body.style.position="";document.body.style.top="";if(mobile_topbar){mobile_topbar.style.top="";mobile_topbar.style.position=""}window.scrollTo(0,oldSidebarScrollPosition);oldSidebarScrollPosition=null}};function showSidebar(){window.hideAllModals(false);window.rustdocMobileScrollLock();const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){window.rustdocMobileScrollUnlock();const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.innerWidth>window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}if(window.CURRENT_NOTABLE_ELEMENT){const base=window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE;const force_visible=base.NOTABLE_FORCE_VISIBLE;hideNotable(false);if(force_visible){showNotable(base);base.NOTABLE_FORCE_VISIBLE=true}}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showNotable(e){if(!window.NOTABLE_TRAITS){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showNotable() called on page without any notable traits!")}}if(window.CURRENT_NOTABLE_ELEMENT&&window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE===e){return}window.hideAllModals(false);const ty=e.getAttribute("data-ty");const wrapper=document.createElement("div");wrapper.innerHTML="<div class=\\"docblock\\">"+window.NOTABLE_TRAITS[ty]+"<\/div>";wrapper.className="notable popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideNotable;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_NOTABLE_ELEMENT=wrapper;window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE=e;wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,e)){hideNotable(true)}}}function notableBlurHandler(event){if(window.CURRENT_NOTABLE_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)){setTimeout(()=>hideNotable(false),0)}}function hideNotable(focus){if(window.CURRENT_NOTABLE_ELEMENT){if(window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE){if(focus){window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus()}window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_NOTABLE_ELEMENT);window.CURRENT_NOTABLE_ELEMENT=null}}onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.NOTABLE_FORCE_VISIBLE=this.NOTABLE_FORCE_VISIBLE?false:true;if(window.CURRENT_NOTABLE_ELEMENT&&!this.NOTABLE_FORCE_VISIBLE){hideNotable(true)}else{showNotable(this);window.CURRENT_NOTABLE_ELEMENT.setAttribute("tabindex","0");window.CURRENT_NOTABLE_ELEMENT.focus();window.CURRENT_NOTABLE_ELEMENT.onblur=notableBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}showNotable(this)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)){hideNotable(true)}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \\$/;" f
|
||
handleKey guessing_game/target/doc/static.files/settings-bebeae96e00e4617.js /^"use strict";(function(){const isSettingsPage=window.location.pathname.endsWith("\/settings.html");function changeSetting(settingName,value){if(settingName==="theme"){const useSystem=value==="system preference"?"true":"false";updateLocalStorage("use-system-theme",useSystem)}updateLocalStorage(settingName,value);switch(settingName){case"theme":case"preferred-dark-theme":case"preferred-light-theme":updateSystemTheme();updateLightAndDark();break;case"line-numbers":if(value===true){window.rustdoc_add_line_numbers_to_examples()}else{window.rustdoc_remove_line_numbers_from_examples()}break}}function handleKey(ev){if(ev.ctrlKey||ev.altKey||ev.metaKey){return}switch(getVirtualKey(ev)){case"Enter":case"Return":case"Space":ev.target.checked=!ev.target.checked;ev.preventDefault();break}}function showLightAndDark(){removeClass(document.getElementById("preferred-light-theme").parentElement,"hidden");removeClass(document.getElementById("preferred-dark-theme").parentElement,"hidden")}function hideLightAndDark(){addClass(document.getElementById("preferred-light-theme").parentElement,"hidden");addClass(document.getElementById("preferred-dark-theme").parentElement,"hidden")}function updateLightAndDark(){const useSystem=getSettingValue("use-system-theme");if(useSystem==="true"||(useSystem===null&&getSettingValue("theme")===null)){showLightAndDark()}else{hideLightAndDark()}}function setEvents(settingsElement){updateLightAndDark();onEachLazy(settingsElement.querySelectorAll("input[type=\\"checkbox\\"]"),toggle=>{const settingId=toggle.id;const settingValue=getSettingValue(settingId);if(settingValue!==null){toggle.checked=settingValue==="true"}toggle.onchange=function(){changeSetting(this.id,this.checked)};toggle.onkeyup=handleKey;toggle.onkeyrelease=handleKey});onEachLazy(settingsElement.getElementsByClassName("select-wrapper"),elem=>{const select=elem.getElementsByTagName("select")[0];const settingId=select.id;const settingValue=getSettingValue(settingId);if(settingValue!==null){select.value=settingValue}select.onchange=function(){changeSetting(this.id,this.value)}});onEachLazy(settingsElement.querySelectorAll("input[type=\\"radio\\"]"),elem=>{const settingId=elem.name;let settingValue=getSettingValue(settingId);if(settingId==="theme"){const useSystem=getSettingValue("use-system-theme");if(useSystem==="true"||settingValue===null){if(useSystem!=="false"){settingValue="system preference"}else{settingValue="light"}}}if(settingValue!==null&&settingValue!=="null"){elem.checked=settingValue===elem.value}elem.addEventListener("change",ev=>{changeSetting(ev.target.name,ev.target.value)})})}function buildSettingsPageSections(settings){let output="";for(const setting of settings){output+="<div class=\\"setting-line\\">";const js_data_name=setting["js_name"];const setting_name=setting["name"];if(setting["options"]!==undefined){output+=`\\$/;" f
|
||
handleShortcut guessing_game/target/doc/static.files/main-c55e1eb52e1886b4.js /^"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.type="text\/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("\/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"))};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="<h3 class=\\"search-loading\\">"+searchState.loadingText+"<\/h3>";searchState.showResults(search)},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(\/^#\/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`<a href="index.html#${id}">${longty}<\/a>`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const item of filtered){const name=item[0];const desc=item[1];let path;if(shortty==="mod"){path=name+"\/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("\/").pop();const link=document.createElement("a");link.href=path;link.title=desc;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"\/index.html";if(window.rootPath!==".\/"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\\n").length;const elems=[];for(let i=0;i<count;++i){elems.push(i+1)}const node=document.createElement("pre");addClass(node,"example-line-numbers");node.innerHTML=elems.join("\\n");parent.insertBefore(node,x)})};window.rustdoc_remove_line_numbers_from_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}let oldSidebarScrollPosition=null;window.rustdocMobileScrollLock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(window.innerWidth<=window.RUSTDOC_MOBILE_BREAKPOINT){oldSidebarScrollPosition=window.scrollY;document.body.style.width=`${document.body.offsetWidth}px`;document.body.style.position="fixed";document.body.style.top=`-${oldSidebarScrollPosition}px`;if(mobile_topbar){mobile_topbar.style.top=`${oldSidebarScrollPosition}px`;mobile_topbar.style.position="relative"}}else{oldSidebarScrollPosition=null}};window.rustdocMobileScrollUnlock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(oldSidebarScrollPosition!==null){document.body.style.width="";document.body.style.position="";document.body.style.top="";if(mobile_topbar){mobile_topbar.style.top="";mobile_topbar.style.position=""}window.scrollTo(0,oldSidebarScrollPosition);oldSidebarScrollPosition=null}};function showSidebar(){window.hideAllModals(false);window.rustdocMobileScrollLock();const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){window.rustdocMobileScrollUnlock();const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.innerWidth>window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}if(window.CURRENT_NOTABLE_ELEMENT){const base=window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE;const force_visible=base.NOTABLE_FORCE_VISIBLE;hideNotable(false);if(force_visible){showNotable(base);base.NOTABLE_FORCE_VISIBLE=true}}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showNotable(e){if(!window.NOTABLE_TRAITS){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showNotable() called on page without any notable traits!")}}if(window.CURRENT_NOTABLE_ELEMENT&&window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE===e){return}window.hideAllModals(false);const ty=e.getAttribute("data-ty");const wrapper=document.createElement("div");wrapper.innerHTML="<div class=\\"docblock\\">"+window.NOTABLE_TRAITS[ty]+"<\/div>";wrapper.className="notable popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideNotable;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_NOTABLE_ELEMENT=wrapper;window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE=e;wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,e)){hideNotable(true)}}}function notableBlurHandler(event){if(window.CURRENT_NOTABLE_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)){setTimeout(()=>hideNotable(false),0)}}function hideNotable(focus){if(window.CURRENT_NOTABLE_ELEMENT){if(window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE){if(focus){window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus()}window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_NOTABLE_ELEMENT);window.CURRENT_NOTABLE_ELEMENT=null}}onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.NOTABLE_FORCE_VISIBLE=this.NOTABLE_FORCE_VISIBLE?false:true;if(window.CURRENT_NOTABLE_ELEMENT&&!this.NOTABLE_FORCE_VISIBLE){hideNotable(true)}else{showNotable(this);window.CURRENT_NOTABLE_ELEMENT.setAttribute("tabindex","0");window.CURRENT_NOTABLE_ELEMENT.focus();window.CURRENT_NOTABLE_ELEMENT.onblur=notableBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}showNotable(this)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)){hideNotable(true)}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \\$/;" f
|
||
handleSingleArg guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f
|
||
hasClass guessing_game/target/doc/static.files/storage-d43fa987303ecbbb.js /^"use strict";const darkThemes=["dark","ayu"];window.currentTheme=document.getElementById("themeStyle");window.mainTheme=document.getElementById("mainThemeStyle");window.RUSTDOC_MOBILE_BREAKPOINT=700;const settingsDataset=(function(){const settingsElement=document.getElementById("default-settings");if(settingsElement===null){return null}const dataset=settingsElement.dataset;if(dataset===undefined){return null}return dataset})();function getSettingValue(settingName){const current=getCurrentValue(settingName);if(current!==null){return current}if(settingsDataset!==null){const def=settingsDataset[settingName.replace(\/-\/g,"_")];if(def!==undefined){return def}}return null}const localStoredTheme=getSettingValue("theme");const savedHref=[];function hasClass(elem,className){return elem&&elem.classList&&elem.classList.contains(className)}function addClass(elem,className){if(!elem||!elem.classList){return}elem.classList.add(className)}function removeClass(elem,className){if(!elem||!elem.classList){return}elem.classList.remove(className)}function onEach(arr,func,reversed){if(arr&&arr.length>0&&func){if(reversed){const length=arr.length;for(let i=length-1;i>=0;--i){if(func(arr[i])){return true}}}else{for(const elem of arr){if(func(elem)){return true}}}}return false}function onEachLazy(lazyArray,func,reversed){return onEach(Array.prototype.slice.call(lazyArray),func,reversed)}function updateLocalStorage(name,value){try{window.localStorage.setItem("rustdoc-"+name,value)}catch(e){}}function getCurrentValue(name){try{return window.localStorage.getItem("rustdoc-"+name)}catch(e){return null}}function switchTheme(styleElem,mainStyleElem,newThemeName,saveTheme){if(saveTheme){updateLocalStorage("theme",newThemeName)}if(savedHref.length===0){onEachLazy(document.getElementsByTagName("link"),el=>{savedHref.push(el.href)})}const newHref=savedHref.find(url=>{const m=url.match(\/static\\.files\\\/(.*)-[a-f0-9]{16}\\.css$\/);if(m&&m[1]===newThemeName){return true}const m2=url.match(\/\\\/([^\/]*)\\.css$\/);if(m2&&m2[1].startsWith(newThemeName)){return true}});if(newHref&&newHref!==styleElem.href){styleElem.href=newHref}}function useSystemTheme(value){if(value===undefined){value=true}updateLocalStorage("use-system-theme",value);const toggle=document.getElementById("use-system-theme");if(toggle&&toggle instanceof HTMLInputElement){toggle.checked=value}}const updateSystemTheme=(function(){if(!window.matchMedia){return()=>{const cssTheme=getComputedStyle(document.documentElement).getPropertyValue("content");switchTheme(window.currentTheme,window.mainTheme,JSON.parse(cssTheme)||"light",true)}}const mql=window.matchMedia("(prefers-color-scheme: dark)");function handlePreferenceChange(mql){const use=theme=>{switchTheme(window.currentTheme,window.mainTheme,theme,true)};if(getSettingValue("use-system-theme")!=="false"){const lightTheme=getSettingValue("preferred-light-theme")||"light";const darkTheme=getSettingValue("preferred-dark-theme")||"dark";if(mql.matches){use(darkTheme)}else{use(lightTheme)}}else{use(getSettingValue("theme"))}}mql.addListener(handlePreferenceChange);return()=>{handlePreferenceChange(mql)}})();function switchToSavedTheme(){switchTheme(window.currentTheme,window.mainTheme,getSettingValue("theme")||"light",false)}if(getSettingValue("use-system-theme")!=="false"&&window.matchMedia){if(getSettingValue("use-system-theme")===null&&getSettingValue("preferred-dark-theme")===null&&darkThemes.indexOf(localStoredTheme)>=0){updateLocalStorage("preferred-dark-theme",localStoredTheme)}updateSystemTheme()}else{switchToSavedTheme()}if(getSettingValue("source-sidebar-show")==="true"){addClass(document.documentElement,"source-sidebar-expanded")}window.addEventListener("pageshow",ev=>{if(ev.persisted){setTimeout(switchToSavedTheme,0)}})/;" f
|
||
hasOwnProperty guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" m class:return
|
||
hasOwnPropertyRustdoc guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f
|
||
hideLightAndDark guessing_game/target/doc/static.files/settings-bebeae96e00e4617.js /^"use strict";(function(){const isSettingsPage=window.location.pathname.endsWith("\/settings.html");function changeSetting(settingName,value){if(settingName==="theme"){const useSystem=value==="system preference"?"true":"false";updateLocalStorage("use-system-theme",useSystem)}updateLocalStorage(settingName,value);switch(settingName){case"theme":case"preferred-dark-theme":case"preferred-light-theme":updateSystemTheme();updateLightAndDark();break;case"line-numbers":if(value===true){window.rustdoc_add_line_numbers_to_examples()}else{window.rustdoc_remove_line_numbers_from_examples()}break}}function handleKey(ev){if(ev.ctrlKey||ev.altKey||ev.metaKey){return}switch(getVirtualKey(ev)){case"Enter":case"Return":case"Space":ev.target.checked=!ev.target.checked;ev.preventDefault();break}}function showLightAndDark(){removeClass(document.getElementById("preferred-light-theme").parentElement,"hidden");removeClass(document.getElementById("preferred-dark-theme").parentElement,"hidden")}function hideLightAndDark(){addClass(document.getElementById("preferred-light-theme").parentElement,"hidden");addClass(document.getElementById("preferred-dark-theme").parentElement,"hidden")}function updateLightAndDark(){const useSystem=getSettingValue("use-system-theme");if(useSystem==="true"||(useSystem===null&&getSettingValue("theme")===null)){showLightAndDark()}else{hideLightAndDark()}}function setEvents(settingsElement){updateLightAndDark();onEachLazy(settingsElement.querySelectorAll("input[type=\\"checkbox\\"]"),toggle=>{const settingId=toggle.id;const settingValue=getSettingValue(settingId);if(settingValue!==null){toggle.checked=settingValue==="true"}toggle.onchange=function(){changeSetting(this.id,this.checked)};toggle.onkeyup=handleKey;toggle.onkeyrelease=handleKey});onEachLazy(settingsElement.getElementsByClassName("select-wrapper"),elem=>{const select=elem.getElementsByTagName("select")[0];const settingId=select.id;const settingValue=getSettingValue(settingId);if(settingValue!==null){select.value=settingValue}select.onchange=function(){changeSetting(this.id,this.value)}});onEachLazy(settingsElement.querySelectorAll("input[type=\\"radio\\"]"),elem=>{const settingId=elem.name;let settingValue=getSettingValue(settingId);if(settingId==="theme"){const useSystem=getSettingValue("use-system-theme");if(useSystem==="true"||settingValue===null){if(useSystem!=="false"){settingValue="system preference"}else{settingValue="light"}}}if(settingValue!==null&&settingValue!=="null"){elem.checked=settingValue===elem.value}elem.addEventListener("change",ev=>{changeSetting(ev.target.name,ev.target.value)})})}function buildSettingsPageSections(settings){let output="";for(const setting of settings){output+="<div class=\\"setting-line\\">";const js_data_name=setting["js_name"];const setting_name=setting["name"];if(setting["options"]!==undefined){output+=`\\$/;" f
|
||
hideMain guessing_game/target/doc/static.files/main-c55e1eb52e1886b4.js /^"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.type="text\/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("\/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"))};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="<h3 class=\\"search-loading\\">"+searchState.loadingText+"<\/h3>";searchState.showResults(search)},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(\/^#\/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`<a href="index.html#${id}">${longty}<\/a>`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const item of filtered){const name=item[0];const desc=item[1];let path;if(shortty==="mod"){path=name+"\/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("\/").pop();const link=document.createElement("a");link.href=path;link.title=desc;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"\/index.html";if(window.rootPath!==".\/"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\\n").length;const elems=[];for(let i=0;i<count;++i){elems.push(i+1)}const node=document.createElement("pre");addClass(node,"example-line-numbers");node.innerHTML=elems.join("\\n");parent.insertBefore(node,x)})};window.rustdoc_remove_line_numbers_from_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}let oldSidebarScrollPosition=null;window.rustdocMobileScrollLock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(window.innerWidth<=window.RUSTDOC_MOBILE_BREAKPOINT){oldSidebarScrollPosition=window.scrollY;document.body.style.width=`${document.body.offsetWidth}px`;document.body.style.position="fixed";document.body.style.top=`-${oldSidebarScrollPosition}px`;if(mobile_topbar){mobile_topbar.style.top=`${oldSidebarScrollPosition}px`;mobile_topbar.style.position="relative"}}else{oldSidebarScrollPosition=null}};window.rustdocMobileScrollUnlock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(oldSidebarScrollPosition!==null){document.body.style.width="";document.body.style.position="";document.body.style.top="";if(mobile_topbar){mobile_topbar.style.top="";mobile_topbar.style.position=""}window.scrollTo(0,oldSidebarScrollPosition);oldSidebarScrollPosition=null}};function showSidebar(){window.hideAllModals(false);window.rustdocMobileScrollLock();const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){window.rustdocMobileScrollUnlock();const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.innerWidth>window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}if(window.CURRENT_NOTABLE_ELEMENT){const base=window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE;const force_visible=base.NOTABLE_FORCE_VISIBLE;hideNotable(false);if(force_visible){showNotable(base);base.NOTABLE_FORCE_VISIBLE=true}}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showNotable(e){if(!window.NOTABLE_TRAITS){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showNotable() called on page without any notable traits!")}}if(window.CURRENT_NOTABLE_ELEMENT&&window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE===e){return}window.hideAllModals(false);const ty=e.getAttribute("data-ty");const wrapper=document.createElement("div");wrapper.innerHTML="<div class=\\"docblock\\">"+window.NOTABLE_TRAITS[ty]+"<\/div>";wrapper.className="notable popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideNotable;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_NOTABLE_ELEMENT=wrapper;window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE=e;wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,e)){hideNotable(true)}}}function notableBlurHandler(event){if(window.CURRENT_NOTABLE_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)){setTimeout(()=>hideNotable(false),0)}}function hideNotable(focus){if(window.CURRENT_NOTABLE_ELEMENT){if(window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE){if(focus){window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus()}window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_NOTABLE_ELEMENT);window.CURRENT_NOTABLE_ELEMENT=null}}onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.NOTABLE_FORCE_VISIBLE=this.NOTABLE_FORCE_VISIBLE?false:true;if(window.CURRENT_NOTABLE_ELEMENT&&!this.NOTABLE_FORCE_VISIBLE){hideNotable(true)}else{showNotable(this);window.CURRENT_NOTABLE_ELEMENT.setAttribute("tabindex","0");window.CURRENT_NOTABLE_ELEMENT.focus();window.CURRENT_NOTABLE_ELEMENT.onblur=notableBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}showNotable(this)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)){hideNotable(true)}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \\$/;" f
|
||
highlightSourceLines guessing_game/target/doc/static.files/source-script-5cf2e01a42cc9858.js /^"use strict";(function(){const rootPath=document.getElementById("rustdoc-vars").attributes["data-root-path"].value;const NAME_OFFSET=0;const DIRS_OFFSET=1;const FILES_OFFSET=2;function closeSidebarIfMobile(){if(window.innerWidth<window.RUSTDOC_MOBILE_BREAKPOINT){updateLocalStorage("source-sidebar-show","false")}}function createDirEntry(elem,parent,fullPath,hasFoundFile){const dirEntry=document.createElement("details");const summary=document.createElement("summary");dirEntry.className="dir-entry";fullPath+=elem[NAME_OFFSET]+"\/";summary.innerText=elem[NAME_OFFSET];dirEntry.appendChild(summary);const folders=document.createElement("div");folders.className="folders";if(elem[DIRS_OFFSET]){for(const dir of elem[DIRS_OFFSET]){if(createDirEntry(dir,folders,fullPath,false)){dirEntry.open=true;hasFoundFile=true}}}dirEntry.appendChild(folders);const files=document.createElement("div");files.className="files";if(elem[FILES_OFFSET]){for(const file_text of elem[FILES_OFFSET]){const file=document.createElement("a");file.innerText=file_text;file.href=rootPath+"src\/"+fullPath+file_text+".html";file.addEventListener("click",closeSidebarIfMobile);const w=window.location.href.split("#")[0];if(!hasFoundFile&&w===file.href){file.className="selected";dirEntry.open=true;hasFoundFile=true}files.appendChild(file)}}dirEntry.appendChild(files);parent.appendChild(dirEntry);return hasFoundFile}function toggleSidebar(){const child=this.parentNode.children[0];if(child.innerText===">"){window.rustdocMobileScrollLock();addClass(document.documentElement,"source-sidebar-expanded");child.innerText="<";updateLocalStorage("source-sidebar-show","true")}else{window.rustdocMobileScrollUnlock();removeClass(document.documentElement,"source-sidebar-expanded");child.innerText=">";updateLocalStorage("source-sidebar-show","false")}}function createSidebarToggle(){const sidebarToggle=document.createElement("div");sidebarToggle.id="sidebar-toggle";const inner=document.createElement("button");if(getCurrentValue("source-sidebar-show")==="true"){inner.innerText="<"}else{inner.innerText=">"}inner.onclick=toggleSidebar;sidebarToggle.appendChild(inner);return sidebarToggle}function createSourceSidebar(){const container=document.querySelector("nav.sidebar");const sidebarToggle=createSidebarToggle();container.insertBefore(sidebarToggle,container.firstChild);const sidebar=document.createElement("div");sidebar.id="source-sidebar";let hasFoundFile=false;const title=document.createElement("div");title.className="title";title.innerText="Files";sidebar.appendChild(title);Object.keys(sourcesIndex).forEach(key=>{sourcesIndex[key][NAME_OFFSET]=key;hasFoundFile=createDirEntry(sourcesIndex[key],sidebar,"",hasFoundFile)});container.appendChild(sidebar);const selected_elem=sidebar.getElementsByClassName("selected")[0];if(typeof selected_elem!=="undefined"){selected_elem.focus()}}const lineNumbersRegex=\/^#?(\\d+)(?:-(\\d+))?$\/;function highlightSourceLines(match){if(typeof match==="undefined"){match=window.location.hash.match(lineNumbersRegex)}if(!match){return}let from=parseInt(match[1],10);let to=from;if(typeof match[2]!=="undefined"){to=parseInt(match[2],10)}if(to<from){const tmp=to;to=from;from=tmp}let elem=document.getElementById(from);if(!elem){return}const x=document.getElementById(from);if(x){x.scrollIntoView()}onEachLazy(document.getElementsByClassName("src-line-numbers"),e=>{onEachLazy(e.getElementsByTagName("a"),i_e=>{removeClass(i_e,"line-highlighted")})});for(let i=from;i<=to;++i){elem=document.getElementById(i);if(!elem){break}addClass(elem,"line-highlighted")}}const handleSourceHighlight=(function(){let prev_line_id=0;const set_fragment=name=>{const x=window.scrollX,y=window.scrollY;if(browserSupportsHistoryApi()){history.replaceState(null,null,"#"+name);highlightSourceLines()}else{location.replace("#"+name)}window.scrollTo(x,y)};return ev=>{let cur_line_id=parseInt(ev.target.id,10);if(isNaN(cur_line_id)||ev.ctrlKey||ev.altKey||ev.metaKey){return}ev.preventDefault();if(ev.shiftKey&&prev_line_id){if(prev_line_id>cur_line_id){const tmp=prev_line_id;prev_line_id=cur_line_id;cur_line_id=tmp}set_fragment(prev_line_id+"-"+cur_line_id)}else{prev_line_id=cur_line_id;set_fragment(cur_line_id)}}}());window.addEventListener("hashchange",()=>{const match=window.location.hash.match(lineNumbersRegex);if(match){return highlightSourceLines(match)}});onEachLazy(document.getElementsByClassName("src-line-numbers"),el=>{el.addEventListener("click",handleSourceHighlight)});highlightSourceLines();window.createSourceSidebar=createSourceSidebar})()/;" f
|
||
id guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" p class:results
|
||
index guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" p class:results
|
||
initSearch guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:hasOwnPropertyRustdoc
|
||
innerRunQuery guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f
|
||
input guessing_game/target/doc/static.files/main-c55e1eb52e1886b4.js /^"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.type="text\/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("\/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"))};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="<h3 class=\\"search-loading\\">"+searchState.loadingText+"<\/h3>";searchState.showResults(search)},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(\/^#\/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`<a href="index.html#${id}">${longty}<\/a>`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const item of filtered){const name=item[0];const desc=item[1];let path;if(shortty==="mod"){path=name+"\/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("\/").pop();const link=document.createElement("a");link.href=path;link.title=desc;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"\/index.html";if(window.rootPath!==".\/"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\\n").length;const elems=[];for(let i=0;i<count;++i){elems.push(i+1)}const node=document.createElement("pre");addClass(node,"example-line-numbers");node.innerHTML=elems.join("\\n");parent.insertBefore(node,x)})};window.rustdoc_remove_line_numbers_from_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}let oldSidebarScrollPosition=null;window.rustdocMobileScrollLock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(window.innerWidth<=window.RUSTDOC_MOBILE_BREAKPOINT){oldSidebarScrollPosition=window.scrollY;document.body.style.width=`${document.body.offsetWidth}px`;document.body.style.position="fixed";document.body.style.top=`-${oldSidebarScrollPosition}px`;if(mobile_topbar){mobile_topbar.style.top=`${oldSidebarScrollPosition}px`;mobile_topbar.style.position="relative"}}else{oldSidebarScrollPosition=null}};window.rustdocMobileScrollUnlock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(oldSidebarScrollPosition!==null){document.body.style.width="";document.body.style.position="";document.body.style.top="";if(mobile_topbar){mobile_topbar.style.top="";mobile_topbar.style.position=""}window.scrollTo(0,oldSidebarScrollPosition);oldSidebarScrollPosition=null}};function showSidebar(){window.hideAllModals(false);window.rustdocMobileScrollLock();const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){window.rustdocMobileScrollUnlock();const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.innerWidth>window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}if(window.CURRENT_NOTABLE_ELEMENT){const base=window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE;const force_visible=base.NOTABLE_FORCE_VISIBLE;hideNotable(false);if(force_visible){showNotable(base);base.NOTABLE_FORCE_VISIBLE=true}}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showNotable(e){if(!window.NOTABLE_TRAITS){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showNotable() called on page without any notable traits!")}}if(window.CURRENT_NOTABLE_ELEMENT&&window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE===e){return}window.hideAllModals(false);const ty=e.getAttribute("data-ty");const wrapper=document.createElement("div");wrapper.innerHTML="<div class=\\"docblock\\">"+window.NOTABLE_TRAITS[ty]+"<\/div>";wrapper.className="notable popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideNotable;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_NOTABLE_ELEMENT=wrapper;window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE=e;wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,e)){hideNotable(true)}}}function notableBlurHandler(event){if(window.CURRENT_NOTABLE_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)){setTimeout(()=>hideNotable(false),0)}}function hideNotable(focus){if(window.CURRENT_NOTABLE_ELEMENT){if(window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE){if(focus){window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus()}window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_NOTABLE_ELEMENT);window.CURRENT_NOTABLE_ELEMENT=null}}onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.NOTABLE_FORCE_VISIBLE=this.NOTABLE_FORCE_VISIBLE?false:true;if(window.CURRENT_NOTABLE_ELEMENT&&!this.NOTABLE_FORCE_VISIBLE){hideNotable(true)}else{showNotable(this);window.CURRENT_NOTABLE_ELEMENT.setAttribute("tabindex","0");window.CURRENT_NOTABLE_ELEMENT.focus();window.CURRENT_NOTABLE_ELEMENT.onblur=notableBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}showNotable(this)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)){hideNotable(true)}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \\$/;" p class:window.searchState
|
||
insertAfter guessing_game/target/doc/static.files/main-c55e1eb52e1886b4.js /^"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.type="text\/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("\/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"))};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="<h3 class=\\"search-loading\\">"+searchState.loadingText+"<\/h3>";searchState.showResults(search)},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(\/^#\/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`<a href="index.html#${id}">${longty}<\/a>`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const item of filtered){const name=item[0];const desc=item[1];let path;if(shortty==="mod"){path=name+"\/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("\/").pop();const link=document.createElement("a");link.href=path;link.title=desc;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"\/index.html";if(window.rootPath!==".\/"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\\n").length;const elems=[];for(let i=0;i<count;++i){elems.push(i+1)}const node=document.createElement("pre");addClass(node,"example-line-numbers");node.innerHTML=elems.join("\\n");parent.insertBefore(node,x)})};window.rustdoc_remove_line_numbers_from_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}let oldSidebarScrollPosition=null;window.rustdocMobileScrollLock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(window.innerWidth<=window.RUSTDOC_MOBILE_BREAKPOINT){oldSidebarScrollPosition=window.scrollY;document.body.style.width=`${document.body.offsetWidth}px`;document.body.style.position="fixed";document.body.style.top=`-${oldSidebarScrollPosition}px`;if(mobile_topbar){mobile_topbar.style.top=`${oldSidebarScrollPosition}px`;mobile_topbar.style.position="relative"}}else{oldSidebarScrollPosition=null}};window.rustdocMobileScrollUnlock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(oldSidebarScrollPosition!==null){document.body.style.width="";document.body.style.position="";document.body.style.top="";if(mobile_topbar){mobile_topbar.style.top="";mobile_topbar.style.position=""}window.scrollTo(0,oldSidebarScrollPosition);oldSidebarScrollPosition=null}};function showSidebar(){window.hideAllModals(false);window.rustdocMobileScrollLock();const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){window.rustdocMobileScrollUnlock();const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.innerWidth>window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}if(window.CURRENT_NOTABLE_ELEMENT){const base=window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE;const force_visible=base.NOTABLE_FORCE_VISIBLE;hideNotable(false);if(force_visible){showNotable(base);base.NOTABLE_FORCE_VISIBLE=true}}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showNotable(e){if(!window.NOTABLE_TRAITS){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showNotable() called on page without any notable traits!")}}if(window.CURRENT_NOTABLE_ELEMENT&&window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE===e){return}window.hideAllModals(false);const ty=e.getAttribute("data-ty");const wrapper=document.createElement("div");wrapper.innerHTML="<div class=\\"docblock\\">"+window.NOTABLE_TRAITS[ty]+"<\/div>";wrapper.className="notable popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideNotable;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_NOTABLE_ELEMENT=wrapper;window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE=e;wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,e)){hideNotable(true)}}}function notableBlurHandler(event){if(window.CURRENT_NOTABLE_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)){setTimeout(()=>hideNotable(false),0)}}function hideNotable(focus){if(window.CURRENT_NOTABLE_ELEMENT){if(window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE){if(focus){window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus()}window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_NOTABLE_ELEMENT);window.CURRENT_NOTABLE_ELEMENT=null}}onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.NOTABLE_FORCE_VISIBLE=this.NOTABLE_FORCE_VISIBLE?false:true;if(window.CURRENT_NOTABLE_ELEMENT&&!this.NOTABLE_FORCE_VISIBLE){hideNotable(true)}else{showNotable(this);window.CURRENT_NOTABLE_ELEMENT.setAttribute("tabindex","0");window.CURRENT_NOTABLE_ELEMENT.focus();window.CURRENT_NOTABLE_ELEMENT.onblur=notableBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}showNotable(this)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)){hideNotable(true)}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \\$/;" f
|
||
isEndCharacter guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:initSearch
|
||
isErrorCharacter guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:initSearch
|
||
isIdentCharacter guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:initSearch
|
||
isPathStart guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:initSearch
|
||
isReturnArrow guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:initSearch
|
||
isSeparatorCharacter guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:initSearch
|
||
isSpecialStartCharacter guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:initSearch
|
||
isStopCharacter guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:initSearch
|
||
isWhitespace guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:initSearch
|
||
isWhitespaceCharacter guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:initSearch
|
||
itemTypeFromName guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:initSearch
|
||
length guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" p class:const
|
||
lev guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" p class:results
|
||
levenshtein guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:hasOwnPropertyRustdoc
|
||
libc guessing_game/target/doc/implementors/core/clone/trait.Clone.js /^"libc":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.DIR.html\\" title=\\"enum libc::DIR\\">DIR<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.group.html\\" title=\\"struct libc::group\\">group<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.utimbuf.html\\" title=\\"struct libc::utimbuf\\">utimbuf<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.timeval.html\\" title=\\"struct libc::timeval\\">timeval<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.timespec.html\\" title=\\"struct libc::timespec\\">timespec<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.rlimit.html\\" title=\\"struct libc::rlimit\\">rlimit<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.rusage.html\\" title=\\"struct libc::rusage\\">rusage<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ipv6_mreq.html\\" title=\\"struct libc::ipv6_mreq\\">ipv6_mreq<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.hostent.html\\" title=\\"struct libc::hostent\\">hostent<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.iovec.html\\" title=\\"struct libc::iovec\\">iovec<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pollfd.html\\" title=\\"struct libc::pollfd\\">pollfd<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.winsize.html\\" title=\\"struct libc::winsize\\">winsize<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.linger.html\\" title=\\"struct libc::linger\\">linger<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sigval.html\\" title=\\"struct libc::sigval\\">sigval<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.itimerval.html\\" title=\\"struct libc::itimerval\\">itimerval<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.tms.html\\" title=\\"struct libc::tms\\">tms<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.servent.html\\" title=\\"struct libc::servent\\">servent<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.protoent.html\\" title=\\"struct libc::protoent\\">protoent<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.FILE.html\\" title=\\"enum libc::FILE\\">FILE<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.fpos_t.html\\" title=\\"enum libc::fpos_t\\">fpos_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.timezone.html\\" title=\\"enum libc::timezone\\">timezone<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in_addr.html\\" title=\\"struct libc::in_addr\\">in_addr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ip_mreq.html\\" title=\\"struct libc::ip_mreq\\">ip_mreq<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ip_mreqn.html\\" title=\\"struct libc::ip_mreqn\\">ip_mreqn<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ip_mreq_source.html\\" title=\\"struct libc::ip_mreq_source\\">ip_mreq_source<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr.html\\" title=\\"struct libc::sockaddr\\">sockaddr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_in.html\\" title=\\"struct libc::sockaddr_in\\">sockaddr_in<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_in6.html\\" title=\\"struct libc::sockaddr_in6\\">sockaddr_in6<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.addrinfo.html\\" title=\\"struct libc::addrinfo\\">addrinfo<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_ll.html\\" title=\\"struct libc::sockaddr_ll\\">sockaddr_ll<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.fd_set.html\\" title=\\"struct libc::fd_set\\">fd_set<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.tm.html\\" title=\\"struct libc::tm\\">tm<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sched_param.html\\" title=\\"struct libc::sched_param\\">sched_param<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Dl_info.html\\" title=\\"struct libc::Dl_info\\">Dl_info<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.lconv.html\\" title=\\"struct libc::lconv\\">lconv<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in_pktinfo.html\\" title=\\"struct libc::in_pktinfo\\">in_pktinfo<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ifaddrs.html\\" title=\\"struct libc::ifaddrs\\">ifaddrs<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in6_rtmsg.html\\" title=\\"struct libc::in6_rtmsg\\">in6_rtmsg<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.arpreq.html\\" title=\\"struct libc::arpreq\\">arpreq<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.arpreq_old.html\\" title=\\"struct libc::arpreq_old\\">arpreq_old<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.arphdr.html\\" title=\\"struct libc::arphdr\\">arphdr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mmsghdr.html\\" title=\\"struct libc::mmsghdr\\">mmsghdr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.epoll_event.html\\" title=\\"struct libc::epoll_event\\">epoll_event<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_un.html\\" title=\\"struct libc::sockaddr_un\\">sockaddr_un<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_storage.html\\" title=\\"struct libc::sockaddr_storage\\">sockaddr_storage<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.utsname.html\\" title=\\"struct libc::utsname\\">utsname<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sigevent.html\\" title=\\"struct libc::sigevent\\">sigevent<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.fpos64_t.html\\" title=\\"enum libc::fpos64_t\\">fpos64_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.rlimit64.html\\" title=\\"struct libc::rlimit64\\">rlimit64<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.glob_t.html\\" title=\\"struct libc::glob_t\\">glob_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.passwd.html\\" title=\\"struct libc::passwd\\">passwd<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.spwd.html\\" title=\\"struct libc::spwd\\">spwd<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.dqblk.html\\" title=\\"struct libc::dqblk\\">dqblk<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.signalfd_siginfo.html\\" title=\\"struct libc::signalfd_siginfo\\">signalfd_siginfo<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.itimerspec.html\\" title=\\"struct libc::itimerspec\\">itimerspec<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.fsid_t.html\\" title=\\"struct libc::fsid_t\\">fsid_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.packet_mreq.html\\" title=\\"struct libc::packet_mreq\\">packet_mreq<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.cpu_set_t.html\\" title=\\"struct libc::cpu_set_t\\">cpu_set_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.if_nameindex.html\\" title=\\"struct libc::if_nameindex\\">if_nameindex<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.msginfo.html\\" title=\\"struct libc::msginfo\\">msginfo<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sembuf.html\\" title=\\"struct libc::sembuf\\">sembuf<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_event.html\\" title=\\"struct libc::input_event\\">input_event<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_id.html\\" title=\\"struct libc::input_id\\">input_id<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_absinfo.html\\" title=\\"struct libc::input_absinfo\\">input_absinfo<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_keymap_entry.html\\" title=\\"struct libc::input_keymap_entry\\">input_keymap_entry<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_mask.html\\" title=\\"struct libc::input_mask\\">input_mask<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_replay.html\\" title=\\"struct libc::ff_replay\\">ff_replay<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_trigger.html\\" title=\\"struct libc::ff_trigger\\">ff_trigger<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_envelope.html\\" title=\\"struct libc::ff_envelope\\">ff_envelope<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_constant_effect.html\\" title=\\"struct libc::ff_constant_effect\\">ff_constant_effect<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_ramp_effect.html\\" title=\\"struct libc::ff_ramp_effect\\">ff_ramp_effect<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_condition_effect.html\\" title=\\"struct libc::ff_condition_effect\\">ff_condition_effect<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_periodic_effect.html\\" title=\\"struct libc::ff_periodic_effect\\">ff_periodic_effect<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_rumble_effect.html\\" title=\\"struct libc::ff_rumble_effect\\">ff_rumble_effect<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_effect.html\\" title=\\"struct libc::ff_effect\\">ff_effect<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_ff_upload.html\\" title=\\"struct libc::uinput_ff_upload\\">uinput_ff_upload<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_ff_erase.html\\" title=\\"struct libc::uinput_ff_erase\\">uinput_ff_erase<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_abs_setup.html\\" title=\\"struct libc::uinput_abs_setup\\">uinput_abs_setup<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.dl_phdr_info.html\\" title=\\"struct libc::dl_phdr_info\\">dl_phdr_info<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Ehdr.html\\" title=\\"struct libc::Elf32_Ehdr\\">Elf32_Ehdr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Ehdr.html\\" title=\\"struct libc::Elf64_Ehdr\\">Elf64_Ehdr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Sym.html\\" title=\\"struct libc::Elf32_Sym\\">Elf32_Sym<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Sym.html\\" title=\\"struct libc::Elf64_Sym\\">Elf64_Sym<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Phdr.html\\" title=\\"struct libc::Elf32_Phdr\\">Elf32_Phdr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Phdr.html\\" title=\\"struct libc::Elf64_Phdr\\">Elf64_Phdr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Shdr.html\\" title=\\"struct libc::Elf32_Shdr\\">Elf32_Shdr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Shdr.html\\" title=\\"struct libc::Elf64_Shdr\\">Elf64_Shdr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ucred.html\\" title=\\"struct libc::ucred\\">ucred<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mntent.html\\" title=\\"struct libc::mntent\\">mntent<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.posix_spawn_file_actions_t.html\\" title=\\"struct libc::posix_spawn_file_actions_t\\">posix_spawn_file_actions_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.posix_spawnattr_t.html\\" title=\\"struct libc::posix_spawnattr_t\\">posix_spawnattr_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.genlmsghdr.html\\" title=\\"struct libc::genlmsghdr\\">genlmsghdr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in6_pktinfo.html\\" title=\\"struct libc::in6_pktinfo\\">in6_pktinfo<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.arpd_request.html\\" title=\\"struct libc::arpd_request\\">arpd_request<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.inotify_event.html\\" title=\\"struct libc::inotify_event\\">inotify_event<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.fanotify_response.html\\" title=\\"struct libc::fanotify_response\\">fanotify_response<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_vm.html\\" title=\\"struct libc::sockaddr_vm\\">sockaddr_vm<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.regmatch_t.html\\" title=\\"struct libc::regmatch_t\\">regmatch_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sock_extended_err.html\\" title=\\"struct libc::sock_extended_err\\">sock_extended_err<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_sockaddr_can_tp.html\\" title=\\"struct libc::__c_anonymous_sockaddr_can_tp\\">__c_anonymous_sockaddr_can_tp<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_sockaddr_can_j1939.html\\" title=\\"struct libc::__c_anonymous_sockaddr_can_j1939\\">__c_anonymous_sockaddr_can_j1939<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.can_filter.html\\" title=\\"struct libc::can_filter\\">can_filter<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.j1939_filter.html\\" title=\\"struct libc::j1939_filter\\">j1939_filter<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sock_filter.html\\" title=\\"struct libc::sock_filter\\">sock_filter<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sock_fprog.html\\" title=\\"struct libc::sock_fprog\\">sock_fprog<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.seccomp_data.html\\" title=\\"struct libc::seccomp_data\\">seccomp_data<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nlmsghdr.html\\" title=\\"struct libc::nlmsghdr\\">nlmsghdr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nlmsgerr.html\\" title=\\"struct libc::nlmsgerr\\">nlmsgerr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nlattr.html\\" title=\\"struct libc::nlattr\\">nlattr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.file_clone_range.html\\" title=\\"struct libc::file_clone_range\\">file_clone_range<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_ifru_map.html\\" title=\\"struct libc::__c_anonymous_ifru_map\\">__c_anonymous_ifru_map<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in6_ifreq.html\\" title=\\"struct libc::in6_ifreq\\">in6_ifreq<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.option.html\\" title=\\"struct libc::option\\">option<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_nl.html\\" title=\\"struct libc::sockaddr_nl\\">sockaddr_nl<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.dirent.html\\" title=\\"struct libc::dirent\\">dirent<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.dirent64.html\\" title=\\"struct libc::dirent64\\">dirent64<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_alg.html\\" title=\\"struct libc::sockaddr_alg\\">sockaddr_alg<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_setup.html\\" title=\\"struct libc::uinput_setup\\">uinput_setup<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_user_dev.html\\" title=\\"struct libc::uinput_user_dev\\">uinput_user_dev<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.af_alg_iv.html\\" title=\\"struct libc::af_alg_iv\\">af_alg_iv<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mq_attr.html\\" title=\\"struct libc::mq_attr\\">mq_attr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"union\\" href=\\"libc\/union.__c_anonymous_ifr_ifru.html\\" title=\\"union libc::__c_anonymous_ifr_ifru\\">__c_anonymous_ifr_ifru<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ifreq.html\\" title=\\"struct libc::ifreq\\">ifreq<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sock_txtime.html\\" title=\\"struct libc::sock_txtime\\">sock_txtime<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"union\\" href=\\"libc\/union.__c_anonymous_sockaddr_can_can_addr.html\\" title=\\"union libc::__c_anonymous_sockaddr_can_can_addr\\">__c_anonymous_sockaddr_can_can_addr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_can.html\\" title=\\"struct libc::sockaddr_can\\">sockaddr_can<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statx.html\\" title=\\"struct libc::statx\\">statx<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statx_timestamp.html\\" title=\\"struct libc::statx_timestamp\\">statx_timestamp<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.aiocb.html\\" title=\\"struct libc::aiocb\\">aiocb<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__exit_status.html\\" title=\\"struct libc::__exit_status\\">__exit_status<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__timeval.html\\" title=\\"struct libc::__timeval\\">__timeval<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.glob64_t.html\\" title=\\"struct libc::glob64_t\\">glob64_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.msghdr.html\\" title=\\"struct libc::msghdr\\">msghdr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.cmsghdr.html\\" title=\\"struct libc::cmsghdr\\">cmsghdr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.termios.html\\" title=\\"struct libc::termios\\">termios<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mallinfo.html\\" title=\\"struct libc::mallinfo\\">mallinfo<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mallinfo2.html\\" title=\\"struct libc::mallinfo2\\">mallinfo2<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nl_pktinfo.html\\" title=\\"struct libc::nl_pktinfo\\">nl_pktinfo<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nl_mmap_req.html\\" title=\\"struct libc::nl_mmap_req\\">nl_mmap_req<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nl_mmap_hdr.html\\" title=\\"struct libc::nl_mmap_hdr\\">nl_mmap_hdr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.rtentry.html\\" title=\\"struct libc::rtentry\\">rtentry<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.timex.html\\" title=\\"struct libc::timex\\">timex<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ntptimeval.html\\" title=\\"struct libc::ntptimeval\\">ntptimeval<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.regex_t.html\\" title=\\"struct libc::regex_t\\">regex_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Chdr.html\\" title=\\"struct libc::Elf64_Chdr\\">Elf64_Chdr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Chdr.html\\" title=\\"struct libc::Elf32_Chdr\\">Elf32_Chdr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.seminfo.html\\" title=\\"struct libc::seminfo\\">seminfo<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ptrace_peeksiginfo_args.html\\" title=\\"struct libc::ptrace_peeksiginfo_args\\">ptrace_peeksiginfo_args<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_ptrace_syscall_info_entry.html\\" title=\\"struct libc::__c_anonymous_ptrace_syscall_info_entry\\">__c_anonymous_ptrace_syscall_info_entry<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_ptrace_syscall_info_exit.html\\" title=\\"struct libc::__c_anonymous_ptrace_syscall_info_exit\\">__c_anonymous_ptrace_syscall_info_exit<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_ptrace_syscall_info_seccomp.html\\" title=\\"struct libc::__c_anonymous_ptrace_syscall_info_seccomp\\">__c_anonymous_ptrace_syscall_info_seccomp<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ptrace_syscall_info.html\\" title=\\"struct libc::ptrace_syscall_info\\">ptrace_syscall_info<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"union\\" href=\\"libc\/union.__c_anonymous_ptrace_syscall_info_data.html\\" title=\\"union libc::__c_anonymous_ptrace_syscall_info_data\\">__c_anonymous_ptrace_syscall_info_data<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.utmpx.html\\" title=\\"struct libc::utmpx\\">utmpx<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sigset_t.html\\" title=\\"struct libc::sigset_t\\">sigset_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sysinfo.html\\" title=\\"struct libc::sysinfo\\">sysinfo<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.msqid_ds.html\\" title=\\"struct libc::msqid_ds\\">msqid_ds<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.semid_ds.html\\" title=\\"struct libc::semid_ds\\">semid_ds<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sigaction.html\\" title=\\"struct libc::sigaction\\">sigaction<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statfs.html\\" title=\\"struct libc::statfs\\">statfs<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.flock.html\\" title=\\"struct libc::flock\\">flock<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.flock64.html\\" title=\\"struct libc::flock64\\">flock64<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.siginfo_t.html\\" title=\\"struct libc::siginfo_t\\">siginfo_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.stack_t.html\\" title=\\"struct libc::stack_t\\">stack_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.stat.html\\" title=\\"struct libc::stat\\">stat<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.stat64.html\\" title=\\"struct libc::stat64\\">stat64<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statfs64.html\\" title=\\"struct libc::statfs64\\">statfs64<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statvfs64.html\\" title=\\"struct libc::statvfs64\\">statvfs64<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_attr_t.html\\" title=\\"struct libc::pthread_attr_t\\">pthread_attr_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct._libc_fpxreg.html\\" title=\\"struct libc::_libc_fpxreg\\">_libc_fpxreg<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct._libc_xmmreg.html\\" title=\\"struct libc::_libc_xmmreg\\">_libc_xmmreg<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct._libc_fpstate.html\\" title=\\"struct libc::_libc_fpstate\\">_libc_fpstate<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.user_regs_struct.html\\" title=\\"struct libc::user_regs_struct\\">user_regs_struct<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.user.html\\" title=\\"struct libc::user\\">user<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mcontext_t.html\\" title=\\"struct libc::mcontext_t\\">mcontext_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ipc_perm.html\\" title=\\"struct libc::ipc_perm\\">ipc_perm<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.shmid_ds.html\\" title=\\"struct libc::shmid_ds\\">shmid_ds<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.seccomp_notif_sizes.html\\" title=\\"struct libc::seccomp_notif_sizes\\">seccomp_notif_sizes<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ptrace_rseq_configuration.html\\" title=\\"struct libc::ptrace_rseq_configuration\\">ptrace_rseq_configuration<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.user_fpregs_struct.html\\" title=\\"struct libc::user_fpregs_struct\\">user_fpregs_struct<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ucontext_t.html\\" title=\\"struct libc::ucontext_t\\">ucontext_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statvfs.html\\" title=\\"struct libc::statvfs\\">statvfs<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.max_align_t.html\\" title=\\"struct libc::max_align_t\\">max_align_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.clone_args.html\\" title=\\"struct libc::clone_args\\">clone_args<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sem_t.html\\" title=\\"struct libc::sem_t\\">sem_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.termios2.html\\" title=\\"struct libc::termios2\\">termios2<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_mutexattr_t.html\\" title=\\"struct libc::pthread_mutexattr_t\\">pthread_mutexattr_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_rwlockattr_t.html\\" title=\\"struct libc::pthread_rwlockattr_t\\">pthread_rwlockattr_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_condattr_t.html\\" title=\\"struct libc::pthread_condattr_t\\">pthread_condattr_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.fanotify_event_metadata.html\\" title=\\"struct libc::fanotify_event_metadata\\">fanotify_event_metadata<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_cond_t.html\\" title=\\"struct libc::pthread_cond_t\\">pthread_cond_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_mutex_t.html\\" title=\\"struct libc::pthread_mutex_t\\">pthread_mutex_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_rwlock_t.html\\" title=\\"struct libc::pthread_rwlock_t\\">pthread_rwlock_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.can_frame.html\\" title=\\"struct libc::can_frame\\">can_frame<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.canfd_frame.html\\" title=\\"struct libc::canfd_frame\\">canfd_frame<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.open_how.html\\" title=\\"struct libc::open_how\\">open_how<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in6_addr.html\\" title=\\"struct libc::in6_addr\\">in6_addr<\/a>"]],$/;" p
|
||
libc guessing_game/target/doc/implementors/core/marker/trait.Copy.js /^"libc":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.DIR.html\\" title=\\"enum libc::DIR\\">DIR<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.group.html\\" title=\\"struct libc::group\\">group<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.utimbuf.html\\" title=\\"struct libc::utimbuf\\">utimbuf<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.timeval.html\\" title=\\"struct libc::timeval\\">timeval<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.timespec.html\\" title=\\"struct libc::timespec\\">timespec<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.rlimit.html\\" title=\\"struct libc::rlimit\\">rlimit<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.rusage.html\\" title=\\"struct libc::rusage\\">rusage<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ipv6_mreq.html\\" title=\\"struct libc::ipv6_mreq\\">ipv6_mreq<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.hostent.html\\" title=\\"struct libc::hostent\\">hostent<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.iovec.html\\" title=\\"struct libc::iovec\\">iovec<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pollfd.html\\" title=\\"struct libc::pollfd\\">pollfd<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.winsize.html\\" title=\\"struct libc::winsize\\">winsize<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.linger.html\\" title=\\"struct libc::linger\\">linger<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sigval.html\\" title=\\"struct libc::sigval\\">sigval<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.itimerval.html\\" title=\\"struct libc::itimerval\\">itimerval<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.tms.html\\" title=\\"struct libc::tms\\">tms<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.servent.html\\" title=\\"struct libc::servent\\">servent<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.protoent.html\\" title=\\"struct libc::protoent\\">protoent<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.FILE.html\\" title=\\"enum libc::FILE\\">FILE<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.fpos_t.html\\" title=\\"enum libc::fpos_t\\">fpos_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.timezone.html\\" title=\\"enum libc::timezone\\">timezone<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in_addr.html\\" title=\\"struct libc::in_addr\\">in_addr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ip_mreq.html\\" title=\\"struct libc::ip_mreq\\">ip_mreq<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ip_mreqn.html\\" title=\\"struct libc::ip_mreqn\\">ip_mreqn<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ip_mreq_source.html\\" title=\\"struct libc::ip_mreq_source\\">ip_mreq_source<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr.html\\" title=\\"struct libc::sockaddr\\">sockaddr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_in.html\\" title=\\"struct libc::sockaddr_in\\">sockaddr_in<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_in6.html\\" title=\\"struct libc::sockaddr_in6\\">sockaddr_in6<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.addrinfo.html\\" title=\\"struct libc::addrinfo\\">addrinfo<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_ll.html\\" title=\\"struct libc::sockaddr_ll\\">sockaddr_ll<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.fd_set.html\\" title=\\"struct libc::fd_set\\">fd_set<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.tm.html\\" title=\\"struct libc::tm\\">tm<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sched_param.html\\" title=\\"struct libc::sched_param\\">sched_param<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Dl_info.html\\" title=\\"struct libc::Dl_info\\">Dl_info<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.lconv.html\\" title=\\"struct libc::lconv\\">lconv<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in_pktinfo.html\\" title=\\"struct libc::in_pktinfo\\">in_pktinfo<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ifaddrs.html\\" title=\\"struct libc::ifaddrs\\">ifaddrs<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in6_rtmsg.html\\" title=\\"struct libc::in6_rtmsg\\">in6_rtmsg<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.arpreq.html\\" title=\\"struct libc::arpreq\\">arpreq<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.arpreq_old.html\\" title=\\"struct libc::arpreq_old\\">arpreq_old<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.arphdr.html\\" title=\\"struct libc::arphdr\\">arphdr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mmsghdr.html\\" title=\\"struct libc::mmsghdr\\">mmsghdr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.epoll_event.html\\" title=\\"struct libc::epoll_event\\">epoll_event<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_un.html\\" title=\\"struct libc::sockaddr_un\\">sockaddr_un<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_storage.html\\" title=\\"struct libc::sockaddr_storage\\">sockaddr_storage<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.utsname.html\\" title=\\"struct libc::utsname\\">utsname<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sigevent.html\\" title=\\"struct libc::sigevent\\">sigevent<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.fpos64_t.html\\" title=\\"enum libc::fpos64_t\\">fpos64_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.rlimit64.html\\" title=\\"struct libc::rlimit64\\">rlimit64<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.glob_t.html\\" title=\\"struct libc::glob_t\\">glob_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.passwd.html\\" title=\\"struct libc::passwd\\">passwd<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.spwd.html\\" title=\\"struct libc::spwd\\">spwd<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.dqblk.html\\" title=\\"struct libc::dqblk\\">dqblk<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.signalfd_siginfo.html\\" title=\\"struct libc::signalfd_siginfo\\">signalfd_siginfo<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.itimerspec.html\\" title=\\"struct libc::itimerspec\\">itimerspec<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.fsid_t.html\\" title=\\"struct libc::fsid_t\\">fsid_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.packet_mreq.html\\" title=\\"struct libc::packet_mreq\\">packet_mreq<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.cpu_set_t.html\\" title=\\"struct libc::cpu_set_t\\">cpu_set_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.if_nameindex.html\\" title=\\"struct libc::if_nameindex\\">if_nameindex<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.msginfo.html\\" title=\\"struct libc::msginfo\\">msginfo<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sembuf.html\\" title=\\"struct libc::sembuf\\">sembuf<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_event.html\\" title=\\"struct libc::input_event\\">input_event<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_id.html\\" title=\\"struct libc::input_id\\">input_id<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_absinfo.html\\" title=\\"struct libc::input_absinfo\\">input_absinfo<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_keymap_entry.html\\" title=\\"struct libc::input_keymap_entry\\">input_keymap_entry<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_mask.html\\" title=\\"struct libc::input_mask\\">input_mask<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_replay.html\\" title=\\"struct libc::ff_replay\\">ff_replay<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_trigger.html\\" title=\\"struct libc::ff_trigger\\">ff_trigger<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_envelope.html\\" title=\\"struct libc::ff_envelope\\">ff_envelope<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_constant_effect.html\\" title=\\"struct libc::ff_constant_effect\\">ff_constant_effect<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_ramp_effect.html\\" title=\\"struct libc::ff_ramp_effect\\">ff_ramp_effect<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_condition_effect.html\\" title=\\"struct libc::ff_condition_effect\\">ff_condition_effect<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_periodic_effect.html\\" title=\\"struct libc::ff_periodic_effect\\">ff_periodic_effect<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_rumble_effect.html\\" title=\\"struct libc::ff_rumble_effect\\">ff_rumble_effect<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_effect.html\\" title=\\"struct libc::ff_effect\\">ff_effect<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_ff_upload.html\\" title=\\"struct libc::uinput_ff_upload\\">uinput_ff_upload<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_ff_erase.html\\" title=\\"struct libc::uinput_ff_erase\\">uinput_ff_erase<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_abs_setup.html\\" title=\\"struct libc::uinput_abs_setup\\">uinput_abs_setup<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.dl_phdr_info.html\\" title=\\"struct libc::dl_phdr_info\\">dl_phdr_info<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Ehdr.html\\" title=\\"struct libc::Elf32_Ehdr\\">Elf32_Ehdr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Ehdr.html\\" title=\\"struct libc::Elf64_Ehdr\\">Elf64_Ehdr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Sym.html\\" title=\\"struct libc::Elf32_Sym\\">Elf32_Sym<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Sym.html\\" title=\\"struct libc::Elf64_Sym\\">Elf64_Sym<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Phdr.html\\" title=\\"struct libc::Elf32_Phdr\\">Elf32_Phdr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Phdr.html\\" title=\\"struct libc::Elf64_Phdr\\">Elf64_Phdr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Shdr.html\\" title=\\"struct libc::Elf32_Shdr\\">Elf32_Shdr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Shdr.html\\" title=\\"struct libc::Elf64_Shdr\\">Elf64_Shdr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ucred.html\\" title=\\"struct libc::ucred\\">ucred<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mntent.html\\" title=\\"struct libc::mntent\\">mntent<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.posix_spawn_file_actions_t.html\\" title=\\"struct libc::posix_spawn_file_actions_t\\">posix_spawn_file_actions_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.posix_spawnattr_t.html\\" title=\\"struct libc::posix_spawnattr_t\\">posix_spawnattr_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.genlmsghdr.html\\" title=\\"struct libc::genlmsghdr\\">genlmsghdr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in6_pktinfo.html\\" title=\\"struct libc::in6_pktinfo\\">in6_pktinfo<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.arpd_request.html\\" title=\\"struct libc::arpd_request\\">arpd_request<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.inotify_event.html\\" title=\\"struct libc::inotify_event\\">inotify_event<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.fanotify_response.html\\" title=\\"struct libc::fanotify_response\\">fanotify_response<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_vm.html\\" title=\\"struct libc::sockaddr_vm\\">sockaddr_vm<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.regmatch_t.html\\" title=\\"struct libc::regmatch_t\\">regmatch_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sock_extended_err.html\\" title=\\"struct libc::sock_extended_err\\">sock_extended_err<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_sockaddr_can_tp.html\\" title=\\"struct libc::__c_anonymous_sockaddr_can_tp\\">__c_anonymous_sockaddr_can_tp<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_sockaddr_can_j1939.html\\" title=\\"struct libc::__c_anonymous_sockaddr_can_j1939\\">__c_anonymous_sockaddr_can_j1939<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.can_filter.html\\" title=\\"struct libc::can_filter\\">can_filter<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.j1939_filter.html\\" title=\\"struct libc::j1939_filter\\">j1939_filter<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sock_filter.html\\" title=\\"struct libc::sock_filter\\">sock_filter<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sock_fprog.html\\" title=\\"struct libc::sock_fprog\\">sock_fprog<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.seccomp_data.html\\" title=\\"struct libc::seccomp_data\\">seccomp_data<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nlmsghdr.html\\" title=\\"struct libc::nlmsghdr\\">nlmsghdr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nlmsgerr.html\\" title=\\"struct libc::nlmsgerr\\">nlmsgerr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nlattr.html\\" title=\\"struct libc::nlattr\\">nlattr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.file_clone_range.html\\" title=\\"struct libc::file_clone_range\\">file_clone_range<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_ifru_map.html\\" title=\\"struct libc::__c_anonymous_ifru_map\\">__c_anonymous_ifru_map<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in6_ifreq.html\\" title=\\"struct libc::in6_ifreq\\">in6_ifreq<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.option.html\\" title=\\"struct libc::option\\">option<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_nl.html\\" title=\\"struct libc::sockaddr_nl\\">sockaddr_nl<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.dirent.html\\" title=\\"struct libc::dirent\\">dirent<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.dirent64.html\\" title=\\"struct libc::dirent64\\">dirent64<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_alg.html\\" title=\\"struct libc::sockaddr_alg\\">sockaddr_alg<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_setup.html\\" title=\\"struct libc::uinput_setup\\">uinput_setup<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_user_dev.html\\" title=\\"struct libc::uinput_user_dev\\">uinput_user_dev<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.af_alg_iv.html\\" title=\\"struct libc::af_alg_iv\\">af_alg_iv<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mq_attr.html\\" title=\\"struct libc::mq_attr\\">mq_attr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"union\\" href=\\"libc\/union.__c_anonymous_ifr_ifru.html\\" title=\\"union libc::__c_anonymous_ifr_ifru\\">__c_anonymous_ifr_ifru<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ifreq.html\\" title=\\"struct libc::ifreq\\">ifreq<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sock_txtime.html\\" title=\\"struct libc::sock_txtime\\">sock_txtime<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"union\\" href=\\"libc\/union.__c_anonymous_sockaddr_can_can_addr.html\\" title=\\"union libc::__c_anonymous_sockaddr_can_can_addr\\">__c_anonymous_sockaddr_can_can_addr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_can.html\\" title=\\"struct libc::sockaddr_can\\">sockaddr_can<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statx.html\\" title=\\"struct libc::statx\\">statx<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statx_timestamp.html\\" title=\\"struct libc::statx_timestamp\\">statx_timestamp<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.aiocb.html\\" title=\\"struct libc::aiocb\\">aiocb<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__exit_status.html\\" title=\\"struct libc::__exit_status\\">__exit_status<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__timeval.html\\" title=\\"struct libc::__timeval\\">__timeval<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.glob64_t.html\\" title=\\"struct libc::glob64_t\\">glob64_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.msghdr.html\\" title=\\"struct libc::msghdr\\">msghdr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.cmsghdr.html\\" title=\\"struct libc::cmsghdr\\">cmsghdr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.termios.html\\" title=\\"struct libc::termios\\">termios<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mallinfo.html\\" title=\\"struct libc::mallinfo\\">mallinfo<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mallinfo2.html\\" title=\\"struct libc::mallinfo2\\">mallinfo2<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nl_pktinfo.html\\" title=\\"struct libc::nl_pktinfo\\">nl_pktinfo<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nl_mmap_req.html\\" title=\\"struct libc::nl_mmap_req\\">nl_mmap_req<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nl_mmap_hdr.html\\" title=\\"struct libc::nl_mmap_hdr\\">nl_mmap_hdr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.rtentry.html\\" title=\\"struct libc::rtentry\\">rtentry<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.timex.html\\" title=\\"struct libc::timex\\">timex<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ntptimeval.html\\" title=\\"struct libc::ntptimeval\\">ntptimeval<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.regex_t.html\\" title=\\"struct libc::regex_t\\">regex_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Chdr.html\\" title=\\"struct libc::Elf64_Chdr\\">Elf64_Chdr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Chdr.html\\" title=\\"struct libc::Elf32_Chdr\\">Elf32_Chdr<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.seminfo.html\\" title=\\"struct libc::seminfo\\">seminfo<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ptrace_peeksiginfo_args.html\\" title=\\"struct libc::ptrace_peeksiginfo_args\\">ptrace_peeksiginfo_args<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_ptrace_syscall_info_entry.html\\" title=\\"struct libc::__c_anonymous_ptrace_syscall_info_entry\\">__c_anonymous_ptrace_syscall_info_entry<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_ptrace_syscall_info_exit.html\\" title=\\"struct libc::__c_anonymous_ptrace_syscall_info_exit\\">__c_anonymous_ptrace_syscall_info_exit<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_ptrace_syscall_info_seccomp.html\\" title=\\"struct libc::__c_anonymous_ptrace_syscall_info_seccomp\\">__c_anonymous_ptrace_syscall_info_seccomp<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ptrace_syscall_info.html\\" title=\\"struct libc::ptrace_syscall_info\\">ptrace_syscall_info<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"union\\" href=\\"libc\/union.__c_anonymous_ptrace_syscall_info_data.html\\" title=\\"union libc::__c_anonymous_ptrace_syscall_info_data\\">__c_anonymous_ptrace_syscall_info_data<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.utmpx.html\\" title=\\"struct libc::utmpx\\">utmpx<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sigset_t.html\\" title=\\"struct libc::sigset_t\\">sigset_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sysinfo.html\\" title=\\"struct libc::sysinfo\\">sysinfo<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.msqid_ds.html\\" title=\\"struct libc::msqid_ds\\">msqid_ds<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.semid_ds.html\\" title=\\"struct libc::semid_ds\\">semid_ds<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sigaction.html\\" title=\\"struct libc::sigaction\\">sigaction<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statfs.html\\" title=\\"struct libc::statfs\\">statfs<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.flock.html\\" title=\\"struct libc::flock\\">flock<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.flock64.html\\" title=\\"struct libc::flock64\\">flock64<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.siginfo_t.html\\" title=\\"struct libc::siginfo_t\\">siginfo_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.stack_t.html\\" title=\\"struct libc::stack_t\\">stack_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.stat.html\\" title=\\"struct libc::stat\\">stat<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.stat64.html\\" title=\\"struct libc::stat64\\">stat64<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statfs64.html\\" title=\\"struct libc::statfs64\\">statfs64<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statvfs64.html\\" title=\\"struct libc::statvfs64\\">statvfs64<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_attr_t.html\\" title=\\"struct libc::pthread_attr_t\\">pthread_attr_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct._libc_fpxreg.html\\" title=\\"struct libc::_libc_fpxreg\\">_libc_fpxreg<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct._libc_xmmreg.html\\" title=\\"struct libc::_libc_xmmreg\\">_libc_xmmreg<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct._libc_fpstate.html\\" title=\\"struct libc::_libc_fpstate\\">_libc_fpstate<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.user_regs_struct.html\\" title=\\"struct libc::user_regs_struct\\">user_regs_struct<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.user.html\\" title=\\"struct libc::user\\">user<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mcontext_t.html\\" title=\\"struct libc::mcontext_t\\">mcontext_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ipc_perm.html\\" title=\\"struct libc::ipc_perm\\">ipc_perm<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.shmid_ds.html\\" title=\\"struct libc::shmid_ds\\">shmid_ds<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.seccomp_notif_sizes.html\\" title=\\"struct libc::seccomp_notif_sizes\\">seccomp_notif_sizes<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ptrace_rseq_configuration.html\\" title=\\"struct libc::ptrace_rseq_configuration\\">ptrace_rseq_configuration<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.user_fpregs_struct.html\\" title=\\"struct libc::user_fpregs_struct\\">user_fpregs_struct<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ucontext_t.html\\" title=\\"struct libc::ucontext_t\\">ucontext_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statvfs.html\\" title=\\"struct libc::statvfs\\">statvfs<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.max_align_t.html\\" title=\\"struct libc::max_align_t\\">max_align_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.clone_args.html\\" title=\\"struct libc::clone_args\\">clone_args<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sem_t.html\\" title=\\"struct libc::sem_t\\">sem_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.termios2.html\\" title=\\"struct libc::termios2\\">termios2<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_mutexattr_t.html\\" title=\\"struct libc::pthread_mutexattr_t\\">pthread_mutexattr_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_rwlockattr_t.html\\" title=\\"struct libc::pthread_rwlockattr_t\\">pthread_rwlockattr_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_condattr_t.html\\" title=\\"struct libc::pthread_condattr_t\\">pthread_condattr_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.fanotify_event_metadata.html\\" title=\\"struct libc::fanotify_event_metadata\\">fanotify_event_metadata<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_cond_t.html\\" title=\\"struct libc::pthread_cond_t\\">pthread_cond_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_mutex_t.html\\" title=\\"struct libc::pthread_mutex_t\\">pthread_mutex_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_rwlock_t.html\\" title=\\"struct libc::pthread_rwlock_t\\">pthread_rwlock_t<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.can_frame.html\\" title=\\"struct libc::can_frame\\">can_frame<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.canfd_frame.html\\" title=\\"struct libc::canfd_frame\\">canfd_frame<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.open_how.html\\" title=\\"struct libc::open_how\\">open_how<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in6_addr.html\\" title=\\"struct libc::in6_addr\\">in6_addr<\/a>"]],$/;" p
|
||
libc guessing_game/target/doc/implementors/core/marker/trait.Freeze.js /^"libc":[["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.statvfs.html\\" title=\\"struct libc::statvfs\\">statvfs<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::not_x32::statvfs"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.max_align_t.html\\" title=\\"struct libc::max_align_t\\">max_align_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::align::max_align_t"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.clone_args.html\\" title=\\"struct libc::clone_args\\">clone_args<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::align::clone_args"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.sigaction.html\\" title=\\"struct libc::sigaction\\">sigaction<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::sigaction"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.statfs.html\\" title=\\"struct libc::statfs\\">statfs<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::statfs"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.flock.html\\" title=\\"struct libc::flock\\">flock<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::flock"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.flock64.html\\" title=\\"struct libc::flock64\\">flock64<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::flock64"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.siginfo_t.html\\" title=\\"struct libc::siginfo_t\\">siginfo_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::siginfo_t"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.stack_t.html\\" title=\\"struct libc::stack_t\\">stack_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::stack_t"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.stat.html\\" title=\\"struct libc::stat\\">stat<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::stat"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.stat64.html\\" title=\\"struct libc::stat64\\">stat64<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::stat64"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.statfs64.html\\" title=\\"struct libc::statfs64\\">statfs64<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::statfs64"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.statvfs64.html\\" title=\\"struct libc::statvfs64\\">statvfs64<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::statvfs64"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.pthread_attr_t.html\\" title=\\"struct libc::pthread_attr_t\\">pthread_attr_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::pthread_attr_t"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct._libc_fpxreg.html\\" title=\\"struct libc::_libc_fpxreg\\">_libc_fpxreg<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::_libc_fpxreg"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct._libc_xmmreg.html\\" title=\\"struct libc::_libc_xmmreg\\">_libc_xmmreg<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::_libc_xmmreg"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct._libc_fpstate.html\\" title=\\"struct libc::_libc_fpstate\\">_libc_fpstate<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::_libc_fpstate"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.user_regs_struct.html\\" title=\\"struct libc::user_regs_struct\\">user_regs_struct<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::user_regs_struct"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.user.html\\" title=\\"struct libc::user\\">user<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::user"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.mcontext_t.html\\" title=\\"struct libc::mcontext_t\\">mcontext_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::mcontext_t"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.ipc_perm.html\\" title=\\"struct libc::ipc_perm\\">ipc_perm<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::ipc_perm"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.shmid_ds.html\\" title=\\"struct libc::shmid_ds\\">shmid_ds<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::shmid_ds"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.seccomp_notif_sizes.html\\" title=\\"struct libc::seccomp_notif_sizes\\">seccomp_notif_sizes<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::seccomp_notif_sizes"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.ptrace_rseq_configuration.html\\" title=\\"struct libc::ptrace_rseq_configuration\\">ptrace_rseq_configuration<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::ptrace_rseq_configuration"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.user_fpregs_struct.html\\" title=\\"struct libc::user_fpregs_struct\\">user_fpregs_struct<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::user_fpregs_struct"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.ucontext_t.html\\" title=\\"struct libc::ucontext_t\\">ucontext_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::ucontext_t"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.sigset_t.html\\" title=\\"struct libc::sigset_t\\">sigset_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::sigset_t"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.sysinfo.html\\" title=\\"struct libc::sysinfo\\">sysinfo<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::sysinfo"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.msqid_ds.html\\" title=\\"struct libc::msqid_ds\\">msqid_ds<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::msqid_ds"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.semid_ds.html\\" title=\\"struct libc::semid_ds\\">semid_ds<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::semid_ds"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.sem_t.html\\" title=\\"struct libc::sem_t\\">sem_t<\/a>",1,["libc::unix::linux_like::linux::gnu::align::sem_t"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.statx.html\\" title=\\"struct libc::statx\\">statx<\/a>",1,["libc::unix::linux_like::linux::gnu::statx"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.statx_timestamp.html\\" title=\\"struct libc::statx_timestamp\\">statx_timestamp<\/a>",1,["libc::unix::linux_like::linux::gnu::statx_timestamp"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.aiocb.html\\" title=\\"struct libc::aiocb\\">aiocb<\/a>",1,["libc::unix::linux_like::linux::gnu::aiocb"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.__exit_status.html\\" title=\\"struct libc::__exit_status\\">__exit_status<\/a>",1,["libc::unix::linux_like::linux::gnu::__exit_status"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.__timeval.html\\" title=\\"struct libc::__timeval\\">__timeval<\/a>",1,["libc::unix::linux_like::linux::gnu::__timeval"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.glob64_t.html\\" title=\\"struct libc::glob64_t\\">glob64_t<\/a>",1,["libc::unix::linux_like::linux::gnu::glob64_t"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.msghdr.html\\" title=\\"struct libc::msghdr\\">msghdr<\/a>",1,["libc::unix::linux_like::linux::gnu::msghdr"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.cmsghdr.html\\" title=\\"struct libc::cmsghdr\\">cmsghdr<\/a>",1,["libc::unix::linux_like::linux::gnu::cmsghdr"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.termios.html\\" title=\\"struct libc::termios\\">termios<\/a>",1,["libc::unix::linux_like::linux::gnu::termios"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.mallinfo.html\\" title=\\"struct libc::mallinfo\\">mallinfo<\/a>",1,["libc::unix::linux_like::linux::gnu::mallinfo"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.mallinfo2.html\\" title=\\"struct libc::mallinfo2\\">mallinfo2<\/a>",1,["libc::unix::linux_like::linux::gnu::mallinfo2"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.nl_pktinfo.html\\" title=\\"struct libc::nl_pktinfo\\">nl_pktinfo<\/a>",1,["libc::unix::linux_like::linux::gnu::nl_pktinfo"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.nl_mmap_req.html\\" title=\\"struct libc::nl_mmap_req\\">nl_mmap_req<\/a>",1,["libc::unix::linux_like::linux::gnu::nl_mmap_req"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.nl_mmap_hdr.html\\" title=\\"struct libc::nl_mmap_hdr\\">nl_mmap_hdr<\/a>",1,["libc::unix::linux_like::linux::gnu::nl_mmap_hdr"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.rtentry.html\\" title=\\"struct libc::rtentry\\">rtentry<\/a>",1,["libc::unix::linux_like::linux::gnu::rtentry"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.timex.html\\" title=\\"struct libc::timex\\">timex<\/a>",1,["libc::unix::linux_like::linux::gnu::timex"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.ntptimeval.html\\" title=\\"struct libc::ntptimeval\\">ntptimeval<\/a>",1,["libc::unix::linux_like::linux::gnu::ntptimeval"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.regex_t.html\\" title=\\"struct libc::regex_t\\">regex_t<\/a>",1,["libc::unix::linux_like::linux::gnu::regex_t"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Chdr.html\\" title=\\"struct libc::Elf64_Chdr\\">Elf64_Chdr<\/a>",1,["libc::unix::linux_like::linux::gnu::Elf64_Chdr"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Chdr.html\\" title=\\"struct libc::Elf32_Chdr\\">Elf32_Chdr<\/a>",1,["libc::unix::linux_like::linux::gnu::Elf32_Chdr"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.seminfo.html\\" title=\\"struct libc::seminfo\\">seminfo<\/a>",1,["libc::unix::linux_like::linux::gnu::seminfo"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.ptrace_peeksiginfo_args.html\\" title=\\"struct libc::ptrace_peeksiginfo_args\\">ptrace_peeksiginfo_args<\/a>",1,["libc::unix::linux_like::linux::gnu::ptrace_peeksiginfo_args"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_ptrace_syscall_info_entry.html\\" title=\\"struct libc::__c_anonymous_ptrace_syscall_info_entry\\">__c_anonymous_ptrace_syscall_info_entry<\/a>",1,["libc::unix::linux_like::linux::gnu::__c_anonymous_ptrace_syscall_info_entry"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_ptrace_syscall_info_exit.html\\" title=\\"struct libc::__c_anonymous_ptrace_syscall_info_exit\\">__c_anonymous_ptrace_syscall_info_exit<\/a>",1,["libc::unix::linux_like::linux::gnu::__c_anonymous_ptrace_syscall_info_exit"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_ptrace_syscall_info_seccomp.html\\" title=\\"struct libc::__c_anonymous_ptrace_syscall_info_seccomp\\">__c_anonymous_ptrace_syscall_info_seccomp<\/a>",1,["libc::unix::linux_like::linux::gnu::__c_anonymous_ptrace_syscall_info_seccomp"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.ptrace_syscall_info.html\\" title=\\"struct libc::ptrace_syscall_info\\">ptrace_syscall_info<\/a>",1,["libc::unix::linux_like::linux::gnu::ptrace_syscall_info"]],["impl Freeze for <a class=\\"union\\" href=\\"libc\/union.__c_anonymous_ptrace_syscall_info_data.html\\" title=\\"union libc::__c_anonymous_ptrace_syscall_info_data\\">__c_anonymous_ptrace_syscall_info_data<\/a>",1,["libc::unix::linux_like::linux::gnu::__c_anonymous_ptrace_syscall_info_data"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.utmpx.html\\" title=\\"struct libc::utmpx\\">utmpx<\/a>",1,["libc::unix::linux_like::linux::gnu::utmpx"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.termios2.html\\" title=\\"struct libc::termios2\\">termios2<\/a>",1,["libc::unix::linux_like::linux::arch::generic::termios2"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.open_how.html\\" title=\\"struct libc::open_how\\">open_how<\/a>",1,["libc::unix::linux_like::linux::non_exhaustive::open_how"]],["impl Freeze for <a class=\\"enum\\" href=\\"libc\/enum.fpos64_t.html\\" title=\\"enum libc::fpos64_t\\">fpos64_t<\/a>",1,["libc::unix::linux_like::linux::fpos64_t"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.rlimit64.html\\" title=\\"struct libc::rlimit64\\">rlimit64<\/a>",1,["libc::unix::linux_like::linux::rlimit64"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.glob_t.html\\" title=\\"struct libc::glob_t\\">glob_t<\/a>",1,["libc::unix::linux_like::linux::glob_t"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.passwd.html\\" title=\\"struct libc::passwd\\">passwd<\/a>",1,["libc::unix::linux_like::linux::passwd"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.spwd.html\\" title=\\"struct libc::spwd\\">spwd<\/a>",1,["libc::unix::linux_like::linux::spwd"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.dqblk.html\\" title=\\"struct libc::dqblk\\">dqblk<\/a>",1,["libc::unix::linux_like::linux::dqblk"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.signalfd_siginfo.html\\" title=\\"struct libc::signalfd_siginfo\\">signalfd_siginfo<\/a>",1,["libc::unix::linux_like::linux::signalfd_siginfo"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.itimerspec.html\\" title=\\"struct libc::itimerspec\\">itimerspec<\/a>",1,["libc::unix::linux_like::linux::itimerspec"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.fsid_t.html\\" title=\\"struct libc::fsid_t\\">fsid_t<\/a>",1,["libc::unix::linux_like::linux::fsid_t"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.packet_mreq.html\\" title=\\"struct libc::packet_mreq\\">packet_mreq<\/a>",1,["libc::unix::linux_like::linux::packet_mreq"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.cpu_set_t.html\\" title=\\"struct libc::cpu_set_t\\">cpu_set_t<\/a>",1,["libc::unix::linux_like::linux::cpu_set_t"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.if_nameindex.html\\" title=\\"struct libc::if_nameindex\\">if_nameindex<\/a>",1,["libc::unix::linux_like::linux::if_nameindex"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.msginfo.html\\" title=\\"struct libc::msginfo\\">msginfo<\/a>",1,["libc::unix::linux_like::linux::msginfo"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.sembuf.html\\" title=\\"struct libc::sembuf\\">sembuf<\/a>",1,["libc::unix::linux_like::linux::sembuf"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.input_event.html\\" title=\\"struct libc::input_event\\">input_event<\/a>",1,["libc::unix::linux_like::linux::input_event"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.input_id.html\\" title=\\"struct libc::input_id\\">input_id<\/a>",1,["libc::unix::linux_like::linux::input_id"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.input_absinfo.html\\" title=\\"struct libc::input_absinfo\\">input_absinfo<\/a>",1,["libc::unix::linux_like::linux::input_absinfo"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.input_keymap_entry.html\\" title=\\"struct libc::input_keymap_entry\\">input_keymap_entry<\/a>",1,["libc::unix::linux_like::linux::input_keymap_entry"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.input_mask.html\\" title=\\"struct libc::input_mask\\">input_mask<\/a>",1,["libc::unix::linux_like::linux::input_mask"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.ff_replay.html\\" title=\\"struct libc::ff_replay\\">ff_replay<\/a>",1,["libc::unix::linux_like::linux::ff_replay"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.ff_trigger.html\\" title=\\"struct libc::ff_trigger\\">ff_trigger<\/a>",1,["libc::unix::linux_like::linux::ff_trigger"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.ff_envelope.html\\" title=\\"struct libc::ff_envelope\\">ff_envelope<\/a>",1,["libc::unix::linux_like::linux::ff_envelope"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.ff_constant_effect.html\\" title=\\"struct libc::ff_constant_effect\\">ff_constant_effect<\/a>",1,["libc::unix::linux_like::linux::ff_constant_effect"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.ff_ramp_effect.html\\" title=\\"struct libc::ff_ramp_effect\\">ff_ramp_effect<\/a>",1,["libc::unix::linux_like::linux::ff_ramp_effect"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.ff_condition_effect.html\\" title=\\"struct libc::ff_condition_effect\\">ff_condition_effect<\/a>",1,["libc::unix::linux_like::linux::ff_condition_effect"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.ff_periodic_effect.html\\" title=\\"struct libc::ff_periodic_effect\\">ff_periodic_effect<\/a>",1,["libc::unix::linux_like::linux::ff_periodic_effect"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.ff_rumble_effect.html\\" title=\\"struct libc::ff_rumble_effect\\">ff_rumble_effect<\/a>",1,["libc::unix::linux_like::linux::ff_rumble_effect"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.ff_effect.html\\" title=\\"struct libc::ff_effect\\">ff_effect<\/a>",1,["libc::unix::linux_like::linux::ff_effect"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.uinput_ff_upload.html\\" title=\\"struct libc::uinput_ff_upload\\">uinput_ff_upload<\/a>",1,["libc::unix::linux_like::linux::uinput_ff_upload"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.uinput_ff_erase.html\\" title=\\"struct libc::uinput_ff_erase\\">uinput_ff_erase<\/a>",1,["libc::unix::linux_like::linux::uinput_ff_erase"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.uinput_abs_setup.html\\" title=\\"struct libc::uinput_abs_setup\\">uinput_abs_setup<\/a>",1,["libc::unix::linux_like::linux::uinput_abs_setup"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.dl_phdr_info.html\\" title=\\"struct libc::dl_phdr_info\\">dl_phdr_info<\/a>",1,["libc::unix::linux_like::linux::dl_phdr_info"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Ehdr.html\\" title=\\"struct libc::Elf32_Ehdr\\">Elf32_Ehdr<\/a>",1,["libc::unix::linux_like::linux::Elf32_Ehdr"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Ehdr.html\\" title=\\"struct libc::Elf64_Ehdr\\">Elf64_Ehdr<\/a>",1,["libc::unix::linux_like::linux::Elf64_Ehdr"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Sym.html\\" title=\\"struct libc::Elf32_Sym\\">Elf32_Sym<\/a>",1,["libc::unix::linux_like::linux::Elf32_Sym"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Sym.html\\" title=\\"struct libc::Elf64_Sym\\">Elf64_Sym<\/a>",1,["libc::unix::linux_like::linux::Elf64_Sym"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Phdr.html\\" title=\\"struct libc::Elf32_Phdr\\">Elf32_Phdr<\/a>",1,["libc::unix::linux_like::linux::Elf32_Phdr"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Phdr.html\\" title=\\"struct libc::Elf64_Phdr\\">Elf64_Phdr<\/a>",1,["libc::unix::linux_like::linux::Elf64_Phdr"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Shdr.html\\" title=\\"struct libc::Elf32_Shdr\\">Elf32_Shdr<\/a>",1,["libc::unix::linux_like::linux::Elf32_Shdr"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Shdr.html\\" title=\\"struct libc::Elf64_Shdr\\">Elf64_Shdr<\/a>",1,["libc::unix::linux_like::linux::Elf64_Shdr"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.ucred.html\\" title=\\"struct libc::ucred\\">ucred<\/a>",1,["libc::unix::linux_like::linux::ucred"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.mntent.html\\" title=\\"struct libc::mntent\\">mntent<\/a>",1,["libc::unix::linux_like::linux::mntent"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.posix_spawn_file_actions_t.html\\" title=\\"struct libc::posix_spawn_file_actions_t\\">posix_spawn_file_actions_t<\/a>",1,["libc::unix::linux_like::linux::posix_spawn_file_actions_t"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.posix_spawnattr_t.html\\" title=\\"struct libc::posix_spawnattr_t\\">posix_spawnattr_t<\/a>",1,["libc::unix::linux_like::linux::posix_spawnattr_t"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.genlmsghdr.html\\" title=\\"struct libc::genlmsghdr\\">genlmsghdr<\/a>",1,["libc::unix::linux_like::linux::genlmsghdr"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.in6_pktinfo.html\\" title=\\"struct libc::in6_pktinfo\\">in6_pktinfo<\/a>",1,["libc::unix::linux_like::linux::in6_pktinfo"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.arpd_request.html\\" title=\\"struct libc::arpd_request\\">arpd_request<\/a>",1,["libc::unix::linux_like::linux::arpd_request"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.inotify_event.html\\" title=\\"struct libc::inotify_event\\">inotify_event<\/a>",1,["libc::unix::linux_like::linux::inotify_event"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.fanotify_response.html\\" title=\\"struct libc::fanotify_response\\">fanotify_response<\/a>",1,["libc::unix::linux_like::linux::fanotify_response"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_vm.html\\" title=\\"struct libc::sockaddr_vm\\">sockaddr_vm<\/a>",1,["libc::unix::linux_like::linux::sockaddr_vm"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.regmatch_t.html\\" title=\\"struct libc::regmatch_t\\">regmatch_t<\/a>",1,["libc::unix::linux_like::linux::regmatch_t"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.sock_extended_err.html\\" title=\\"struct libc::sock_extended_err\\">sock_extended_err<\/a>",1,["libc::unix::linux_like::linux::sock_extended_err"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_sockaddr_can_tp.html\\" title=\\"struct libc::__c_anonymous_sockaddr_can_tp\\">__c_anonymous_sockaddr_can_tp<\/a>",1,["libc::unix::linux_like::linux::__c_anonymous_sockaddr_can_tp"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_sockaddr_can_j1939.html\\" title=\\"struct libc::__c_anonymous_sockaddr_can_j1939\\">__c_anonymous_sockaddr_can_j1939<\/a>",1,["libc::unix::linux_like::linux::__c_anonymous_sockaddr_can_j1939"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.can_filter.html\\" title=\\"struct libc::can_filter\\">can_filter<\/a>",1,["libc::unix::linux_like::linux::can_filter"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.j1939_filter.html\\" title=\\"struct libc::j1939_filter\\">j1939_filter<\/a>",1,["libc::unix::linux_like::linux::j1939_filter"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.sock_filter.html\\" title=\\"struct libc::sock_filter\\">sock_filter<\/a>",1,["libc::unix::linux_like::linux::sock_filter"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.sock_fprog.html\\" title=\\"struct libc::sock_fprog\\">sock_fprog<\/a>",1,["libc::unix::linux_like::linux::sock_fprog"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.seccomp_data.html\\" title=\\"struct libc::seccomp_data\\">seccomp_data<\/a>",1,["libc::unix::linux_like::linux::seccomp_data"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.nlmsghdr.html\\" title=\\"struct libc::nlmsghdr\\">nlmsghdr<\/a>",1,["libc::unix::linux_like::linux::nlmsghdr"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.nlmsgerr.html\\" title=\\"struct libc::nlmsgerr\\">nlmsgerr<\/a>",1,["libc::unix::linux_like::linux::nlmsgerr"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.nlattr.html\\" title=\\"struct libc::nlattr\\">nlattr<\/a>",1,["libc::unix::linux_like::linux::nlattr"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.file_clone_range.html\\" title=\\"struct libc::file_clone_range\\">file_clone_range<\/a>",1,["libc::unix::linux_like::linux::file_clone_range"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_ifru_map.html\\" title=\\"struct libc::__c_anonymous_ifru_map\\">__c_anonymous_ifru_map<\/a>",1,["libc::unix::linux_like::linux::__c_anonymous_ifru_map"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.in6_ifreq.html\\" title=\\"struct libc::in6_ifreq\\">in6_ifreq<\/a>",1,["libc::unix::linux_like::linux::in6_ifreq"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.option.html\\" title=\\"struct libc::option\\">option<\/a>",1,["libc::unix::linux_like::linux::option"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_nl.html\\" title=\\"struct libc::sockaddr_nl\\">sockaddr_nl<\/a>",1,["libc::unix::linux_like::linux::sockaddr_nl"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.dirent.html\\" title=\\"struct libc::dirent\\">dirent<\/a>",1,["libc::unix::linux_like::linux::dirent"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.dirent64.html\\" title=\\"struct libc::dirent64\\">dirent64<\/a>",1,["libc::unix::linux_like::linux::dirent64"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_alg.html\\" title=\\"struct libc::sockaddr_alg\\">sockaddr_alg<\/a>",1,["libc::unix::linux_like::linux::sockaddr_alg"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.uinput_setup.html\\" title=\\"struct libc::uinput_setup\\">uinput_setup<\/a>",1,["libc::unix::linux_like::linux::uinput_setup"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.uinput_user_dev.html\\" title=\\"struct libc::uinput_user_dev\\">uinput_user_dev<\/a>",1,["libc::unix::linux_like::linux::uinput_user_dev"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.af_alg_iv.html\\" title=\\"struct libc::af_alg_iv\\">af_alg_iv<\/a>",1,["libc::unix::linux_like::linux::af_alg_iv"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.mq_attr.html\\" title=\\"struct libc::mq_attr\\">mq_attr<\/a>",1,["libc::unix::linux_like::linux::mq_attr"]],["impl Freeze for <a class=\\"union\\" href=\\"libc\/union.__c_anonymous_ifr_ifru.html\\" title=\\"union libc::__c_anonymous_ifr_ifru\\">__c_anonymous_ifr_ifru<\/a>",1,["libc::unix::linux_like::linux::__c_anonymous_ifr_ifru"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.ifreq.html\\" title=\\"struct libc::ifreq\\">ifreq<\/a>",1,["libc::unix::linux_like::linux::ifreq"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.sock_txtime.html\\" title=\\"struct libc::sock_txtime\\">sock_txtime<\/a>",1,["libc::unix::linux_like::linux::sock_txtime"]],["impl Freeze for <a class=\\"union\\" href=\\"libc\/union.__c_anonymous_sockaddr_can_can_addr.html\\" title=\\"union libc::__c_anonymous_sockaddr_can_can_addr\\">__c_anonymous_sockaddr_can_can_addr<\/a>",1,["libc::unix::linux_like::linux::__c_anonymous_sockaddr_can_can_addr"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_can.html\\" title=\\"struct libc::sockaddr_can\\">sockaddr_can<\/a>",1,["libc::unix::linux_like::linux::sockaddr_can"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.pthread_mutexattr_t.html\\" title=\\"struct libc::pthread_mutexattr_t\\">pthread_mutexattr_t<\/a>",1,["libc::unix::linux_like::linux::pthread_mutexattr_t"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.pthread_rwlockattr_t.html\\" title=\\"struct libc::pthread_rwlockattr_t\\">pthread_rwlockattr_t<\/a>",1,["libc::unix::linux_like::linux::pthread_rwlockattr_t"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.pthread_condattr_t.html\\" title=\\"struct libc::pthread_condattr_t\\">pthread_condattr_t<\/a>",1,["libc::unix::linux_like::linux::pthread_condattr_t"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.fanotify_event_metadata.html\\" title=\\"struct libc::fanotify_event_metadata\\">fanotify_event_metadata<\/a>",1,["libc::unix::linux_like::linux::fanotify_event_metadata"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.pthread_cond_t.html\\" title=\\"struct libc::pthread_cond_t\\">pthread_cond_t<\/a>",1,["libc::unix::linux_like::linux::pthread_cond_t"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.pthread_mutex_t.html\\" title=\\"struct libc::pthread_mutex_t\\">pthread_mutex_t<\/a>",1,["libc::unix::linux_like::linux::pthread_mutex_t"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.pthread_rwlock_t.html\\" title=\\"struct libc::pthread_rwlock_t\\">pthread_rwlock_t<\/a>",1,["libc::unix::linux_like::linux::pthread_rwlock_t"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.can_frame.html\\" title=\\"struct libc::can_frame\\">can_frame<\/a>",1,["libc::unix::linux_like::linux::can_frame"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.canfd_frame.html\\" title=\\"struct libc::canfd_frame\\">canfd_frame<\/a>",1,["libc::unix::linux_like::linux::canfd_frame"]],["impl Freeze for <a class=\\"enum\\" href=\\"libc\/enum.timezone.html\\" title=\\"enum libc::timezone\\">timezone<\/a>",1,["libc::unix::linux_like::timezone"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.in_addr.html\\" title=\\"struct libc::in_addr\\">in_addr<\/a>",1,["libc::unix::linux_like::in_addr"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.ip_mreq.html\\" title=\\"struct libc::ip_mreq\\">ip_mreq<\/a>",1,["libc::unix::linux_like::ip_mreq"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.ip_mreqn.html\\" title=\\"struct libc::ip_mreqn\\">ip_mreqn<\/a>",1,["libc::unix::linux_like::ip_mreqn"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.ip_mreq_source.html\\" title=\\"struct libc::ip_mreq_source\\">ip_mreq_source<\/a>",1,["libc::unix::linux_like::ip_mreq_source"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr.html\\" title=\\"struct libc::sockaddr\\">sockaddr<\/a>",1,["libc::unix::linux_like::sockaddr"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_in.html\\" title=\\"struct libc::sockaddr_in\\">sockaddr_in<\/a>",1,["libc::unix::linux_like::sockaddr_in"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_in6.html\\" title=\\"struct libc::sockaddr_in6\\">sockaddr_in6<\/a>",1,["libc::unix::linux_like::sockaddr_in6"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.addrinfo.html\\" title=\\"struct libc::addrinfo\\">addrinfo<\/a>",1,["libc::unix::linux_like::addrinfo"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_ll.html\\" title=\\"struct libc::sockaddr_ll\\">sockaddr_ll<\/a>",1,["libc::unix::linux_like::sockaddr_ll"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.fd_set.html\\" title=\\"struct libc::fd_set\\">fd_set<\/a>",1,["libc::unix::linux_like::fd_set"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.tm.html\\" title=\\"struct libc::tm\\">tm<\/a>",1,["libc::unix::linux_like::tm"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.sched_param.html\\" title=\\"struct libc::sched_param\\">sched_param<\/a>",1,["libc::unix::linux_like::sched_param"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.Dl_info.html\\" title=\\"struct libc::Dl_info\\">Dl_info<\/a>",1,["libc::unix::linux_like::Dl_info"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.lconv.html\\" title=\\"struct libc::lconv\\">lconv<\/a>",1,["libc::unix::linux_like::lconv"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.in_pktinfo.html\\" title=\\"struct libc::in_pktinfo\\">in_pktinfo<\/a>",1,["libc::unix::linux_like::in_pktinfo"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.ifaddrs.html\\" title=\\"struct libc::ifaddrs\\">ifaddrs<\/a>",1,["libc::unix::linux_like::ifaddrs"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.in6_rtmsg.html\\" title=\\"struct libc::in6_rtmsg\\">in6_rtmsg<\/a>",1,["libc::unix::linux_like::in6_rtmsg"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.arpreq.html\\" title=\\"struct libc::arpreq\\">arpreq<\/a>",1,["libc::unix::linux_like::arpreq"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.arpreq_old.html\\" title=\\"struct libc::arpreq_old\\">arpreq_old<\/a>",1,["libc::unix::linux_like::arpreq_old"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.arphdr.html\\" title=\\"struct libc::arphdr\\">arphdr<\/a>",1,["libc::unix::linux_like::arphdr"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.mmsghdr.html\\" title=\\"struct libc::mmsghdr\\">mmsghdr<\/a>",1,["libc::unix::linux_like::mmsghdr"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.epoll_event.html\\" title=\\"struct libc::epoll_event\\">epoll_event<\/a>",1,["libc::unix::linux_like::epoll_event"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_un.html\\" title=\\"struct libc::sockaddr_un\\">sockaddr_un<\/a>",1,["libc::unix::linux_like::sockaddr_un"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_storage.html\\" title=\\"struct libc::sockaddr_storage\\">sockaddr_storage<\/a>",1,["libc::unix::linux_like::sockaddr_storage"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.utsname.html\\" title=\\"struct libc::utsname\\">utsname<\/a>",1,["libc::unix::linux_like::utsname"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.sigevent.html\\" title=\\"struct libc::sigevent\\">sigevent<\/a>",1,["libc::unix::linux_like::sigevent"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.in6_addr.html\\" title=\\"struct libc::in6_addr\\">in6_addr<\/a>",1,["libc::unix::align::in6_addr"]],["impl Freeze for <a class=\\"enum\\" href=\\"libc\/enum.DIR.html\\" title=\\"enum libc::DIR\\">DIR<\/a>",1,["libc::unix::DIR"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.group.html\\" title=\\"struct libc::group\\">group<\/a>",1,["libc::unix::group"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.utimbuf.html\\" title=\\"struct libc::utimbuf\\">utimbuf<\/a>",1,["libc::unix::utimbuf"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.timeval.html\\" title=\\"struct libc::timeval\\">timeval<\/a>",1,["libc::unix::timeval"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.timespec.html\\" title=\\"struct libc::timespec\\">timespec<\/a>",1,["libc::unix::timespec"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.rlimit.html\\" title=\\"struct libc::rlimit\\">rlimit<\/a>",1,["libc::unix::rlimit"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.rusage.html\\" title=\\"struct libc::rusage\\">rusage<\/a>",1,["libc::unix::rusage"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.ipv6_mreq.html\\" title=\\"struct libc::ipv6_mreq\\">ipv6_mreq<\/a>",1,["libc::unix::ipv6_mreq"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.hostent.html\\" title=\\"struct libc::hostent\\">hostent<\/a>",1,["libc::unix::hostent"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.iovec.html\\" title=\\"struct libc::iovec\\">iovec<\/a>",1,["libc::unix::iovec"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.pollfd.html\\" title=\\"struct libc::pollfd\\">pollfd<\/a>",1,["libc::unix::pollfd"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.winsize.html\\" title=\\"struct libc::winsize\\">winsize<\/a>",1,["libc::unix::winsize"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.linger.html\\" title=\\"struct libc::linger\\">linger<\/a>",1,["libc::unix::linger"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.sigval.html\\" title=\\"struct libc::sigval\\">sigval<\/a>",1,["libc::unix::sigval"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.itimerval.html\\" title=\\"struct libc::itimerval\\">itimerval<\/a>",1,["libc::unix::itimerval"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.tms.html\\" title=\\"struct libc::tms\\">tms<\/a>",1,["libc::unix::tms"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.servent.html\\" title=\\"struct libc::servent\\">servent<\/a>",1,["libc::unix::servent"]],["impl Freeze for <a class=\\"struct\\" href=\\"libc\/struct.protoent.html\\" title=\\"struct libc::protoent\\">protoent<\/a>",1,["libc::unix::protoent"]],["impl Freeze for <a class=\\"enum\\" href=\\"libc\/enum.FILE.html\\" title=\\"enum libc::FILE\\">FILE<\/a>",1,["libc::unix::FILE"]],["impl Freeze for <a class=\\"enum\\" href=\\"libc\/enum.fpos_t.html\\" title=\\"enum libc::fpos_t\\">fpos_t<\/a>",1,["libc::unix::fpos_t"]]],$/;" p
|
||
libc guessing_game/target/doc/implementors/core/marker/trait.Send.js /^"libc":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statvfs.html\\" title=\\"struct libc::statvfs\\">statvfs<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::not_x32::statvfs"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.max_align_t.html\\" title=\\"struct libc::max_align_t\\">max_align_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::align::max_align_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.clone_args.html\\" title=\\"struct libc::clone_args\\">clone_args<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::align::clone_args"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sigaction.html\\" title=\\"struct libc::sigaction\\">sigaction<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::sigaction"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statfs.html\\" title=\\"struct libc::statfs\\">statfs<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::statfs"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.flock.html\\" title=\\"struct libc::flock\\">flock<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::flock"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.flock64.html\\" title=\\"struct libc::flock64\\">flock64<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::flock64"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.siginfo_t.html\\" title=\\"struct libc::siginfo_t\\">siginfo_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::siginfo_t"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.stack_t.html\\" title=\\"struct libc::stack_t\\">stack_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::stack_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.stat.html\\" title=\\"struct libc::stat\\">stat<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::stat"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.stat64.html\\" title=\\"struct libc::stat64\\">stat64<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::stat64"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statfs64.html\\" title=\\"struct libc::statfs64\\">statfs64<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::statfs64"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statvfs64.html\\" title=\\"struct libc::statvfs64\\">statvfs64<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::statvfs64"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_attr_t.html\\" title=\\"struct libc::pthread_attr_t\\">pthread_attr_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::pthread_attr_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct._libc_fpxreg.html\\" title=\\"struct libc::_libc_fpxreg\\">_libc_fpxreg<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::_libc_fpxreg"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct._libc_xmmreg.html\\" title=\\"struct libc::_libc_xmmreg\\">_libc_xmmreg<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::_libc_xmmreg"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct._libc_fpstate.html\\" title=\\"struct libc::_libc_fpstate\\">_libc_fpstate<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::_libc_fpstate"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.user_regs_struct.html\\" title=\\"struct libc::user_regs_struct\\">user_regs_struct<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::user_regs_struct"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.user.html\\" title=\\"struct libc::user\\">user<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::user"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mcontext_t.html\\" title=\\"struct libc::mcontext_t\\">mcontext_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::mcontext_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ipc_perm.html\\" title=\\"struct libc::ipc_perm\\">ipc_perm<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::ipc_perm"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.shmid_ds.html\\" title=\\"struct libc::shmid_ds\\">shmid_ds<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::shmid_ds"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.seccomp_notif_sizes.html\\" title=\\"struct libc::seccomp_notif_sizes\\">seccomp_notif_sizes<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::seccomp_notif_sizes"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ptrace_rseq_configuration.html\\" title=\\"struct libc::ptrace_rseq_configuration\\">ptrace_rseq_configuration<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::ptrace_rseq_configuration"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.user_fpregs_struct.html\\" title=\\"struct libc::user_fpregs_struct\\">user_fpregs_struct<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::user_fpregs_struct"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ucontext_t.html\\" title=\\"struct libc::ucontext_t\\">ucontext_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::ucontext_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sigset_t.html\\" title=\\"struct libc::sigset_t\\">sigset_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::sigset_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sysinfo.html\\" title=\\"struct libc::sysinfo\\">sysinfo<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::sysinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.msqid_ds.html\\" title=\\"struct libc::msqid_ds\\">msqid_ds<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::msqid_ds"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.semid_ds.html\\" title=\\"struct libc::semid_ds\\">semid_ds<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::semid_ds"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sem_t.html\\" title=\\"struct libc::sem_t\\">sem_t<\/a>",1,["libc::unix::linux_like::linux::gnu::align::sem_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statx.html\\" title=\\"struct libc::statx\\">statx<\/a>",1,["libc::unix::linux_like::linux::gnu::statx"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statx_timestamp.html\\" title=\\"struct libc::statx_timestamp\\">statx_timestamp<\/a>",1,["libc::unix::linux_like::linux::gnu::statx_timestamp"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.aiocb.html\\" title=\\"struct libc::aiocb\\">aiocb<\/a>",1,["libc::unix::linux_like::linux::gnu::aiocb"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__exit_status.html\\" title=\\"struct libc::__exit_status\\">__exit_status<\/a>",1,["libc::unix::linux_like::linux::gnu::__exit_status"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__timeval.html\\" title=\\"struct libc::__timeval\\">__timeval<\/a>",1,["libc::unix::linux_like::linux::gnu::__timeval"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.glob64_t.html\\" title=\\"struct libc::glob64_t\\">glob64_t<\/a>",1,["libc::unix::linux_like::linux::gnu::glob64_t"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.msghdr.html\\" title=\\"struct libc::msghdr\\">msghdr<\/a>",1,["libc::unix::linux_like::linux::gnu::msghdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.cmsghdr.html\\" title=\\"struct libc::cmsghdr\\">cmsghdr<\/a>",1,["libc::unix::linux_like::linux::gnu::cmsghdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.termios.html\\" title=\\"struct libc::termios\\">termios<\/a>",1,["libc::unix::linux_like::linux::gnu::termios"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mallinfo.html\\" title=\\"struct libc::mallinfo\\">mallinfo<\/a>",1,["libc::unix::linux_like::linux::gnu::mallinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mallinfo2.html\\" title=\\"struct libc::mallinfo2\\">mallinfo2<\/a>",1,["libc::unix::linux_like::linux::gnu::mallinfo2"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nl_pktinfo.html\\" title=\\"struct libc::nl_pktinfo\\">nl_pktinfo<\/a>",1,["libc::unix::linux_like::linux::gnu::nl_pktinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nl_mmap_req.html\\" title=\\"struct libc::nl_mmap_req\\">nl_mmap_req<\/a>",1,["libc::unix::linux_like::linux::gnu::nl_mmap_req"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nl_mmap_hdr.html\\" title=\\"struct libc::nl_mmap_hdr\\">nl_mmap_hdr<\/a>",1,["libc::unix::linux_like::linux::gnu::nl_mmap_hdr"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.rtentry.html\\" title=\\"struct libc::rtentry\\">rtentry<\/a>",1,["libc::unix::linux_like::linux::gnu::rtentry"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.timex.html\\" title=\\"struct libc::timex\\">timex<\/a>",1,["libc::unix::linux_like::linux::gnu::timex"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ntptimeval.html\\" title=\\"struct libc::ntptimeval\\">ntptimeval<\/a>",1,["libc::unix::linux_like::linux::gnu::ntptimeval"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.regex_t.html\\" title=\\"struct libc::regex_t\\">regex_t<\/a>",1,["libc::unix::linux_like::linux::gnu::regex_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Chdr.html\\" title=\\"struct libc::Elf64_Chdr\\">Elf64_Chdr<\/a>",1,["libc::unix::linux_like::linux::gnu::Elf64_Chdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Chdr.html\\" title=\\"struct libc::Elf32_Chdr\\">Elf32_Chdr<\/a>",1,["libc::unix::linux_like::linux::gnu::Elf32_Chdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.seminfo.html\\" title=\\"struct libc::seminfo\\">seminfo<\/a>",1,["libc::unix::linux_like::linux::gnu::seminfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ptrace_peeksiginfo_args.html\\" title=\\"struct libc::ptrace_peeksiginfo_args\\">ptrace_peeksiginfo_args<\/a>",1,["libc::unix::linux_like::linux::gnu::ptrace_peeksiginfo_args"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_ptrace_syscall_info_entry.html\\" title=\\"struct libc::__c_anonymous_ptrace_syscall_info_entry\\">__c_anonymous_ptrace_syscall_info_entry<\/a>",1,["libc::unix::linux_like::linux::gnu::__c_anonymous_ptrace_syscall_info_entry"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_ptrace_syscall_info_exit.html\\" title=\\"struct libc::__c_anonymous_ptrace_syscall_info_exit\\">__c_anonymous_ptrace_syscall_info_exit<\/a>",1,["libc::unix::linux_like::linux::gnu::__c_anonymous_ptrace_syscall_info_exit"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_ptrace_syscall_info_seccomp.html\\" title=\\"struct libc::__c_anonymous_ptrace_syscall_info_seccomp\\">__c_anonymous_ptrace_syscall_info_seccomp<\/a>",1,["libc::unix::linux_like::linux::gnu::__c_anonymous_ptrace_syscall_info_seccomp"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ptrace_syscall_info.html\\" title=\\"struct libc::ptrace_syscall_info\\">ptrace_syscall_info<\/a>",1,["libc::unix::linux_like::linux::gnu::ptrace_syscall_info"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"union\\" href=\\"libc\/union.__c_anonymous_ptrace_syscall_info_data.html\\" title=\\"union libc::__c_anonymous_ptrace_syscall_info_data\\">__c_anonymous_ptrace_syscall_info_data<\/a>",1,["libc::unix::linux_like::linux::gnu::__c_anonymous_ptrace_syscall_info_data"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.utmpx.html\\" title=\\"struct libc::utmpx\\">utmpx<\/a>",1,["libc::unix::linux_like::linux::gnu::utmpx"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.termios2.html\\" title=\\"struct libc::termios2\\">termios2<\/a>",1,["libc::unix::linux_like::linux::arch::generic::termios2"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.open_how.html\\" title=\\"struct libc::open_how\\">open_how<\/a>",1,["libc::unix::linux_like::linux::non_exhaustive::open_how"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.fpos64_t.html\\" title=\\"enum libc::fpos64_t\\">fpos64_t<\/a>",1,["libc::unix::linux_like::linux::fpos64_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.rlimit64.html\\" title=\\"struct libc::rlimit64\\">rlimit64<\/a>",1,["libc::unix::linux_like::linux::rlimit64"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.glob_t.html\\" title=\\"struct libc::glob_t\\">glob_t<\/a>",1,["libc::unix::linux_like::linux::glob_t"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.passwd.html\\" title=\\"struct libc::passwd\\">passwd<\/a>",1,["libc::unix::linux_like::linux::passwd"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.spwd.html\\" title=\\"struct libc::spwd\\">spwd<\/a>",1,["libc::unix::linux_like::linux::spwd"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.dqblk.html\\" title=\\"struct libc::dqblk\\">dqblk<\/a>",1,["libc::unix::linux_like::linux::dqblk"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.signalfd_siginfo.html\\" title=\\"struct libc::signalfd_siginfo\\">signalfd_siginfo<\/a>",1,["libc::unix::linux_like::linux::signalfd_siginfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.itimerspec.html\\" title=\\"struct libc::itimerspec\\">itimerspec<\/a>",1,["libc::unix::linux_like::linux::itimerspec"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.fsid_t.html\\" title=\\"struct libc::fsid_t\\">fsid_t<\/a>",1,["libc::unix::linux_like::linux::fsid_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.packet_mreq.html\\" title=\\"struct libc::packet_mreq\\">packet_mreq<\/a>",1,["libc::unix::linux_like::linux::packet_mreq"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.cpu_set_t.html\\" title=\\"struct libc::cpu_set_t\\">cpu_set_t<\/a>",1,["libc::unix::linux_like::linux::cpu_set_t"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.if_nameindex.html\\" title=\\"struct libc::if_nameindex\\">if_nameindex<\/a>",1,["libc::unix::linux_like::linux::if_nameindex"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.msginfo.html\\" title=\\"struct libc::msginfo\\">msginfo<\/a>",1,["libc::unix::linux_like::linux::msginfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sembuf.html\\" title=\\"struct libc::sembuf\\">sembuf<\/a>",1,["libc::unix::linux_like::linux::sembuf"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_event.html\\" title=\\"struct libc::input_event\\">input_event<\/a>",1,["libc::unix::linux_like::linux::input_event"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_id.html\\" title=\\"struct libc::input_id\\">input_id<\/a>",1,["libc::unix::linux_like::linux::input_id"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_absinfo.html\\" title=\\"struct libc::input_absinfo\\">input_absinfo<\/a>",1,["libc::unix::linux_like::linux::input_absinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_keymap_entry.html\\" title=\\"struct libc::input_keymap_entry\\">input_keymap_entry<\/a>",1,["libc::unix::linux_like::linux::input_keymap_entry"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_mask.html\\" title=\\"struct libc::input_mask\\">input_mask<\/a>",1,["libc::unix::linux_like::linux::input_mask"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_replay.html\\" title=\\"struct libc::ff_replay\\">ff_replay<\/a>",1,["libc::unix::linux_like::linux::ff_replay"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_trigger.html\\" title=\\"struct libc::ff_trigger\\">ff_trigger<\/a>",1,["libc::unix::linux_like::linux::ff_trigger"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_envelope.html\\" title=\\"struct libc::ff_envelope\\">ff_envelope<\/a>",1,["libc::unix::linux_like::linux::ff_envelope"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_constant_effect.html\\" title=\\"struct libc::ff_constant_effect\\">ff_constant_effect<\/a>",1,["libc::unix::linux_like::linux::ff_constant_effect"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_ramp_effect.html\\" title=\\"struct libc::ff_ramp_effect\\">ff_ramp_effect<\/a>",1,["libc::unix::linux_like::linux::ff_ramp_effect"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_condition_effect.html\\" title=\\"struct libc::ff_condition_effect\\">ff_condition_effect<\/a>",1,["libc::unix::linux_like::linux::ff_condition_effect"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_periodic_effect.html\\" title=\\"struct libc::ff_periodic_effect\\">ff_periodic_effect<\/a>",1,["libc::unix::linux_like::linux::ff_periodic_effect"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_rumble_effect.html\\" title=\\"struct libc::ff_rumble_effect\\">ff_rumble_effect<\/a>",1,["libc::unix::linux_like::linux::ff_rumble_effect"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_effect.html\\" title=\\"struct libc::ff_effect\\">ff_effect<\/a>",1,["libc::unix::linux_like::linux::ff_effect"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_ff_upload.html\\" title=\\"struct libc::uinput_ff_upload\\">uinput_ff_upload<\/a>",1,["libc::unix::linux_like::linux::uinput_ff_upload"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_ff_erase.html\\" title=\\"struct libc::uinput_ff_erase\\">uinput_ff_erase<\/a>",1,["libc::unix::linux_like::linux::uinput_ff_erase"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_abs_setup.html\\" title=\\"struct libc::uinput_abs_setup\\">uinput_abs_setup<\/a>",1,["libc::unix::linux_like::linux::uinput_abs_setup"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.dl_phdr_info.html\\" title=\\"struct libc::dl_phdr_info\\">dl_phdr_info<\/a>",1,["libc::unix::linux_like::linux::dl_phdr_info"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Ehdr.html\\" title=\\"struct libc::Elf32_Ehdr\\">Elf32_Ehdr<\/a>",1,["libc::unix::linux_like::linux::Elf32_Ehdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Ehdr.html\\" title=\\"struct libc::Elf64_Ehdr\\">Elf64_Ehdr<\/a>",1,["libc::unix::linux_like::linux::Elf64_Ehdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Sym.html\\" title=\\"struct libc::Elf32_Sym\\">Elf32_Sym<\/a>",1,["libc::unix::linux_like::linux::Elf32_Sym"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Sym.html\\" title=\\"struct libc::Elf64_Sym\\">Elf64_Sym<\/a>",1,["libc::unix::linux_like::linux::Elf64_Sym"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Phdr.html\\" title=\\"struct libc::Elf32_Phdr\\">Elf32_Phdr<\/a>",1,["libc::unix::linux_like::linux::Elf32_Phdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Phdr.html\\" title=\\"struct libc::Elf64_Phdr\\">Elf64_Phdr<\/a>",1,["libc::unix::linux_like::linux::Elf64_Phdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Shdr.html\\" title=\\"struct libc::Elf32_Shdr\\">Elf32_Shdr<\/a>",1,["libc::unix::linux_like::linux::Elf32_Shdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Shdr.html\\" title=\\"struct libc::Elf64_Shdr\\">Elf64_Shdr<\/a>",1,["libc::unix::linux_like::linux::Elf64_Shdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ucred.html\\" title=\\"struct libc::ucred\\">ucred<\/a>",1,["libc::unix::linux_like::linux::ucred"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mntent.html\\" title=\\"struct libc::mntent\\">mntent<\/a>",1,["libc::unix::linux_like::linux::mntent"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.posix_spawn_file_actions_t.html\\" title=\\"struct libc::posix_spawn_file_actions_t\\">posix_spawn_file_actions_t<\/a>",1,["libc::unix::linux_like::linux::posix_spawn_file_actions_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.posix_spawnattr_t.html\\" title=\\"struct libc::posix_spawnattr_t\\">posix_spawnattr_t<\/a>",1,["libc::unix::linux_like::linux::posix_spawnattr_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.genlmsghdr.html\\" title=\\"struct libc::genlmsghdr\\">genlmsghdr<\/a>",1,["libc::unix::linux_like::linux::genlmsghdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in6_pktinfo.html\\" title=\\"struct libc::in6_pktinfo\\">in6_pktinfo<\/a>",1,["libc::unix::linux_like::linux::in6_pktinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.arpd_request.html\\" title=\\"struct libc::arpd_request\\">arpd_request<\/a>",1,["libc::unix::linux_like::linux::arpd_request"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.inotify_event.html\\" title=\\"struct libc::inotify_event\\">inotify_event<\/a>",1,["libc::unix::linux_like::linux::inotify_event"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.fanotify_response.html\\" title=\\"struct libc::fanotify_response\\">fanotify_response<\/a>",1,["libc::unix::linux_like::linux::fanotify_response"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_vm.html\\" title=\\"struct libc::sockaddr_vm\\">sockaddr_vm<\/a>",1,["libc::unix::linux_like::linux::sockaddr_vm"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.regmatch_t.html\\" title=\\"struct libc::regmatch_t\\">regmatch_t<\/a>",1,["libc::unix::linux_like::linux::regmatch_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sock_extended_err.html\\" title=\\"struct libc::sock_extended_err\\">sock_extended_err<\/a>",1,["libc::unix::linux_like::linux::sock_extended_err"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_sockaddr_can_tp.html\\" title=\\"struct libc::__c_anonymous_sockaddr_can_tp\\">__c_anonymous_sockaddr_can_tp<\/a>",1,["libc::unix::linux_like::linux::__c_anonymous_sockaddr_can_tp"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_sockaddr_can_j1939.html\\" title=\\"struct libc::__c_anonymous_sockaddr_can_j1939\\">__c_anonymous_sockaddr_can_j1939<\/a>",1,["libc::unix::linux_like::linux::__c_anonymous_sockaddr_can_j1939"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.can_filter.html\\" title=\\"struct libc::can_filter\\">can_filter<\/a>",1,["libc::unix::linux_like::linux::can_filter"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.j1939_filter.html\\" title=\\"struct libc::j1939_filter\\">j1939_filter<\/a>",1,["libc::unix::linux_like::linux::j1939_filter"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sock_filter.html\\" title=\\"struct libc::sock_filter\\">sock_filter<\/a>",1,["libc::unix::linux_like::linux::sock_filter"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sock_fprog.html\\" title=\\"struct libc::sock_fprog\\">sock_fprog<\/a>",1,["libc::unix::linux_like::linux::sock_fprog"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.seccomp_data.html\\" title=\\"struct libc::seccomp_data\\">seccomp_data<\/a>",1,["libc::unix::linux_like::linux::seccomp_data"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nlmsghdr.html\\" title=\\"struct libc::nlmsghdr\\">nlmsghdr<\/a>",1,["libc::unix::linux_like::linux::nlmsghdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nlmsgerr.html\\" title=\\"struct libc::nlmsgerr\\">nlmsgerr<\/a>",1,["libc::unix::linux_like::linux::nlmsgerr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nlattr.html\\" title=\\"struct libc::nlattr\\">nlattr<\/a>",1,["libc::unix::linux_like::linux::nlattr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.file_clone_range.html\\" title=\\"struct libc::file_clone_range\\">file_clone_range<\/a>",1,["libc::unix::linux_like::linux::file_clone_range"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_ifru_map.html\\" title=\\"struct libc::__c_anonymous_ifru_map\\">__c_anonymous_ifru_map<\/a>",1,["libc::unix::linux_like::linux::__c_anonymous_ifru_map"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in6_ifreq.html\\" title=\\"struct libc::in6_ifreq\\">in6_ifreq<\/a>",1,["libc::unix::linux_like::linux::in6_ifreq"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.option.html\\" title=\\"struct libc::option\\">option<\/a>",1,["libc::unix::linux_like::linux::option"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_nl.html\\" title=\\"struct libc::sockaddr_nl\\">sockaddr_nl<\/a>",1,["libc::unix::linux_like::linux::sockaddr_nl"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.dirent.html\\" title=\\"struct libc::dirent\\">dirent<\/a>",1,["libc::unix::linux_like::linux::dirent"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.dirent64.html\\" title=\\"struct libc::dirent64\\">dirent64<\/a>",1,["libc::unix::linux_like::linux::dirent64"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_alg.html\\" title=\\"struct libc::sockaddr_alg\\">sockaddr_alg<\/a>",1,["libc::unix::linux_like::linux::sockaddr_alg"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_setup.html\\" title=\\"struct libc::uinput_setup\\">uinput_setup<\/a>",1,["libc::unix::linux_like::linux::uinput_setup"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_user_dev.html\\" title=\\"struct libc::uinput_user_dev\\">uinput_user_dev<\/a>",1,["libc::unix::linux_like::linux::uinput_user_dev"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.af_alg_iv.html\\" title=\\"struct libc::af_alg_iv\\">af_alg_iv<\/a>",1,["libc::unix::linux_like::linux::af_alg_iv"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mq_attr.html\\" title=\\"struct libc::mq_attr\\">mq_attr<\/a>",1,["libc::unix::linux_like::linux::mq_attr"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"union\\" href=\\"libc\/union.__c_anonymous_ifr_ifru.html\\" title=\\"union libc::__c_anonymous_ifr_ifru\\">__c_anonymous_ifr_ifru<\/a>",1,["libc::unix::linux_like::linux::__c_anonymous_ifr_ifru"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ifreq.html\\" title=\\"struct libc::ifreq\\">ifreq<\/a>",1,["libc::unix::linux_like::linux::ifreq"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sock_txtime.html\\" title=\\"struct libc::sock_txtime\\">sock_txtime<\/a>",1,["libc::unix::linux_like::linux::sock_txtime"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"union\\" href=\\"libc\/union.__c_anonymous_sockaddr_can_can_addr.html\\" title=\\"union libc::__c_anonymous_sockaddr_can_can_addr\\">__c_anonymous_sockaddr_can_can_addr<\/a>",1,["libc::unix::linux_like::linux::__c_anonymous_sockaddr_can_can_addr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_can.html\\" title=\\"struct libc::sockaddr_can\\">sockaddr_can<\/a>",1,["libc::unix::linux_like::linux::sockaddr_can"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_mutexattr_t.html\\" title=\\"struct libc::pthread_mutexattr_t\\">pthread_mutexattr_t<\/a>",1,["libc::unix::linux_like::linux::pthread_mutexattr_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_rwlockattr_t.html\\" title=\\"struct libc::pthread_rwlockattr_t\\">pthread_rwlockattr_t<\/a>",1,["libc::unix::linux_like::linux::pthread_rwlockattr_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_condattr_t.html\\" title=\\"struct libc::pthread_condattr_t\\">pthread_condattr_t<\/a>",1,["libc::unix::linux_like::linux::pthread_condattr_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.fanotify_event_metadata.html\\" title=\\"struct libc::fanotify_event_metadata\\">fanotify_event_metadata<\/a>",1,["libc::unix::linux_like::linux::fanotify_event_metadata"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_cond_t.html\\" title=\\"struct libc::pthread_cond_t\\">pthread_cond_t<\/a>",1,["libc::unix::linux_like::linux::pthread_cond_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_mutex_t.html\\" title=\\"struct libc::pthread_mutex_t\\">pthread_mutex_t<\/a>",1,["libc::unix::linux_like::linux::pthread_mutex_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_rwlock_t.html\\" title=\\"struct libc::pthread_rwlock_t\\">pthread_rwlock_t<\/a>",1,["libc::unix::linux_like::linux::pthread_rwlock_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.can_frame.html\\" title=\\"struct libc::can_frame\\">can_frame<\/a>",1,["libc::unix::linux_like::linux::can_frame"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.canfd_frame.html\\" title=\\"struct libc::canfd_frame\\">canfd_frame<\/a>",1,["libc::unix::linux_like::linux::canfd_frame"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.timezone.html\\" title=\\"enum libc::timezone\\">timezone<\/a>",1,["libc::unix::linux_like::timezone"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in_addr.html\\" title=\\"struct libc::in_addr\\">in_addr<\/a>",1,["libc::unix::linux_like::in_addr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ip_mreq.html\\" title=\\"struct libc::ip_mreq\\">ip_mreq<\/a>",1,["libc::unix::linux_like::ip_mreq"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ip_mreqn.html\\" title=\\"struct libc::ip_mreqn\\">ip_mreqn<\/a>",1,["libc::unix::linux_like::ip_mreqn"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ip_mreq_source.html\\" title=\\"struct libc::ip_mreq_source\\">ip_mreq_source<\/a>",1,["libc::unix::linux_like::ip_mreq_source"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr.html\\" title=\\"struct libc::sockaddr\\">sockaddr<\/a>",1,["libc::unix::linux_like::sockaddr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_in.html\\" title=\\"struct libc::sockaddr_in\\">sockaddr_in<\/a>",1,["libc::unix::linux_like::sockaddr_in"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_in6.html\\" title=\\"struct libc::sockaddr_in6\\">sockaddr_in6<\/a>",1,["libc::unix::linux_like::sockaddr_in6"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.addrinfo.html\\" title=\\"struct libc::addrinfo\\">addrinfo<\/a>",1,["libc::unix::linux_like::addrinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_ll.html\\" title=\\"struct libc::sockaddr_ll\\">sockaddr_ll<\/a>",1,["libc::unix::linux_like::sockaddr_ll"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.fd_set.html\\" title=\\"struct libc::fd_set\\">fd_set<\/a>",1,["libc::unix::linux_like::fd_set"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.tm.html\\" title=\\"struct libc::tm\\">tm<\/a>",1,["libc::unix::linux_like::tm"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sched_param.html\\" title=\\"struct libc::sched_param\\">sched_param<\/a>",1,["libc::unix::linux_like::sched_param"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Dl_info.html\\" title=\\"struct libc::Dl_info\\">Dl_info<\/a>",1,["libc::unix::linux_like::Dl_info"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.lconv.html\\" title=\\"struct libc::lconv\\">lconv<\/a>",1,["libc::unix::linux_like::lconv"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in_pktinfo.html\\" title=\\"struct libc::in_pktinfo\\">in_pktinfo<\/a>",1,["libc::unix::linux_like::in_pktinfo"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ifaddrs.html\\" title=\\"struct libc::ifaddrs\\">ifaddrs<\/a>",1,["libc::unix::linux_like::ifaddrs"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in6_rtmsg.html\\" title=\\"struct libc::in6_rtmsg\\">in6_rtmsg<\/a>",1,["libc::unix::linux_like::in6_rtmsg"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.arpreq.html\\" title=\\"struct libc::arpreq\\">arpreq<\/a>",1,["libc::unix::linux_like::arpreq"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.arpreq_old.html\\" title=\\"struct libc::arpreq_old\\">arpreq_old<\/a>",1,["libc::unix::linux_like::arpreq_old"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.arphdr.html\\" title=\\"struct libc::arphdr\\">arphdr<\/a>",1,["libc::unix::linux_like::arphdr"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mmsghdr.html\\" title=\\"struct libc::mmsghdr\\">mmsghdr<\/a>",1,["libc::unix::linux_like::mmsghdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.epoll_event.html\\" title=\\"struct libc::epoll_event\\">epoll_event<\/a>",1,["libc::unix::linux_like::epoll_event"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_un.html\\" title=\\"struct libc::sockaddr_un\\">sockaddr_un<\/a>",1,["libc::unix::linux_like::sockaddr_un"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_storage.html\\" title=\\"struct libc::sockaddr_storage\\">sockaddr_storage<\/a>",1,["libc::unix::linux_like::sockaddr_storage"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.utsname.html\\" title=\\"struct libc::utsname\\">utsname<\/a>",1,["libc::unix::linux_like::utsname"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sigevent.html\\" title=\\"struct libc::sigevent\\">sigevent<\/a>",1,["libc::unix::linux_like::sigevent"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in6_addr.html\\" title=\\"struct libc::in6_addr\\">in6_addr<\/a>",1,["libc::unix::align::in6_addr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.DIR.html\\" title=\\"enum libc::DIR\\">DIR<\/a>",1,["libc::unix::DIR"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.group.html\\" title=\\"struct libc::group\\">group<\/a>",1,["libc::unix::group"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.utimbuf.html\\" title=\\"struct libc::utimbuf\\">utimbuf<\/a>",1,["libc::unix::utimbuf"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.timeval.html\\" title=\\"struct libc::timeval\\">timeval<\/a>",1,["libc::unix::timeval"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.timespec.html\\" title=\\"struct libc::timespec\\">timespec<\/a>",1,["libc::unix::timespec"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.rlimit.html\\" title=\\"struct libc::rlimit\\">rlimit<\/a>",1,["libc::unix::rlimit"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.rusage.html\\" title=\\"struct libc::rusage\\">rusage<\/a>",1,["libc::unix::rusage"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ipv6_mreq.html\\" title=\\"struct libc::ipv6_mreq\\">ipv6_mreq<\/a>",1,["libc::unix::ipv6_mreq"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.hostent.html\\" title=\\"struct libc::hostent\\">hostent<\/a>",1,["libc::unix::hostent"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.iovec.html\\" title=\\"struct libc::iovec\\">iovec<\/a>",1,["libc::unix::iovec"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pollfd.html\\" title=\\"struct libc::pollfd\\">pollfd<\/a>",1,["libc::unix::pollfd"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.winsize.html\\" title=\\"struct libc::winsize\\">winsize<\/a>",1,["libc::unix::winsize"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.linger.html\\" title=\\"struct libc::linger\\">linger<\/a>",1,["libc::unix::linger"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sigval.html\\" title=\\"struct libc::sigval\\">sigval<\/a>",1,["libc::unix::sigval"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.itimerval.html\\" title=\\"struct libc::itimerval\\">itimerval<\/a>",1,["libc::unix::itimerval"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.tms.html\\" title=\\"struct libc::tms\\">tms<\/a>",1,["libc::unix::tms"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.servent.html\\" title=\\"struct libc::servent\\">servent<\/a>",1,["libc::unix::servent"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.protoent.html\\" title=\\"struct libc::protoent\\">protoent<\/a>",1,["libc::unix::protoent"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.FILE.html\\" title=\\"enum libc::FILE\\">FILE<\/a>",1,["libc::unix::FILE"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.fpos_t.html\\" title=\\"enum libc::fpos_t\\">fpos_t<\/a>",1,["libc::unix::fpos_t"]]],$/;" p
|
||
libc guessing_game/target/doc/implementors/core/marker/trait.Sync.js /^"libc":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statvfs.html\\" title=\\"struct libc::statvfs\\">statvfs<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::not_x32::statvfs"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.max_align_t.html\\" title=\\"struct libc::max_align_t\\">max_align_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::align::max_align_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.clone_args.html\\" title=\\"struct libc::clone_args\\">clone_args<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::align::clone_args"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sigaction.html\\" title=\\"struct libc::sigaction\\">sigaction<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::sigaction"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statfs.html\\" title=\\"struct libc::statfs\\">statfs<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::statfs"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.flock.html\\" title=\\"struct libc::flock\\">flock<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::flock"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.flock64.html\\" title=\\"struct libc::flock64\\">flock64<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::flock64"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.siginfo_t.html\\" title=\\"struct libc::siginfo_t\\">siginfo_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::siginfo_t"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.stack_t.html\\" title=\\"struct libc::stack_t\\">stack_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::stack_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.stat.html\\" title=\\"struct libc::stat\\">stat<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::stat"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.stat64.html\\" title=\\"struct libc::stat64\\">stat64<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::stat64"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statfs64.html\\" title=\\"struct libc::statfs64\\">statfs64<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::statfs64"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statvfs64.html\\" title=\\"struct libc::statvfs64\\">statvfs64<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::statvfs64"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_attr_t.html\\" title=\\"struct libc::pthread_attr_t\\">pthread_attr_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::pthread_attr_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct._libc_fpxreg.html\\" title=\\"struct libc::_libc_fpxreg\\">_libc_fpxreg<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::_libc_fpxreg"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct._libc_xmmreg.html\\" title=\\"struct libc::_libc_xmmreg\\">_libc_xmmreg<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::_libc_xmmreg"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct._libc_fpstate.html\\" title=\\"struct libc::_libc_fpstate\\">_libc_fpstate<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::_libc_fpstate"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.user_regs_struct.html\\" title=\\"struct libc::user_regs_struct\\">user_regs_struct<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::user_regs_struct"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.user.html\\" title=\\"struct libc::user\\">user<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::user"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mcontext_t.html\\" title=\\"struct libc::mcontext_t\\">mcontext_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::mcontext_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ipc_perm.html\\" title=\\"struct libc::ipc_perm\\">ipc_perm<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::ipc_perm"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.shmid_ds.html\\" title=\\"struct libc::shmid_ds\\">shmid_ds<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::shmid_ds"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.seccomp_notif_sizes.html\\" title=\\"struct libc::seccomp_notif_sizes\\">seccomp_notif_sizes<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::seccomp_notif_sizes"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ptrace_rseq_configuration.html\\" title=\\"struct libc::ptrace_rseq_configuration\\">ptrace_rseq_configuration<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::ptrace_rseq_configuration"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.user_fpregs_struct.html\\" title=\\"struct libc::user_fpregs_struct\\">user_fpregs_struct<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::user_fpregs_struct"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ucontext_t.html\\" title=\\"struct libc::ucontext_t\\">ucontext_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::ucontext_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sigset_t.html\\" title=\\"struct libc::sigset_t\\">sigset_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::sigset_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sysinfo.html\\" title=\\"struct libc::sysinfo\\">sysinfo<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::sysinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.msqid_ds.html\\" title=\\"struct libc::msqid_ds\\">msqid_ds<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::msqid_ds"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.semid_ds.html\\" title=\\"struct libc::semid_ds\\">semid_ds<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::semid_ds"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sem_t.html\\" title=\\"struct libc::sem_t\\">sem_t<\/a>",1,["libc::unix::linux_like::linux::gnu::align::sem_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statx.html\\" title=\\"struct libc::statx\\">statx<\/a>",1,["libc::unix::linux_like::linux::gnu::statx"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statx_timestamp.html\\" title=\\"struct libc::statx_timestamp\\">statx_timestamp<\/a>",1,["libc::unix::linux_like::linux::gnu::statx_timestamp"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.aiocb.html\\" title=\\"struct libc::aiocb\\">aiocb<\/a>",1,["libc::unix::linux_like::linux::gnu::aiocb"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__exit_status.html\\" title=\\"struct libc::__exit_status\\">__exit_status<\/a>",1,["libc::unix::linux_like::linux::gnu::__exit_status"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__timeval.html\\" title=\\"struct libc::__timeval\\">__timeval<\/a>",1,["libc::unix::linux_like::linux::gnu::__timeval"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.glob64_t.html\\" title=\\"struct libc::glob64_t\\">glob64_t<\/a>",1,["libc::unix::linux_like::linux::gnu::glob64_t"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.msghdr.html\\" title=\\"struct libc::msghdr\\">msghdr<\/a>",1,["libc::unix::linux_like::linux::gnu::msghdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.cmsghdr.html\\" title=\\"struct libc::cmsghdr\\">cmsghdr<\/a>",1,["libc::unix::linux_like::linux::gnu::cmsghdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.termios.html\\" title=\\"struct libc::termios\\">termios<\/a>",1,["libc::unix::linux_like::linux::gnu::termios"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mallinfo.html\\" title=\\"struct libc::mallinfo\\">mallinfo<\/a>",1,["libc::unix::linux_like::linux::gnu::mallinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mallinfo2.html\\" title=\\"struct libc::mallinfo2\\">mallinfo2<\/a>",1,["libc::unix::linux_like::linux::gnu::mallinfo2"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nl_pktinfo.html\\" title=\\"struct libc::nl_pktinfo\\">nl_pktinfo<\/a>",1,["libc::unix::linux_like::linux::gnu::nl_pktinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nl_mmap_req.html\\" title=\\"struct libc::nl_mmap_req\\">nl_mmap_req<\/a>",1,["libc::unix::linux_like::linux::gnu::nl_mmap_req"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nl_mmap_hdr.html\\" title=\\"struct libc::nl_mmap_hdr\\">nl_mmap_hdr<\/a>",1,["libc::unix::linux_like::linux::gnu::nl_mmap_hdr"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.rtentry.html\\" title=\\"struct libc::rtentry\\">rtentry<\/a>",1,["libc::unix::linux_like::linux::gnu::rtentry"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.timex.html\\" title=\\"struct libc::timex\\">timex<\/a>",1,["libc::unix::linux_like::linux::gnu::timex"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ntptimeval.html\\" title=\\"struct libc::ntptimeval\\">ntptimeval<\/a>",1,["libc::unix::linux_like::linux::gnu::ntptimeval"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.regex_t.html\\" title=\\"struct libc::regex_t\\">regex_t<\/a>",1,["libc::unix::linux_like::linux::gnu::regex_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Chdr.html\\" title=\\"struct libc::Elf64_Chdr\\">Elf64_Chdr<\/a>",1,["libc::unix::linux_like::linux::gnu::Elf64_Chdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Chdr.html\\" title=\\"struct libc::Elf32_Chdr\\">Elf32_Chdr<\/a>",1,["libc::unix::linux_like::linux::gnu::Elf32_Chdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.seminfo.html\\" title=\\"struct libc::seminfo\\">seminfo<\/a>",1,["libc::unix::linux_like::linux::gnu::seminfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ptrace_peeksiginfo_args.html\\" title=\\"struct libc::ptrace_peeksiginfo_args\\">ptrace_peeksiginfo_args<\/a>",1,["libc::unix::linux_like::linux::gnu::ptrace_peeksiginfo_args"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_ptrace_syscall_info_entry.html\\" title=\\"struct libc::__c_anonymous_ptrace_syscall_info_entry\\">__c_anonymous_ptrace_syscall_info_entry<\/a>",1,["libc::unix::linux_like::linux::gnu::__c_anonymous_ptrace_syscall_info_entry"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_ptrace_syscall_info_exit.html\\" title=\\"struct libc::__c_anonymous_ptrace_syscall_info_exit\\">__c_anonymous_ptrace_syscall_info_exit<\/a>",1,["libc::unix::linux_like::linux::gnu::__c_anonymous_ptrace_syscall_info_exit"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_ptrace_syscall_info_seccomp.html\\" title=\\"struct libc::__c_anonymous_ptrace_syscall_info_seccomp\\">__c_anonymous_ptrace_syscall_info_seccomp<\/a>",1,["libc::unix::linux_like::linux::gnu::__c_anonymous_ptrace_syscall_info_seccomp"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ptrace_syscall_info.html\\" title=\\"struct libc::ptrace_syscall_info\\">ptrace_syscall_info<\/a>",1,["libc::unix::linux_like::linux::gnu::ptrace_syscall_info"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"union\\" href=\\"libc\/union.__c_anonymous_ptrace_syscall_info_data.html\\" title=\\"union libc::__c_anonymous_ptrace_syscall_info_data\\">__c_anonymous_ptrace_syscall_info_data<\/a>",1,["libc::unix::linux_like::linux::gnu::__c_anonymous_ptrace_syscall_info_data"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.utmpx.html\\" title=\\"struct libc::utmpx\\">utmpx<\/a>",1,["libc::unix::linux_like::linux::gnu::utmpx"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.termios2.html\\" title=\\"struct libc::termios2\\">termios2<\/a>",1,["libc::unix::linux_like::linux::arch::generic::termios2"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.open_how.html\\" title=\\"struct libc::open_how\\">open_how<\/a>",1,["libc::unix::linux_like::linux::non_exhaustive::open_how"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.fpos64_t.html\\" title=\\"enum libc::fpos64_t\\">fpos64_t<\/a>",1,["libc::unix::linux_like::linux::fpos64_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.rlimit64.html\\" title=\\"struct libc::rlimit64\\">rlimit64<\/a>",1,["libc::unix::linux_like::linux::rlimit64"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.glob_t.html\\" title=\\"struct libc::glob_t\\">glob_t<\/a>",1,["libc::unix::linux_like::linux::glob_t"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.passwd.html\\" title=\\"struct libc::passwd\\">passwd<\/a>",1,["libc::unix::linux_like::linux::passwd"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.spwd.html\\" title=\\"struct libc::spwd\\">spwd<\/a>",1,["libc::unix::linux_like::linux::spwd"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.dqblk.html\\" title=\\"struct libc::dqblk\\">dqblk<\/a>",1,["libc::unix::linux_like::linux::dqblk"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.signalfd_siginfo.html\\" title=\\"struct libc::signalfd_siginfo\\">signalfd_siginfo<\/a>",1,["libc::unix::linux_like::linux::signalfd_siginfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.itimerspec.html\\" title=\\"struct libc::itimerspec\\">itimerspec<\/a>",1,["libc::unix::linux_like::linux::itimerspec"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.fsid_t.html\\" title=\\"struct libc::fsid_t\\">fsid_t<\/a>",1,["libc::unix::linux_like::linux::fsid_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.packet_mreq.html\\" title=\\"struct libc::packet_mreq\\">packet_mreq<\/a>",1,["libc::unix::linux_like::linux::packet_mreq"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.cpu_set_t.html\\" title=\\"struct libc::cpu_set_t\\">cpu_set_t<\/a>",1,["libc::unix::linux_like::linux::cpu_set_t"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.if_nameindex.html\\" title=\\"struct libc::if_nameindex\\">if_nameindex<\/a>",1,["libc::unix::linux_like::linux::if_nameindex"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.msginfo.html\\" title=\\"struct libc::msginfo\\">msginfo<\/a>",1,["libc::unix::linux_like::linux::msginfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sembuf.html\\" title=\\"struct libc::sembuf\\">sembuf<\/a>",1,["libc::unix::linux_like::linux::sembuf"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_event.html\\" title=\\"struct libc::input_event\\">input_event<\/a>",1,["libc::unix::linux_like::linux::input_event"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_id.html\\" title=\\"struct libc::input_id\\">input_id<\/a>",1,["libc::unix::linux_like::linux::input_id"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_absinfo.html\\" title=\\"struct libc::input_absinfo\\">input_absinfo<\/a>",1,["libc::unix::linux_like::linux::input_absinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_keymap_entry.html\\" title=\\"struct libc::input_keymap_entry\\">input_keymap_entry<\/a>",1,["libc::unix::linux_like::linux::input_keymap_entry"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_mask.html\\" title=\\"struct libc::input_mask\\">input_mask<\/a>",1,["libc::unix::linux_like::linux::input_mask"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_replay.html\\" title=\\"struct libc::ff_replay\\">ff_replay<\/a>",1,["libc::unix::linux_like::linux::ff_replay"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_trigger.html\\" title=\\"struct libc::ff_trigger\\">ff_trigger<\/a>",1,["libc::unix::linux_like::linux::ff_trigger"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_envelope.html\\" title=\\"struct libc::ff_envelope\\">ff_envelope<\/a>",1,["libc::unix::linux_like::linux::ff_envelope"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_constant_effect.html\\" title=\\"struct libc::ff_constant_effect\\">ff_constant_effect<\/a>",1,["libc::unix::linux_like::linux::ff_constant_effect"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_ramp_effect.html\\" title=\\"struct libc::ff_ramp_effect\\">ff_ramp_effect<\/a>",1,["libc::unix::linux_like::linux::ff_ramp_effect"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_condition_effect.html\\" title=\\"struct libc::ff_condition_effect\\">ff_condition_effect<\/a>",1,["libc::unix::linux_like::linux::ff_condition_effect"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_periodic_effect.html\\" title=\\"struct libc::ff_periodic_effect\\">ff_periodic_effect<\/a>",1,["libc::unix::linux_like::linux::ff_periodic_effect"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_rumble_effect.html\\" title=\\"struct libc::ff_rumble_effect\\">ff_rumble_effect<\/a>",1,["libc::unix::linux_like::linux::ff_rumble_effect"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_effect.html\\" title=\\"struct libc::ff_effect\\">ff_effect<\/a>",1,["libc::unix::linux_like::linux::ff_effect"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_ff_upload.html\\" title=\\"struct libc::uinput_ff_upload\\">uinput_ff_upload<\/a>",1,["libc::unix::linux_like::linux::uinput_ff_upload"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_ff_erase.html\\" title=\\"struct libc::uinput_ff_erase\\">uinput_ff_erase<\/a>",1,["libc::unix::linux_like::linux::uinput_ff_erase"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_abs_setup.html\\" title=\\"struct libc::uinput_abs_setup\\">uinput_abs_setup<\/a>",1,["libc::unix::linux_like::linux::uinput_abs_setup"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.dl_phdr_info.html\\" title=\\"struct libc::dl_phdr_info\\">dl_phdr_info<\/a>",1,["libc::unix::linux_like::linux::dl_phdr_info"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Ehdr.html\\" title=\\"struct libc::Elf32_Ehdr\\">Elf32_Ehdr<\/a>",1,["libc::unix::linux_like::linux::Elf32_Ehdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Ehdr.html\\" title=\\"struct libc::Elf64_Ehdr\\">Elf64_Ehdr<\/a>",1,["libc::unix::linux_like::linux::Elf64_Ehdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Sym.html\\" title=\\"struct libc::Elf32_Sym\\">Elf32_Sym<\/a>",1,["libc::unix::linux_like::linux::Elf32_Sym"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Sym.html\\" title=\\"struct libc::Elf64_Sym\\">Elf64_Sym<\/a>",1,["libc::unix::linux_like::linux::Elf64_Sym"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Phdr.html\\" title=\\"struct libc::Elf32_Phdr\\">Elf32_Phdr<\/a>",1,["libc::unix::linux_like::linux::Elf32_Phdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Phdr.html\\" title=\\"struct libc::Elf64_Phdr\\">Elf64_Phdr<\/a>",1,["libc::unix::linux_like::linux::Elf64_Phdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Shdr.html\\" title=\\"struct libc::Elf32_Shdr\\">Elf32_Shdr<\/a>",1,["libc::unix::linux_like::linux::Elf32_Shdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Shdr.html\\" title=\\"struct libc::Elf64_Shdr\\">Elf64_Shdr<\/a>",1,["libc::unix::linux_like::linux::Elf64_Shdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ucred.html\\" title=\\"struct libc::ucred\\">ucred<\/a>",1,["libc::unix::linux_like::linux::ucred"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mntent.html\\" title=\\"struct libc::mntent\\">mntent<\/a>",1,["libc::unix::linux_like::linux::mntent"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.posix_spawn_file_actions_t.html\\" title=\\"struct libc::posix_spawn_file_actions_t\\">posix_spawn_file_actions_t<\/a>",1,["libc::unix::linux_like::linux::posix_spawn_file_actions_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.posix_spawnattr_t.html\\" title=\\"struct libc::posix_spawnattr_t\\">posix_spawnattr_t<\/a>",1,["libc::unix::linux_like::linux::posix_spawnattr_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.genlmsghdr.html\\" title=\\"struct libc::genlmsghdr\\">genlmsghdr<\/a>",1,["libc::unix::linux_like::linux::genlmsghdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in6_pktinfo.html\\" title=\\"struct libc::in6_pktinfo\\">in6_pktinfo<\/a>",1,["libc::unix::linux_like::linux::in6_pktinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.arpd_request.html\\" title=\\"struct libc::arpd_request\\">arpd_request<\/a>",1,["libc::unix::linux_like::linux::arpd_request"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.inotify_event.html\\" title=\\"struct libc::inotify_event\\">inotify_event<\/a>",1,["libc::unix::linux_like::linux::inotify_event"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.fanotify_response.html\\" title=\\"struct libc::fanotify_response\\">fanotify_response<\/a>",1,["libc::unix::linux_like::linux::fanotify_response"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_vm.html\\" title=\\"struct libc::sockaddr_vm\\">sockaddr_vm<\/a>",1,["libc::unix::linux_like::linux::sockaddr_vm"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.regmatch_t.html\\" title=\\"struct libc::regmatch_t\\">regmatch_t<\/a>",1,["libc::unix::linux_like::linux::regmatch_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sock_extended_err.html\\" title=\\"struct libc::sock_extended_err\\">sock_extended_err<\/a>",1,["libc::unix::linux_like::linux::sock_extended_err"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_sockaddr_can_tp.html\\" title=\\"struct libc::__c_anonymous_sockaddr_can_tp\\">__c_anonymous_sockaddr_can_tp<\/a>",1,["libc::unix::linux_like::linux::__c_anonymous_sockaddr_can_tp"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_sockaddr_can_j1939.html\\" title=\\"struct libc::__c_anonymous_sockaddr_can_j1939\\">__c_anonymous_sockaddr_can_j1939<\/a>",1,["libc::unix::linux_like::linux::__c_anonymous_sockaddr_can_j1939"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.can_filter.html\\" title=\\"struct libc::can_filter\\">can_filter<\/a>",1,["libc::unix::linux_like::linux::can_filter"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.j1939_filter.html\\" title=\\"struct libc::j1939_filter\\">j1939_filter<\/a>",1,["libc::unix::linux_like::linux::j1939_filter"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sock_filter.html\\" title=\\"struct libc::sock_filter\\">sock_filter<\/a>",1,["libc::unix::linux_like::linux::sock_filter"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sock_fprog.html\\" title=\\"struct libc::sock_fprog\\">sock_fprog<\/a>",1,["libc::unix::linux_like::linux::sock_fprog"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.seccomp_data.html\\" title=\\"struct libc::seccomp_data\\">seccomp_data<\/a>",1,["libc::unix::linux_like::linux::seccomp_data"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nlmsghdr.html\\" title=\\"struct libc::nlmsghdr\\">nlmsghdr<\/a>",1,["libc::unix::linux_like::linux::nlmsghdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nlmsgerr.html\\" title=\\"struct libc::nlmsgerr\\">nlmsgerr<\/a>",1,["libc::unix::linux_like::linux::nlmsgerr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nlattr.html\\" title=\\"struct libc::nlattr\\">nlattr<\/a>",1,["libc::unix::linux_like::linux::nlattr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.file_clone_range.html\\" title=\\"struct libc::file_clone_range\\">file_clone_range<\/a>",1,["libc::unix::linux_like::linux::file_clone_range"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_ifru_map.html\\" title=\\"struct libc::__c_anonymous_ifru_map\\">__c_anonymous_ifru_map<\/a>",1,["libc::unix::linux_like::linux::__c_anonymous_ifru_map"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in6_ifreq.html\\" title=\\"struct libc::in6_ifreq\\">in6_ifreq<\/a>",1,["libc::unix::linux_like::linux::in6_ifreq"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.option.html\\" title=\\"struct libc::option\\">option<\/a>",1,["libc::unix::linux_like::linux::option"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_nl.html\\" title=\\"struct libc::sockaddr_nl\\">sockaddr_nl<\/a>",1,["libc::unix::linux_like::linux::sockaddr_nl"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.dirent.html\\" title=\\"struct libc::dirent\\">dirent<\/a>",1,["libc::unix::linux_like::linux::dirent"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.dirent64.html\\" title=\\"struct libc::dirent64\\">dirent64<\/a>",1,["libc::unix::linux_like::linux::dirent64"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_alg.html\\" title=\\"struct libc::sockaddr_alg\\">sockaddr_alg<\/a>",1,["libc::unix::linux_like::linux::sockaddr_alg"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_setup.html\\" title=\\"struct libc::uinput_setup\\">uinput_setup<\/a>",1,["libc::unix::linux_like::linux::uinput_setup"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_user_dev.html\\" title=\\"struct libc::uinput_user_dev\\">uinput_user_dev<\/a>",1,["libc::unix::linux_like::linux::uinput_user_dev"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.af_alg_iv.html\\" title=\\"struct libc::af_alg_iv\\">af_alg_iv<\/a>",1,["libc::unix::linux_like::linux::af_alg_iv"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mq_attr.html\\" title=\\"struct libc::mq_attr\\">mq_attr<\/a>",1,["libc::unix::linux_like::linux::mq_attr"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"union\\" href=\\"libc\/union.__c_anonymous_ifr_ifru.html\\" title=\\"union libc::__c_anonymous_ifr_ifru\\">__c_anonymous_ifr_ifru<\/a>",1,["libc::unix::linux_like::linux::__c_anonymous_ifr_ifru"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ifreq.html\\" title=\\"struct libc::ifreq\\">ifreq<\/a>",1,["libc::unix::linux_like::linux::ifreq"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sock_txtime.html\\" title=\\"struct libc::sock_txtime\\">sock_txtime<\/a>",1,["libc::unix::linux_like::linux::sock_txtime"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"union\\" href=\\"libc\/union.__c_anonymous_sockaddr_can_can_addr.html\\" title=\\"union libc::__c_anonymous_sockaddr_can_can_addr\\">__c_anonymous_sockaddr_can_can_addr<\/a>",1,["libc::unix::linux_like::linux::__c_anonymous_sockaddr_can_can_addr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_can.html\\" title=\\"struct libc::sockaddr_can\\">sockaddr_can<\/a>",1,["libc::unix::linux_like::linux::sockaddr_can"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_mutexattr_t.html\\" title=\\"struct libc::pthread_mutexattr_t\\">pthread_mutexattr_t<\/a>",1,["libc::unix::linux_like::linux::pthread_mutexattr_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_rwlockattr_t.html\\" title=\\"struct libc::pthread_rwlockattr_t\\">pthread_rwlockattr_t<\/a>",1,["libc::unix::linux_like::linux::pthread_rwlockattr_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_condattr_t.html\\" title=\\"struct libc::pthread_condattr_t\\">pthread_condattr_t<\/a>",1,["libc::unix::linux_like::linux::pthread_condattr_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.fanotify_event_metadata.html\\" title=\\"struct libc::fanotify_event_metadata\\">fanotify_event_metadata<\/a>",1,["libc::unix::linux_like::linux::fanotify_event_metadata"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_cond_t.html\\" title=\\"struct libc::pthread_cond_t\\">pthread_cond_t<\/a>",1,["libc::unix::linux_like::linux::pthread_cond_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_mutex_t.html\\" title=\\"struct libc::pthread_mutex_t\\">pthread_mutex_t<\/a>",1,["libc::unix::linux_like::linux::pthread_mutex_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_rwlock_t.html\\" title=\\"struct libc::pthread_rwlock_t\\">pthread_rwlock_t<\/a>",1,["libc::unix::linux_like::linux::pthread_rwlock_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.can_frame.html\\" title=\\"struct libc::can_frame\\">can_frame<\/a>",1,["libc::unix::linux_like::linux::can_frame"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.canfd_frame.html\\" title=\\"struct libc::canfd_frame\\">canfd_frame<\/a>",1,["libc::unix::linux_like::linux::canfd_frame"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.timezone.html\\" title=\\"enum libc::timezone\\">timezone<\/a>",1,["libc::unix::linux_like::timezone"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in_addr.html\\" title=\\"struct libc::in_addr\\">in_addr<\/a>",1,["libc::unix::linux_like::in_addr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ip_mreq.html\\" title=\\"struct libc::ip_mreq\\">ip_mreq<\/a>",1,["libc::unix::linux_like::ip_mreq"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ip_mreqn.html\\" title=\\"struct libc::ip_mreqn\\">ip_mreqn<\/a>",1,["libc::unix::linux_like::ip_mreqn"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ip_mreq_source.html\\" title=\\"struct libc::ip_mreq_source\\">ip_mreq_source<\/a>",1,["libc::unix::linux_like::ip_mreq_source"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr.html\\" title=\\"struct libc::sockaddr\\">sockaddr<\/a>",1,["libc::unix::linux_like::sockaddr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_in.html\\" title=\\"struct libc::sockaddr_in\\">sockaddr_in<\/a>",1,["libc::unix::linux_like::sockaddr_in"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_in6.html\\" title=\\"struct libc::sockaddr_in6\\">sockaddr_in6<\/a>",1,["libc::unix::linux_like::sockaddr_in6"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.addrinfo.html\\" title=\\"struct libc::addrinfo\\">addrinfo<\/a>",1,["libc::unix::linux_like::addrinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_ll.html\\" title=\\"struct libc::sockaddr_ll\\">sockaddr_ll<\/a>",1,["libc::unix::linux_like::sockaddr_ll"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.fd_set.html\\" title=\\"struct libc::fd_set\\">fd_set<\/a>",1,["libc::unix::linux_like::fd_set"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.tm.html\\" title=\\"struct libc::tm\\">tm<\/a>",1,["libc::unix::linux_like::tm"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sched_param.html\\" title=\\"struct libc::sched_param\\">sched_param<\/a>",1,["libc::unix::linux_like::sched_param"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Dl_info.html\\" title=\\"struct libc::Dl_info\\">Dl_info<\/a>",1,["libc::unix::linux_like::Dl_info"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.lconv.html\\" title=\\"struct libc::lconv\\">lconv<\/a>",1,["libc::unix::linux_like::lconv"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in_pktinfo.html\\" title=\\"struct libc::in_pktinfo\\">in_pktinfo<\/a>",1,["libc::unix::linux_like::in_pktinfo"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ifaddrs.html\\" title=\\"struct libc::ifaddrs\\">ifaddrs<\/a>",1,["libc::unix::linux_like::ifaddrs"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in6_rtmsg.html\\" title=\\"struct libc::in6_rtmsg\\">in6_rtmsg<\/a>",1,["libc::unix::linux_like::in6_rtmsg"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.arpreq.html\\" title=\\"struct libc::arpreq\\">arpreq<\/a>",1,["libc::unix::linux_like::arpreq"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.arpreq_old.html\\" title=\\"struct libc::arpreq_old\\">arpreq_old<\/a>",1,["libc::unix::linux_like::arpreq_old"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.arphdr.html\\" title=\\"struct libc::arphdr\\">arphdr<\/a>",1,["libc::unix::linux_like::arphdr"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mmsghdr.html\\" title=\\"struct libc::mmsghdr\\">mmsghdr<\/a>",1,["libc::unix::linux_like::mmsghdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.epoll_event.html\\" title=\\"struct libc::epoll_event\\">epoll_event<\/a>",1,["libc::unix::linux_like::epoll_event"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_un.html\\" title=\\"struct libc::sockaddr_un\\">sockaddr_un<\/a>",1,["libc::unix::linux_like::sockaddr_un"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_storage.html\\" title=\\"struct libc::sockaddr_storage\\">sockaddr_storage<\/a>",1,["libc::unix::linux_like::sockaddr_storage"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.utsname.html\\" title=\\"struct libc::utsname\\">utsname<\/a>",1,["libc::unix::linux_like::utsname"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sigevent.html\\" title=\\"struct libc::sigevent\\">sigevent<\/a>",1,["libc::unix::linux_like::sigevent"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in6_addr.html\\" title=\\"struct libc::in6_addr\\">in6_addr<\/a>",1,["libc::unix::align::in6_addr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.DIR.html\\" title=\\"enum libc::DIR\\">DIR<\/a>",1,["libc::unix::DIR"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.group.html\\" title=\\"struct libc::group\\">group<\/a>",1,["libc::unix::group"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.utimbuf.html\\" title=\\"struct libc::utimbuf\\">utimbuf<\/a>",1,["libc::unix::utimbuf"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.timeval.html\\" title=\\"struct libc::timeval\\">timeval<\/a>",1,["libc::unix::timeval"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.timespec.html\\" title=\\"struct libc::timespec\\">timespec<\/a>",1,["libc::unix::timespec"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.rlimit.html\\" title=\\"struct libc::rlimit\\">rlimit<\/a>",1,["libc::unix::rlimit"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.rusage.html\\" title=\\"struct libc::rusage\\">rusage<\/a>",1,["libc::unix::rusage"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ipv6_mreq.html\\" title=\\"struct libc::ipv6_mreq\\">ipv6_mreq<\/a>",1,["libc::unix::ipv6_mreq"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.hostent.html\\" title=\\"struct libc::hostent\\">hostent<\/a>",1,["libc::unix::hostent"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.iovec.html\\" title=\\"struct libc::iovec\\">iovec<\/a>",1,["libc::unix::iovec"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pollfd.html\\" title=\\"struct libc::pollfd\\">pollfd<\/a>",1,["libc::unix::pollfd"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.winsize.html\\" title=\\"struct libc::winsize\\">winsize<\/a>",1,["libc::unix::winsize"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.linger.html\\" title=\\"struct libc::linger\\">linger<\/a>",1,["libc::unix::linger"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sigval.html\\" title=\\"struct libc::sigval\\">sigval<\/a>",1,["libc::unix::sigval"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.itimerval.html\\" title=\\"struct libc::itimerval\\">itimerval<\/a>",1,["libc::unix::itimerval"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.tms.html\\" title=\\"struct libc::tms\\">tms<\/a>",1,["libc::unix::tms"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.servent.html\\" title=\\"struct libc::servent\\">servent<\/a>",1,["libc::unix::servent"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.protoent.html\\" title=\\"struct libc::protoent\\">protoent<\/a>",1,["libc::unix::protoent"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.FILE.html\\" title=\\"enum libc::FILE\\">FILE<\/a>",1,["libc::unix::FILE"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.fpos_t.html\\" title=\\"enum libc::fpos_t\\">fpos_t<\/a>",1,["libc::unix::fpos_t"]]],$/;" p
|
||
libc guessing_game/target/doc/implementors/core/marker/trait.Unpin.js /^"libc":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statvfs.html\\" title=\\"struct libc::statvfs\\">statvfs<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::not_x32::statvfs"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.max_align_t.html\\" title=\\"struct libc::max_align_t\\">max_align_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::align::max_align_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.clone_args.html\\" title=\\"struct libc::clone_args\\">clone_args<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::align::clone_args"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sigaction.html\\" title=\\"struct libc::sigaction\\">sigaction<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::sigaction"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statfs.html\\" title=\\"struct libc::statfs\\">statfs<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::statfs"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.flock.html\\" title=\\"struct libc::flock\\">flock<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::flock"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.flock64.html\\" title=\\"struct libc::flock64\\">flock64<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::flock64"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.siginfo_t.html\\" title=\\"struct libc::siginfo_t\\">siginfo_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::siginfo_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.stack_t.html\\" title=\\"struct libc::stack_t\\">stack_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::stack_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.stat.html\\" title=\\"struct libc::stat\\">stat<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::stat"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.stat64.html\\" title=\\"struct libc::stat64\\">stat64<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::stat64"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statfs64.html\\" title=\\"struct libc::statfs64\\">statfs64<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::statfs64"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statvfs64.html\\" title=\\"struct libc::statvfs64\\">statvfs64<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::statvfs64"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_attr_t.html\\" title=\\"struct libc::pthread_attr_t\\">pthread_attr_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::pthread_attr_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct._libc_fpxreg.html\\" title=\\"struct libc::_libc_fpxreg\\">_libc_fpxreg<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::_libc_fpxreg"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct._libc_xmmreg.html\\" title=\\"struct libc::_libc_xmmreg\\">_libc_xmmreg<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::_libc_xmmreg"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct._libc_fpstate.html\\" title=\\"struct libc::_libc_fpstate\\">_libc_fpstate<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::_libc_fpstate"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.user_regs_struct.html\\" title=\\"struct libc::user_regs_struct\\">user_regs_struct<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::user_regs_struct"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.user.html\\" title=\\"struct libc::user\\">user<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::user"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mcontext_t.html\\" title=\\"struct libc::mcontext_t\\">mcontext_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::mcontext_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ipc_perm.html\\" title=\\"struct libc::ipc_perm\\">ipc_perm<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::ipc_perm"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.shmid_ds.html\\" title=\\"struct libc::shmid_ds\\">shmid_ds<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::shmid_ds"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.seccomp_notif_sizes.html\\" title=\\"struct libc::seccomp_notif_sizes\\">seccomp_notif_sizes<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::seccomp_notif_sizes"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ptrace_rseq_configuration.html\\" title=\\"struct libc::ptrace_rseq_configuration\\">ptrace_rseq_configuration<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::ptrace_rseq_configuration"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.user_fpregs_struct.html\\" title=\\"struct libc::user_fpregs_struct\\">user_fpregs_struct<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::user_fpregs_struct"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ucontext_t.html\\" title=\\"struct libc::ucontext_t\\">ucontext_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::ucontext_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sigset_t.html\\" title=\\"struct libc::sigset_t\\">sigset_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::sigset_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sysinfo.html\\" title=\\"struct libc::sysinfo\\">sysinfo<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::sysinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.msqid_ds.html\\" title=\\"struct libc::msqid_ds\\">msqid_ds<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::msqid_ds"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.semid_ds.html\\" title=\\"struct libc::semid_ds\\">semid_ds<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::semid_ds"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sem_t.html\\" title=\\"struct libc::sem_t\\">sem_t<\/a>",1,["libc::unix::linux_like::linux::gnu::align::sem_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statx.html\\" title=\\"struct libc::statx\\">statx<\/a>",1,["libc::unix::linux_like::linux::gnu::statx"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statx_timestamp.html\\" title=\\"struct libc::statx_timestamp\\">statx_timestamp<\/a>",1,["libc::unix::linux_like::linux::gnu::statx_timestamp"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.aiocb.html\\" title=\\"struct libc::aiocb\\">aiocb<\/a>",1,["libc::unix::linux_like::linux::gnu::aiocb"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__exit_status.html\\" title=\\"struct libc::__exit_status\\">__exit_status<\/a>",1,["libc::unix::linux_like::linux::gnu::__exit_status"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__timeval.html\\" title=\\"struct libc::__timeval\\">__timeval<\/a>",1,["libc::unix::linux_like::linux::gnu::__timeval"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.glob64_t.html\\" title=\\"struct libc::glob64_t\\">glob64_t<\/a>",1,["libc::unix::linux_like::linux::gnu::glob64_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.msghdr.html\\" title=\\"struct libc::msghdr\\">msghdr<\/a>",1,["libc::unix::linux_like::linux::gnu::msghdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.cmsghdr.html\\" title=\\"struct libc::cmsghdr\\">cmsghdr<\/a>",1,["libc::unix::linux_like::linux::gnu::cmsghdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.termios.html\\" title=\\"struct libc::termios\\">termios<\/a>",1,["libc::unix::linux_like::linux::gnu::termios"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mallinfo.html\\" title=\\"struct libc::mallinfo\\">mallinfo<\/a>",1,["libc::unix::linux_like::linux::gnu::mallinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mallinfo2.html\\" title=\\"struct libc::mallinfo2\\">mallinfo2<\/a>",1,["libc::unix::linux_like::linux::gnu::mallinfo2"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nl_pktinfo.html\\" title=\\"struct libc::nl_pktinfo\\">nl_pktinfo<\/a>",1,["libc::unix::linux_like::linux::gnu::nl_pktinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nl_mmap_req.html\\" title=\\"struct libc::nl_mmap_req\\">nl_mmap_req<\/a>",1,["libc::unix::linux_like::linux::gnu::nl_mmap_req"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nl_mmap_hdr.html\\" title=\\"struct libc::nl_mmap_hdr\\">nl_mmap_hdr<\/a>",1,["libc::unix::linux_like::linux::gnu::nl_mmap_hdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.rtentry.html\\" title=\\"struct libc::rtentry\\">rtentry<\/a>",1,["libc::unix::linux_like::linux::gnu::rtentry"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.timex.html\\" title=\\"struct libc::timex\\">timex<\/a>",1,["libc::unix::linux_like::linux::gnu::timex"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ntptimeval.html\\" title=\\"struct libc::ntptimeval\\">ntptimeval<\/a>",1,["libc::unix::linux_like::linux::gnu::ntptimeval"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.regex_t.html\\" title=\\"struct libc::regex_t\\">regex_t<\/a>",1,["libc::unix::linux_like::linux::gnu::regex_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Chdr.html\\" title=\\"struct libc::Elf64_Chdr\\">Elf64_Chdr<\/a>",1,["libc::unix::linux_like::linux::gnu::Elf64_Chdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Chdr.html\\" title=\\"struct libc::Elf32_Chdr\\">Elf32_Chdr<\/a>",1,["libc::unix::linux_like::linux::gnu::Elf32_Chdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.seminfo.html\\" title=\\"struct libc::seminfo\\">seminfo<\/a>",1,["libc::unix::linux_like::linux::gnu::seminfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ptrace_peeksiginfo_args.html\\" title=\\"struct libc::ptrace_peeksiginfo_args\\">ptrace_peeksiginfo_args<\/a>",1,["libc::unix::linux_like::linux::gnu::ptrace_peeksiginfo_args"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_ptrace_syscall_info_entry.html\\" title=\\"struct libc::__c_anonymous_ptrace_syscall_info_entry\\">__c_anonymous_ptrace_syscall_info_entry<\/a>",1,["libc::unix::linux_like::linux::gnu::__c_anonymous_ptrace_syscall_info_entry"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_ptrace_syscall_info_exit.html\\" title=\\"struct libc::__c_anonymous_ptrace_syscall_info_exit\\">__c_anonymous_ptrace_syscall_info_exit<\/a>",1,["libc::unix::linux_like::linux::gnu::__c_anonymous_ptrace_syscall_info_exit"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_ptrace_syscall_info_seccomp.html\\" title=\\"struct libc::__c_anonymous_ptrace_syscall_info_seccomp\\">__c_anonymous_ptrace_syscall_info_seccomp<\/a>",1,["libc::unix::linux_like::linux::gnu::__c_anonymous_ptrace_syscall_info_seccomp"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ptrace_syscall_info.html\\" title=\\"struct libc::ptrace_syscall_info\\">ptrace_syscall_info<\/a>",1,["libc::unix::linux_like::linux::gnu::ptrace_syscall_info"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"union\\" href=\\"libc\/union.__c_anonymous_ptrace_syscall_info_data.html\\" title=\\"union libc::__c_anonymous_ptrace_syscall_info_data\\">__c_anonymous_ptrace_syscall_info_data<\/a>",1,["libc::unix::linux_like::linux::gnu::__c_anonymous_ptrace_syscall_info_data"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.utmpx.html\\" title=\\"struct libc::utmpx\\">utmpx<\/a>",1,["libc::unix::linux_like::linux::gnu::utmpx"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.termios2.html\\" title=\\"struct libc::termios2\\">termios2<\/a>",1,["libc::unix::linux_like::linux::arch::generic::termios2"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.open_how.html\\" title=\\"struct libc::open_how\\">open_how<\/a>",1,["libc::unix::linux_like::linux::non_exhaustive::open_how"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.fpos64_t.html\\" title=\\"enum libc::fpos64_t\\">fpos64_t<\/a>",1,["libc::unix::linux_like::linux::fpos64_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.rlimit64.html\\" title=\\"struct libc::rlimit64\\">rlimit64<\/a>",1,["libc::unix::linux_like::linux::rlimit64"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.glob_t.html\\" title=\\"struct libc::glob_t\\">glob_t<\/a>",1,["libc::unix::linux_like::linux::glob_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.passwd.html\\" title=\\"struct libc::passwd\\">passwd<\/a>",1,["libc::unix::linux_like::linux::passwd"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.spwd.html\\" title=\\"struct libc::spwd\\">spwd<\/a>",1,["libc::unix::linux_like::linux::spwd"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.dqblk.html\\" title=\\"struct libc::dqblk\\">dqblk<\/a>",1,["libc::unix::linux_like::linux::dqblk"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.signalfd_siginfo.html\\" title=\\"struct libc::signalfd_siginfo\\">signalfd_siginfo<\/a>",1,["libc::unix::linux_like::linux::signalfd_siginfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.itimerspec.html\\" title=\\"struct libc::itimerspec\\">itimerspec<\/a>",1,["libc::unix::linux_like::linux::itimerspec"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.fsid_t.html\\" title=\\"struct libc::fsid_t\\">fsid_t<\/a>",1,["libc::unix::linux_like::linux::fsid_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.packet_mreq.html\\" title=\\"struct libc::packet_mreq\\">packet_mreq<\/a>",1,["libc::unix::linux_like::linux::packet_mreq"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.cpu_set_t.html\\" title=\\"struct libc::cpu_set_t\\">cpu_set_t<\/a>",1,["libc::unix::linux_like::linux::cpu_set_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.if_nameindex.html\\" title=\\"struct libc::if_nameindex\\">if_nameindex<\/a>",1,["libc::unix::linux_like::linux::if_nameindex"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.msginfo.html\\" title=\\"struct libc::msginfo\\">msginfo<\/a>",1,["libc::unix::linux_like::linux::msginfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sembuf.html\\" title=\\"struct libc::sembuf\\">sembuf<\/a>",1,["libc::unix::linux_like::linux::sembuf"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_event.html\\" title=\\"struct libc::input_event\\">input_event<\/a>",1,["libc::unix::linux_like::linux::input_event"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_id.html\\" title=\\"struct libc::input_id\\">input_id<\/a>",1,["libc::unix::linux_like::linux::input_id"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_absinfo.html\\" title=\\"struct libc::input_absinfo\\">input_absinfo<\/a>",1,["libc::unix::linux_like::linux::input_absinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_keymap_entry.html\\" title=\\"struct libc::input_keymap_entry\\">input_keymap_entry<\/a>",1,["libc::unix::linux_like::linux::input_keymap_entry"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_mask.html\\" title=\\"struct libc::input_mask\\">input_mask<\/a>",1,["libc::unix::linux_like::linux::input_mask"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_replay.html\\" title=\\"struct libc::ff_replay\\">ff_replay<\/a>",1,["libc::unix::linux_like::linux::ff_replay"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_trigger.html\\" title=\\"struct libc::ff_trigger\\">ff_trigger<\/a>",1,["libc::unix::linux_like::linux::ff_trigger"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_envelope.html\\" title=\\"struct libc::ff_envelope\\">ff_envelope<\/a>",1,["libc::unix::linux_like::linux::ff_envelope"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_constant_effect.html\\" title=\\"struct libc::ff_constant_effect\\">ff_constant_effect<\/a>",1,["libc::unix::linux_like::linux::ff_constant_effect"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_ramp_effect.html\\" title=\\"struct libc::ff_ramp_effect\\">ff_ramp_effect<\/a>",1,["libc::unix::linux_like::linux::ff_ramp_effect"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_condition_effect.html\\" title=\\"struct libc::ff_condition_effect\\">ff_condition_effect<\/a>",1,["libc::unix::linux_like::linux::ff_condition_effect"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_periodic_effect.html\\" title=\\"struct libc::ff_periodic_effect\\">ff_periodic_effect<\/a>",1,["libc::unix::linux_like::linux::ff_periodic_effect"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_rumble_effect.html\\" title=\\"struct libc::ff_rumble_effect\\">ff_rumble_effect<\/a>",1,["libc::unix::linux_like::linux::ff_rumble_effect"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_effect.html\\" title=\\"struct libc::ff_effect\\">ff_effect<\/a>",1,["libc::unix::linux_like::linux::ff_effect"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_ff_upload.html\\" title=\\"struct libc::uinput_ff_upload\\">uinput_ff_upload<\/a>",1,["libc::unix::linux_like::linux::uinput_ff_upload"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_ff_erase.html\\" title=\\"struct libc::uinput_ff_erase\\">uinput_ff_erase<\/a>",1,["libc::unix::linux_like::linux::uinput_ff_erase"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_abs_setup.html\\" title=\\"struct libc::uinput_abs_setup\\">uinput_abs_setup<\/a>",1,["libc::unix::linux_like::linux::uinput_abs_setup"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.dl_phdr_info.html\\" title=\\"struct libc::dl_phdr_info\\">dl_phdr_info<\/a>",1,["libc::unix::linux_like::linux::dl_phdr_info"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Ehdr.html\\" title=\\"struct libc::Elf32_Ehdr\\">Elf32_Ehdr<\/a>",1,["libc::unix::linux_like::linux::Elf32_Ehdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Ehdr.html\\" title=\\"struct libc::Elf64_Ehdr\\">Elf64_Ehdr<\/a>",1,["libc::unix::linux_like::linux::Elf64_Ehdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Sym.html\\" title=\\"struct libc::Elf32_Sym\\">Elf32_Sym<\/a>",1,["libc::unix::linux_like::linux::Elf32_Sym"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Sym.html\\" title=\\"struct libc::Elf64_Sym\\">Elf64_Sym<\/a>",1,["libc::unix::linux_like::linux::Elf64_Sym"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Phdr.html\\" title=\\"struct libc::Elf32_Phdr\\">Elf32_Phdr<\/a>",1,["libc::unix::linux_like::linux::Elf32_Phdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Phdr.html\\" title=\\"struct libc::Elf64_Phdr\\">Elf64_Phdr<\/a>",1,["libc::unix::linux_like::linux::Elf64_Phdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Shdr.html\\" title=\\"struct libc::Elf32_Shdr\\">Elf32_Shdr<\/a>",1,["libc::unix::linux_like::linux::Elf32_Shdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Shdr.html\\" title=\\"struct libc::Elf64_Shdr\\">Elf64_Shdr<\/a>",1,["libc::unix::linux_like::linux::Elf64_Shdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ucred.html\\" title=\\"struct libc::ucred\\">ucred<\/a>",1,["libc::unix::linux_like::linux::ucred"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mntent.html\\" title=\\"struct libc::mntent\\">mntent<\/a>",1,["libc::unix::linux_like::linux::mntent"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.posix_spawn_file_actions_t.html\\" title=\\"struct libc::posix_spawn_file_actions_t\\">posix_spawn_file_actions_t<\/a>",1,["libc::unix::linux_like::linux::posix_spawn_file_actions_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.posix_spawnattr_t.html\\" title=\\"struct libc::posix_spawnattr_t\\">posix_spawnattr_t<\/a>",1,["libc::unix::linux_like::linux::posix_spawnattr_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.genlmsghdr.html\\" title=\\"struct libc::genlmsghdr\\">genlmsghdr<\/a>",1,["libc::unix::linux_like::linux::genlmsghdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in6_pktinfo.html\\" title=\\"struct libc::in6_pktinfo\\">in6_pktinfo<\/a>",1,["libc::unix::linux_like::linux::in6_pktinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.arpd_request.html\\" title=\\"struct libc::arpd_request\\">arpd_request<\/a>",1,["libc::unix::linux_like::linux::arpd_request"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.inotify_event.html\\" title=\\"struct libc::inotify_event\\">inotify_event<\/a>",1,["libc::unix::linux_like::linux::inotify_event"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.fanotify_response.html\\" title=\\"struct libc::fanotify_response\\">fanotify_response<\/a>",1,["libc::unix::linux_like::linux::fanotify_response"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_vm.html\\" title=\\"struct libc::sockaddr_vm\\">sockaddr_vm<\/a>",1,["libc::unix::linux_like::linux::sockaddr_vm"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.regmatch_t.html\\" title=\\"struct libc::regmatch_t\\">regmatch_t<\/a>",1,["libc::unix::linux_like::linux::regmatch_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sock_extended_err.html\\" title=\\"struct libc::sock_extended_err\\">sock_extended_err<\/a>",1,["libc::unix::linux_like::linux::sock_extended_err"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_sockaddr_can_tp.html\\" title=\\"struct libc::__c_anonymous_sockaddr_can_tp\\">__c_anonymous_sockaddr_can_tp<\/a>",1,["libc::unix::linux_like::linux::__c_anonymous_sockaddr_can_tp"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_sockaddr_can_j1939.html\\" title=\\"struct libc::__c_anonymous_sockaddr_can_j1939\\">__c_anonymous_sockaddr_can_j1939<\/a>",1,["libc::unix::linux_like::linux::__c_anonymous_sockaddr_can_j1939"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.can_filter.html\\" title=\\"struct libc::can_filter\\">can_filter<\/a>",1,["libc::unix::linux_like::linux::can_filter"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.j1939_filter.html\\" title=\\"struct libc::j1939_filter\\">j1939_filter<\/a>",1,["libc::unix::linux_like::linux::j1939_filter"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sock_filter.html\\" title=\\"struct libc::sock_filter\\">sock_filter<\/a>",1,["libc::unix::linux_like::linux::sock_filter"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sock_fprog.html\\" title=\\"struct libc::sock_fprog\\">sock_fprog<\/a>",1,["libc::unix::linux_like::linux::sock_fprog"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.seccomp_data.html\\" title=\\"struct libc::seccomp_data\\">seccomp_data<\/a>",1,["libc::unix::linux_like::linux::seccomp_data"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nlmsghdr.html\\" title=\\"struct libc::nlmsghdr\\">nlmsghdr<\/a>",1,["libc::unix::linux_like::linux::nlmsghdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nlmsgerr.html\\" title=\\"struct libc::nlmsgerr\\">nlmsgerr<\/a>",1,["libc::unix::linux_like::linux::nlmsgerr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nlattr.html\\" title=\\"struct libc::nlattr\\">nlattr<\/a>",1,["libc::unix::linux_like::linux::nlattr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.file_clone_range.html\\" title=\\"struct libc::file_clone_range\\">file_clone_range<\/a>",1,["libc::unix::linux_like::linux::file_clone_range"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_ifru_map.html\\" title=\\"struct libc::__c_anonymous_ifru_map\\">__c_anonymous_ifru_map<\/a>",1,["libc::unix::linux_like::linux::__c_anonymous_ifru_map"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in6_ifreq.html\\" title=\\"struct libc::in6_ifreq\\">in6_ifreq<\/a>",1,["libc::unix::linux_like::linux::in6_ifreq"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.option.html\\" title=\\"struct libc::option\\">option<\/a>",1,["libc::unix::linux_like::linux::option"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_nl.html\\" title=\\"struct libc::sockaddr_nl\\">sockaddr_nl<\/a>",1,["libc::unix::linux_like::linux::sockaddr_nl"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.dirent.html\\" title=\\"struct libc::dirent\\">dirent<\/a>",1,["libc::unix::linux_like::linux::dirent"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.dirent64.html\\" title=\\"struct libc::dirent64\\">dirent64<\/a>",1,["libc::unix::linux_like::linux::dirent64"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_alg.html\\" title=\\"struct libc::sockaddr_alg\\">sockaddr_alg<\/a>",1,["libc::unix::linux_like::linux::sockaddr_alg"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_setup.html\\" title=\\"struct libc::uinput_setup\\">uinput_setup<\/a>",1,["libc::unix::linux_like::linux::uinput_setup"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_user_dev.html\\" title=\\"struct libc::uinput_user_dev\\">uinput_user_dev<\/a>",1,["libc::unix::linux_like::linux::uinput_user_dev"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.af_alg_iv.html\\" title=\\"struct libc::af_alg_iv\\">af_alg_iv<\/a>",1,["libc::unix::linux_like::linux::af_alg_iv"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mq_attr.html\\" title=\\"struct libc::mq_attr\\">mq_attr<\/a>",1,["libc::unix::linux_like::linux::mq_attr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"union\\" href=\\"libc\/union.__c_anonymous_ifr_ifru.html\\" title=\\"union libc::__c_anonymous_ifr_ifru\\">__c_anonymous_ifr_ifru<\/a>",1,["libc::unix::linux_like::linux::__c_anonymous_ifr_ifru"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ifreq.html\\" title=\\"struct libc::ifreq\\">ifreq<\/a>",1,["libc::unix::linux_like::linux::ifreq"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sock_txtime.html\\" title=\\"struct libc::sock_txtime\\">sock_txtime<\/a>",1,["libc::unix::linux_like::linux::sock_txtime"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"union\\" href=\\"libc\/union.__c_anonymous_sockaddr_can_can_addr.html\\" title=\\"union libc::__c_anonymous_sockaddr_can_can_addr\\">__c_anonymous_sockaddr_can_can_addr<\/a>",1,["libc::unix::linux_like::linux::__c_anonymous_sockaddr_can_can_addr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_can.html\\" title=\\"struct libc::sockaddr_can\\">sockaddr_can<\/a>",1,["libc::unix::linux_like::linux::sockaddr_can"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_mutexattr_t.html\\" title=\\"struct libc::pthread_mutexattr_t\\">pthread_mutexattr_t<\/a>",1,["libc::unix::linux_like::linux::pthread_mutexattr_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_rwlockattr_t.html\\" title=\\"struct libc::pthread_rwlockattr_t\\">pthread_rwlockattr_t<\/a>",1,["libc::unix::linux_like::linux::pthread_rwlockattr_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_condattr_t.html\\" title=\\"struct libc::pthread_condattr_t\\">pthread_condattr_t<\/a>",1,["libc::unix::linux_like::linux::pthread_condattr_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.fanotify_event_metadata.html\\" title=\\"struct libc::fanotify_event_metadata\\">fanotify_event_metadata<\/a>",1,["libc::unix::linux_like::linux::fanotify_event_metadata"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_cond_t.html\\" title=\\"struct libc::pthread_cond_t\\">pthread_cond_t<\/a>",1,["libc::unix::linux_like::linux::pthread_cond_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_mutex_t.html\\" title=\\"struct libc::pthread_mutex_t\\">pthread_mutex_t<\/a>",1,["libc::unix::linux_like::linux::pthread_mutex_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_rwlock_t.html\\" title=\\"struct libc::pthread_rwlock_t\\">pthread_rwlock_t<\/a>",1,["libc::unix::linux_like::linux::pthread_rwlock_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.can_frame.html\\" title=\\"struct libc::can_frame\\">can_frame<\/a>",1,["libc::unix::linux_like::linux::can_frame"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.canfd_frame.html\\" title=\\"struct libc::canfd_frame\\">canfd_frame<\/a>",1,["libc::unix::linux_like::linux::canfd_frame"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.timezone.html\\" title=\\"enum libc::timezone\\">timezone<\/a>",1,["libc::unix::linux_like::timezone"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in_addr.html\\" title=\\"struct libc::in_addr\\">in_addr<\/a>",1,["libc::unix::linux_like::in_addr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ip_mreq.html\\" title=\\"struct libc::ip_mreq\\">ip_mreq<\/a>",1,["libc::unix::linux_like::ip_mreq"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ip_mreqn.html\\" title=\\"struct libc::ip_mreqn\\">ip_mreqn<\/a>",1,["libc::unix::linux_like::ip_mreqn"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ip_mreq_source.html\\" title=\\"struct libc::ip_mreq_source\\">ip_mreq_source<\/a>",1,["libc::unix::linux_like::ip_mreq_source"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr.html\\" title=\\"struct libc::sockaddr\\">sockaddr<\/a>",1,["libc::unix::linux_like::sockaddr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_in.html\\" title=\\"struct libc::sockaddr_in\\">sockaddr_in<\/a>",1,["libc::unix::linux_like::sockaddr_in"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_in6.html\\" title=\\"struct libc::sockaddr_in6\\">sockaddr_in6<\/a>",1,["libc::unix::linux_like::sockaddr_in6"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.addrinfo.html\\" title=\\"struct libc::addrinfo\\">addrinfo<\/a>",1,["libc::unix::linux_like::addrinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_ll.html\\" title=\\"struct libc::sockaddr_ll\\">sockaddr_ll<\/a>",1,["libc::unix::linux_like::sockaddr_ll"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.fd_set.html\\" title=\\"struct libc::fd_set\\">fd_set<\/a>",1,["libc::unix::linux_like::fd_set"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.tm.html\\" title=\\"struct libc::tm\\">tm<\/a>",1,["libc::unix::linux_like::tm"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sched_param.html\\" title=\\"struct libc::sched_param\\">sched_param<\/a>",1,["libc::unix::linux_like::sched_param"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Dl_info.html\\" title=\\"struct libc::Dl_info\\">Dl_info<\/a>",1,["libc::unix::linux_like::Dl_info"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.lconv.html\\" title=\\"struct libc::lconv\\">lconv<\/a>",1,["libc::unix::linux_like::lconv"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in_pktinfo.html\\" title=\\"struct libc::in_pktinfo\\">in_pktinfo<\/a>",1,["libc::unix::linux_like::in_pktinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ifaddrs.html\\" title=\\"struct libc::ifaddrs\\">ifaddrs<\/a>",1,["libc::unix::linux_like::ifaddrs"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in6_rtmsg.html\\" title=\\"struct libc::in6_rtmsg\\">in6_rtmsg<\/a>",1,["libc::unix::linux_like::in6_rtmsg"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.arpreq.html\\" title=\\"struct libc::arpreq\\">arpreq<\/a>",1,["libc::unix::linux_like::arpreq"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.arpreq_old.html\\" title=\\"struct libc::arpreq_old\\">arpreq_old<\/a>",1,["libc::unix::linux_like::arpreq_old"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.arphdr.html\\" title=\\"struct libc::arphdr\\">arphdr<\/a>",1,["libc::unix::linux_like::arphdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mmsghdr.html\\" title=\\"struct libc::mmsghdr\\">mmsghdr<\/a>",1,["libc::unix::linux_like::mmsghdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.epoll_event.html\\" title=\\"struct libc::epoll_event\\">epoll_event<\/a>",1,["libc::unix::linux_like::epoll_event"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_un.html\\" title=\\"struct libc::sockaddr_un\\">sockaddr_un<\/a>",1,["libc::unix::linux_like::sockaddr_un"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_storage.html\\" title=\\"struct libc::sockaddr_storage\\">sockaddr_storage<\/a>",1,["libc::unix::linux_like::sockaddr_storage"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.utsname.html\\" title=\\"struct libc::utsname\\">utsname<\/a>",1,["libc::unix::linux_like::utsname"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sigevent.html\\" title=\\"struct libc::sigevent\\">sigevent<\/a>",1,["libc::unix::linux_like::sigevent"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in6_addr.html\\" title=\\"struct libc::in6_addr\\">in6_addr<\/a>",1,["libc::unix::align::in6_addr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.DIR.html\\" title=\\"enum libc::DIR\\">DIR<\/a>",1,["libc::unix::DIR"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.group.html\\" title=\\"struct libc::group\\">group<\/a>",1,["libc::unix::group"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.utimbuf.html\\" title=\\"struct libc::utimbuf\\">utimbuf<\/a>",1,["libc::unix::utimbuf"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.timeval.html\\" title=\\"struct libc::timeval\\">timeval<\/a>",1,["libc::unix::timeval"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.timespec.html\\" title=\\"struct libc::timespec\\">timespec<\/a>",1,["libc::unix::timespec"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.rlimit.html\\" title=\\"struct libc::rlimit\\">rlimit<\/a>",1,["libc::unix::rlimit"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.rusage.html\\" title=\\"struct libc::rusage\\">rusage<\/a>",1,["libc::unix::rusage"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ipv6_mreq.html\\" title=\\"struct libc::ipv6_mreq\\">ipv6_mreq<\/a>",1,["libc::unix::ipv6_mreq"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.hostent.html\\" title=\\"struct libc::hostent\\">hostent<\/a>",1,["libc::unix::hostent"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.iovec.html\\" title=\\"struct libc::iovec\\">iovec<\/a>",1,["libc::unix::iovec"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pollfd.html\\" title=\\"struct libc::pollfd\\">pollfd<\/a>",1,["libc::unix::pollfd"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.winsize.html\\" title=\\"struct libc::winsize\\">winsize<\/a>",1,["libc::unix::winsize"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.linger.html\\" title=\\"struct libc::linger\\">linger<\/a>",1,["libc::unix::linger"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sigval.html\\" title=\\"struct libc::sigval\\">sigval<\/a>",1,["libc::unix::sigval"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.itimerval.html\\" title=\\"struct libc::itimerval\\">itimerval<\/a>",1,["libc::unix::itimerval"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.tms.html\\" title=\\"struct libc::tms\\">tms<\/a>",1,["libc::unix::tms"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.servent.html\\" title=\\"struct libc::servent\\">servent<\/a>",1,["libc::unix::servent"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.protoent.html\\" title=\\"struct libc::protoent\\">protoent<\/a>",1,["libc::unix::protoent"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.FILE.html\\" title=\\"enum libc::FILE\\">FILE<\/a>",1,["libc::unix::FILE"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.fpos_t.html\\" title=\\"enum libc::fpos_t\\">fpos_t<\/a>",1,["libc::unix::fpos_t"]]],$/;" p
|
||
libc guessing_game/target/doc/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js /^"libc":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statvfs.html\\" title=\\"struct libc::statvfs\\">statvfs<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::not_x32::statvfs"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.max_align_t.html\\" title=\\"struct libc::max_align_t\\">max_align_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::align::max_align_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.clone_args.html\\" title=\\"struct libc::clone_args\\">clone_args<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::align::clone_args"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sigaction.html\\" title=\\"struct libc::sigaction\\">sigaction<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::sigaction"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statfs.html\\" title=\\"struct libc::statfs\\">statfs<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::statfs"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.flock.html\\" title=\\"struct libc::flock\\">flock<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::flock"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.flock64.html\\" title=\\"struct libc::flock64\\">flock64<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::flock64"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.siginfo_t.html\\" title=\\"struct libc::siginfo_t\\">siginfo_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::siginfo_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.stack_t.html\\" title=\\"struct libc::stack_t\\">stack_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::stack_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.stat.html\\" title=\\"struct libc::stat\\">stat<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::stat"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.stat64.html\\" title=\\"struct libc::stat64\\">stat64<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::stat64"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statfs64.html\\" title=\\"struct libc::statfs64\\">statfs64<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::statfs64"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statvfs64.html\\" title=\\"struct libc::statvfs64\\">statvfs64<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::statvfs64"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_attr_t.html\\" title=\\"struct libc::pthread_attr_t\\">pthread_attr_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::pthread_attr_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct._libc_fpxreg.html\\" title=\\"struct libc::_libc_fpxreg\\">_libc_fpxreg<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::_libc_fpxreg"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct._libc_xmmreg.html\\" title=\\"struct libc::_libc_xmmreg\\">_libc_xmmreg<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::_libc_xmmreg"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct._libc_fpstate.html\\" title=\\"struct libc::_libc_fpstate\\">_libc_fpstate<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::_libc_fpstate"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.user_regs_struct.html\\" title=\\"struct libc::user_regs_struct\\">user_regs_struct<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::user_regs_struct"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.user.html\\" title=\\"struct libc::user\\">user<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::user"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mcontext_t.html\\" title=\\"struct libc::mcontext_t\\">mcontext_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::mcontext_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ipc_perm.html\\" title=\\"struct libc::ipc_perm\\">ipc_perm<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::ipc_perm"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.shmid_ds.html\\" title=\\"struct libc::shmid_ds\\">shmid_ds<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::shmid_ds"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.seccomp_notif_sizes.html\\" title=\\"struct libc::seccomp_notif_sizes\\">seccomp_notif_sizes<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::seccomp_notif_sizes"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ptrace_rseq_configuration.html\\" title=\\"struct libc::ptrace_rseq_configuration\\">ptrace_rseq_configuration<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::ptrace_rseq_configuration"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.user_fpregs_struct.html\\" title=\\"struct libc::user_fpregs_struct\\">user_fpregs_struct<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::user_fpregs_struct"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ucontext_t.html\\" title=\\"struct libc::ucontext_t\\">ucontext_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::ucontext_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sigset_t.html\\" title=\\"struct libc::sigset_t\\">sigset_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::sigset_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sysinfo.html\\" title=\\"struct libc::sysinfo\\">sysinfo<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::sysinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.msqid_ds.html\\" title=\\"struct libc::msqid_ds\\">msqid_ds<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::msqid_ds"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.semid_ds.html\\" title=\\"struct libc::semid_ds\\">semid_ds<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::semid_ds"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sem_t.html\\" title=\\"struct libc::sem_t\\">sem_t<\/a>",1,["libc::unix::linux_like::linux::gnu::align::sem_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statx.html\\" title=\\"struct libc::statx\\">statx<\/a>",1,["libc::unix::linux_like::linux::gnu::statx"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statx_timestamp.html\\" title=\\"struct libc::statx_timestamp\\">statx_timestamp<\/a>",1,["libc::unix::linux_like::linux::gnu::statx_timestamp"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.aiocb.html\\" title=\\"struct libc::aiocb\\">aiocb<\/a>",1,["libc::unix::linux_like::linux::gnu::aiocb"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__exit_status.html\\" title=\\"struct libc::__exit_status\\">__exit_status<\/a>",1,["libc::unix::linux_like::linux::gnu::__exit_status"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__timeval.html\\" title=\\"struct libc::__timeval\\">__timeval<\/a>",1,["libc::unix::linux_like::linux::gnu::__timeval"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.glob64_t.html\\" title=\\"struct libc::glob64_t\\">glob64_t<\/a>",1,["libc::unix::linux_like::linux::gnu::glob64_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.msghdr.html\\" title=\\"struct libc::msghdr\\">msghdr<\/a>",1,["libc::unix::linux_like::linux::gnu::msghdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.cmsghdr.html\\" title=\\"struct libc::cmsghdr\\">cmsghdr<\/a>",1,["libc::unix::linux_like::linux::gnu::cmsghdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.termios.html\\" title=\\"struct libc::termios\\">termios<\/a>",1,["libc::unix::linux_like::linux::gnu::termios"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mallinfo.html\\" title=\\"struct libc::mallinfo\\">mallinfo<\/a>",1,["libc::unix::linux_like::linux::gnu::mallinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mallinfo2.html\\" title=\\"struct libc::mallinfo2\\">mallinfo2<\/a>",1,["libc::unix::linux_like::linux::gnu::mallinfo2"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nl_pktinfo.html\\" title=\\"struct libc::nl_pktinfo\\">nl_pktinfo<\/a>",1,["libc::unix::linux_like::linux::gnu::nl_pktinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nl_mmap_req.html\\" title=\\"struct libc::nl_mmap_req\\">nl_mmap_req<\/a>",1,["libc::unix::linux_like::linux::gnu::nl_mmap_req"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nl_mmap_hdr.html\\" title=\\"struct libc::nl_mmap_hdr\\">nl_mmap_hdr<\/a>",1,["libc::unix::linux_like::linux::gnu::nl_mmap_hdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.rtentry.html\\" title=\\"struct libc::rtentry\\">rtentry<\/a>",1,["libc::unix::linux_like::linux::gnu::rtentry"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.timex.html\\" title=\\"struct libc::timex\\">timex<\/a>",1,["libc::unix::linux_like::linux::gnu::timex"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ntptimeval.html\\" title=\\"struct libc::ntptimeval\\">ntptimeval<\/a>",1,["libc::unix::linux_like::linux::gnu::ntptimeval"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.regex_t.html\\" title=\\"struct libc::regex_t\\">regex_t<\/a>",1,["libc::unix::linux_like::linux::gnu::regex_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Chdr.html\\" title=\\"struct libc::Elf64_Chdr\\">Elf64_Chdr<\/a>",1,["libc::unix::linux_like::linux::gnu::Elf64_Chdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Chdr.html\\" title=\\"struct libc::Elf32_Chdr\\">Elf32_Chdr<\/a>",1,["libc::unix::linux_like::linux::gnu::Elf32_Chdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.seminfo.html\\" title=\\"struct libc::seminfo\\">seminfo<\/a>",1,["libc::unix::linux_like::linux::gnu::seminfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ptrace_peeksiginfo_args.html\\" title=\\"struct libc::ptrace_peeksiginfo_args\\">ptrace_peeksiginfo_args<\/a>",1,["libc::unix::linux_like::linux::gnu::ptrace_peeksiginfo_args"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_ptrace_syscall_info_entry.html\\" title=\\"struct libc::__c_anonymous_ptrace_syscall_info_entry\\">__c_anonymous_ptrace_syscall_info_entry<\/a>",1,["libc::unix::linux_like::linux::gnu::__c_anonymous_ptrace_syscall_info_entry"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_ptrace_syscall_info_exit.html\\" title=\\"struct libc::__c_anonymous_ptrace_syscall_info_exit\\">__c_anonymous_ptrace_syscall_info_exit<\/a>",1,["libc::unix::linux_like::linux::gnu::__c_anonymous_ptrace_syscall_info_exit"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_ptrace_syscall_info_seccomp.html\\" title=\\"struct libc::__c_anonymous_ptrace_syscall_info_seccomp\\">__c_anonymous_ptrace_syscall_info_seccomp<\/a>",1,["libc::unix::linux_like::linux::gnu::__c_anonymous_ptrace_syscall_info_seccomp"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ptrace_syscall_info.html\\" title=\\"struct libc::ptrace_syscall_info\\">ptrace_syscall_info<\/a>",1,["libc::unix::linux_like::linux::gnu::ptrace_syscall_info"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"union\\" href=\\"libc\/union.__c_anonymous_ptrace_syscall_info_data.html\\" title=\\"union libc::__c_anonymous_ptrace_syscall_info_data\\">__c_anonymous_ptrace_syscall_info_data<\/a>",1,["libc::unix::linux_like::linux::gnu::__c_anonymous_ptrace_syscall_info_data"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.utmpx.html\\" title=\\"struct libc::utmpx\\">utmpx<\/a>",1,["libc::unix::linux_like::linux::gnu::utmpx"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.termios2.html\\" title=\\"struct libc::termios2\\">termios2<\/a>",1,["libc::unix::linux_like::linux::arch::generic::termios2"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.open_how.html\\" title=\\"struct libc::open_how\\">open_how<\/a>",1,["libc::unix::linux_like::linux::non_exhaustive::open_how"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.fpos64_t.html\\" title=\\"enum libc::fpos64_t\\">fpos64_t<\/a>",1,["libc::unix::linux_like::linux::fpos64_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.rlimit64.html\\" title=\\"struct libc::rlimit64\\">rlimit64<\/a>",1,["libc::unix::linux_like::linux::rlimit64"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.glob_t.html\\" title=\\"struct libc::glob_t\\">glob_t<\/a>",1,["libc::unix::linux_like::linux::glob_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.passwd.html\\" title=\\"struct libc::passwd\\">passwd<\/a>",1,["libc::unix::linux_like::linux::passwd"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.spwd.html\\" title=\\"struct libc::spwd\\">spwd<\/a>",1,["libc::unix::linux_like::linux::spwd"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.dqblk.html\\" title=\\"struct libc::dqblk\\">dqblk<\/a>",1,["libc::unix::linux_like::linux::dqblk"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.signalfd_siginfo.html\\" title=\\"struct libc::signalfd_siginfo\\">signalfd_siginfo<\/a>",1,["libc::unix::linux_like::linux::signalfd_siginfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.itimerspec.html\\" title=\\"struct libc::itimerspec\\">itimerspec<\/a>",1,["libc::unix::linux_like::linux::itimerspec"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.fsid_t.html\\" title=\\"struct libc::fsid_t\\">fsid_t<\/a>",1,["libc::unix::linux_like::linux::fsid_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.packet_mreq.html\\" title=\\"struct libc::packet_mreq\\">packet_mreq<\/a>",1,["libc::unix::linux_like::linux::packet_mreq"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.cpu_set_t.html\\" title=\\"struct libc::cpu_set_t\\">cpu_set_t<\/a>",1,["libc::unix::linux_like::linux::cpu_set_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.if_nameindex.html\\" title=\\"struct libc::if_nameindex\\">if_nameindex<\/a>",1,["libc::unix::linux_like::linux::if_nameindex"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.msginfo.html\\" title=\\"struct libc::msginfo\\">msginfo<\/a>",1,["libc::unix::linux_like::linux::msginfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sembuf.html\\" title=\\"struct libc::sembuf\\">sembuf<\/a>",1,["libc::unix::linux_like::linux::sembuf"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_event.html\\" title=\\"struct libc::input_event\\">input_event<\/a>",1,["libc::unix::linux_like::linux::input_event"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_id.html\\" title=\\"struct libc::input_id\\">input_id<\/a>",1,["libc::unix::linux_like::linux::input_id"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_absinfo.html\\" title=\\"struct libc::input_absinfo\\">input_absinfo<\/a>",1,["libc::unix::linux_like::linux::input_absinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_keymap_entry.html\\" title=\\"struct libc::input_keymap_entry\\">input_keymap_entry<\/a>",1,["libc::unix::linux_like::linux::input_keymap_entry"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_mask.html\\" title=\\"struct libc::input_mask\\">input_mask<\/a>",1,["libc::unix::linux_like::linux::input_mask"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_replay.html\\" title=\\"struct libc::ff_replay\\">ff_replay<\/a>",1,["libc::unix::linux_like::linux::ff_replay"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_trigger.html\\" title=\\"struct libc::ff_trigger\\">ff_trigger<\/a>",1,["libc::unix::linux_like::linux::ff_trigger"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_envelope.html\\" title=\\"struct libc::ff_envelope\\">ff_envelope<\/a>",1,["libc::unix::linux_like::linux::ff_envelope"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_constant_effect.html\\" title=\\"struct libc::ff_constant_effect\\">ff_constant_effect<\/a>",1,["libc::unix::linux_like::linux::ff_constant_effect"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_ramp_effect.html\\" title=\\"struct libc::ff_ramp_effect\\">ff_ramp_effect<\/a>",1,["libc::unix::linux_like::linux::ff_ramp_effect"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_condition_effect.html\\" title=\\"struct libc::ff_condition_effect\\">ff_condition_effect<\/a>",1,["libc::unix::linux_like::linux::ff_condition_effect"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_periodic_effect.html\\" title=\\"struct libc::ff_periodic_effect\\">ff_periodic_effect<\/a>",1,["libc::unix::linux_like::linux::ff_periodic_effect"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_rumble_effect.html\\" title=\\"struct libc::ff_rumble_effect\\">ff_rumble_effect<\/a>",1,["libc::unix::linux_like::linux::ff_rumble_effect"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_effect.html\\" title=\\"struct libc::ff_effect\\">ff_effect<\/a>",1,["libc::unix::linux_like::linux::ff_effect"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_ff_upload.html\\" title=\\"struct libc::uinput_ff_upload\\">uinput_ff_upload<\/a>",1,["libc::unix::linux_like::linux::uinput_ff_upload"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_ff_erase.html\\" title=\\"struct libc::uinput_ff_erase\\">uinput_ff_erase<\/a>",1,["libc::unix::linux_like::linux::uinput_ff_erase"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_abs_setup.html\\" title=\\"struct libc::uinput_abs_setup\\">uinput_abs_setup<\/a>",1,["libc::unix::linux_like::linux::uinput_abs_setup"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.dl_phdr_info.html\\" title=\\"struct libc::dl_phdr_info\\">dl_phdr_info<\/a>",1,["libc::unix::linux_like::linux::dl_phdr_info"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Ehdr.html\\" title=\\"struct libc::Elf32_Ehdr\\">Elf32_Ehdr<\/a>",1,["libc::unix::linux_like::linux::Elf32_Ehdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Ehdr.html\\" title=\\"struct libc::Elf64_Ehdr\\">Elf64_Ehdr<\/a>",1,["libc::unix::linux_like::linux::Elf64_Ehdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Sym.html\\" title=\\"struct libc::Elf32_Sym\\">Elf32_Sym<\/a>",1,["libc::unix::linux_like::linux::Elf32_Sym"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Sym.html\\" title=\\"struct libc::Elf64_Sym\\">Elf64_Sym<\/a>",1,["libc::unix::linux_like::linux::Elf64_Sym"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Phdr.html\\" title=\\"struct libc::Elf32_Phdr\\">Elf32_Phdr<\/a>",1,["libc::unix::linux_like::linux::Elf32_Phdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Phdr.html\\" title=\\"struct libc::Elf64_Phdr\\">Elf64_Phdr<\/a>",1,["libc::unix::linux_like::linux::Elf64_Phdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Shdr.html\\" title=\\"struct libc::Elf32_Shdr\\">Elf32_Shdr<\/a>",1,["libc::unix::linux_like::linux::Elf32_Shdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Shdr.html\\" title=\\"struct libc::Elf64_Shdr\\">Elf64_Shdr<\/a>",1,["libc::unix::linux_like::linux::Elf64_Shdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ucred.html\\" title=\\"struct libc::ucred\\">ucred<\/a>",1,["libc::unix::linux_like::linux::ucred"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mntent.html\\" title=\\"struct libc::mntent\\">mntent<\/a>",1,["libc::unix::linux_like::linux::mntent"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.posix_spawn_file_actions_t.html\\" title=\\"struct libc::posix_spawn_file_actions_t\\">posix_spawn_file_actions_t<\/a>",1,["libc::unix::linux_like::linux::posix_spawn_file_actions_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.posix_spawnattr_t.html\\" title=\\"struct libc::posix_spawnattr_t\\">posix_spawnattr_t<\/a>",1,["libc::unix::linux_like::linux::posix_spawnattr_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.genlmsghdr.html\\" title=\\"struct libc::genlmsghdr\\">genlmsghdr<\/a>",1,["libc::unix::linux_like::linux::genlmsghdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in6_pktinfo.html\\" title=\\"struct libc::in6_pktinfo\\">in6_pktinfo<\/a>",1,["libc::unix::linux_like::linux::in6_pktinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.arpd_request.html\\" title=\\"struct libc::arpd_request\\">arpd_request<\/a>",1,["libc::unix::linux_like::linux::arpd_request"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.inotify_event.html\\" title=\\"struct libc::inotify_event\\">inotify_event<\/a>",1,["libc::unix::linux_like::linux::inotify_event"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.fanotify_response.html\\" title=\\"struct libc::fanotify_response\\">fanotify_response<\/a>",1,["libc::unix::linux_like::linux::fanotify_response"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_vm.html\\" title=\\"struct libc::sockaddr_vm\\">sockaddr_vm<\/a>",1,["libc::unix::linux_like::linux::sockaddr_vm"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.regmatch_t.html\\" title=\\"struct libc::regmatch_t\\">regmatch_t<\/a>",1,["libc::unix::linux_like::linux::regmatch_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sock_extended_err.html\\" title=\\"struct libc::sock_extended_err\\">sock_extended_err<\/a>",1,["libc::unix::linux_like::linux::sock_extended_err"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_sockaddr_can_tp.html\\" title=\\"struct libc::__c_anonymous_sockaddr_can_tp\\">__c_anonymous_sockaddr_can_tp<\/a>",1,["libc::unix::linux_like::linux::__c_anonymous_sockaddr_can_tp"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_sockaddr_can_j1939.html\\" title=\\"struct libc::__c_anonymous_sockaddr_can_j1939\\">__c_anonymous_sockaddr_can_j1939<\/a>",1,["libc::unix::linux_like::linux::__c_anonymous_sockaddr_can_j1939"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.can_filter.html\\" title=\\"struct libc::can_filter\\">can_filter<\/a>",1,["libc::unix::linux_like::linux::can_filter"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.j1939_filter.html\\" title=\\"struct libc::j1939_filter\\">j1939_filter<\/a>",1,["libc::unix::linux_like::linux::j1939_filter"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sock_filter.html\\" title=\\"struct libc::sock_filter\\">sock_filter<\/a>",1,["libc::unix::linux_like::linux::sock_filter"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sock_fprog.html\\" title=\\"struct libc::sock_fprog\\">sock_fprog<\/a>",1,["libc::unix::linux_like::linux::sock_fprog"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.seccomp_data.html\\" title=\\"struct libc::seccomp_data\\">seccomp_data<\/a>",1,["libc::unix::linux_like::linux::seccomp_data"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nlmsghdr.html\\" title=\\"struct libc::nlmsghdr\\">nlmsghdr<\/a>",1,["libc::unix::linux_like::linux::nlmsghdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nlmsgerr.html\\" title=\\"struct libc::nlmsgerr\\">nlmsgerr<\/a>",1,["libc::unix::linux_like::linux::nlmsgerr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nlattr.html\\" title=\\"struct libc::nlattr\\">nlattr<\/a>",1,["libc::unix::linux_like::linux::nlattr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.file_clone_range.html\\" title=\\"struct libc::file_clone_range\\">file_clone_range<\/a>",1,["libc::unix::linux_like::linux::file_clone_range"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_ifru_map.html\\" title=\\"struct libc::__c_anonymous_ifru_map\\">__c_anonymous_ifru_map<\/a>",1,["libc::unix::linux_like::linux::__c_anonymous_ifru_map"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in6_ifreq.html\\" title=\\"struct libc::in6_ifreq\\">in6_ifreq<\/a>",1,["libc::unix::linux_like::linux::in6_ifreq"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.option.html\\" title=\\"struct libc::option\\">option<\/a>",1,["libc::unix::linux_like::linux::option"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_nl.html\\" title=\\"struct libc::sockaddr_nl\\">sockaddr_nl<\/a>",1,["libc::unix::linux_like::linux::sockaddr_nl"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.dirent.html\\" title=\\"struct libc::dirent\\">dirent<\/a>",1,["libc::unix::linux_like::linux::dirent"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.dirent64.html\\" title=\\"struct libc::dirent64\\">dirent64<\/a>",1,["libc::unix::linux_like::linux::dirent64"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_alg.html\\" title=\\"struct libc::sockaddr_alg\\">sockaddr_alg<\/a>",1,["libc::unix::linux_like::linux::sockaddr_alg"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_setup.html\\" title=\\"struct libc::uinput_setup\\">uinput_setup<\/a>",1,["libc::unix::linux_like::linux::uinput_setup"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_user_dev.html\\" title=\\"struct libc::uinput_user_dev\\">uinput_user_dev<\/a>",1,["libc::unix::linux_like::linux::uinput_user_dev"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.af_alg_iv.html\\" title=\\"struct libc::af_alg_iv\\">af_alg_iv<\/a>",1,["libc::unix::linux_like::linux::af_alg_iv"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mq_attr.html\\" title=\\"struct libc::mq_attr\\">mq_attr<\/a>",1,["libc::unix::linux_like::linux::mq_attr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"union\\" href=\\"libc\/union.__c_anonymous_ifr_ifru.html\\" title=\\"union libc::__c_anonymous_ifr_ifru\\">__c_anonymous_ifr_ifru<\/a>",1,["libc::unix::linux_like::linux::__c_anonymous_ifr_ifru"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ifreq.html\\" title=\\"struct libc::ifreq\\">ifreq<\/a>",1,["libc::unix::linux_like::linux::ifreq"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sock_txtime.html\\" title=\\"struct libc::sock_txtime\\">sock_txtime<\/a>",1,["libc::unix::linux_like::linux::sock_txtime"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"union\\" href=\\"libc\/union.__c_anonymous_sockaddr_can_can_addr.html\\" title=\\"union libc::__c_anonymous_sockaddr_can_can_addr\\">__c_anonymous_sockaddr_can_can_addr<\/a>",1,["libc::unix::linux_like::linux::__c_anonymous_sockaddr_can_can_addr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_can.html\\" title=\\"struct libc::sockaddr_can\\">sockaddr_can<\/a>",1,["libc::unix::linux_like::linux::sockaddr_can"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_mutexattr_t.html\\" title=\\"struct libc::pthread_mutexattr_t\\">pthread_mutexattr_t<\/a>",1,["libc::unix::linux_like::linux::pthread_mutexattr_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_rwlockattr_t.html\\" title=\\"struct libc::pthread_rwlockattr_t\\">pthread_rwlockattr_t<\/a>",1,["libc::unix::linux_like::linux::pthread_rwlockattr_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_condattr_t.html\\" title=\\"struct libc::pthread_condattr_t\\">pthread_condattr_t<\/a>",1,["libc::unix::linux_like::linux::pthread_condattr_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.fanotify_event_metadata.html\\" title=\\"struct libc::fanotify_event_metadata\\">fanotify_event_metadata<\/a>",1,["libc::unix::linux_like::linux::fanotify_event_metadata"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_cond_t.html\\" title=\\"struct libc::pthread_cond_t\\">pthread_cond_t<\/a>",1,["libc::unix::linux_like::linux::pthread_cond_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_mutex_t.html\\" title=\\"struct libc::pthread_mutex_t\\">pthread_mutex_t<\/a>",1,["libc::unix::linux_like::linux::pthread_mutex_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_rwlock_t.html\\" title=\\"struct libc::pthread_rwlock_t\\">pthread_rwlock_t<\/a>",1,["libc::unix::linux_like::linux::pthread_rwlock_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.can_frame.html\\" title=\\"struct libc::can_frame\\">can_frame<\/a>",1,["libc::unix::linux_like::linux::can_frame"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.canfd_frame.html\\" title=\\"struct libc::canfd_frame\\">canfd_frame<\/a>",1,["libc::unix::linux_like::linux::canfd_frame"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.timezone.html\\" title=\\"enum libc::timezone\\">timezone<\/a>",1,["libc::unix::linux_like::timezone"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in_addr.html\\" title=\\"struct libc::in_addr\\">in_addr<\/a>",1,["libc::unix::linux_like::in_addr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ip_mreq.html\\" title=\\"struct libc::ip_mreq\\">ip_mreq<\/a>",1,["libc::unix::linux_like::ip_mreq"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ip_mreqn.html\\" title=\\"struct libc::ip_mreqn\\">ip_mreqn<\/a>",1,["libc::unix::linux_like::ip_mreqn"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ip_mreq_source.html\\" title=\\"struct libc::ip_mreq_source\\">ip_mreq_source<\/a>",1,["libc::unix::linux_like::ip_mreq_source"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr.html\\" title=\\"struct libc::sockaddr\\">sockaddr<\/a>",1,["libc::unix::linux_like::sockaddr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_in.html\\" title=\\"struct libc::sockaddr_in\\">sockaddr_in<\/a>",1,["libc::unix::linux_like::sockaddr_in"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_in6.html\\" title=\\"struct libc::sockaddr_in6\\">sockaddr_in6<\/a>",1,["libc::unix::linux_like::sockaddr_in6"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.addrinfo.html\\" title=\\"struct libc::addrinfo\\">addrinfo<\/a>",1,["libc::unix::linux_like::addrinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_ll.html\\" title=\\"struct libc::sockaddr_ll\\">sockaddr_ll<\/a>",1,["libc::unix::linux_like::sockaddr_ll"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.fd_set.html\\" title=\\"struct libc::fd_set\\">fd_set<\/a>",1,["libc::unix::linux_like::fd_set"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.tm.html\\" title=\\"struct libc::tm\\">tm<\/a>",1,["libc::unix::linux_like::tm"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sched_param.html\\" title=\\"struct libc::sched_param\\">sched_param<\/a>",1,["libc::unix::linux_like::sched_param"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Dl_info.html\\" title=\\"struct libc::Dl_info\\">Dl_info<\/a>",1,["libc::unix::linux_like::Dl_info"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.lconv.html\\" title=\\"struct libc::lconv\\">lconv<\/a>",1,["libc::unix::linux_like::lconv"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in_pktinfo.html\\" title=\\"struct libc::in_pktinfo\\">in_pktinfo<\/a>",1,["libc::unix::linux_like::in_pktinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ifaddrs.html\\" title=\\"struct libc::ifaddrs\\">ifaddrs<\/a>",1,["libc::unix::linux_like::ifaddrs"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in6_rtmsg.html\\" title=\\"struct libc::in6_rtmsg\\">in6_rtmsg<\/a>",1,["libc::unix::linux_like::in6_rtmsg"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.arpreq.html\\" title=\\"struct libc::arpreq\\">arpreq<\/a>",1,["libc::unix::linux_like::arpreq"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.arpreq_old.html\\" title=\\"struct libc::arpreq_old\\">arpreq_old<\/a>",1,["libc::unix::linux_like::arpreq_old"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.arphdr.html\\" title=\\"struct libc::arphdr\\">arphdr<\/a>",1,["libc::unix::linux_like::arphdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mmsghdr.html\\" title=\\"struct libc::mmsghdr\\">mmsghdr<\/a>",1,["libc::unix::linux_like::mmsghdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.epoll_event.html\\" title=\\"struct libc::epoll_event\\">epoll_event<\/a>",1,["libc::unix::linux_like::epoll_event"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_un.html\\" title=\\"struct libc::sockaddr_un\\">sockaddr_un<\/a>",1,["libc::unix::linux_like::sockaddr_un"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_storage.html\\" title=\\"struct libc::sockaddr_storage\\">sockaddr_storage<\/a>",1,["libc::unix::linux_like::sockaddr_storage"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.utsname.html\\" title=\\"struct libc::utsname\\">utsname<\/a>",1,["libc::unix::linux_like::utsname"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sigevent.html\\" title=\\"struct libc::sigevent\\">sigevent<\/a>",1,["libc::unix::linux_like::sigevent"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in6_addr.html\\" title=\\"struct libc::in6_addr\\">in6_addr<\/a>",1,["libc::unix::align::in6_addr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.DIR.html\\" title=\\"enum libc::DIR\\">DIR<\/a>",1,["libc::unix::DIR"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.group.html\\" title=\\"struct libc::group\\">group<\/a>",1,["libc::unix::group"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.utimbuf.html\\" title=\\"struct libc::utimbuf\\">utimbuf<\/a>",1,["libc::unix::utimbuf"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.timeval.html\\" title=\\"struct libc::timeval\\">timeval<\/a>",1,["libc::unix::timeval"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.timespec.html\\" title=\\"struct libc::timespec\\">timespec<\/a>",1,["libc::unix::timespec"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.rlimit.html\\" title=\\"struct libc::rlimit\\">rlimit<\/a>",1,["libc::unix::rlimit"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.rusage.html\\" title=\\"struct libc::rusage\\">rusage<\/a>",1,["libc::unix::rusage"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ipv6_mreq.html\\" title=\\"struct libc::ipv6_mreq\\">ipv6_mreq<\/a>",1,["libc::unix::ipv6_mreq"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.hostent.html\\" title=\\"struct libc::hostent\\">hostent<\/a>",1,["libc::unix::hostent"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.iovec.html\\" title=\\"struct libc::iovec\\">iovec<\/a>",1,["libc::unix::iovec"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pollfd.html\\" title=\\"struct libc::pollfd\\">pollfd<\/a>",1,["libc::unix::pollfd"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.winsize.html\\" title=\\"struct libc::winsize\\">winsize<\/a>",1,["libc::unix::winsize"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.linger.html\\" title=\\"struct libc::linger\\">linger<\/a>",1,["libc::unix::linger"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sigval.html\\" title=\\"struct libc::sigval\\">sigval<\/a>",1,["libc::unix::sigval"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.itimerval.html\\" title=\\"struct libc::itimerval\\">itimerval<\/a>",1,["libc::unix::itimerval"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.tms.html\\" title=\\"struct libc::tms\\">tms<\/a>",1,["libc::unix::tms"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.servent.html\\" title=\\"struct libc::servent\\">servent<\/a>",1,["libc::unix::servent"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.protoent.html\\" title=\\"struct libc::protoent\\">protoent<\/a>",1,["libc::unix::protoent"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.FILE.html\\" title=\\"enum libc::FILE\\">FILE<\/a>",1,["libc::unix::FILE"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.fpos_t.html\\" title=\\"enum libc::fpos_t\\">fpos_t<\/a>",1,["libc::unix::fpos_t"]]],$/;" p
|
||
libc guessing_game/target/doc/implementors/core/panic/unwind_safe/trait.UnwindSafe.js /^"libc":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statvfs.html\\" title=\\"struct libc::statvfs\\">statvfs<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::not_x32::statvfs"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.max_align_t.html\\" title=\\"struct libc::max_align_t\\">max_align_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::align::max_align_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.clone_args.html\\" title=\\"struct libc::clone_args\\">clone_args<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::align::clone_args"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sigaction.html\\" title=\\"struct libc::sigaction\\">sigaction<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::sigaction"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statfs.html\\" title=\\"struct libc::statfs\\">statfs<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::statfs"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.flock.html\\" title=\\"struct libc::flock\\">flock<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::flock"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.flock64.html\\" title=\\"struct libc::flock64\\">flock64<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::flock64"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.siginfo_t.html\\" title=\\"struct libc::siginfo_t\\">siginfo_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::siginfo_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.stack_t.html\\" title=\\"struct libc::stack_t\\">stack_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::stack_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.stat.html\\" title=\\"struct libc::stat\\">stat<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::stat"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.stat64.html\\" title=\\"struct libc::stat64\\">stat64<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::stat64"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statfs64.html\\" title=\\"struct libc::statfs64\\">statfs64<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::statfs64"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statvfs64.html\\" title=\\"struct libc::statvfs64\\">statvfs64<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::statvfs64"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_attr_t.html\\" title=\\"struct libc::pthread_attr_t\\">pthread_attr_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::pthread_attr_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct._libc_fpxreg.html\\" title=\\"struct libc::_libc_fpxreg\\">_libc_fpxreg<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::_libc_fpxreg"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct._libc_xmmreg.html\\" title=\\"struct libc::_libc_xmmreg\\">_libc_xmmreg<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::_libc_xmmreg"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct._libc_fpstate.html\\" title=\\"struct libc::_libc_fpstate\\">_libc_fpstate<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::_libc_fpstate"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.user_regs_struct.html\\" title=\\"struct libc::user_regs_struct\\">user_regs_struct<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::user_regs_struct"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.user.html\\" title=\\"struct libc::user\\">user<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::user"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mcontext_t.html\\" title=\\"struct libc::mcontext_t\\">mcontext_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::mcontext_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ipc_perm.html\\" title=\\"struct libc::ipc_perm\\">ipc_perm<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::ipc_perm"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.shmid_ds.html\\" title=\\"struct libc::shmid_ds\\">shmid_ds<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::shmid_ds"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.seccomp_notif_sizes.html\\" title=\\"struct libc::seccomp_notif_sizes\\">seccomp_notif_sizes<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::seccomp_notif_sizes"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ptrace_rseq_configuration.html\\" title=\\"struct libc::ptrace_rseq_configuration\\">ptrace_rseq_configuration<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::ptrace_rseq_configuration"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.user_fpregs_struct.html\\" title=\\"struct libc::user_fpregs_struct\\">user_fpregs_struct<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::user_fpregs_struct"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ucontext_t.html\\" title=\\"struct libc::ucontext_t\\">ucontext_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::x86_64::ucontext_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sigset_t.html\\" title=\\"struct libc::sigset_t\\">sigset_t<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::sigset_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sysinfo.html\\" title=\\"struct libc::sysinfo\\">sysinfo<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::sysinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.msqid_ds.html\\" title=\\"struct libc::msqid_ds\\">msqid_ds<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::msqid_ds"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.semid_ds.html\\" title=\\"struct libc::semid_ds\\">semid_ds<\/a>",1,["libc::unix::linux_like::linux::gnu::b64::semid_ds"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sem_t.html\\" title=\\"struct libc::sem_t\\">sem_t<\/a>",1,["libc::unix::linux_like::linux::gnu::align::sem_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statx.html\\" title=\\"struct libc::statx\\">statx<\/a>",1,["libc::unix::linux_like::linux::gnu::statx"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.statx_timestamp.html\\" title=\\"struct libc::statx_timestamp\\">statx_timestamp<\/a>",1,["libc::unix::linux_like::linux::gnu::statx_timestamp"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.aiocb.html\\" title=\\"struct libc::aiocb\\">aiocb<\/a>",1,["libc::unix::linux_like::linux::gnu::aiocb"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__exit_status.html\\" title=\\"struct libc::__exit_status\\">__exit_status<\/a>",1,["libc::unix::linux_like::linux::gnu::__exit_status"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__timeval.html\\" title=\\"struct libc::__timeval\\">__timeval<\/a>",1,["libc::unix::linux_like::linux::gnu::__timeval"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.glob64_t.html\\" title=\\"struct libc::glob64_t\\">glob64_t<\/a>",1,["libc::unix::linux_like::linux::gnu::glob64_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.msghdr.html\\" title=\\"struct libc::msghdr\\">msghdr<\/a>",1,["libc::unix::linux_like::linux::gnu::msghdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.cmsghdr.html\\" title=\\"struct libc::cmsghdr\\">cmsghdr<\/a>",1,["libc::unix::linux_like::linux::gnu::cmsghdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.termios.html\\" title=\\"struct libc::termios\\">termios<\/a>",1,["libc::unix::linux_like::linux::gnu::termios"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mallinfo.html\\" title=\\"struct libc::mallinfo\\">mallinfo<\/a>",1,["libc::unix::linux_like::linux::gnu::mallinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mallinfo2.html\\" title=\\"struct libc::mallinfo2\\">mallinfo2<\/a>",1,["libc::unix::linux_like::linux::gnu::mallinfo2"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nl_pktinfo.html\\" title=\\"struct libc::nl_pktinfo\\">nl_pktinfo<\/a>",1,["libc::unix::linux_like::linux::gnu::nl_pktinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nl_mmap_req.html\\" title=\\"struct libc::nl_mmap_req\\">nl_mmap_req<\/a>",1,["libc::unix::linux_like::linux::gnu::nl_mmap_req"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nl_mmap_hdr.html\\" title=\\"struct libc::nl_mmap_hdr\\">nl_mmap_hdr<\/a>",1,["libc::unix::linux_like::linux::gnu::nl_mmap_hdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.rtentry.html\\" title=\\"struct libc::rtentry\\">rtentry<\/a>",1,["libc::unix::linux_like::linux::gnu::rtentry"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.timex.html\\" title=\\"struct libc::timex\\">timex<\/a>",1,["libc::unix::linux_like::linux::gnu::timex"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ntptimeval.html\\" title=\\"struct libc::ntptimeval\\">ntptimeval<\/a>",1,["libc::unix::linux_like::linux::gnu::ntptimeval"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.regex_t.html\\" title=\\"struct libc::regex_t\\">regex_t<\/a>",1,["libc::unix::linux_like::linux::gnu::regex_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Chdr.html\\" title=\\"struct libc::Elf64_Chdr\\">Elf64_Chdr<\/a>",1,["libc::unix::linux_like::linux::gnu::Elf64_Chdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Chdr.html\\" title=\\"struct libc::Elf32_Chdr\\">Elf32_Chdr<\/a>",1,["libc::unix::linux_like::linux::gnu::Elf32_Chdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.seminfo.html\\" title=\\"struct libc::seminfo\\">seminfo<\/a>",1,["libc::unix::linux_like::linux::gnu::seminfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ptrace_peeksiginfo_args.html\\" title=\\"struct libc::ptrace_peeksiginfo_args\\">ptrace_peeksiginfo_args<\/a>",1,["libc::unix::linux_like::linux::gnu::ptrace_peeksiginfo_args"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_ptrace_syscall_info_entry.html\\" title=\\"struct libc::__c_anonymous_ptrace_syscall_info_entry\\">__c_anonymous_ptrace_syscall_info_entry<\/a>",1,["libc::unix::linux_like::linux::gnu::__c_anonymous_ptrace_syscall_info_entry"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_ptrace_syscall_info_exit.html\\" title=\\"struct libc::__c_anonymous_ptrace_syscall_info_exit\\">__c_anonymous_ptrace_syscall_info_exit<\/a>",1,["libc::unix::linux_like::linux::gnu::__c_anonymous_ptrace_syscall_info_exit"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_ptrace_syscall_info_seccomp.html\\" title=\\"struct libc::__c_anonymous_ptrace_syscall_info_seccomp\\">__c_anonymous_ptrace_syscall_info_seccomp<\/a>",1,["libc::unix::linux_like::linux::gnu::__c_anonymous_ptrace_syscall_info_seccomp"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ptrace_syscall_info.html\\" title=\\"struct libc::ptrace_syscall_info\\">ptrace_syscall_info<\/a>",1,["libc::unix::linux_like::linux::gnu::ptrace_syscall_info"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"union\\" href=\\"libc\/union.__c_anonymous_ptrace_syscall_info_data.html\\" title=\\"union libc::__c_anonymous_ptrace_syscall_info_data\\">__c_anonymous_ptrace_syscall_info_data<\/a>",1,["libc::unix::linux_like::linux::gnu::__c_anonymous_ptrace_syscall_info_data"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.utmpx.html\\" title=\\"struct libc::utmpx\\">utmpx<\/a>",1,["libc::unix::linux_like::linux::gnu::utmpx"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.termios2.html\\" title=\\"struct libc::termios2\\">termios2<\/a>",1,["libc::unix::linux_like::linux::arch::generic::termios2"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.open_how.html\\" title=\\"struct libc::open_how\\">open_how<\/a>",1,["libc::unix::linux_like::linux::non_exhaustive::open_how"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.fpos64_t.html\\" title=\\"enum libc::fpos64_t\\">fpos64_t<\/a>",1,["libc::unix::linux_like::linux::fpos64_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.rlimit64.html\\" title=\\"struct libc::rlimit64\\">rlimit64<\/a>",1,["libc::unix::linux_like::linux::rlimit64"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.glob_t.html\\" title=\\"struct libc::glob_t\\">glob_t<\/a>",1,["libc::unix::linux_like::linux::glob_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.passwd.html\\" title=\\"struct libc::passwd\\">passwd<\/a>",1,["libc::unix::linux_like::linux::passwd"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.spwd.html\\" title=\\"struct libc::spwd\\">spwd<\/a>",1,["libc::unix::linux_like::linux::spwd"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.dqblk.html\\" title=\\"struct libc::dqblk\\">dqblk<\/a>",1,["libc::unix::linux_like::linux::dqblk"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.signalfd_siginfo.html\\" title=\\"struct libc::signalfd_siginfo\\">signalfd_siginfo<\/a>",1,["libc::unix::linux_like::linux::signalfd_siginfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.itimerspec.html\\" title=\\"struct libc::itimerspec\\">itimerspec<\/a>",1,["libc::unix::linux_like::linux::itimerspec"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.fsid_t.html\\" title=\\"struct libc::fsid_t\\">fsid_t<\/a>",1,["libc::unix::linux_like::linux::fsid_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.packet_mreq.html\\" title=\\"struct libc::packet_mreq\\">packet_mreq<\/a>",1,["libc::unix::linux_like::linux::packet_mreq"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.cpu_set_t.html\\" title=\\"struct libc::cpu_set_t\\">cpu_set_t<\/a>",1,["libc::unix::linux_like::linux::cpu_set_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.if_nameindex.html\\" title=\\"struct libc::if_nameindex\\">if_nameindex<\/a>",1,["libc::unix::linux_like::linux::if_nameindex"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.msginfo.html\\" title=\\"struct libc::msginfo\\">msginfo<\/a>",1,["libc::unix::linux_like::linux::msginfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sembuf.html\\" title=\\"struct libc::sembuf\\">sembuf<\/a>",1,["libc::unix::linux_like::linux::sembuf"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_event.html\\" title=\\"struct libc::input_event\\">input_event<\/a>",1,["libc::unix::linux_like::linux::input_event"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_id.html\\" title=\\"struct libc::input_id\\">input_id<\/a>",1,["libc::unix::linux_like::linux::input_id"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_absinfo.html\\" title=\\"struct libc::input_absinfo\\">input_absinfo<\/a>",1,["libc::unix::linux_like::linux::input_absinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_keymap_entry.html\\" title=\\"struct libc::input_keymap_entry\\">input_keymap_entry<\/a>",1,["libc::unix::linux_like::linux::input_keymap_entry"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.input_mask.html\\" title=\\"struct libc::input_mask\\">input_mask<\/a>",1,["libc::unix::linux_like::linux::input_mask"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_replay.html\\" title=\\"struct libc::ff_replay\\">ff_replay<\/a>",1,["libc::unix::linux_like::linux::ff_replay"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_trigger.html\\" title=\\"struct libc::ff_trigger\\">ff_trigger<\/a>",1,["libc::unix::linux_like::linux::ff_trigger"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_envelope.html\\" title=\\"struct libc::ff_envelope\\">ff_envelope<\/a>",1,["libc::unix::linux_like::linux::ff_envelope"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_constant_effect.html\\" title=\\"struct libc::ff_constant_effect\\">ff_constant_effect<\/a>",1,["libc::unix::linux_like::linux::ff_constant_effect"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_ramp_effect.html\\" title=\\"struct libc::ff_ramp_effect\\">ff_ramp_effect<\/a>",1,["libc::unix::linux_like::linux::ff_ramp_effect"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_condition_effect.html\\" title=\\"struct libc::ff_condition_effect\\">ff_condition_effect<\/a>",1,["libc::unix::linux_like::linux::ff_condition_effect"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_periodic_effect.html\\" title=\\"struct libc::ff_periodic_effect\\">ff_periodic_effect<\/a>",1,["libc::unix::linux_like::linux::ff_periodic_effect"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_rumble_effect.html\\" title=\\"struct libc::ff_rumble_effect\\">ff_rumble_effect<\/a>",1,["libc::unix::linux_like::linux::ff_rumble_effect"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ff_effect.html\\" title=\\"struct libc::ff_effect\\">ff_effect<\/a>",1,["libc::unix::linux_like::linux::ff_effect"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_ff_upload.html\\" title=\\"struct libc::uinput_ff_upload\\">uinput_ff_upload<\/a>",1,["libc::unix::linux_like::linux::uinput_ff_upload"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_ff_erase.html\\" title=\\"struct libc::uinput_ff_erase\\">uinput_ff_erase<\/a>",1,["libc::unix::linux_like::linux::uinput_ff_erase"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_abs_setup.html\\" title=\\"struct libc::uinput_abs_setup\\">uinput_abs_setup<\/a>",1,["libc::unix::linux_like::linux::uinput_abs_setup"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.dl_phdr_info.html\\" title=\\"struct libc::dl_phdr_info\\">dl_phdr_info<\/a>",1,["libc::unix::linux_like::linux::dl_phdr_info"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Ehdr.html\\" title=\\"struct libc::Elf32_Ehdr\\">Elf32_Ehdr<\/a>",1,["libc::unix::linux_like::linux::Elf32_Ehdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Ehdr.html\\" title=\\"struct libc::Elf64_Ehdr\\">Elf64_Ehdr<\/a>",1,["libc::unix::linux_like::linux::Elf64_Ehdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Sym.html\\" title=\\"struct libc::Elf32_Sym\\">Elf32_Sym<\/a>",1,["libc::unix::linux_like::linux::Elf32_Sym"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Sym.html\\" title=\\"struct libc::Elf64_Sym\\">Elf64_Sym<\/a>",1,["libc::unix::linux_like::linux::Elf64_Sym"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Phdr.html\\" title=\\"struct libc::Elf32_Phdr\\">Elf32_Phdr<\/a>",1,["libc::unix::linux_like::linux::Elf32_Phdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Phdr.html\\" title=\\"struct libc::Elf64_Phdr\\">Elf64_Phdr<\/a>",1,["libc::unix::linux_like::linux::Elf64_Phdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf32_Shdr.html\\" title=\\"struct libc::Elf32_Shdr\\">Elf32_Shdr<\/a>",1,["libc::unix::linux_like::linux::Elf32_Shdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Elf64_Shdr.html\\" title=\\"struct libc::Elf64_Shdr\\">Elf64_Shdr<\/a>",1,["libc::unix::linux_like::linux::Elf64_Shdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ucred.html\\" title=\\"struct libc::ucred\\">ucred<\/a>",1,["libc::unix::linux_like::linux::ucred"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mntent.html\\" title=\\"struct libc::mntent\\">mntent<\/a>",1,["libc::unix::linux_like::linux::mntent"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.posix_spawn_file_actions_t.html\\" title=\\"struct libc::posix_spawn_file_actions_t\\">posix_spawn_file_actions_t<\/a>",1,["libc::unix::linux_like::linux::posix_spawn_file_actions_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.posix_spawnattr_t.html\\" title=\\"struct libc::posix_spawnattr_t\\">posix_spawnattr_t<\/a>",1,["libc::unix::linux_like::linux::posix_spawnattr_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.genlmsghdr.html\\" title=\\"struct libc::genlmsghdr\\">genlmsghdr<\/a>",1,["libc::unix::linux_like::linux::genlmsghdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in6_pktinfo.html\\" title=\\"struct libc::in6_pktinfo\\">in6_pktinfo<\/a>",1,["libc::unix::linux_like::linux::in6_pktinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.arpd_request.html\\" title=\\"struct libc::arpd_request\\">arpd_request<\/a>",1,["libc::unix::linux_like::linux::arpd_request"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.inotify_event.html\\" title=\\"struct libc::inotify_event\\">inotify_event<\/a>",1,["libc::unix::linux_like::linux::inotify_event"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.fanotify_response.html\\" title=\\"struct libc::fanotify_response\\">fanotify_response<\/a>",1,["libc::unix::linux_like::linux::fanotify_response"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_vm.html\\" title=\\"struct libc::sockaddr_vm\\">sockaddr_vm<\/a>",1,["libc::unix::linux_like::linux::sockaddr_vm"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.regmatch_t.html\\" title=\\"struct libc::regmatch_t\\">regmatch_t<\/a>",1,["libc::unix::linux_like::linux::regmatch_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sock_extended_err.html\\" title=\\"struct libc::sock_extended_err\\">sock_extended_err<\/a>",1,["libc::unix::linux_like::linux::sock_extended_err"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_sockaddr_can_tp.html\\" title=\\"struct libc::__c_anonymous_sockaddr_can_tp\\">__c_anonymous_sockaddr_can_tp<\/a>",1,["libc::unix::linux_like::linux::__c_anonymous_sockaddr_can_tp"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_sockaddr_can_j1939.html\\" title=\\"struct libc::__c_anonymous_sockaddr_can_j1939\\">__c_anonymous_sockaddr_can_j1939<\/a>",1,["libc::unix::linux_like::linux::__c_anonymous_sockaddr_can_j1939"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.can_filter.html\\" title=\\"struct libc::can_filter\\">can_filter<\/a>",1,["libc::unix::linux_like::linux::can_filter"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.j1939_filter.html\\" title=\\"struct libc::j1939_filter\\">j1939_filter<\/a>",1,["libc::unix::linux_like::linux::j1939_filter"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sock_filter.html\\" title=\\"struct libc::sock_filter\\">sock_filter<\/a>",1,["libc::unix::linux_like::linux::sock_filter"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sock_fprog.html\\" title=\\"struct libc::sock_fprog\\">sock_fprog<\/a>",1,["libc::unix::linux_like::linux::sock_fprog"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.seccomp_data.html\\" title=\\"struct libc::seccomp_data\\">seccomp_data<\/a>",1,["libc::unix::linux_like::linux::seccomp_data"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nlmsghdr.html\\" title=\\"struct libc::nlmsghdr\\">nlmsghdr<\/a>",1,["libc::unix::linux_like::linux::nlmsghdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nlmsgerr.html\\" title=\\"struct libc::nlmsgerr\\">nlmsgerr<\/a>",1,["libc::unix::linux_like::linux::nlmsgerr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.nlattr.html\\" title=\\"struct libc::nlattr\\">nlattr<\/a>",1,["libc::unix::linux_like::linux::nlattr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.file_clone_range.html\\" title=\\"struct libc::file_clone_range\\">file_clone_range<\/a>",1,["libc::unix::linux_like::linux::file_clone_range"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.__c_anonymous_ifru_map.html\\" title=\\"struct libc::__c_anonymous_ifru_map\\">__c_anonymous_ifru_map<\/a>",1,["libc::unix::linux_like::linux::__c_anonymous_ifru_map"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in6_ifreq.html\\" title=\\"struct libc::in6_ifreq\\">in6_ifreq<\/a>",1,["libc::unix::linux_like::linux::in6_ifreq"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.option.html\\" title=\\"struct libc::option\\">option<\/a>",1,["libc::unix::linux_like::linux::option"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_nl.html\\" title=\\"struct libc::sockaddr_nl\\">sockaddr_nl<\/a>",1,["libc::unix::linux_like::linux::sockaddr_nl"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.dirent.html\\" title=\\"struct libc::dirent\\">dirent<\/a>",1,["libc::unix::linux_like::linux::dirent"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.dirent64.html\\" title=\\"struct libc::dirent64\\">dirent64<\/a>",1,["libc::unix::linux_like::linux::dirent64"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_alg.html\\" title=\\"struct libc::sockaddr_alg\\">sockaddr_alg<\/a>",1,["libc::unix::linux_like::linux::sockaddr_alg"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_setup.html\\" title=\\"struct libc::uinput_setup\\">uinput_setup<\/a>",1,["libc::unix::linux_like::linux::uinput_setup"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.uinput_user_dev.html\\" title=\\"struct libc::uinput_user_dev\\">uinput_user_dev<\/a>",1,["libc::unix::linux_like::linux::uinput_user_dev"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.af_alg_iv.html\\" title=\\"struct libc::af_alg_iv\\">af_alg_iv<\/a>",1,["libc::unix::linux_like::linux::af_alg_iv"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mq_attr.html\\" title=\\"struct libc::mq_attr\\">mq_attr<\/a>",1,["libc::unix::linux_like::linux::mq_attr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"union\\" href=\\"libc\/union.__c_anonymous_ifr_ifru.html\\" title=\\"union libc::__c_anonymous_ifr_ifru\\">__c_anonymous_ifr_ifru<\/a>",1,["libc::unix::linux_like::linux::__c_anonymous_ifr_ifru"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ifreq.html\\" title=\\"struct libc::ifreq\\">ifreq<\/a>",1,["libc::unix::linux_like::linux::ifreq"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sock_txtime.html\\" title=\\"struct libc::sock_txtime\\">sock_txtime<\/a>",1,["libc::unix::linux_like::linux::sock_txtime"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"union\\" href=\\"libc\/union.__c_anonymous_sockaddr_can_can_addr.html\\" title=\\"union libc::__c_anonymous_sockaddr_can_can_addr\\">__c_anonymous_sockaddr_can_can_addr<\/a>",1,["libc::unix::linux_like::linux::__c_anonymous_sockaddr_can_can_addr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_can.html\\" title=\\"struct libc::sockaddr_can\\">sockaddr_can<\/a>",1,["libc::unix::linux_like::linux::sockaddr_can"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_mutexattr_t.html\\" title=\\"struct libc::pthread_mutexattr_t\\">pthread_mutexattr_t<\/a>",1,["libc::unix::linux_like::linux::pthread_mutexattr_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_rwlockattr_t.html\\" title=\\"struct libc::pthread_rwlockattr_t\\">pthread_rwlockattr_t<\/a>",1,["libc::unix::linux_like::linux::pthread_rwlockattr_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_condattr_t.html\\" title=\\"struct libc::pthread_condattr_t\\">pthread_condattr_t<\/a>",1,["libc::unix::linux_like::linux::pthread_condattr_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.fanotify_event_metadata.html\\" title=\\"struct libc::fanotify_event_metadata\\">fanotify_event_metadata<\/a>",1,["libc::unix::linux_like::linux::fanotify_event_metadata"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_cond_t.html\\" title=\\"struct libc::pthread_cond_t\\">pthread_cond_t<\/a>",1,["libc::unix::linux_like::linux::pthread_cond_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_mutex_t.html\\" title=\\"struct libc::pthread_mutex_t\\">pthread_mutex_t<\/a>",1,["libc::unix::linux_like::linux::pthread_mutex_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pthread_rwlock_t.html\\" title=\\"struct libc::pthread_rwlock_t\\">pthread_rwlock_t<\/a>",1,["libc::unix::linux_like::linux::pthread_rwlock_t"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.can_frame.html\\" title=\\"struct libc::can_frame\\">can_frame<\/a>",1,["libc::unix::linux_like::linux::can_frame"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.canfd_frame.html\\" title=\\"struct libc::canfd_frame\\">canfd_frame<\/a>",1,["libc::unix::linux_like::linux::canfd_frame"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.timezone.html\\" title=\\"enum libc::timezone\\">timezone<\/a>",1,["libc::unix::linux_like::timezone"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in_addr.html\\" title=\\"struct libc::in_addr\\">in_addr<\/a>",1,["libc::unix::linux_like::in_addr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ip_mreq.html\\" title=\\"struct libc::ip_mreq\\">ip_mreq<\/a>",1,["libc::unix::linux_like::ip_mreq"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ip_mreqn.html\\" title=\\"struct libc::ip_mreqn\\">ip_mreqn<\/a>",1,["libc::unix::linux_like::ip_mreqn"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ip_mreq_source.html\\" title=\\"struct libc::ip_mreq_source\\">ip_mreq_source<\/a>",1,["libc::unix::linux_like::ip_mreq_source"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr.html\\" title=\\"struct libc::sockaddr\\">sockaddr<\/a>",1,["libc::unix::linux_like::sockaddr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_in.html\\" title=\\"struct libc::sockaddr_in\\">sockaddr_in<\/a>",1,["libc::unix::linux_like::sockaddr_in"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_in6.html\\" title=\\"struct libc::sockaddr_in6\\">sockaddr_in6<\/a>",1,["libc::unix::linux_like::sockaddr_in6"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.addrinfo.html\\" title=\\"struct libc::addrinfo\\">addrinfo<\/a>",1,["libc::unix::linux_like::addrinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_ll.html\\" title=\\"struct libc::sockaddr_ll\\">sockaddr_ll<\/a>",1,["libc::unix::linux_like::sockaddr_ll"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.fd_set.html\\" title=\\"struct libc::fd_set\\">fd_set<\/a>",1,["libc::unix::linux_like::fd_set"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.tm.html\\" title=\\"struct libc::tm\\">tm<\/a>",1,["libc::unix::linux_like::tm"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sched_param.html\\" title=\\"struct libc::sched_param\\">sched_param<\/a>",1,["libc::unix::linux_like::sched_param"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.Dl_info.html\\" title=\\"struct libc::Dl_info\\">Dl_info<\/a>",1,["libc::unix::linux_like::Dl_info"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.lconv.html\\" title=\\"struct libc::lconv\\">lconv<\/a>",1,["libc::unix::linux_like::lconv"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in_pktinfo.html\\" title=\\"struct libc::in_pktinfo\\">in_pktinfo<\/a>",1,["libc::unix::linux_like::in_pktinfo"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ifaddrs.html\\" title=\\"struct libc::ifaddrs\\">ifaddrs<\/a>",1,["libc::unix::linux_like::ifaddrs"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in6_rtmsg.html\\" title=\\"struct libc::in6_rtmsg\\">in6_rtmsg<\/a>",1,["libc::unix::linux_like::in6_rtmsg"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.arpreq.html\\" title=\\"struct libc::arpreq\\">arpreq<\/a>",1,["libc::unix::linux_like::arpreq"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.arpreq_old.html\\" title=\\"struct libc::arpreq_old\\">arpreq_old<\/a>",1,["libc::unix::linux_like::arpreq_old"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.arphdr.html\\" title=\\"struct libc::arphdr\\">arphdr<\/a>",1,["libc::unix::linux_like::arphdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.mmsghdr.html\\" title=\\"struct libc::mmsghdr\\">mmsghdr<\/a>",1,["libc::unix::linux_like::mmsghdr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.epoll_event.html\\" title=\\"struct libc::epoll_event\\">epoll_event<\/a>",1,["libc::unix::linux_like::epoll_event"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_un.html\\" title=\\"struct libc::sockaddr_un\\">sockaddr_un<\/a>",1,["libc::unix::linux_like::sockaddr_un"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sockaddr_storage.html\\" title=\\"struct libc::sockaddr_storage\\">sockaddr_storage<\/a>",1,["libc::unix::linux_like::sockaddr_storage"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.utsname.html\\" title=\\"struct libc::utsname\\">utsname<\/a>",1,["libc::unix::linux_like::utsname"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sigevent.html\\" title=\\"struct libc::sigevent\\">sigevent<\/a>",1,["libc::unix::linux_like::sigevent"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.in6_addr.html\\" title=\\"struct libc::in6_addr\\">in6_addr<\/a>",1,["libc::unix::align::in6_addr"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.DIR.html\\" title=\\"enum libc::DIR\\">DIR<\/a>",1,["libc::unix::DIR"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.group.html\\" title=\\"struct libc::group\\">group<\/a>",1,["libc::unix::group"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.utimbuf.html\\" title=\\"struct libc::utimbuf\\">utimbuf<\/a>",1,["libc::unix::utimbuf"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.timeval.html\\" title=\\"struct libc::timeval\\">timeval<\/a>",1,["libc::unix::timeval"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.timespec.html\\" title=\\"struct libc::timespec\\">timespec<\/a>",1,["libc::unix::timespec"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.rlimit.html\\" title=\\"struct libc::rlimit\\">rlimit<\/a>",1,["libc::unix::rlimit"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.rusage.html\\" title=\\"struct libc::rusage\\">rusage<\/a>",1,["libc::unix::rusage"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.ipv6_mreq.html\\" title=\\"struct libc::ipv6_mreq\\">ipv6_mreq<\/a>",1,["libc::unix::ipv6_mreq"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.hostent.html\\" title=\\"struct libc::hostent\\">hostent<\/a>",1,["libc::unix::hostent"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.iovec.html\\" title=\\"struct libc::iovec\\">iovec<\/a>",1,["libc::unix::iovec"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.pollfd.html\\" title=\\"struct libc::pollfd\\">pollfd<\/a>",1,["libc::unix::pollfd"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.winsize.html\\" title=\\"struct libc::winsize\\">winsize<\/a>",1,["libc::unix::winsize"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.linger.html\\" title=\\"struct libc::linger\\">linger<\/a>",1,["libc::unix::linger"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.sigval.html\\" title=\\"struct libc::sigval\\">sigval<\/a>",1,["libc::unix::sigval"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.itimerval.html\\" title=\\"struct libc::itimerval\\">itimerval<\/a>",1,["libc::unix::itimerval"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.tms.html\\" title=\\"struct libc::tms\\">tms<\/a>",1,["libc::unix::tms"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.servent.html\\" title=\\"struct libc::servent\\">servent<\/a>",1,["libc::unix::servent"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"libc\/struct.protoent.html\\" title=\\"struct libc::protoent\\">protoent<\/a>",1,["libc::unix::protoent"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.FILE.html\\" title=\\"enum libc::FILE\\">FILE<\/a>",1,["libc::unix::FILE"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"enum\\" href=\\"libc\/enum.fpos_t.html\\" title=\\"enum libc::fpos_t\\">fpos_t<\/a>",1,["libc::unix::fpos_t"]]],$/;" p
|
||
loadCss guessing_game/target/doc/static.files/main-c55e1eb52e1886b4.js /^"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.type="text\/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("\/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"))};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="<h3 class=\\"search-loading\\">"+searchState.loadingText+"<\/h3>";searchState.showResults(search)},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(\/^#\/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`<a href="index.html#${id}">${longty}<\/a>`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const item of filtered){const name=item[0];const desc=item[1];let path;if(shortty==="mod"){path=name+"\/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("\/").pop();const link=document.createElement("a");link.href=path;link.title=desc;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"\/index.html";if(window.rootPath!==".\/"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\\n").length;const elems=[];for(let i=0;i<count;++i){elems.push(i+1)}const node=document.createElement("pre");addClass(node,"example-line-numbers");node.innerHTML=elems.join("\\n");parent.insertBefore(node,x)})};window.rustdoc_remove_line_numbers_from_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}let oldSidebarScrollPosition=null;window.rustdocMobileScrollLock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(window.innerWidth<=window.RUSTDOC_MOBILE_BREAKPOINT){oldSidebarScrollPosition=window.scrollY;document.body.style.width=`${document.body.offsetWidth}px`;document.body.style.position="fixed";document.body.style.top=`-${oldSidebarScrollPosition}px`;if(mobile_topbar){mobile_topbar.style.top=`${oldSidebarScrollPosition}px`;mobile_topbar.style.position="relative"}}else{oldSidebarScrollPosition=null}};window.rustdocMobileScrollUnlock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(oldSidebarScrollPosition!==null){document.body.style.width="";document.body.style.position="";document.body.style.top="";if(mobile_topbar){mobile_topbar.style.top="";mobile_topbar.style.position=""}window.scrollTo(0,oldSidebarScrollPosition);oldSidebarScrollPosition=null}};function showSidebar(){window.hideAllModals(false);window.rustdocMobileScrollLock();const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){window.rustdocMobileScrollUnlock();const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.innerWidth>window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}if(window.CURRENT_NOTABLE_ELEMENT){const base=window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE;const force_visible=base.NOTABLE_FORCE_VISIBLE;hideNotable(false);if(force_visible){showNotable(base);base.NOTABLE_FORCE_VISIBLE=true}}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showNotable(e){if(!window.NOTABLE_TRAITS){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showNotable() called on page without any notable traits!")}}if(window.CURRENT_NOTABLE_ELEMENT&&window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE===e){return}window.hideAllModals(false);const ty=e.getAttribute("data-ty");const wrapper=document.createElement("div");wrapper.innerHTML="<div class=\\"docblock\\">"+window.NOTABLE_TRAITS[ty]+"<\/div>";wrapper.className="notable popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideNotable;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_NOTABLE_ELEMENT=wrapper;window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE=e;wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,e)){hideNotable(true)}}}function notableBlurHandler(event){if(window.CURRENT_NOTABLE_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)){setTimeout(()=>hideNotable(false),0)}}function hideNotable(focus){if(window.CURRENT_NOTABLE_ELEMENT){if(window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE){if(focus){window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus()}window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_NOTABLE_ELEMENT);window.CURRENT_NOTABLE_ELEMENT=null}}onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.NOTABLE_FORCE_VISIBLE=this.NOTABLE_FORCE_VISIBLE?false:true;if(window.CURRENT_NOTABLE_ELEMENT&&!this.NOTABLE_FORCE_VISIBLE){hideNotable(true)}else{showNotable(this);window.CURRENT_NOTABLE_ELEMENT.setAttribute("tabindex","0");window.CURRENT_NOTABLE_ELEMENT.focus();window.CURRENT_NOTABLE_ELEMENT.onblur=notableBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}showNotable(this)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)){hideNotable(true)}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \\$/;" f
|
||
loadScript guessing_game/target/doc/static.files/main-c55e1eb52e1886b4.js /^"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.type="text\/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("\/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"))};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="<h3 class=\\"search-loading\\">"+searchState.loadingText+"<\/h3>";searchState.showResults(search)},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(\/^#\/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`<a href="index.html#${id}">${longty}<\/a>`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const item of filtered){const name=item[0];const desc=item[1];let path;if(shortty==="mod"){path=name+"\/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("\/").pop();const link=document.createElement("a");link.href=path;link.title=desc;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"\/index.html";if(window.rootPath!==".\/"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\\n").length;const elems=[];for(let i=0;i<count;++i){elems.push(i+1)}const node=document.createElement("pre");addClass(node,"example-line-numbers");node.innerHTML=elems.join("\\n");parent.insertBefore(node,x)})};window.rustdoc_remove_line_numbers_from_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}let oldSidebarScrollPosition=null;window.rustdocMobileScrollLock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(window.innerWidth<=window.RUSTDOC_MOBILE_BREAKPOINT){oldSidebarScrollPosition=window.scrollY;document.body.style.width=`${document.body.offsetWidth}px`;document.body.style.position="fixed";document.body.style.top=`-${oldSidebarScrollPosition}px`;if(mobile_topbar){mobile_topbar.style.top=`${oldSidebarScrollPosition}px`;mobile_topbar.style.position="relative"}}else{oldSidebarScrollPosition=null}};window.rustdocMobileScrollUnlock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(oldSidebarScrollPosition!==null){document.body.style.width="";document.body.style.position="";document.body.style.top="";if(mobile_topbar){mobile_topbar.style.top="";mobile_topbar.style.position=""}window.scrollTo(0,oldSidebarScrollPosition);oldSidebarScrollPosition=null}};function showSidebar(){window.hideAllModals(false);window.rustdocMobileScrollLock();const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){window.rustdocMobileScrollUnlock();const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.innerWidth>window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}if(window.CURRENT_NOTABLE_ELEMENT){const base=window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE;const force_visible=base.NOTABLE_FORCE_VISIBLE;hideNotable(false);if(force_visible){showNotable(base);base.NOTABLE_FORCE_VISIBLE=true}}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showNotable(e){if(!window.NOTABLE_TRAITS){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showNotable() called on page without any notable traits!")}}if(window.CURRENT_NOTABLE_ELEMENT&&window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE===e){return}window.hideAllModals(false);const ty=e.getAttribute("data-ty");const wrapper=document.createElement("div");wrapper.innerHTML="<div class=\\"docblock\\">"+window.NOTABLE_TRAITS[ty]+"<\/div>";wrapper.className="notable popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideNotable;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_NOTABLE_ELEMENT=wrapper;window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE=e;wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,e)){hideNotable(true)}}}function notableBlurHandler(event){if(window.CURRENT_NOTABLE_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)){setTimeout(()=>hideNotable(false),0)}}function hideNotable(focus){if(window.CURRENT_NOTABLE_ELEMENT){if(window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE){if(focus){window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus()}window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_NOTABLE_ELEMENT);window.CURRENT_NOTABLE_ELEMENT=null}}onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.NOTABLE_FORCE_VISIBLE=this.NOTABLE_FORCE_VISIBLE?false:true;if(window.CURRENT_NOTABLE_ELEMENT&&!this.NOTABLE_FORCE_VISIBLE){hideNotable(true)}else{showNotable(this);window.CURRENT_NOTABLE_ELEMENT.setAttribute("tabindex","0");window.CURRENT_NOTABLE_ELEMENT.focus();window.CURRENT_NOTABLE_ELEMENT.onblur=notableBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}showNotable(this)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)){hideNotable(true)}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \\$/;" f
|
||
loadSearch guessing_game/target/doc/static.files/main-c55e1eb52e1886b4.js /^"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.type="text\/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("\/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"))};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="<h3 class=\\"search-loading\\">"+searchState.loadingText+"<\/h3>";searchState.showResults(search)},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(\/^#\/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`<a href="index.html#${id}">${longty}<\/a>`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const item of filtered){const name=item[0];const desc=item[1];let path;if(shortty==="mod"){path=name+"\/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("\/").pop();const link=document.createElement("a");link.href=path;link.title=desc;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"\/index.html";if(window.rootPath!==".\/"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\\n").length;const elems=[];for(let i=0;i<count;++i){elems.push(i+1)}const node=document.createElement("pre");addClass(node,"example-line-numbers");node.innerHTML=elems.join("\\n");parent.insertBefore(node,x)})};window.rustdoc_remove_line_numbers_from_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}let oldSidebarScrollPosition=null;window.rustdocMobileScrollLock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(window.innerWidth<=window.RUSTDOC_MOBILE_BREAKPOINT){oldSidebarScrollPosition=window.scrollY;document.body.style.width=`${document.body.offsetWidth}px`;document.body.style.position="fixed";document.body.style.top=`-${oldSidebarScrollPosition}px`;if(mobile_topbar){mobile_topbar.style.top=`${oldSidebarScrollPosition}px`;mobile_topbar.style.position="relative"}}else{oldSidebarScrollPosition=null}};window.rustdocMobileScrollUnlock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(oldSidebarScrollPosition!==null){document.body.style.width="";document.body.style.position="";document.body.style.top="";if(mobile_topbar){mobile_topbar.style.top="";mobile_topbar.style.position=""}window.scrollTo(0,oldSidebarScrollPosition);oldSidebarScrollPosition=null}};function showSidebar(){window.hideAllModals(false);window.rustdocMobileScrollLock();const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){window.rustdocMobileScrollUnlock();const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.innerWidth>window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}if(window.CURRENT_NOTABLE_ELEMENT){const base=window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE;const force_visible=base.NOTABLE_FORCE_VISIBLE;hideNotable(false);if(force_visible){showNotable(base);base.NOTABLE_FORCE_VISIBLE=true}}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showNotable(e){if(!window.NOTABLE_TRAITS){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showNotable() called on page without any notable traits!")}}if(window.CURRENT_NOTABLE_ELEMENT&&window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE===e){return}window.hideAllModals(false);const ty=e.getAttribute("data-ty");const wrapper=document.createElement("div");wrapper.innerHTML="<div class=\\"docblock\\">"+window.NOTABLE_TRAITS[ty]+"<\/div>";wrapper.className="notable popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideNotable;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_NOTABLE_ELEMENT=wrapper;window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE=e;wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,e)){hideNotable(true)}}}function notableBlurHandler(event){if(window.CURRENT_NOTABLE_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)){setTimeout(()=>hideNotable(false),0)}}function hideNotable(focus){if(window.CURRENT_NOTABLE_ELEMENT){if(window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE){if(focus){window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus()}window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_NOTABLE_ELEMENT);window.CURRENT_NOTABLE_ELEMENT=null}}onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.NOTABLE_FORCE_VISIBLE=this.NOTABLE_FORCE_VISIBLE?false:true;if(window.CURRENT_NOTABLE_ELEMENT&&!this.NOTABLE_FORCE_VISIBLE){hideNotable(true)}else{showNotable(this);window.CURRENT_NOTABLE_ELEMENT.setAttribute("tabindex","0");window.CURRENT_NOTABLE_ELEMENT.focus();window.CURRENT_NOTABLE_ELEMENT.onblur=notableBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}showNotable(this)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)){hideNotable(true)}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \\$/;" f function:function
|
||
loadingText guessing_game/target/doc/static.files/main-c55e1eb52e1886b4.js /^"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.type="text\/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("\/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"))};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="<h3 class=\\"search-loading\\">"+searchState.loadingText+"<\/h3>";searchState.showResults(search)},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(\/^#\/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`<a href="index.html#${id}">${longty}<\/a>`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const item of filtered){const name=item[0];const desc=item[1];let path;if(shortty==="mod"){path=name+"\/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("\/").pop();const link=document.createElement("a");link.href=path;link.title=desc;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"\/index.html";if(window.rootPath!==".\/"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\\n").length;const elems=[];for(let i=0;i<count;++i){elems.push(i+1)}const node=document.createElement("pre");addClass(node,"example-line-numbers");node.innerHTML=elems.join("\\n");parent.insertBefore(node,x)})};window.rustdoc_remove_line_numbers_from_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}let oldSidebarScrollPosition=null;window.rustdocMobileScrollLock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(window.innerWidth<=window.RUSTDOC_MOBILE_BREAKPOINT){oldSidebarScrollPosition=window.scrollY;document.body.style.width=`${document.body.offsetWidth}px`;document.body.style.position="fixed";document.body.style.top=`-${oldSidebarScrollPosition}px`;if(mobile_topbar){mobile_topbar.style.top=`${oldSidebarScrollPosition}px`;mobile_topbar.style.position="relative"}}else{oldSidebarScrollPosition=null}};window.rustdocMobileScrollUnlock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(oldSidebarScrollPosition!==null){document.body.style.width="";document.body.style.position="";document.body.style.top="";if(mobile_topbar){mobile_topbar.style.top="";mobile_topbar.style.position=""}window.scrollTo(0,oldSidebarScrollPosition);oldSidebarScrollPosition=null}};function showSidebar(){window.hideAllModals(false);window.rustdocMobileScrollLock();const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){window.rustdocMobileScrollUnlock();const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.innerWidth>window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}if(window.CURRENT_NOTABLE_ELEMENT){const base=window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE;const force_visible=base.NOTABLE_FORCE_VISIBLE;hideNotable(false);if(force_visible){showNotable(base);base.NOTABLE_FORCE_VISIBLE=true}}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showNotable(e){if(!window.NOTABLE_TRAITS){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showNotable() called on page without any notable traits!")}}if(window.CURRENT_NOTABLE_ELEMENT&&window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE===e){return}window.hideAllModals(false);const ty=e.getAttribute("data-ty");const wrapper=document.createElement("div");wrapper.innerHTML="<div class=\\"docblock\\">"+window.NOTABLE_TRAITS[ty]+"<\/div>";wrapper.className="notable popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideNotable;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_NOTABLE_ELEMENT=wrapper;window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE=e;wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,e)){hideNotable(true)}}}function notableBlurHandler(event){if(window.CURRENT_NOTABLE_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)){setTimeout(()=>hideNotable(false),0)}}function hideNotable(focus){if(window.CURRENT_NOTABLE_ELEMENT){if(window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE){if(focus){window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus()}window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_NOTABLE_ELEMENT);window.CURRENT_NOTABLE_ELEMENT=null}}onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.NOTABLE_FORCE_VISIBLE=this.NOTABLE_FORCE_VISIBLE?false:true;if(window.CURRENT_NOTABLE_ELEMENT&&!this.NOTABLE_FORCE_VISIBLE){hideNotable(true)}else{showNotable(this);window.CURRENT_NOTABLE_ELEMENT.setAttribute("tabindex","0");window.CURRENT_NOTABLE_ELEMENT.focus();window.CURRENT_NOTABLE_ELEMENT.onblur=notableBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}showNotable(this)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)){hideNotable(true)}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \\$/;" p class:window.searchState
|
||
macro guessing_game/target/doc/cfg_if/sidebar-items.js /^window.SIDEBAR_ITEMS = {"macro":[["cfg_if","The main macro provided by this crate. See crate documentation for more information."]]};/;" p class:window.SIDEBAR_ITEMS
|
||
macro guessing_game/target/doc/ppv_lite86/sidebar-items.js /^window.SIDEBAR_ITEMS = {"macro":[["dispatch","Generate the full set of optimized implementations to take advantage of the most important hardware feature sets."],["dispatch_light128","Generate only the basic implementations necessary to be able to operate efficiently on 128-bit vectors on this platfrom. For x86-64, that would mean SSE2 and AVX."],["dispatch_light256","Generate only the basic implementations necessary to be able to operate efficiently on 256-bit vectors on this platfrom. For x86-64, that would mean SSE2, AVX, and AVX2."]],"mod":[["x86_64",""]],"trait":[["AndNot",""],["ArithOps","Ops that depend on word size"],["BSwap",""],["BitOps0","Ops that are independent of word size and endian"],["BitOps128",""],["BitOps32",""],["BitOps64",""],["LaneWords4","A vector composed one or more lanes each composed of four words."],["Machine",""],["MultiLane","A vector composed of multiple 128-bit lanes."],["RotateEachWord128",""],["RotateEachWord32",""],["RotateEachWord64",""],["Store",""],["StoreBytes",""],["Swap64","Exchange neigboring ranges of bits of the specified size"],["UnsafeFrom",""],["VZip","Combine single vectors into a multi-lane vector."],["Vec2","A vector composed of two elements, which may be words or themselves vectors."],["Vec4","A vector composed of four elements, which may be words or themselves vectors."],["Vec4Ext","Vec4 functions which may not be implemented yet for all Vec4 types. NOTE: functions in this trait may be moved to Vec4 in any patch release. To avoid breakage, import Vec4Ext only together with Vec4, and don’t qualify its methods."],["Vector",""],["Words4","A vector composed of four words; depending on their size, operations may cross lanes."],["u128x1",""],["u128x2",""],["u128x4",""],["u32x4",""],["u32x4x2",""],["u32x4x4",""],["u64x2",""],["u64x2x2",""],["u64x2x4",""],["u64x4",""]]};/;" p class:window.SIDEBAR_ITEMS
|
||
makeTabHeader guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f
|
||
mod guessing_game/target/doc/ppv_lite86/sidebar-items.js /^window.SIDEBAR_ITEMS = {"macro":[["dispatch","Generate the full set of optimized implementations to take advantage of the most important hardware feature sets."],["dispatch_light128","Generate only the basic implementations necessary to be able to operate efficiently on 128-bit vectors on this platfrom. For x86-64, that would mean SSE2 and AVX."],["dispatch_light256","Generate only the basic implementations necessary to be able to operate efficiently on 256-bit vectors on this platfrom. For x86-64, that would mean SSE2, AVX, and AVX2."]],"mod":[["x86_64",""]],"trait":[["AndNot",""],["ArithOps","Ops that depend on word size"],["BSwap",""],["BitOps0","Ops that are independent of word size and endian"],["BitOps128",""],["BitOps32",""],["BitOps64",""],["LaneWords4","A vector composed one or more lanes each composed of four words."],["Machine",""],["MultiLane","A vector composed of multiple 128-bit lanes."],["RotateEachWord128",""],["RotateEachWord32",""],["RotateEachWord64",""],["Store",""],["StoreBytes",""],["Swap64","Exchange neigboring ranges of bits of the specified size"],["UnsafeFrom",""],["VZip","Combine single vectors into a multi-lane vector."],["Vec2","A vector composed of two elements, which may be words or themselves vectors."],["Vec4","A vector composed of four elements, which may be words or themselves vectors."],["Vec4Ext","Vec4 functions which may not be implemented yet for all Vec4 types. NOTE: functions in this trait may be moved to Vec4 in any patch release. To avoid breakage, import Vec4Ext only together with Vec4, and don’t qualify its methods."],["Vector",""],["Words4","A vector composed of four words; depending on their size, operations may cross lanes."],["u128x1",""],["u128x2",""],["u128x4",""],["u32x4",""],["u32x4x2",""],["u32x4x4",""],["u64x2",""],["u64x2x2",""],["u64x2x4",""],["u64x4",""]]};/;" p class:window.SIDEBAR_ITEMS
|
||
mod guessing_game/target/doc/rand/distributions/sidebar-items.js /^window.SIDEBAR_ITEMS = {"enum":[["BernoulliError","Error type returned from `Bernoulli::new`."],["WeightedError","Error type returned from `WeightedIndex::new`."]],"mod":[["uniform","A distribution uniformly sampling numbers within a given range."],["weighted","Weighted index sampling"]],"struct":[["Alphanumeric","Sample a `u8`, uniformly distributed over ASCII letters and numbers: a-z, A-Z and 0-9."],["Bernoulli","The Bernoulli distribution."],["DistIter","An iterator that generates random values of `T` with distribution `D`, using `R` as the source of randomness."],["DistMap","A distribution of values of type `S` derived from the distribution `D` by mapping its output of type `T` through the closure `F`."],["Open01","A distribution to sample floating point numbers uniformly in the open interval `(0, 1)`, i.e. not including either endpoint."],["OpenClosed01","A distribution to sample floating point numbers uniformly in the half-open interval `(0, 1]`, i.e. including 1 but not 0."],["Slice","A distribution to sample items uniformly from a slice."],["Standard","A generic random value distribution, implemented for many primitive types. Usually generates values with a numerically uniform distribution, and with a range appropriate to the type."],["Uniform","Sample values uniformly between two bounds."],["WeightedIndex","A distribution using weighted sampling of discrete items"]],"trait":[["DistString","`String` sampler"],["Distribution","Types (distributions) that can be used to create a random instance of `T`."]]};/;" p class:window.SIDEBAR_ITEMS
|
||
mod guessing_game/target/doc/rand/distributions/weighted/sidebar-items.js /^window.SIDEBAR_ITEMS = {"enum":[["WeightedError","Error type returned from `WeightedIndex::new`."]],"mod":[["alias_method",""]],"struct":[["WeightedIndex","A distribution using weighted sampling of discrete items"]]};/;" p class:window.SIDEBAR_ITEMS
|
||
mod guessing_game/target/doc/rand/rngs/sidebar-items.js /^window.SIDEBAR_ITEMS = {"mod":[["adapter","Wrappers \/ adapters forming RNGs"],["mock","Mock random number generator"]],"struct":[["OsRng","A random number generator that retrieves randomness from the operating system."],["StdRng","The standard RNG. The PRNG algorithm in `StdRng` is chosen to be efficient on the current platform, to be statistically strong and unpredictable (meaning a cryptographically secure PRNG)."],["ThreadRng","A reference to the thread-local generator"]]};/;" p class:window.SIDEBAR_ITEMS
|
||
mod guessing_game/target/doc/rand/seq/sidebar-items.js /^window.SIDEBAR_ITEMS = {"mod":[["index","Low-level API for sampling indices"]],"struct":[["SliceChooseIter","An iterator over multiple slice elements."]],"trait":[["IteratorRandom","Extension trait on iterators, providing random sampling methods."],["SliceRandom","Extension trait on slices, providing random mutation and sampling methods."]]};/;" p class:window.SIDEBAR_ITEMS
|
||
mod guessing_game/target/doc/rand/sidebar-items.js /^window.SIDEBAR_ITEMS = {"fn":[["random","Generates a random value using the thread-local random number generator."],["thread_rng","Retrieve the lazily-initialized thread-local random number generator, seeded by the system. Intended to be used in method chaining style, e.g. `thread_rng().gen::<i32>()`, or cached locally, e.g. `let mut rng = thread_rng();`. Invoked by the `Default` trait, making `ThreadRng::default()` equivalent."]],"mod":[["distributions","Generating random samples from probability distributions"],["prelude","Convenience re-export of common members"],["rngs","Random number generators and adapters"],["seq","Sequence-related functionality"]],"struct":[["Error","Error type of random number generators"]],"trait":[["CryptoRng","A marker trait used to indicate that an [`RngCore`] or `BlockRngCore` implementation is supposed to be cryptographically secure."],["Fill","Types which may be filled with random data"],["Rng","An automatically-implemented extension trait on [`RngCore`] providing high-level generic methods for sampling values and other convenience methods."],["RngCore","The core of a random number generator."],["SeedableRng","A random number generator that can be explicitly seeded."]]};/;" p class:window.SIDEBAR_ITEMS
|
||
mod guessing_game/target/doc/rand_core/sidebar-items.js /^window.SIDEBAR_ITEMS = {"mod":[["block","The `BlockRngCore` trait and implementation helpers"],["impls","Helper functions for implementing `RngCore` functions."],["le","Little-Endian utilities"]],"struct":[["Error","Error type of random number generators"],["OsRng","A random number generator that retrieves randomness from the operating system."]],"trait":[["CryptoRng","A marker trait used to indicate that an [`RngCore`] or `BlockRngCore` implementation is supposed to be cryptographically secure."],["CryptoRngCore","An extension trait that is automatically implemented for any type implementing [`RngCore`] and [`CryptoRng`]."],["RngCore","The core of a random number generator."],["SeedableRng","A random number generator that can be explicitly seeded."]]};/;" p class:window.SIDEBAR_ITEMS
|
||
newParsedQuery guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:hasOwnPropertyRustdoc
|
||
nextTab guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f
|
||
onEach guessing_game/target/doc/static.files/storage-d43fa987303ecbbb.js /^"use strict";const darkThemes=["dark","ayu"];window.currentTheme=document.getElementById("themeStyle");window.mainTheme=document.getElementById("mainThemeStyle");window.RUSTDOC_MOBILE_BREAKPOINT=700;const settingsDataset=(function(){const settingsElement=document.getElementById("default-settings");if(settingsElement===null){return null}const dataset=settingsElement.dataset;if(dataset===undefined){return null}return dataset})();function getSettingValue(settingName){const current=getCurrentValue(settingName);if(current!==null){return current}if(settingsDataset!==null){const def=settingsDataset[settingName.replace(\/-\/g,"_")];if(def!==undefined){return def}}return null}const localStoredTheme=getSettingValue("theme");const savedHref=[];function hasClass(elem,className){return elem&&elem.classList&&elem.classList.contains(className)}function addClass(elem,className){if(!elem||!elem.classList){return}elem.classList.add(className)}function removeClass(elem,className){if(!elem||!elem.classList){return}elem.classList.remove(className)}function onEach(arr,func,reversed){if(arr&&arr.length>0&&func){if(reversed){const length=arr.length;for(let i=length-1;i>=0;--i){if(func(arr[i])){return true}}}else{for(const elem of arr){if(func(elem)){return true}}}}return false}function onEachLazy(lazyArray,func,reversed){return onEach(Array.prototype.slice.call(lazyArray),func,reversed)}function updateLocalStorage(name,value){try{window.localStorage.setItem("rustdoc-"+name,value)}catch(e){}}function getCurrentValue(name){try{return window.localStorage.getItem("rustdoc-"+name)}catch(e){return null}}function switchTheme(styleElem,mainStyleElem,newThemeName,saveTheme){if(saveTheme){updateLocalStorage("theme",newThemeName)}if(savedHref.length===0){onEachLazy(document.getElementsByTagName("link"),el=>{savedHref.push(el.href)})}const newHref=savedHref.find(url=>{const m=url.match(\/static\\.files\\\/(.*)-[a-f0-9]{16}\\.css$\/);if(m&&m[1]===newThemeName){return true}const m2=url.match(\/\\\/([^\/]*)\\.css$\/);if(m2&&m2[1].startsWith(newThemeName)){return true}});if(newHref&&newHref!==styleElem.href){styleElem.href=newHref}}function useSystemTheme(value){if(value===undefined){value=true}updateLocalStorage("use-system-theme",value);const toggle=document.getElementById("use-system-theme");if(toggle&&toggle instanceof HTMLInputElement){toggle.checked=value}}const updateSystemTheme=(function(){if(!window.matchMedia){return()=>{const cssTheme=getComputedStyle(document.documentElement).getPropertyValue("content");switchTheme(window.currentTheme,window.mainTheme,JSON.parse(cssTheme)||"light",true)}}const mql=window.matchMedia("(prefers-color-scheme: dark)");function handlePreferenceChange(mql){const use=theme=>{switchTheme(window.currentTheme,window.mainTheme,theme,true)};if(getSettingValue("use-system-theme")!=="false"){const lightTheme=getSettingValue("preferred-light-theme")||"light";const darkTheme=getSettingValue("preferred-dark-theme")||"dark";if(mql.matches){use(darkTheme)}else{use(lightTheme)}}else{use(getSettingValue("theme"))}}mql.addListener(handlePreferenceChange);return()=>{handlePreferenceChange(mql)}})();function switchToSavedTheme(){switchTheme(window.currentTheme,window.mainTheme,getSettingValue("theme")||"light",false)}if(getSettingValue("use-system-theme")!=="false"&&window.matchMedia){if(getSettingValue("use-system-theme")===null&&getSettingValue("preferred-dark-theme")===null&&darkThemes.indexOf(localStoredTheme)>=0){updateLocalStorage("preferred-dark-theme",localStoredTheme)}updateSystemTheme()}else{switchToSavedTheme()}if(getSettingValue("source-sidebar-show")==="true"){addClass(document.documentElement,"source-sidebar-expanded")}window.addEventListener("pageshow",ev=>{if(ev.persisted){setTimeout(switchToSavedTheme,0)}})/;" f
|
||
onEachLazy guessing_game/target/doc/static.files/storage-d43fa987303ecbbb.js /^"use strict";const darkThemes=["dark","ayu"];window.currentTheme=document.getElementById("themeStyle");window.mainTheme=document.getElementById("mainThemeStyle");window.RUSTDOC_MOBILE_BREAKPOINT=700;const settingsDataset=(function(){const settingsElement=document.getElementById("default-settings");if(settingsElement===null){return null}const dataset=settingsElement.dataset;if(dataset===undefined){return null}return dataset})();function getSettingValue(settingName){const current=getCurrentValue(settingName);if(current!==null){return current}if(settingsDataset!==null){const def=settingsDataset[settingName.replace(\/-\/g,"_")];if(def!==undefined){return def}}return null}const localStoredTheme=getSettingValue("theme");const savedHref=[];function hasClass(elem,className){return elem&&elem.classList&&elem.classList.contains(className)}function addClass(elem,className){if(!elem||!elem.classList){return}elem.classList.add(className)}function removeClass(elem,className){if(!elem||!elem.classList){return}elem.classList.remove(className)}function onEach(arr,func,reversed){if(arr&&arr.length>0&&func){if(reversed){const length=arr.length;for(let i=length-1;i>=0;--i){if(func(arr[i])){return true}}}else{for(const elem of arr){if(func(elem)){return true}}}}return false}function onEachLazy(lazyArray,func,reversed){return onEach(Array.prototype.slice.call(lazyArray),func,reversed)}function updateLocalStorage(name,value){try{window.localStorage.setItem("rustdoc-"+name,value)}catch(e){}}function getCurrentValue(name){try{return window.localStorage.getItem("rustdoc-"+name)}catch(e){return null}}function switchTheme(styleElem,mainStyleElem,newThemeName,saveTheme){if(saveTheme){updateLocalStorage("theme",newThemeName)}if(savedHref.length===0){onEachLazy(document.getElementsByTagName("link"),el=>{savedHref.push(el.href)})}const newHref=savedHref.find(url=>{const m=url.match(\/static\\.files\\\/(.*)-[a-f0-9]{16}\\.css$\/);if(m&&m[1]===newThemeName){return true}const m2=url.match(\/\\\/([^\/]*)\\.css$\/);if(m2&&m2[1].startsWith(newThemeName)){return true}});if(newHref&&newHref!==styleElem.href){styleElem.href=newHref}}function useSystemTheme(value){if(value===undefined){value=true}updateLocalStorage("use-system-theme",value);const toggle=document.getElementById("use-system-theme");if(toggle&&toggle instanceof HTMLInputElement){toggle.checked=value}}const updateSystemTheme=(function(){if(!window.matchMedia){return()=>{const cssTheme=getComputedStyle(document.documentElement).getPropertyValue("content");switchTheme(window.currentTheme,window.mainTheme,JSON.parse(cssTheme)||"light",true)}}const mql=window.matchMedia("(prefers-color-scheme: dark)");function handlePreferenceChange(mql){const use=theme=>{switchTheme(window.currentTheme,window.mainTheme,theme,true)};if(getSettingValue("use-system-theme")!=="false"){const lightTheme=getSettingValue("preferred-light-theme")||"light";const darkTheme=getSettingValue("preferred-dark-theme")||"dark";if(mql.matches){use(darkTheme)}else{use(lightTheme)}}else{use(getSettingValue("theme"))}}mql.addListener(handlePreferenceChange);return()=>{handlePreferenceChange(mql)}})();function switchToSavedTheme(){switchTheme(window.currentTheme,window.mainTheme,getSettingValue("theme")||"light",false)}if(getSettingValue("use-system-theme")!=="false"&&window.matchMedia){if(getSettingValue("use-system-theme")===null&&getSettingValue("preferred-dark-theme")===null&&darkThemes.indexOf(localStoredTheme)>=0){updateLocalStorage("preferred-dark-theme",localStoredTheme)}updateSystemTheme()}else{switchToSavedTheme()}if(getSettingValue("source-sidebar-show")==="true"){addClass(document.documentElement,"source-sidebar-expanded")}window.addEventListener("pageshow",ev=>{if(ev.persisted){setTimeout(switchToSavedTheme,0)}})/;" f
|
||
onHashChange guessing_game/target/doc/static.files/main-c55e1eb52e1886b4.js /^"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.type="text\/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("\/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"))};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="<h3 class=\\"search-loading\\">"+searchState.loadingText+"<\/h3>";searchState.showResults(search)},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(\/^#\/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`<a href="index.html#${id}">${longty}<\/a>`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const item of filtered){const name=item[0];const desc=item[1];let path;if(shortty==="mod"){path=name+"\/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("\/").pop();const link=document.createElement("a");link.href=path;link.title=desc;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"\/index.html";if(window.rootPath!==".\/"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\\n").length;const elems=[];for(let i=0;i<count;++i){elems.push(i+1)}const node=document.createElement("pre");addClass(node,"example-line-numbers");node.innerHTML=elems.join("\\n");parent.insertBefore(node,x)})};window.rustdoc_remove_line_numbers_from_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}let oldSidebarScrollPosition=null;window.rustdocMobileScrollLock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(window.innerWidth<=window.RUSTDOC_MOBILE_BREAKPOINT){oldSidebarScrollPosition=window.scrollY;document.body.style.width=`${document.body.offsetWidth}px`;document.body.style.position="fixed";document.body.style.top=`-${oldSidebarScrollPosition}px`;if(mobile_topbar){mobile_topbar.style.top=`${oldSidebarScrollPosition}px`;mobile_topbar.style.position="relative"}}else{oldSidebarScrollPosition=null}};window.rustdocMobileScrollUnlock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(oldSidebarScrollPosition!==null){document.body.style.width="";document.body.style.position="";document.body.style.top="";if(mobile_topbar){mobile_topbar.style.top="";mobile_topbar.style.position=""}window.scrollTo(0,oldSidebarScrollPosition);oldSidebarScrollPosition=null}};function showSidebar(){window.hideAllModals(false);window.rustdocMobileScrollLock();const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){window.rustdocMobileScrollUnlock();const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.innerWidth>window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}if(window.CURRENT_NOTABLE_ELEMENT){const base=window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE;const force_visible=base.NOTABLE_FORCE_VISIBLE;hideNotable(false);if(force_visible){showNotable(base);base.NOTABLE_FORCE_VISIBLE=true}}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showNotable(e){if(!window.NOTABLE_TRAITS){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showNotable() called on page without any notable traits!")}}if(window.CURRENT_NOTABLE_ELEMENT&&window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE===e){return}window.hideAllModals(false);const ty=e.getAttribute("data-ty");const wrapper=document.createElement("div");wrapper.innerHTML="<div class=\\"docblock\\">"+window.NOTABLE_TRAITS[ty]+"<\/div>";wrapper.className="notable popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideNotable;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_NOTABLE_ELEMENT=wrapper;window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE=e;wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,e)){hideNotable(true)}}}function notableBlurHandler(event){if(window.CURRENT_NOTABLE_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)){setTimeout(()=>hideNotable(false),0)}}function hideNotable(focus){if(window.CURRENT_NOTABLE_ELEMENT){if(window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE){if(focus){window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus()}window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_NOTABLE_ELEMENT);window.CURRENT_NOTABLE_ELEMENT=null}}onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.NOTABLE_FORCE_VISIBLE=this.NOTABLE_FORCE_VISIBLE?false:true;if(window.CURRENT_NOTABLE_ELEMENT&&!this.NOTABLE_FORCE_VISIBLE){hideNotable(true)}else{showNotable(this);window.CURRENT_NOTABLE_ELEMENT.setAttribute("tabindex","0");window.CURRENT_NOTABLE_ELEMENT.focus();window.CURRENT_NOTABLE_ELEMENT.onblur=notableBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}showNotable(this)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)){hideNotable(true)}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \\$/;" f
|
||
openParentDetails guessing_game/target/doc/static.files/main-c55e1eb52e1886b4.js /^"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.type="text\/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("\/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"))};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="<h3 class=\\"search-loading\\">"+searchState.loadingText+"<\/h3>";searchState.showResults(search)},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(\/^#\/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`<a href="index.html#${id}">${longty}<\/a>`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const item of filtered){const name=item[0];const desc=item[1];let path;if(shortty==="mod"){path=name+"\/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("\/").pop();const link=document.createElement("a");link.href=path;link.title=desc;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"\/index.html";if(window.rootPath!==".\/"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\\n").length;const elems=[];for(let i=0;i<count;++i){elems.push(i+1)}const node=document.createElement("pre");addClass(node,"example-line-numbers");node.innerHTML=elems.join("\\n");parent.insertBefore(node,x)})};window.rustdoc_remove_line_numbers_from_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}let oldSidebarScrollPosition=null;window.rustdocMobileScrollLock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(window.innerWidth<=window.RUSTDOC_MOBILE_BREAKPOINT){oldSidebarScrollPosition=window.scrollY;document.body.style.width=`${document.body.offsetWidth}px`;document.body.style.position="fixed";document.body.style.top=`-${oldSidebarScrollPosition}px`;if(mobile_topbar){mobile_topbar.style.top=`${oldSidebarScrollPosition}px`;mobile_topbar.style.position="relative"}}else{oldSidebarScrollPosition=null}};window.rustdocMobileScrollUnlock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(oldSidebarScrollPosition!==null){document.body.style.width="";document.body.style.position="";document.body.style.top="";if(mobile_topbar){mobile_topbar.style.top="";mobile_topbar.style.position=""}window.scrollTo(0,oldSidebarScrollPosition);oldSidebarScrollPosition=null}};function showSidebar(){window.hideAllModals(false);window.rustdocMobileScrollLock();const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){window.rustdocMobileScrollUnlock();const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.innerWidth>window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}if(window.CURRENT_NOTABLE_ELEMENT){const base=window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE;const force_visible=base.NOTABLE_FORCE_VISIBLE;hideNotable(false);if(force_visible){showNotable(base);base.NOTABLE_FORCE_VISIBLE=true}}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showNotable(e){if(!window.NOTABLE_TRAITS){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showNotable() called on page without any notable traits!")}}if(window.CURRENT_NOTABLE_ELEMENT&&window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE===e){return}window.hideAllModals(false);const ty=e.getAttribute("data-ty");const wrapper=document.createElement("div");wrapper.innerHTML="<div class=\\"docblock\\">"+window.NOTABLE_TRAITS[ty]+"<\/div>";wrapper.className="notable popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideNotable;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_NOTABLE_ELEMENT=wrapper;window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE=e;wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,e)){hideNotable(true)}}}function notableBlurHandler(event){if(window.CURRENT_NOTABLE_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)){setTimeout(()=>hideNotable(false),0)}}function hideNotable(focus){if(window.CURRENT_NOTABLE_ELEMENT){if(window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE){if(focus){window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus()}window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_NOTABLE_ELEMENT);window.CURRENT_NOTABLE_ELEMENT=null}}onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.NOTABLE_FORCE_VISIBLE=this.NOTABLE_FORCE_VISIBLE?false:true;if(window.CURRENT_NOTABLE_ELEMENT&&!this.NOTABLE_FORCE_VISIBLE){hideNotable(true)}else{showNotable(this);window.CURRENT_NOTABLE_ELEMENT.setAttribute("tabindex","0");window.CURRENT_NOTABLE_ELEMENT.focus();window.CURRENT_NOTABLE_ELEMENT.onblur=notableBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}showNotable(this)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)){hideNotable(true)}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \\$/;" f
|
||
outputElement guessing_game/target/doc/static.files/main-c55e1eb52e1886b4.js /^"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.type="text\/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("\/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"))};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="<h3 class=\\"search-loading\\">"+searchState.loadingText+"<\/h3>";searchState.showResults(search)},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(\/^#\/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`<a href="index.html#${id}">${longty}<\/a>`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const item of filtered){const name=item[0];const desc=item[1];let path;if(shortty==="mod"){path=name+"\/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("\/").pop();const link=document.createElement("a");link.href=path;link.title=desc;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"\/index.html";if(window.rootPath!==".\/"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\\n").length;const elems=[];for(let i=0;i<count;++i){elems.push(i+1)}const node=document.createElement("pre");addClass(node,"example-line-numbers");node.innerHTML=elems.join("\\n");parent.insertBefore(node,x)})};window.rustdoc_remove_line_numbers_from_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}let oldSidebarScrollPosition=null;window.rustdocMobileScrollLock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(window.innerWidth<=window.RUSTDOC_MOBILE_BREAKPOINT){oldSidebarScrollPosition=window.scrollY;document.body.style.width=`${document.body.offsetWidth}px`;document.body.style.position="fixed";document.body.style.top=`-${oldSidebarScrollPosition}px`;if(mobile_topbar){mobile_topbar.style.top=`${oldSidebarScrollPosition}px`;mobile_topbar.style.position="relative"}}else{oldSidebarScrollPosition=null}};window.rustdocMobileScrollUnlock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(oldSidebarScrollPosition!==null){document.body.style.width="";document.body.style.position="";document.body.style.top="";if(mobile_topbar){mobile_topbar.style.top="";mobile_topbar.style.position=""}window.scrollTo(0,oldSidebarScrollPosition);oldSidebarScrollPosition=null}};function showSidebar(){window.hideAllModals(false);window.rustdocMobileScrollLock();const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){window.rustdocMobileScrollUnlock();const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.innerWidth>window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}if(window.CURRENT_NOTABLE_ELEMENT){const base=window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE;const force_visible=base.NOTABLE_FORCE_VISIBLE;hideNotable(false);if(force_visible){showNotable(base);base.NOTABLE_FORCE_VISIBLE=true}}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showNotable(e){if(!window.NOTABLE_TRAITS){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showNotable() called on page without any notable traits!")}}if(window.CURRENT_NOTABLE_ELEMENT&&window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE===e){return}window.hideAllModals(false);const ty=e.getAttribute("data-ty");const wrapper=document.createElement("div");wrapper.innerHTML="<div class=\\"docblock\\">"+window.NOTABLE_TRAITS[ty]+"<\/div>";wrapper.className="notable popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideNotable;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_NOTABLE_ELEMENT=wrapper;window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE=e;wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,e)){hideNotable(true)}}}function notableBlurHandler(event){if(window.CURRENT_NOTABLE_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)){setTimeout(()=>hideNotable(false),0)}}function hideNotable(focus){if(window.CURRENT_NOTABLE_ELEMENT){if(window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE){if(focus){window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus()}window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_NOTABLE_ELEMENT);window.CURRENT_NOTABLE_ELEMENT=null}}onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.NOTABLE_FORCE_VISIBLE=this.NOTABLE_FORCE_VISIBLE?false:true;if(window.CURRENT_NOTABLE_ELEMENT&&!this.NOTABLE_FORCE_VISIBLE){hideNotable(true)}else{showNotable(this);window.CURRENT_NOTABLE_ELEMENT.setAttribute("tabindex","0");window.CURRENT_NOTABLE_ELEMENT.focus();window.CURRENT_NOTABLE_ELEMENT.onblur=notableBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}showNotable(this)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)){hideNotable(true)}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \\$/;" p class:window.searchState
|
||
parseInput guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:hasOwnPropertyRustdoc
|
||
parseQuery guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f
|
||
pathSplitter guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f
|
||
pos guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" p class:const
|
||
ppv_lite86 guessing_game/target/doc/implementors/core/clone/trait.Clone.js /^"ppv_lite86":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesS3.html\\" title=\\"struct ppv_lite86::x86_64::YesS3\\">YesS3<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoS3.html\\" title=\\"struct ppv_lite86::x86_64::NoS3\\">NoS3<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesS4.html\\" title=\\"struct ppv_lite86::x86_64::YesS4\\">YesS4<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoS4.html\\" title=\\"struct ppv_lite86::x86_64::NoS4\\">NoS4<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesA1.html\\" title=\\"struct ppv_lite86::x86_64::YesA1\\">YesA1<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoA1.html\\" title=\\"struct ppv_lite86::x86_64::NoA1\\">NoA1<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesA2.html\\" title=\\"struct ppv_lite86::x86_64::YesA2\\">YesA2<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoA2.html\\" title=\\"struct ppv_lite86::x86_64::NoA2\\">NoA2<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesNI.html\\" title=\\"struct ppv_lite86::x86_64::YesNI\\">YesNI<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoNI.html\\" title=\\"struct ppv_lite86::x86_64::NoNI\\">NoNI<\/a>"],["impl<S3: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a>, S4: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a>, NI: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.SseMachine.html\\" title=\\"struct ppv_lite86::x86_64::SseMachine\\">SseMachine<\/a><S3, S4, NI>"],["impl<NI: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.Avx2Machine.html\\" title=\\"struct ppv_lite86::x86_64::Avx2Machine\\">Avx2Machine<\/a><NI>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec128_storage.html\\" title=\\"union ppv_lite86::x86_64::vec128_storage\\">vec128_storage<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec256_storage.html\\" title=\\"union ppv_lite86::x86_64::vec256_storage\\">vec256_storage<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec512_storage.html\\" title=\\"union ppv_lite86::x86_64::vec512_storage\\">vec512_storage<\/a>"]],$/;" p
|
||
ppv_lite86 guessing_game/target/doc/implementors/core/cmp/trait.Eq.js /^"ppv_lite86":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.Eq.html\\" title=\\"trait core::cmp::Eq\\">Eq<\/a> for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec128_storage.html\\" title=\\"union ppv_lite86::x86_64::vec128_storage\\">vec128_storage<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.Eq.html\\" title=\\"trait core::cmp::Eq\\">Eq<\/a> for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec256_storage.html\\" title=\\"union ppv_lite86::x86_64::vec256_storage\\">vec256_storage<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.Eq.html\\" title=\\"trait core::cmp::Eq\\">Eq<\/a> for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec512_storage.html\\" title=\\"union ppv_lite86::x86_64::vec512_storage\\">vec512_storage<\/a>"]],$/;" p
|
||
ppv_lite86 guessing_game/target/doc/implementors/core/cmp/trait.PartialEq.js /^"ppv_lite86":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.PartialEq.html\\" title=\\"trait core::cmp::PartialEq\\">PartialEq<\/a><<a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec128_storage.html\\" title=\\"union ppv_lite86::x86_64::vec128_storage\\">vec128_storage<\/a>> for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec128_storage.html\\" title=\\"union ppv_lite86::x86_64::vec128_storage\\">vec128_storage<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.PartialEq.html\\" title=\\"trait core::cmp::PartialEq\\">PartialEq<\/a><<a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec256_storage.html\\" title=\\"union ppv_lite86::x86_64::vec256_storage\\">vec256_storage<\/a>> for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec256_storage.html\\" title=\\"union ppv_lite86::x86_64::vec256_storage\\">vec256_storage<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.PartialEq.html\\" title=\\"trait core::cmp::PartialEq\\">PartialEq<\/a><<a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec512_storage.html\\" title=\\"union ppv_lite86::x86_64::vec512_storage\\">vec512_storage<\/a>> for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec512_storage.html\\" title=\\"union ppv_lite86::x86_64::vec512_storage\\">vec512_storage<\/a>"]],$/;" p
|
||
ppv_lite86 guessing_game/target/doc/implementors/core/convert/trait.From.js /^"ppv_lite86":[["impl<'a> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/convert\/trait.From.html\\" title=\\"trait core::convert::From\\">From<\/a><&'a <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec128_storage.html\\" title=\\"union ppv_lite86::x86_64::vec128_storage\\">vec128_storage<\/a>> for &'a [<a class=\\"primitive\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/primitive.u32.html\\">u32<\/a>; <a class=\\"primitive\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/primitive.array.html\\">4<\/a>]"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/convert\/trait.From.html\\" title=\\"trait core::convert::From\\">From<\/a><[<a class=\\"primitive\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/primitive.u32.html\\">u32<\/a>; <a class=\\"primitive\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/primitive.array.html\\">4<\/a>]> for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec128_storage.html\\" title=\\"union ppv_lite86::x86_64::vec128_storage\\">vec128_storage<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/convert\/trait.From.html\\" title=\\"trait core::convert::From\\">From<\/a><[<a class=\\"primitive\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/primitive.u64.html\\">u64<\/a>; <a class=\\"primitive\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/primitive.array.html\\">4<\/a>]> for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec256_storage.html\\" title=\\"union ppv_lite86::x86_64::vec256_storage\\">vec256_storage<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/convert\/trait.From.html\\" title=\\"trait core::convert::From\\">From<\/a><<a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec128_storage.html\\" title=\\"union ppv_lite86::x86_64::vec128_storage\\">vec128_storage<\/a>> for [<a class=\\"primitive\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/primitive.u32.html\\">u32<\/a>; <a class=\\"primitive\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/primitive.array.html\\">4<\/a>]"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/convert\/trait.From.html\\" title=\\"trait core::convert::From\\">From<\/a><<a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec128_storage.html\\" title=\\"union ppv_lite86::x86_64::vec128_storage\\">vec128_storage<\/a>> for [<a class=\\"primitive\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/primitive.u64.html\\">u64<\/a>; <a class=\\"primitive\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/primitive.array.html\\">2<\/a>]"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/convert\/trait.From.html\\" title=\\"trait core::convert::From\\">From<\/a><<a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec128_storage.html\\" title=\\"union ppv_lite86::x86_64::vec128_storage\\">vec128_storage<\/a>> for [<a class=\\"primitive\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/primitive.u128.html\\">u128<\/a>; <a class=\\"primitive\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/primitive.array.html\\">1<\/a>]"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/convert\/trait.From.html\\" title=\\"trait core::convert::From\\">From<\/a><<a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec256_storage.html\\" title=\\"union ppv_lite86::x86_64::vec256_storage\\">vec256_storage<\/a>> for [<a class=\\"primitive\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/primitive.u32.html\\">u32<\/a>; <a class=\\"primitive\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/primitive.array.html\\">8<\/a>]"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/convert\/trait.From.html\\" title=\\"trait core::convert::From\\">From<\/a><<a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec256_storage.html\\" title=\\"union ppv_lite86::x86_64::vec256_storage\\">vec256_storage<\/a>> for [<a class=\\"primitive\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/primitive.u64.html\\">u64<\/a>; <a class=\\"primitive\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/primitive.array.html\\">4<\/a>]"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/convert\/trait.From.html\\" title=\\"trait core::convert::From\\">From<\/a><<a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec256_storage.html\\" title=\\"union ppv_lite86::x86_64::vec256_storage\\">vec256_storage<\/a>> for [<a class=\\"primitive\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/primitive.u128.html\\">u128<\/a>; <a class=\\"primitive\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/primitive.array.html\\">2<\/a>]"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/convert\/trait.From.html\\" title=\\"trait core::convert::From\\">From<\/a><<a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec512_storage.html\\" title=\\"union ppv_lite86::x86_64::vec512_storage\\">vec512_storage<\/a>> for [<a class=\\"primitive\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/primitive.u32.html\\">u32<\/a>; <a class=\\"primitive\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/primitive.array.html\\">16<\/a>]"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/convert\/trait.From.html\\" title=\\"trait core::convert::From\\">From<\/a><<a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec512_storage.html\\" title=\\"union ppv_lite86::x86_64::vec512_storage\\">vec512_storage<\/a>> for [<a class=\\"primitive\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/primitive.u64.html\\">u64<\/a>; <a class=\\"primitive\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/primitive.array.html\\">8<\/a>]"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/convert\/trait.From.html\\" title=\\"trait core::convert::From\\">From<\/a><<a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec512_storage.html\\" title=\\"union ppv_lite86::x86_64::vec512_storage\\">vec512_storage<\/a>> for [<a class=\\"primitive\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/primitive.u128.html\\">u128<\/a>; <a class=\\"primitive\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/primitive.array.html\\">4<\/a>]"]],$/;" p
|
||
ppv_lite86 guessing_game/target/doc/implementors/core/default/trait.Default.js /^"ppv_lite86":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/default\/trait.Default.html\\" title=\\"trait core::default::Default\\">Default<\/a> for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec128_storage.html\\" title=\\"union ppv_lite86::x86_64::vec128_storage\\">vec128_storage<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/default\/trait.Default.html\\" title=\\"trait core::default::Default\\">Default<\/a> for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec256_storage.html\\" title=\\"union ppv_lite86::x86_64::vec256_storage\\">vec256_storage<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/default\/trait.Default.html\\" title=\\"trait core::default::Default\\">Default<\/a> for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec512_storage.html\\" title=\\"union ppv_lite86::x86_64::vec512_storage\\">vec512_storage<\/a>"]],$/;" p
|
||
ppv_lite86 guessing_game/target/doc/implementors/core/marker/trait.Copy.js /^"ppv_lite86":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesS3.html\\" title=\\"struct ppv_lite86::x86_64::YesS3\\">YesS3<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoS3.html\\" title=\\"struct ppv_lite86::x86_64::NoS3\\">NoS3<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesS4.html\\" title=\\"struct ppv_lite86::x86_64::YesS4\\">YesS4<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoS4.html\\" title=\\"struct ppv_lite86::x86_64::NoS4\\">NoS4<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesA1.html\\" title=\\"struct ppv_lite86::x86_64::YesA1\\">YesA1<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoA1.html\\" title=\\"struct ppv_lite86::x86_64::NoA1\\">NoA1<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesA2.html\\" title=\\"struct ppv_lite86::x86_64::YesA2\\">YesA2<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoA2.html\\" title=\\"struct ppv_lite86::x86_64::NoA2\\">NoA2<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesNI.html\\" title=\\"struct ppv_lite86::x86_64::YesNI\\">YesNI<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoNI.html\\" title=\\"struct ppv_lite86::x86_64::NoNI\\">NoNI<\/a>"],["impl<S3: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a>, S4: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a>, NI: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.SseMachine.html\\" title=\\"struct ppv_lite86::x86_64::SseMachine\\">SseMachine<\/a><S3, S4, NI>"],["impl<NI: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.Avx2Machine.html\\" title=\\"struct ppv_lite86::x86_64::Avx2Machine\\">Avx2Machine<\/a><NI>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec128_storage.html\\" title=\\"union ppv_lite86::x86_64::vec128_storage\\">vec128_storage<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec256_storage.html\\" title=\\"union ppv_lite86::x86_64::vec256_storage\\">vec256_storage<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec512_storage.html\\" title=\\"union ppv_lite86::x86_64::vec512_storage\\">vec512_storage<\/a>"]],$/;" p
|
||
ppv_lite86 guessing_game/target/doc/implementors/core/marker/trait.Freeze.js /^"ppv_lite86":[["impl Freeze for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesS3.html\\" title=\\"struct ppv_lite86::x86_64::YesS3\\">YesS3<\/a>",1,["ppv_lite86::x86_64::YesS3"]],["impl Freeze for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoS3.html\\" title=\\"struct ppv_lite86::x86_64::NoS3\\">NoS3<\/a>",1,["ppv_lite86::x86_64::NoS3"]],["impl Freeze for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesS4.html\\" title=\\"struct ppv_lite86::x86_64::YesS4\\">YesS4<\/a>",1,["ppv_lite86::x86_64::YesS4"]],["impl Freeze for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoS4.html\\" title=\\"struct ppv_lite86::x86_64::NoS4\\">NoS4<\/a>",1,["ppv_lite86::x86_64::NoS4"]],["impl Freeze for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesA1.html\\" title=\\"struct ppv_lite86::x86_64::YesA1\\">YesA1<\/a>",1,["ppv_lite86::x86_64::YesA1"]],["impl Freeze for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoA1.html\\" title=\\"struct ppv_lite86::x86_64::NoA1\\">NoA1<\/a>",1,["ppv_lite86::x86_64::NoA1"]],["impl Freeze for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesA2.html\\" title=\\"struct ppv_lite86::x86_64::YesA2\\">YesA2<\/a>",1,["ppv_lite86::x86_64::YesA2"]],["impl Freeze for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoA2.html\\" title=\\"struct ppv_lite86::x86_64::NoA2\\">NoA2<\/a>",1,["ppv_lite86::x86_64::NoA2"]],["impl Freeze for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesNI.html\\" title=\\"struct ppv_lite86::x86_64::YesNI\\">YesNI<\/a>",1,["ppv_lite86::x86_64::YesNI"]],["impl Freeze for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoNI.html\\" title=\\"struct ppv_lite86::x86_64::NoNI\\">NoNI<\/a>",1,["ppv_lite86::x86_64::NoNI"]],["impl<S3, S4, NI> Freeze for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.SseMachine.html\\" title=\\"struct ppv_lite86::x86_64::SseMachine\\">SseMachine<\/a><S3, S4, NI>",1,["ppv_lite86::x86_64::SseMachine"]],["impl<NI> Freeze for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.Avx2Machine.html\\" title=\\"struct ppv_lite86::x86_64::Avx2Machine\\">Avx2Machine<\/a><NI>",1,["ppv_lite86::x86_64::Avx2Machine"]],["impl Freeze for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec128_storage.html\\" title=\\"union ppv_lite86::x86_64::vec128_storage\\">vec128_storage<\/a>",1,["ppv_lite86::x86_64::vec128_storage"]],["impl Freeze for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec256_storage.html\\" title=\\"union ppv_lite86::x86_64::vec256_storage\\">vec256_storage<\/a>",1,["ppv_lite86::x86_64::vec256_storage"]],["impl Freeze for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec512_storage.html\\" title=\\"union ppv_lite86::x86_64::vec512_storage\\">vec512_storage<\/a>",1,["ppv_lite86::x86_64::vec512_storage"]]],$/;" p
|
||
ppv_lite86 guessing_game/target/doc/implementors/core/marker/trait.Send.js /^"ppv_lite86":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesS3.html\\" title=\\"struct ppv_lite86::x86_64::YesS3\\">YesS3<\/a>",1,["ppv_lite86::x86_64::YesS3"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoS3.html\\" title=\\"struct ppv_lite86::x86_64::NoS3\\">NoS3<\/a>",1,["ppv_lite86::x86_64::NoS3"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesS4.html\\" title=\\"struct ppv_lite86::x86_64::YesS4\\">YesS4<\/a>",1,["ppv_lite86::x86_64::YesS4"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoS4.html\\" title=\\"struct ppv_lite86::x86_64::NoS4\\">NoS4<\/a>",1,["ppv_lite86::x86_64::NoS4"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesA1.html\\" title=\\"struct ppv_lite86::x86_64::YesA1\\">YesA1<\/a>",1,["ppv_lite86::x86_64::YesA1"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoA1.html\\" title=\\"struct ppv_lite86::x86_64::NoA1\\">NoA1<\/a>",1,["ppv_lite86::x86_64::NoA1"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesA2.html\\" title=\\"struct ppv_lite86::x86_64::YesA2\\">YesA2<\/a>",1,["ppv_lite86::x86_64::YesA2"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoA2.html\\" title=\\"struct ppv_lite86::x86_64::NoA2\\">NoA2<\/a>",1,["ppv_lite86::x86_64::NoA2"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesNI.html\\" title=\\"struct ppv_lite86::x86_64::YesNI\\">YesNI<\/a>",1,["ppv_lite86::x86_64::YesNI"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoNI.html\\" title=\\"struct ppv_lite86::x86_64::NoNI\\">NoNI<\/a>",1,["ppv_lite86::x86_64::NoNI"]],["impl<S3, S4, NI> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.SseMachine.html\\" title=\\"struct ppv_lite86::x86_64::SseMachine\\">SseMachine<\/a><S3, S4, NI><span class=\\"where fmt-newline\\">where<br> NI: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a>,<br> S3: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a>,<br> S4: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a>,<\/span>",1,["ppv_lite86::x86_64::SseMachine"]],["impl<NI> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.Avx2Machine.html\\" title=\\"struct ppv_lite86::x86_64::Avx2Machine\\">Avx2Machine<\/a><NI><span class=\\"where fmt-newline\\">where<br> NI: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a>,<\/span>",1,["ppv_lite86::x86_64::Avx2Machine"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec128_storage.html\\" title=\\"union ppv_lite86::x86_64::vec128_storage\\">vec128_storage<\/a>",1,["ppv_lite86::x86_64::vec128_storage"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec256_storage.html\\" title=\\"union ppv_lite86::x86_64::vec256_storage\\">vec256_storage<\/a>",1,["ppv_lite86::x86_64::vec256_storage"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec512_storage.html\\" title=\\"union ppv_lite86::x86_64::vec512_storage\\">vec512_storage<\/a>",1,["ppv_lite86::x86_64::vec512_storage"]]],$/;" p
|
||
ppv_lite86 guessing_game/target/doc/implementors/core/marker/trait.Sync.js /^"ppv_lite86":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesS3.html\\" title=\\"struct ppv_lite86::x86_64::YesS3\\">YesS3<\/a>",1,["ppv_lite86::x86_64::YesS3"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoS3.html\\" title=\\"struct ppv_lite86::x86_64::NoS3\\">NoS3<\/a>",1,["ppv_lite86::x86_64::NoS3"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesS4.html\\" title=\\"struct ppv_lite86::x86_64::YesS4\\">YesS4<\/a>",1,["ppv_lite86::x86_64::YesS4"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoS4.html\\" title=\\"struct ppv_lite86::x86_64::NoS4\\">NoS4<\/a>",1,["ppv_lite86::x86_64::NoS4"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesA1.html\\" title=\\"struct ppv_lite86::x86_64::YesA1\\">YesA1<\/a>",1,["ppv_lite86::x86_64::YesA1"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoA1.html\\" title=\\"struct ppv_lite86::x86_64::NoA1\\">NoA1<\/a>",1,["ppv_lite86::x86_64::NoA1"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesA2.html\\" title=\\"struct ppv_lite86::x86_64::YesA2\\">YesA2<\/a>",1,["ppv_lite86::x86_64::YesA2"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoA2.html\\" title=\\"struct ppv_lite86::x86_64::NoA2\\">NoA2<\/a>",1,["ppv_lite86::x86_64::NoA2"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesNI.html\\" title=\\"struct ppv_lite86::x86_64::YesNI\\">YesNI<\/a>",1,["ppv_lite86::x86_64::YesNI"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoNI.html\\" title=\\"struct ppv_lite86::x86_64::NoNI\\">NoNI<\/a>",1,["ppv_lite86::x86_64::NoNI"]],["impl<S3, S4, NI> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.SseMachine.html\\" title=\\"struct ppv_lite86::x86_64::SseMachine\\">SseMachine<\/a><S3, S4, NI><span class=\\"where fmt-newline\\">where<br> NI: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a>,<br> S3: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a>,<br> S4: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a>,<\/span>",1,["ppv_lite86::x86_64::SseMachine"]],["impl<NI> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.Avx2Machine.html\\" title=\\"struct ppv_lite86::x86_64::Avx2Machine\\">Avx2Machine<\/a><NI><span class=\\"where fmt-newline\\">where<br> NI: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a>,<\/span>",1,["ppv_lite86::x86_64::Avx2Machine"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec128_storage.html\\" title=\\"union ppv_lite86::x86_64::vec128_storage\\">vec128_storage<\/a>",1,["ppv_lite86::x86_64::vec128_storage"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec256_storage.html\\" title=\\"union ppv_lite86::x86_64::vec256_storage\\">vec256_storage<\/a>",1,["ppv_lite86::x86_64::vec256_storage"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec512_storage.html\\" title=\\"union ppv_lite86::x86_64::vec512_storage\\">vec512_storage<\/a>",1,["ppv_lite86::x86_64::vec512_storage"]]],$/;" p
|
||
ppv_lite86 guessing_game/target/doc/implementors/core/marker/trait.Unpin.js /^"ppv_lite86":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesS3.html\\" title=\\"struct ppv_lite86::x86_64::YesS3\\">YesS3<\/a>",1,["ppv_lite86::x86_64::YesS3"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoS3.html\\" title=\\"struct ppv_lite86::x86_64::NoS3\\">NoS3<\/a>",1,["ppv_lite86::x86_64::NoS3"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesS4.html\\" title=\\"struct ppv_lite86::x86_64::YesS4\\">YesS4<\/a>",1,["ppv_lite86::x86_64::YesS4"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoS4.html\\" title=\\"struct ppv_lite86::x86_64::NoS4\\">NoS4<\/a>",1,["ppv_lite86::x86_64::NoS4"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesA1.html\\" title=\\"struct ppv_lite86::x86_64::YesA1\\">YesA1<\/a>",1,["ppv_lite86::x86_64::YesA1"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoA1.html\\" title=\\"struct ppv_lite86::x86_64::NoA1\\">NoA1<\/a>",1,["ppv_lite86::x86_64::NoA1"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesA2.html\\" title=\\"struct ppv_lite86::x86_64::YesA2\\">YesA2<\/a>",1,["ppv_lite86::x86_64::YesA2"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoA2.html\\" title=\\"struct ppv_lite86::x86_64::NoA2\\">NoA2<\/a>",1,["ppv_lite86::x86_64::NoA2"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesNI.html\\" title=\\"struct ppv_lite86::x86_64::YesNI\\">YesNI<\/a>",1,["ppv_lite86::x86_64::YesNI"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoNI.html\\" title=\\"struct ppv_lite86::x86_64::NoNI\\">NoNI<\/a>",1,["ppv_lite86::x86_64::NoNI"]],["impl<S3, S4, NI> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.SseMachine.html\\" title=\\"struct ppv_lite86::x86_64::SseMachine\\">SseMachine<\/a><S3, S4, NI><span class=\\"where fmt-newline\\">where<br> NI: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a>,<br> S3: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a>,<br> S4: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a>,<\/span>",1,["ppv_lite86::x86_64::SseMachine"]],["impl<NI> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.Avx2Machine.html\\" title=\\"struct ppv_lite86::x86_64::Avx2Machine\\">Avx2Machine<\/a><NI><span class=\\"where fmt-newline\\">where<br> NI: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a>,<\/span>",1,["ppv_lite86::x86_64::Avx2Machine"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec128_storage.html\\" title=\\"union ppv_lite86::x86_64::vec128_storage\\">vec128_storage<\/a>",1,["ppv_lite86::x86_64::vec128_storage"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec256_storage.html\\" title=\\"union ppv_lite86::x86_64::vec256_storage\\">vec256_storage<\/a>",1,["ppv_lite86::x86_64::vec256_storage"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec512_storage.html\\" title=\\"union ppv_lite86::x86_64::vec512_storage\\">vec512_storage<\/a>",1,["ppv_lite86::x86_64::vec512_storage"]]],$/;" p
|
||
ppv_lite86 guessing_game/target/doc/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js /^"ppv_lite86":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesS3.html\\" title=\\"struct ppv_lite86::x86_64::YesS3\\">YesS3<\/a>",1,["ppv_lite86::x86_64::YesS3"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoS3.html\\" title=\\"struct ppv_lite86::x86_64::NoS3\\">NoS3<\/a>",1,["ppv_lite86::x86_64::NoS3"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesS4.html\\" title=\\"struct ppv_lite86::x86_64::YesS4\\">YesS4<\/a>",1,["ppv_lite86::x86_64::YesS4"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoS4.html\\" title=\\"struct ppv_lite86::x86_64::NoS4\\">NoS4<\/a>",1,["ppv_lite86::x86_64::NoS4"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesA1.html\\" title=\\"struct ppv_lite86::x86_64::YesA1\\">YesA1<\/a>",1,["ppv_lite86::x86_64::YesA1"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoA1.html\\" title=\\"struct ppv_lite86::x86_64::NoA1\\">NoA1<\/a>",1,["ppv_lite86::x86_64::NoA1"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesA2.html\\" title=\\"struct ppv_lite86::x86_64::YesA2\\">YesA2<\/a>",1,["ppv_lite86::x86_64::YesA2"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoA2.html\\" title=\\"struct ppv_lite86::x86_64::NoA2\\">NoA2<\/a>",1,["ppv_lite86::x86_64::NoA2"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesNI.html\\" title=\\"struct ppv_lite86::x86_64::YesNI\\">YesNI<\/a>",1,["ppv_lite86::x86_64::YesNI"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoNI.html\\" title=\\"struct ppv_lite86::x86_64::NoNI\\">NoNI<\/a>",1,["ppv_lite86::x86_64::NoNI"]],["impl<S3, S4, NI> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.SseMachine.html\\" title=\\"struct ppv_lite86::x86_64::SseMachine\\">SseMachine<\/a><S3, S4, NI><span class=\\"where fmt-newline\\">where<br> NI: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a>,<br> S3: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a>,<br> S4: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a>,<\/span>",1,["ppv_lite86::x86_64::SseMachine"]],["impl<NI> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.Avx2Machine.html\\" title=\\"struct ppv_lite86::x86_64::Avx2Machine\\">Avx2Machine<\/a><NI><span class=\\"where fmt-newline\\">where<br> NI: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a>,<\/span>",1,["ppv_lite86::x86_64::Avx2Machine"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec128_storage.html\\" title=\\"union ppv_lite86::x86_64::vec128_storage\\">vec128_storage<\/a>",1,["ppv_lite86::x86_64::vec128_storage"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec256_storage.html\\" title=\\"union ppv_lite86::x86_64::vec256_storage\\">vec256_storage<\/a>",1,["ppv_lite86::x86_64::vec256_storage"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec512_storage.html\\" title=\\"union ppv_lite86::x86_64::vec512_storage\\">vec512_storage<\/a>",1,["ppv_lite86::x86_64::vec512_storage"]]],$/;" p
|
||
ppv_lite86 guessing_game/target/doc/implementors/core/panic/unwind_safe/trait.UnwindSafe.js /^"ppv_lite86":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesS3.html\\" title=\\"struct ppv_lite86::x86_64::YesS3\\">YesS3<\/a>",1,["ppv_lite86::x86_64::YesS3"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoS3.html\\" title=\\"struct ppv_lite86::x86_64::NoS3\\">NoS3<\/a>",1,["ppv_lite86::x86_64::NoS3"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesS4.html\\" title=\\"struct ppv_lite86::x86_64::YesS4\\">YesS4<\/a>",1,["ppv_lite86::x86_64::YesS4"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoS4.html\\" title=\\"struct ppv_lite86::x86_64::NoS4\\">NoS4<\/a>",1,["ppv_lite86::x86_64::NoS4"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesA1.html\\" title=\\"struct ppv_lite86::x86_64::YesA1\\">YesA1<\/a>",1,["ppv_lite86::x86_64::YesA1"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoA1.html\\" title=\\"struct ppv_lite86::x86_64::NoA1\\">NoA1<\/a>",1,["ppv_lite86::x86_64::NoA1"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesA2.html\\" title=\\"struct ppv_lite86::x86_64::YesA2\\">YesA2<\/a>",1,["ppv_lite86::x86_64::YesA2"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoA2.html\\" title=\\"struct ppv_lite86::x86_64::NoA2\\">NoA2<\/a>",1,["ppv_lite86::x86_64::NoA2"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.YesNI.html\\" title=\\"struct ppv_lite86::x86_64::YesNI\\">YesNI<\/a>",1,["ppv_lite86::x86_64::YesNI"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.NoNI.html\\" title=\\"struct ppv_lite86::x86_64::NoNI\\">NoNI<\/a>",1,["ppv_lite86::x86_64::NoNI"]],["impl<S3, S4, NI> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.SseMachine.html\\" title=\\"struct ppv_lite86::x86_64::SseMachine\\">SseMachine<\/a><S3, S4, NI><span class=\\"where fmt-newline\\">where<br> NI: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a>,<br> S3: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a>,<br> S4: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a>,<\/span>",1,["ppv_lite86::x86_64::SseMachine"]],["impl<NI> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"ppv_lite86\/x86_64\/struct.Avx2Machine.html\\" title=\\"struct ppv_lite86::x86_64::Avx2Machine\\">Avx2Machine<\/a><NI><span class=\\"where fmt-newline\\">where<br> NI: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a>,<\/span>",1,["ppv_lite86::x86_64::Avx2Machine"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec128_storage.html\\" title=\\"union ppv_lite86::x86_64::vec128_storage\\">vec128_storage<\/a>",1,["ppv_lite86::x86_64::vec128_storage"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec256_storage.html\\" title=\\"union ppv_lite86::x86_64::vec256_storage\\">vec256_storage<\/a>",1,["ppv_lite86::x86_64::vec256_storage"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"union\\" href=\\"ppv_lite86\/x86_64\/union.vec512_storage.html\\" title=\\"union ppv_lite86::x86_64::vec512_storage\\">vec512_storage<\/a>",1,["ppv_lite86::x86_64::vec512_storage"]]],$/;" p
|
||
ppv_lite86 guessing_game/target/doc/implementors/ppv_lite86/types/trait.Machine.js /^"ppv_lite86":[]$/;" p
|
||
ppv_lite86 guessing_game/target/doc/implementors/ppv_lite86/types/trait.Store.js /^"ppv_lite86":[]$/;" p
|
||
ppv_lite86 guessing_game/target/doc/implementors/ppv_lite86/types/trait.VZip.js /^"ppv_lite86":[]$/;" p
|
||
printTab guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:hasOwnPropertyRustdoc
|
||
rand guessing_game/target/doc/implementors/core/clone/trait.Clone.js /^"rand":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Bernoulli.html\\" title=\\"struct rand::distributions::Bernoulli\\">Bernoulli<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"enum\\" href=\\"rand\/distributions\/enum.BernoulliError.html\\" title=\\"enum rand::distributions::BernoulliError\\">BernoulliError<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.OpenClosed01.html\\" title=\\"struct rand::distributions::OpenClosed01\\">OpenClosed01<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Open01.html\\" title=\\"struct rand::distributions::Open01\\">Open01<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Alphanumeric.html\\" title=\\"struct rand::distributions::Alphanumeric\\">Alphanumeric<\/a>"],["impl<'a, T: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Slice.html\\" title=\\"struct rand::distributions::Slice\\">Slice<\/a><'a, T>"],["impl<X: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> + <a class=\\"trait\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html\\" title=\\"trait rand::distributions::uniform::SampleUniform\\">SampleUniform<\/a> + <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.PartialOrd.html\\" title=\\"trait core::cmp::PartialOrd\\">PartialOrd<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/weighted\/struct.WeightedIndex.html\\" title=\\"struct rand::distributions::weighted::WeightedIndex\\">WeightedIndex<\/a><X><span class=\\"where fmt-newline\\">where<br> X::<a class=\\"associatedtype\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html#associatedtype.Sampler\\" title=\\"type rand::distributions::uniform::SampleUniform::Sampler\\">Sampler<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a>,<\/span>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"enum\\" href=\\"rand\/distributions\/weighted\/enum.WeightedError.html\\" title=\\"enum rand::distributions::weighted::WeightedError\\">WeightedError<\/a>"],["impl<X: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> + <a class=\\"trait\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html\\" title=\\"trait rand::distributions::uniform::SampleUniform\\">SampleUniform<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Uniform.html\\" title=\\"struct rand::distributions::Uniform\\">Uniform<\/a><X><span class=\\"where fmt-newline\\">where<br> X::<a class=\\"associatedtype\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html#associatedtype.Sampler\\" title=\\"type rand::distributions::uniform::SampleUniform::Sampler\\">Sampler<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a>,<\/span>"],["impl<X: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformInt.html\\" title=\\"struct rand::distributions::uniform::UniformInt\\">UniformInt<\/a><X>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformChar.html\\" title=\\"struct rand::distributions::uniform::UniformChar\\">UniformChar<\/a>"],["impl<X: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformFloat.html\\" title=\\"struct rand::distributions::uniform::UniformFloat\\">UniformFloat<\/a><X>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformDuration.html\\" title=\\"struct rand::distributions::uniform::UniformDuration\\">UniformDuration<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Standard.html\\" title=\\"struct rand::distributions::Standard\\">Standard<\/a>"],["impl<R, Rsdr> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/adapter\/struct.ReseedingRng.html\\" title=\\"struct rand::rngs::adapter::ReseedingRng\\">ReseedingRng<\/a><R, Rsdr><span class=\\"where fmt-newline\\">where<br> R: <a class=\\"trait\\" href=\\"rand_core\/block\/trait.BlockRngCore.html\\" title=\\"trait rand_core::block::BlockRngCore\\">BlockRngCore<\/a> + <a class=\\"trait\\" href=\\"rand\/trait.SeedableRng.html\\" title=\\"trait rand::SeedableRng\\">SeedableRng<\/a> + <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a>,<br> Rsdr: <a class=\\"trait\\" href=\\"rand\/trait.RngCore.html\\" title=\\"trait rand::RngCore\\">RngCore<\/a> + <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a>,<\/span>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/mock\/struct.StepRng.html\\" title=\\"struct rand::rngs::mock::StepRng\\">StepRng<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/struct.StdRng.html\\" title=\\"struct rand::rngs::StdRng\\">StdRng<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/struct.ThreadRng.html\\" title=\\"struct rand::rngs::ThreadRng\\">ThreadRng<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"enum\\" href=\\"rand\/seq\/index\/enum.IndexVec.html\\" title=\\"enum rand::seq::index::IndexVec\\">IndexVec<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"enum\\" href=\\"rand\/seq\/index\/enum.IndexVecIntoIter.html\\" title=\\"enum rand::seq::index::IndexVecIntoIter\\">IndexVecIntoIter<\/a>"]],$/;" p
|
||
rand guessing_game/target/doc/implementors/core/cmp/trait.Eq.js /^"rand":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.Eq.html\\" title=\\"trait core::cmp::Eq\\">Eq<\/a> for <a class=\\"enum\\" href=\\"rand\/distributions\/enum.BernoulliError.html\\" title=\\"enum rand::distributions::BernoulliError\\">BernoulliError<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.Eq.html\\" title=\\"trait core::cmp::Eq\\">Eq<\/a> for <a class=\\"enum\\" href=\\"rand\/distributions\/weighted\/enum.WeightedError.html\\" title=\\"enum rand::distributions::weighted::WeightedError\\">WeightedError<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.Eq.html\\" title=\\"trait core::cmp::Eq\\">Eq<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/mock\/struct.StepRng.html\\" title=\\"struct rand::rngs::mock::StepRng\\">StepRng<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.Eq.html\\" title=\\"trait core::cmp::Eq\\">Eq<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/struct.StdRng.html\\" title=\\"struct rand::rngs::StdRng\\">StdRng<\/a>"]],$/;" p
|
||
rand guessing_game/target/doc/implementors/core/cmp/trait.PartialEq.js /^"rand":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.PartialEq.html\\" title=\\"trait core::cmp::PartialEq\\">PartialEq<\/a><<a class=\\"struct\\" href=\\"rand\/distributions\/struct.Bernoulli.html\\" title=\\"struct rand::distributions::Bernoulli\\">Bernoulli<\/a>> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Bernoulli.html\\" title=\\"struct rand::distributions::Bernoulli\\">Bernoulli<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.PartialEq.html\\" title=\\"trait core::cmp::PartialEq\\">PartialEq<\/a><<a class=\\"enum\\" href=\\"rand\/distributions\/enum.BernoulliError.html\\" title=\\"enum rand::distributions::BernoulliError\\">BernoulliError<\/a>> for <a class=\\"enum\\" href=\\"rand\/distributions\/enum.BernoulliError.html\\" title=\\"enum rand::distributions::BernoulliError\\">BernoulliError<\/a>"],["impl<X: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.PartialEq.html\\" title=\\"trait core::cmp::PartialEq\\">PartialEq<\/a> + <a class=\\"trait\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html\\" title=\\"trait rand::distributions::uniform::SampleUniform\\">SampleUniform<\/a> + <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.PartialOrd.html\\" title=\\"trait core::cmp::PartialOrd\\">PartialOrd<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.PartialEq.html\\" title=\\"trait core::cmp::PartialEq\\">PartialEq<\/a><<a class=\\"struct\\" href=\\"rand\/distributions\/weighted\/struct.WeightedIndex.html\\" title=\\"struct rand::distributions::weighted::WeightedIndex\\">WeightedIndex<\/a><X>> for <a class=\\"struct\\" href=\\"rand\/distributions\/weighted\/struct.WeightedIndex.html\\" title=\\"struct rand::distributions::weighted::WeightedIndex\\">WeightedIndex<\/a><X><span class=\\"where fmt-newline\\">where<br> X::<a class=\\"associatedtype\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html#associatedtype.Sampler\\" title=\\"type rand::distributions::uniform::SampleUniform::Sampler\\">Sampler<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.PartialEq.html\\" title=\\"trait core::cmp::PartialEq\\">PartialEq<\/a>,<\/span>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.PartialEq.html\\" title=\\"trait core::cmp::PartialEq\\">PartialEq<\/a><<a class=\\"enum\\" href=\\"rand\/distributions\/weighted\/enum.WeightedError.html\\" title=\\"enum rand::distributions::weighted::WeightedError\\">WeightedError<\/a>> for <a class=\\"enum\\" href=\\"rand\/distributions\/weighted\/enum.WeightedError.html\\" title=\\"enum rand::distributions::weighted::WeightedError\\">WeightedError<\/a>"],["impl<X: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.PartialEq.html\\" title=\\"trait core::cmp::PartialEq\\">PartialEq<\/a> + <a class=\\"trait\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html\\" title=\\"trait rand::distributions::uniform::SampleUniform\\">SampleUniform<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.PartialEq.html\\" title=\\"trait core::cmp::PartialEq\\">PartialEq<\/a><<a class=\\"struct\\" href=\\"rand\/distributions\/struct.Uniform.html\\" title=\\"struct rand::distributions::Uniform\\">Uniform<\/a><X>> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Uniform.html\\" title=\\"struct rand::distributions::Uniform\\">Uniform<\/a><X><span class=\\"where fmt-newline\\">where<br> X::<a class=\\"associatedtype\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html#associatedtype.Sampler\\" title=\\"type rand::distributions::uniform::SampleUniform::Sampler\\">Sampler<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.PartialEq.html\\" title=\\"trait core::cmp::PartialEq\\">PartialEq<\/a>,<\/span>"],["impl<X: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.PartialEq.html\\" title=\\"trait core::cmp::PartialEq\\">PartialEq<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.PartialEq.html\\" title=\\"trait core::cmp::PartialEq\\">PartialEq<\/a><<a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformInt.html\\" title=\\"struct rand::distributions::uniform::UniformInt\\">UniformInt<\/a><X>> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformInt.html\\" title=\\"struct rand::distributions::uniform::UniformInt\\">UniformInt<\/a><X>"],["impl<X: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.PartialEq.html\\" title=\\"trait core::cmp::PartialEq\\">PartialEq<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.PartialEq.html\\" title=\\"trait core::cmp::PartialEq\\">PartialEq<\/a><<a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformFloat.html\\" title=\\"struct rand::distributions::uniform::UniformFloat\\">UniformFloat<\/a><X>> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformFloat.html\\" title=\\"struct rand::distributions::uniform::UniformFloat\\">UniformFloat<\/a><X>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.PartialEq.html\\" title=\\"trait core::cmp::PartialEq\\">PartialEq<\/a><<a class=\\"struct\\" href=\\"rand\/rngs\/mock\/struct.StepRng.html\\" title=\\"struct rand::rngs::mock::StepRng\\">StepRng<\/a>> for <a class=\\"struct\\" href=\\"rand\/rngs\/mock\/struct.StepRng.html\\" title=\\"struct rand::rngs::mock::StepRng\\">StepRng<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.PartialEq.html\\" title=\\"trait core::cmp::PartialEq\\">PartialEq<\/a><<a class=\\"struct\\" href=\\"rand\/rngs\/struct.StdRng.html\\" title=\\"struct rand::rngs::StdRng\\">StdRng<\/a>> for <a class=\\"struct\\" href=\\"rand\/rngs\/struct.StdRng.html\\" title=\\"struct rand::rngs::StdRng\\">StdRng<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.PartialEq.html\\" title=\\"trait core::cmp::PartialEq\\">PartialEq<\/a><<a class=\\"enum\\" href=\\"rand\/seq\/index\/enum.IndexVec.html\\" title=\\"enum rand::seq::index::IndexVec\\">IndexVec<\/a>> for <a class=\\"enum\\" href=\\"rand\/seq\/index\/enum.IndexVec.html\\" title=\\"enum rand::seq::index::IndexVec\\">IndexVec<\/a>"]],$/;" p
|
||
rand guessing_game/target/doc/implementors/core/convert/trait.From.js /^"rand":[["impl<X: <a class=\\"trait\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html\\" title=\\"trait rand::distributions::uniform::SampleUniform\\">SampleUniform<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/convert\/trait.From.html\\" title=\\"trait core::convert::From\\">From<\/a><<a class=\\"struct\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/ops\/range\/struct.Range.html\\" title=\\"struct core::ops::range::Range\\">Range<\/a><X>> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Uniform.html\\" title=\\"struct rand::distributions::Uniform\\">Uniform<\/a><X>"],["impl<X: <a class=\\"trait\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html\\" title=\\"trait rand::distributions::uniform::SampleUniform\\">SampleUniform<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/convert\/trait.From.html\\" title=\\"trait core::convert::From\\">From<\/a><<a class=\\"struct\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/ops\/range\/struct.RangeInclusive.html\\" title=\\"struct core::ops::range::RangeInclusive\\">RangeInclusive<\/a><X>> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Uniform.html\\" title=\\"struct rand::distributions::Uniform\\">Uniform<\/a><X>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/convert\/trait.From.html\\" title=\\"trait core::convert::From\\">From<\/a><<a class=\\"struct\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/alloc\/vec\/struct.Vec.html\\" title=\\"struct alloc::vec::Vec\\">Vec<\/a><<a class=\\"primitive\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/std\/primitive.u32.html\\">u32<\/a>, <a class=\\"struct\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/alloc\/alloc\/struct.Global.html\\" title=\\"struct alloc::alloc::Global\\">Global<\/a>>> for <a class=\\"enum\\" href=\\"rand\/seq\/index\/enum.IndexVec.html\\" title=\\"enum rand::seq::index::IndexVec\\">IndexVec<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/convert\/trait.From.html\\" title=\\"trait core::convert::From\\">From<\/a><<a class=\\"struct\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/alloc\/vec\/struct.Vec.html\\" title=\\"struct alloc::vec::Vec\\">Vec<\/a><<a class=\\"primitive\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/std\/primitive.usize.html\\">usize<\/a>, <a class=\\"struct\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/alloc\/alloc\/struct.Global.html\\" title=\\"struct alloc::alloc::Global\\">Global<\/a>>> for <a class=\\"enum\\" href=\\"rand\/seq\/index\/enum.IndexVec.html\\" title=\\"enum rand::seq::index::IndexVec\\">IndexVec<\/a>"]],$/;" p
|
||
rand guessing_game/target/doc/implementors/core/default/trait.Default.js /^"rand":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/default\/trait.Default.html\\" title=\\"trait core::default::Default\\">Default<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/struct.ThreadRng.html\\" title=\\"struct rand::rngs::ThreadRng\\">ThreadRng<\/a>"]],$/;" p
|
||
rand guessing_game/target/doc/implementors/core/error/trait.Error.js /^"rand":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/error\/trait.Error.html\\" title=\\"trait core::error::Error\\">Error<\/a> for <a class=\\"enum\\" href=\\"rand\/distributions\/enum.BernoulliError.html\\" title=\\"enum rand::distributions::BernoulliError\\">BernoulliError<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/error\/trait.Error.html\\" title=\\"trait core::error::Error\\">Error<\/a> for <a class=\\"enum\\" href=\\"rand\/distributions\/weighted\/enum.WeightedError.html\\" title=\\"enum rand::distributions::weighted::WeightedError\\">WeightedError<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/error\/trait.Error.html\\" title=\\"trait core::error::Error\\">Error<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/adapter\/struct.ReadError.html\\" title=\\"struct rand::rngs::adapter::ReadError\\">ReadError<\/a>"]],$/;" p
|
||
rand guessing_game/target/doc/implementors/core/fmt/trait.Debug.js /^"rand":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Bernoulli.html\\" title=\\"struct rand::distributions::Bernoulli\\">Bernoulli<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"enum\\" href=\\"rand\/distributions\/enum.BernoulliError.html\\" title=\\"enum rand::distributions::BernoulliError\\">BernoulliError<\/a>"],["impl<D: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a>, R: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a>, T: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.DistIter.html\\" title=\\"struct rand::distributions::DistIter\\">DistIter<\/a><D, R, T>"],["impl<D: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a>, F: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a>, T: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a>, S: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.DistMap.html\\" title=\\"struct rand::distributions::DistMap\\">DistMap<\/a><D, F, T, S>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.OpenClosed01.html\\" title=\\"struct rand::distributions::OpenClosed01\\">OpenClosed01<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Open01.html\\" title=\\"struct rand::distributions::Open01\\">Open01<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Alphanumeric.html\\" title=\\"struct rand::distributions::Alphanumeric\\">Alphanumeric<\/a>"],["impl<'a, T: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Slice.html\\" title=\\"struct rand::distributions::Slice\\">Slice<\/a><'a, T>"],["impl<X: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> + <a class=\\"trait\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html\\" title=\\"trait rand::distributions::uniform::SampleUniform\\">SampleUniform<\/a> + <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.PartialOrd.html\\" title=\\"trait core::cmp::PartialOrd\\">PartialOrd<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/weighted\/struct.WeightedIndex.html\\" title=\\"struct rand::distributions::weighted::WeightedIndex\\">WeightedIndex<\/a><X><span class=\\"where fmt-newline\\">where<br> X::<a class=\\"associatedtype\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html#associatedtype.Sampler\\" title=\\"type rand::distributions::uniform::SampleUniform::Sampler\\">Sampler<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a>,<\/span>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"enum\\" href=\\"rand\/distributions\/weighted\/enum.WeightedError.html\\" title=\\"enum rand::distributions::weighted::WeightedError\\">WeightedError<\/a>"],["impl<X: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> + <a class=\\"trait\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html\\" title=\\"trait rand::distributions::uniform::SampleUniform\\">SampleUniform<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Uniform.html\\" title=\\"struct rand::distributions::Uniform\\">Uniform<\/a><X><span class=\\"where fmt-newline\\">where<br> X::<a class=\\"associatedtype\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html#associatedtype.Sampler\\" title=\\"type rand::distributions::uniform::SampleUniform::Sampler\\">Sampler<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a>,<\/span>"],["impl<X: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformInt.html\\" title=\\"struct rand::distributions::uniform::UniformInt\\">UniformInt<\/a><X>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformChar.html\\" title=\\"struct rand::distributions::uniform::UniformChar\\">UniformChar<\/a>"],["impl<X: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformFloat.html\\" title=\\"struct rand::distributions::uniform::UniformFloat\\">UniformFloat<\/a><X>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformDuration.html\\" title=\\"struct rand::distributions::uniform::UniformDuration\\">UniformDuration<\/a>"],["impl<W: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> + <a class=\\"trait\\" href=\\"rand\/distributions\/weighted\/alias_method\/trait.Weight.html\\" title=\\"trait rand::distributions::weighted::alias_method::Weight\\">Weight<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/weighted\/alias_method\/struct.WeightedIndex.html\\" title=\\"struct rand::distributions::weighted::alias_method::WeightedIndex\\">WeightedIndex<\/a><W>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Standard.html\\" title=\\"struct rand::distributions::Standard\\">Standard<\/a>"],["impl<R: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/adapter\/struct.ReadRng.html\\" title=\\"struct rand::rngs::adapter::ReadRng\\">ReadRng<\/a><R>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/adapter\/struct.ReadError.html\\" title=\\"struct rand::rngs::adapter::ReadError\\">ReadError<\/a>"],["impl<R, Rsdr> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/adapter\/struct.ReseedingRng.html\\" title=\\"struct rand::rngs::adapter::ReseedingRng\\">ReseedingRng<\/a><R, Rsdr><span class=\\"where fmt-newline\\">where<br> R: <a class=\\"trait\\" href=\\"rand_core\/block\/trait.BlockRngCore.html\\" title=\\"trait rand_core::block::BlockRngCore\\">BlockRngCore<\/a> + <a class=\\"trait\\" href=\\"rand\/trait.SeedableRng.html\\" title=\\"trait rand::SeedableRng\\">SeedableRng<\/a> + <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a>,<br> Rsdr: <a class=\\"trait\\" href=\\"rand\/trait.RngCore.html\\" title=\\"trait rand::RngCore\\">RngCore<\/a> + <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a>,<\/span>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/mock\/struct.StepRng.html\\" title=\\"struct rand::rngs::mock::StepRng\\">StepRng<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/struct.StdRng.html\\" title=\\"struct rand::rngs::StdRng\\">StdRng<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/struct.ThreadRng.html\\" title=\\"struct rand::rngs::ThreadRng\\">ThreadRng<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"enum\\" href=\\"rand\/seq\/index\/enum.IndexVec.html\\" title=\\"enum rand::seq::index::IndexVec\\">IndexVec<\/a>"],["impl<'a> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"enum\\" href=\\"rand\/seq\/index\/enum.IndexVecIter.html\\" title=\\"enum rand::seq::index::IndexVecIter\\">IndexVecIter<\/a><'a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"enum\\" href=\\"rand\/seq\/index\/enum.IndexVecIntoIter.html\\" title=\\"enum rand::seq::index::IndexVecIntoIter\\">IndexVecIntoIter<\/a>"],["impl<'a, S: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> + ?<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sized.html\\" title=\\"trait core::marker::Sized\\">Sized<\/a> + 'a, T: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> + 'a> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"rand\/seq\/struct.SliceChooseIter.html\\" title=\\"struct rand::seq::SliceChooseIter\\">SliceChooseIter<\/a><'a, S, T>"]],$/;" p
|
||
rand guessing_game/target/doc/implementors/core/fmt/trait.Display.js /^"rand":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Display.html\\" title=\\"trait core::fmt::Display\\">Display<\/a> for <a class=\\"enum\\" href=\\"rand\/distributions\/enum.BernoulliError.html\\" title=\\"enum rand::distributions::BernoulliError\\">BernoulliError<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Display.html\\" title=\\"trait core::fmt::Display\\">Display<\/a> for <a class=\\"enum\\" href=\\"rand\/distributions\/weighted\/enum.WeightedError.html\\" title=\\"enum rand::distributions::weighted::WeightedError\\">WeightedError<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Display.html\\" title=\\"trait core::fmt::Display\\">Display<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/adapter\/struct.ReadError.html\\" title=\\"struct rand::rngs::adapter::ReadError\\">ReadError<\/a>"]],$/;" p
|
||
rand guessing_game/target/doc/implementors/core/iter/traits/collect/trait.IntoIterator.js /^"rand":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/iter\/traits\/collect\/trait.IntoIterator.html\\" title=\\"trait core::iter::traits::collect::IntoIterator\\">IntoIterator<\/a> for <a class=\\"enum\\" href=\\"rand\/seq\/index\/enum.IndexVec.html\\" title=\\"enum rand::seq::index::IndexVec\\">IndexVec<\/a>"]]$/;" p
|
||
rand guessing_game/target/doc/implementors/core/iter/traits/exact_size/trait.ExactSizeIterator.js /^"rand":[["impl<'a> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/iter\/traits\/exact_size\/trait.ExactSizeIterator.html\\" title=\\"trait core::iter::traits::exact_size::ExactSizeIterator\\">ExactSizeIterator<\/a> for <a class=\\"enum\\" href=\\"rand\/seq\/index\/enum.IndexVecIter.html\\" title=\\"enum rand::seq::index::IndexVecIter\\">IndexVecIter<\/a><'a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/iter\/traits\/exact_size\/trait.ExactSizeIterator.html\\" title=\\"trait core::iter::traits::exact_size::ExactSizeIterator\\">ExactSizeIterator<\/a> for <a class=\\"enum\\" href=\\"rand\/seq\/index\/enum.IndexVecIntoIter.html\\" title=\\"enum rand::seq::index::IndexVecIntoIter\\">IndexVecIntoIter<\/a>"],["impl<'a, S: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/ops\/index\/trait.Index.html\\" title=\\"trait core::ops::index::Index\\">Index<\/a><<a class=\\"primitive\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/std\/primitive.usize.html\\">usize<\/a>, Output = T> + ?<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sized.html\\" title=\\"trait core::marker::Sized\\">Sized<\/a> + 'a, T: 'a> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/iter\/traits\/exact_size\/trait.ExactSizeIterator.html\\" title=\\"trait core::iter::traits::exact_size::ExactSizeIterator\\">ExactSizeIterator<\/a> for <a class=\\"struct\\" href=\\"rand\/seq\/struct.SliceChooseIter.html\\" title=\\"struct rand::seq::SliceChooseIter\\">SliceChooseIter<\/a><'a, S, T>"]]$/;" p
|
||
rand guessing_game/target/doc/implementors/core/iter/traits/iterator/trait.Iterator.js /^"rand":[["impl<D, R, T> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/iter\/traits\/iterator\/trait.Iterator.html\\" title=\\"trait core::iter::traits::iterator::Iterator\\">Iterator<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.DistIter.html\\" title=\\"struct rand::distributions::DistIter\\">DistIter<\/a><D, R, T><span class=\\"where fmt-newline\\">where<br> D: <a class=\\"trait\\" href=\\"rand\/distributions\/trait.Distribution.html\\" title=\\"trait rand::distributions::Distribution\\">Distribution<\/a><T>,<br> R: <a class=\\"trait\\" href=\\"rand\/trait.Rng.html\\" title=\\"trait rand::Rng\\">Rng<\/a>,<\/span>"],["impl<'a> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/iter\/traits\/iterator\/trait.Iterator.html\\" title=\\"trait core::iter::traits::iterator::Iterator\\">Iterator<\/a> for <a class=\\"enum\\" href=\\"rand\/seq\/index\/enum.IndexVecIter.html\\" title=\\"enum rand::seq::index::IndexVecIter\\">IndexVecIter<\/a><'a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/iter\/traits\/iterator\/trait.Iterator.html\\" title=\\"trait core::iter::traits::iterator::Iterator\\">Iterator<\/a> for <a class=\\"enum\\" href=\\"rand\/seq\/index\/enum.IndexVecIntoIter.html\\" title=\\"enum rand::seq::index::IndexVecIntoIter\\">IndexVecIntoIter<\/a>"],["impl<'a, S: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/ops\/index\/trait.Index.html\\" title=\\"trait core::ops::index::Index\\">Index<\/a><<a class=\\"primitive\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/std\/primitive.usize.html\\">usize<\/a>, Output = T> + ?<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sized.html\\" title=\\"trait core::marker::Sized\\">Sized<\/a> + 'a, T: 'a> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/iter\/traits\/iterator\/trait.Iterator.html\\" title=\\"trait core::iter::traits::iterator::Iterator\\">Iterator<\/a> for <a class=\\"struct\\" href=\\"rand\/seq\/struct.SliceChooseIter.html\\" title=\\"struct rand::seq::SliceChooseIter\\">SliceChooseIter<\/a><'a, S, T>"]]$/;" p
|
||
rand guessing_game/target/doc/implementors/core/iter/traits/marker/trait.FusedIterator.js /^"rand":[["impl<D, R, T> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/iter\/traits\/marker\/trait.FusedIterator.html\\" title=\\"trait core::iter::traits::marker::FusedIterator\\">FusedIterator<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.DistIter.html\\" title=\\"struct rand::distributions::DistIter\\">DistIter<\/a><D, R, T><span class=\\"where fmt-newline\\">where<br> D: <a class=\\"trait\\" href=\\"rand\/distributions\/trait.Distribution.html\\" title=\\"trait rand::distributions::Distribution\\">Distribution<\/a><T>,<br> R: <a class=\\"trait\\" href=\\"rand\/trait.Rng.html\\" title=\\"trait rand::Rng\\">Rng<\/a>,<\/span>"]]$/;" p
|
||
rand guessing_game/target/doc/implementors/core/marker/trait.Copy.js /^"rand":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Bernoulli.html\\" title=\\"struct rand::distributions::Bernoulli\\">Bernoulli<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"enum\\" href=\\"rand\/distributions\/enum.BernoulliError.html\\" title=\\"enum rand::distributions::BernoulliError\\">BernoulliError<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.OpenClosed01.html\\" title=\\"struct rand::distributions::OpenClosed01\\">OpenClosed01<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Open01.html\\" title=\\"struct rand::distributions::Open01\\">Open01<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Alphanumeric.html\\" title=\\"struct rand::distributions::Alphanumeric\\">Alphanumeric<\/a>"],["impl<'a, T: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Slice.html\\" title=\\"struct rand::distributions::Slice\\">Slice<\/a><'a, T>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"enum\\" href=\\"rand\/distributions\/weighted\/enum.WeightedError.html\\" title=\\"enum rand::distributions::weighted::WeightedError\\">WeightedError<\/a>"],["impl<X: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> + <a class=\\"trait\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html\\" title=\\"trait rand::distributions::uniform::SampleUniform\\">SampleUniform<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Uniform.html\\" title=\\"struct rand::distributions::Uniform\\">Uniform<\/a><X><span class=\\"where fmt-newline\\">where<br> X::<a class=\\"associatedtype\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html#associatedtype.Sampler\\" title=\\"type rand::distributions::uniform::SampleUniform::Sampler\\">Sampler<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a>,<\/span>"],["impl<X: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformInt.html\\" title=\\"struct rand::distributions::uniform::UniformInt\\">UniformInt<\/a><X>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformChar.html\\" title=\\"struct rand::distributions::uniform::UniformChar\\">UniformChar<\/a>"],["impl<X: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformFloat.html\\" title=\\"struct rand::distributions::uniform::UniformFloat\\">UniformFloat<\/a><X>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformDuration.html\\" title=\\"struct rand::distributions::uniform::UniformDuration\\">UniformDuration<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Standard.html\\" title=\\"struct rand::distributions::Standard\\">Standard<\/a>"]],$/;" p
|
||
rand guessing_game/target/doc/implementors/core/marker/trait.Freeze.js /^"rand":[["impl Freeze for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Bernoulli.html\\" title=\\"struct rand::distributions::Bernoulli\\">Bernoulli<\/a>",1,["rand::distributions::bernoulli::Bernoulli"]],["impl Freeze for <a class=\\"enum\\" href=\\"rand\/distributions\/enum.BernoulliError.html\\" title=\\"enum rand::distributions::BernoulliError\\">BernoulliError<\/a>",1,["rand::distributions::bernoulli::BernoulliError"]],["impl<D, R, T> Freeze for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.DistIter.html\\" title=\\"struct rand::distributions::DistIter\\">DistIter<\/a><D, R, T><span class=\\"where fmt-newline\\">where<br> D: Freeze,<br> R: Freeze,<\/span>",1,["rand::distributions::distribution::DistIter"]],["impl<D, F, T, S> Freeze for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.DistMap.html\\" title=\\"struct rand::distributions::DistMap\\">DistMap<\/a><D, F, T, S><span class=\\"where fmt-newline\\">where<br> D: Freeze,<br> F: Freeze,<\/span>",1,["rand::distributions::distribution::DistMap"]],["impl Freeze for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.OpenClosed01.html\\" title=\\"struct rand::distributions::OpenClosed01\\">OpenClosed01<\/a>",1,["rand::distributions::float::OpenClosed01"]],["impl Freeze for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Open01.html\\" title=\\"struct rand::distributions::Open01\\">Open01<\/a>",1,["rand::distributions::float::Open01"]],["impl Freeze for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Alphanumeric.html\\" title=\\"struct rand::distributions::Alphanumeric\\">Alphanumeric<\/a>",1,["rand::distributions::other::Alphanumeric"]],["impl<'a, T> Freeze for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Slice.html\\" title=\\"struct rand::distributions::Slice\\">Slice<\/a><'a, T>",1,["rand::distributions::slice::Slice"]],["impl<X> Freeze for <a class=\\"struct\\" href=\\"rand\/distributions\/weighted\/struct.WeightedIndex.html\\" title=\\"struct rand::distributions::weighted::WeightedIndex\\">WeightedIndex<\/a><X><span class=\\"where fmt-newline\\">where<br> X: Freeze,<br> <X as <a class=\\"trait\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html\\" title=\\"trait rand::distributions::uniform::SampleUniform\\">SampleUniform<\/a>>::<a class=\\"associatedtype\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html#associatedtype.Sampler\\" title=\\"type rand::distributions::uniform::SampleUniform::Sampler\\">Sampler<\/a>: Freeze,<\/span>",1,["rand::distributions::weighted_index::WeightedIndex"]],["impl Freeze for <a class=\\"enum\\" href=\\"rand\/distributions\/weighted\/enum.WeightedError.html\\" title=\\"enum rand::distributions::weighted::WeightedError\\">WeightedError<\/a>",1,["rand::distributions::weighted_index::WeightedError"]],["impl<X> Freeze for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Uniform.html\\" title=\\"struct rand::distributions::Uniform\\">Uniform<\/a><X><span class=\\"where fmt-newline\\">where<br> <X as <a class=\\"trait\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html\\" title=\\"trait rand::distributions::uniform::SampleUniform\\">SampleUniform<\/a>>::<a class=\\"associatedtype\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html#associatedtype.Sampler\\" title=\\"type rand::distributions::uniform::SampleUniform::Sampler\\">Sampler<\/a>: Freeze,<\/span>",1,["rand::distributions::uniform::Uniform"]],["impl<X> Freeze for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformInt.html\\" title=\\"struct rand::distributions::uniform::UniformInt\\">UniformInt<\/a><X><span class=\\"where fmt-newline\\">where<br> X: Freeze,<\/span>",1,["rand::distributions::uniform::UniformInt"]],["impl Freeze for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformChar.html\\" title=\\"struct rand::distributions::uniform::UniformChar\\">UniformChar<\/a>",1,["rand::distributions::uniform::UniformChar"]],["impl<X> Freeze for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformFloat.html\\" title=\\"struct rand::distributions::uniform::UniformFloat\\">UniformFloat<\/a><X><span class=\\"where fmt-newline\\">where<br> X: Freeze,<\/span>",1,["rand::distributions::uniform::UniformFloat"]],["impl Freeze for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformDuration.html\\" title=\\"struct rand::distributions::uniform::UniformDuration\\">UniformDuration<\/a>",1,["rand::distributions::uniform::UniformDuration"]],["impl<W> Freeze for <a class=\\"struct\\" href=\\"rand\/distributions\/weighted\/alias_method\/struct.WeightedIndex.html\\" title=\\"struct rand::distributions::weighted::alias_method::WeightedIndex\\">WeightedIndex<\/a><W>",1,["rand::distributions::weighted::alias_method::WeightedIndex"]],["impl Freeze for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Standard.html\\" title=\\"struct rand::distributions::Standard\\">Standard<\/a>",1,["rand::distributions::Standard"]],["impl<R> Freeze for <a class=\\"struct\\" href=\\"rand\/rngs\/adapter\/struct.ReadRng.html\\" title=\\"struct rand::rngs::adapter::ReadRng\\">ReadRng<\/a><R><span class=\\"where fmt-newline\\">where<br> R: Freeze,<\/span>",1,["rand::rngs::adapter::read::ReadRng"]],["impl Freeze for <a class=\\"struct\\" href=\\"rand\/rngs\/adapter\/struct.ReadError.html\\" title=\\"struct rand::rngs::adapter::ReadError\\">ReadError<\/a>",1,["rand::rngs::adapter::read::ReadError"]],["impl<R, Rsdr> Freeze for <a class=\\"struct\\" href=\\"rand\/rngs\/adapter\/struct.ReseedingRng.html\\" title=\\"struct rand::rngs::adapter::ReseedingRng\\">ReseedingRng<\/a><R, Rsdr><span class=\\"where fmt-newline\\">where<br> R: Freeze,<br> Rsdr: Freeze,<br> <R as <a class=\\"trait\\" href=\\"rand_core\/block\/trait.BlockRngCore.html\\" title=\\"trait rand_core::block::BlockRngCore\\">BlockRngCore<\/a>>::<a class=\\"associatedtype\\" href=\\"rand_core\/block\/trait.BlockRngCore.html#associatedtype.Results\\" title=\\"type rand_core::block::BlockRngCore::Results\\">Results<\/a>: Freeze,<\/span>",1,["rand::rngs::adapter::reseeding::ReseedingRng"]],["impl Freeze for <a class=\\"struct\\" href=\\"rand\/rngs\/mock\/struct.StepRng.html\\" title=\\"struct rand::rngs::mock::StepRng\\">StepRng<\/a>",1,["rand::rngs::mock::StepRng"]],["impl Freeze for <a class=\\"struct\\" href=\\"rand\/rngs\/struct.StdRng.html\\" title=\\"struct rand::rngs::StdRng\\">StdRng<\/a>",1,["rand::rngs::std::StdRng"]],["impl Freeze for <a class=\\"struct\\" href=\\"rand\/rngs\/struct.ThreadRng.html\\" title=\\"struct rand::rngs::ThreadRng\\">ThreadRng<\/a>",1,["rand::rngs::thread::ThreadRng"]],["impl Freeze for <a class=\\"enum\\" href=\\"rand\/seq\/index\/enum.IndexVec.html\\" title=\\"enum rand::seq::index::IndexVec\\">IndexVec<\/a>",1,["rand::seq::index::IndexVec"]],["impl<'a> Freeze for <a class=\\"enum\\" href=\\"rand\/seq\/index\/enum.IndexVecIter.html\\" title=\\"enum rand::seq::index::IndexVecIter\\">IndexVecIter<\/a><'a>",1,["rand::seq::index::IndexVecIter"]],["impl Freeze for <a class=\\"enum\\" href=\\"rand\/seq\/index\/enum.IndexVecIntoIter.html\\" title=\\"enum rand::seq::index::IndexVecIntoIter\\">IndexVecIntoIter<\/a>",1,["rand::seq::index::IndexVecIntoIter"]],["impl<'a, S: ?<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sized.html\\" title=\\"trait core::marker::Sized\\">Sized<\/a>, T> Freeze for <a class=\\"struct\\" href=\\"rand\/seq\/struct.SliceChooseIter.html\\" title=\\"struct rand::seq::SliceChooseIter\\">SliceChooseIter<\/a><'a, S, T>",1,["rand::seq::SliceChooseIter"]]],$/;" p
|
||
rand guessing_game/target/doc/implementors/core/marker/trait.Send.js /^"rand":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Bernoulli.html\\" title=\\"struct rand::distributions::Bernoulli\\">Bernoulli<\/a>",1,["rand::distributions::bernoulli::Bernoulli"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"enum\\" href=\\"rand\/distributions\/enum.BernoulliError.html\\" title=\\"enum rand::distributions::BernoulliError\\">BernoulliError<\/a>",1,["rand::distributions::bernoulli::BernoulliError"]],["impl<D, R, T> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.DistIter.html\\" title=\\"struct rand::distributions::DistIter\\">DistIter<\/a><D, R, T><span class=\\"where fmt-newline\\">where<br> D: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a>,<br> R: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a>,<br> T: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a>,<\/span>",1,["rand::distributions::distribution::DistIter"]],["impl<D, F, T, S> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.DistMap.html\\" title=\\"struct rand::distributions::DistMap\\">DistMap<\/a><D, F, T, S><span class=\\"where fmt-newline\\">where<br> D: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a>,<br> F: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a>,<\/span>",1,["rand::distributions::distribution::DistMap"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.OpenClosed01.html\\" title=\\"struct rand::distributions::OpenClosed01\\">OpenClosed01<\/a>",1,["rand::distributions::float::OpenClosed01"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Open01.html\\" title=\\"struct rand::distributions::Open01\\">Open01<\/a>",1,["rand::distributions::float::Open01"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Alphanumeric.html\\" title=\\"struct rand::distributions::Alphanumeric\\">Alphanumeric<\/a>",1,["rand::distributions::other::Alphanumeric"]],["impl<'a, T> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Slice.html\\" title=\\"struct rand::distributions::Slice\\">Slice<\/a><'a, T><span class=\\"where fmt-newline\\">where<br> T: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a>,<\/span>",1,["rand::distributions::slice::Slice"]],["impl<X> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/weighted\/struct.WeightedIndex.html\\" title=\\"struct rand::distributions::weighted::WeightedIndex\\">WeightedIndex<\/a><X><span class=\\"where fmt-newline\\">where<br> X: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a>,<br> <X as <a class=\\"trait\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html\\" title=\\"trait rand::distributions::uniform::SampleUniform\\">SampleUniform<\/a>>::<a class=\\"associatedtype\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html#associatedtype.Sampler\\" title=\\"type rand::distributions::uniform::SampleUniform::Sampler\\">Sampler<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a>,<\/span>",1,["rand::distributions::weighted_index::WeightedIndex"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"enum\\" href=\\"rand\/distributions\/weighted\/enum.WeightedError.html\\" title=\\"enum rand::distributions::weighted::WeightedError\\">WeightedError<\/a>",1,["rand::distributions::weighted_index::WeightedError"]],["impl<X> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Uniform.html\\" title=\\"struct rand::distributions::Uniform\\">Uniform<\/a><X><span class=\\"where fmt-newline\\">where<br> <X as <a class=\\"trait\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html\\" title=\\"trait rand::distributions::uniform::SampleUniform\\">SampleUniform<\/a>>::<a class=\\"associatedtype\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html#associatedtype.Sampler\\" title=\\"type rand::distributions::uniform::SampleUniform::Sampler\\">Sampler<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a>,<\/span>",1,["rand::distributions::uniform::Uniform"]],["impl<X> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformInt.html\\" title=\\"struct rand::distributions::uniform::UniformInt\\">UniformInt<\/a><X><span class=\\"where fmt-newline\\">where<br> X: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a>,<\/span>",1,["rand::distributions::uniform::UniformInt"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformChar.html\\" title=\\"struct rand::distributions::uniform::UniformChar\\">UniformChar<\/a>",1,["rand::distributions::uniform::UniformChar"]],["impl<X> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformFloat.html\\" title=\\"struct rand::distributions::uniform::UniformFloat\\">UniformFloat<\/a><X><span class=\\"where fmt-newline\\">where<br> X: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a>,<\/span>",1,["rand::distributions::uniform::UniformFloat"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformDuration.html\\" title=\\"struct rand::distributions::uniform::UniformDuration\\">UniformDuration<\/a>",1,["rand::distributions::uniform::UniformDuration"]],["impl<W> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/weighted\/alias_method\/struct.WeightedIndex.html\\" title=\\"struct rand::distributions::weighted::alias_method::WeightedIndex\\">WeightedIndex<\/a><W><span class=\\"where fmt-newline\\">where<br> W: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a>,<\/span>",1,["rand::distributions::weighted::alias_method::WeightedIndex"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Standard.html\\" title=\\"struct rand::distributions::Standard\\">Standard<\/a>",1,["rand::distributions::Standard"]],["impl<R> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/adapter\/struct.ReadRng.html\\" title=\\"struct rand::rngs::adapter::ReadRng\\">ReadRng<\/a><R><span class=\\"where fmt-newline\\">where<br> R: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a>,<\/span>",1,["rand::rngs::adapter::read::ReadRng"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/adapter\/struct.ReadError.html\\" title=\\"struct rand::rngs::adapter::ReadError\\">ReadError<\/a>",1,["rand::rngs::adapter::read::ReadError"]],["impl<R, Rsdr> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/adapter\/struct.ReseedingRng.html\\" title=\\"struct rand::rngs::adapter::ReseedingRng\\">ReseedingRng<\/a><R, Rsdr><span class=\\"where fmt-newline\\">where<br> R: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a>,<br> Rsdr: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a>,<br> <R as <a class=\\"trait\\" href=\\"rand_core\/block\/trait.BlockRngCore.html\\" title=\\"trait rand_core::block::BlockRngCore\\">BlockRngCore<\/a>>::<a class=\\"associatedtype\\" href=\\"rand_core\/block\/trait.BlockRngCore.html#associatedtype.Results\\" title=\\"type rand_core::block::BlockRngCore::Results\\">Results<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a>,<\/span>",1,["rand::rngs::adapter::reseeding::ReseedingRng"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/mock\/struct.StepRng.html\\" title=\\"struct rand::rngs::mock::StepRng\\">StepRng<\/a>",1,["rand::rngs::mock::StepRng"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/struct.StdRng.html\\" title=\\"struct rand::rngs::StdRng\\">StdRng<\/a>",1,["rand::rngs::std::StdRng"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/struct.ThreadRng.html\\" title=\\"struct rand::rngs::ThreadRng\\">ThreadRng<\/a>",1,["rand::rngs::thread::ThreadRng"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"enum\\" href=\\"rand\/seq\/index\/enum.IndexVec.html\\" title=\\"enum rand::seq::index::IndexVec\\">IndexVec<\/a>",1,["rand::seq::index::IndexVec"]],["impl<'a> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"enum\\" href=\\"rand\/seq\/index\/enum.IndexVecIter.html\\" title=\\"enum rand::seq::index::IndexVecIter\\">IndexVecIter<\/a><'a>",1,["rand::seq::index::IndexVecIter"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"enum\\" href=\\"rand\/seq\/index\/enum.IndexVecIntoIter.html\\" title=\\"enum rand::seq::index::IndexVecIntoIter\\">IndexVecIntoIter<\/a>",1,["rand::seq::index::IndexVecIntoIter"]],["impl<'a, S: ?<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sized.html\\" title=\\"trait core::marker::Sized\\">Sized<\/a>, T> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"rand\/seq\/struct.SliceChooseIter.html\\" title=\\"struct rand::seq::SliceChooseIter\\">SliceChooseIter<\/a><'a, S, T><span class=\\"where fmt-newline\\">where<br> S: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a>,<br> T: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a>,<\/span>",1,["rand::seq::SliceChooseIter"]]],$/;" p
|
||
rand guessing_game/target/doc/implementors/core/marker/trait.StructuralEq.js /^"rand":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.StructuralEq.html\\" title=\\"trait core::marker::StructuralEq\\">StructuralEq<\/a> for <a class=\\"enum\\" href=\\"rand\/distributions\/enum.BernoulliError.html\\" title=\\"enum rand::distributions::BernoulliError\\">BernoulliError<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.StructuralEq.html\\" title=\\"trait core::marker::StructuralEq\\">StructuralEq<\/a> for <a class=\\"enum\\" href=\\"rand\/distributions\/weighted\/enum.WeightedError.html\\" title=\\"enum rand::distributions::weighted::WeightedError\\">WeightedError<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.StructuralEq.html\\" title=\\"trait core::marker::StructuralEq\\">StructuralEq<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/mock\/struct.StepRng.html\\" title=\\"struct rand::rngs::mock::StepRng\\">StepRng<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.StructuralEq.html\\" title=\\"trait core::marker::StructuralEq\\">StructuralEq<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/struct.StdRng.html\\" title=\\"struct rand::rngs::StdRng\\">StdRng<\/a>"]],$/;" p
|
||
rand guessing_game/target/doc/implementors/core/marker/trait.StructuralPartialEq.js /^"rand":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.StructuralPartialEq.html\\" title=\\"trait core::marker::StructuralPartialEq\\">StructuralPartialEq<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Bernoulli.html\\" title=\\"struct rand::distributions::Bernoulli\\">Bernoulli<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.StructuralPartialEq.html\\" title=\\"trait core::marker::StructuralPartialEq\\">StructuralPartialEq<\/a> for <a class=\\"enum\\" href=\\"rand\/distributions\/enum.BernoulliError.html\\" title=\\"enum rand::distributions::BernoulliError\\">BernoulliError<\/a>"],["impl<X: <a class=\\"trait\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html\\" title=\\"trait rand::distributions::uniform::SampleUniform\\">SampleUniform<\/a> + <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.PartialOrd.html\\" title=\\"trait core::cmp::PartialOrd\\">PartialOrd<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.StructuralPartialEq.html\\" title=\\"trait core::marker::StructuralPartialEq\\">StructuralPartialEq<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/weighted\/struct.WeightedIndex.html\\" title=\\"struct rand::distributions::weighted::WeightedIndex\\">WeightedIndex<\/a><X>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.StructuralPartialEq.html\\" title=\\"trait core::marker::StructuralPartialEq\\">StructuralPartialEq<\/a> for <a class=\\"enum\\" href=\\"rand\/distributions\/weighted\/enum.WeightedError.html\\" title=\\"enum rand::distributions::weighted::WeightedError\\">WeightedError<\/a>"],["impl<X: <a class=\\"trait\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html\\" title=\\"trait rand::distributions::uniform::SampleUniform\\">SampleUniform<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.StructuralPartialEq.html\\" title=\\"trait core::marker::StructuralPartialEq\\">StructuralPartialEq<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Uniform.html\\" title=\\"struct rand::distributions::Uniform\\">Uniform<\/a><X>"],["impl<X> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.StructuralPartialEq.html\\" title=\\"trait core::marker::StructuralPartialEq\\">StructuralPartialEq<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformInt.html\\" title=\\"struct rand::distributions::uniform::UniformInt\\">UniformInt<\/a><X>"],["impl<X> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.StructuralPartialEq.html\\" title=\\"trait core::marker::StructuralPartialEq\\">StructuralPartialEq<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformFloat.html\\" title=\\"struct rand::distributions::uniform::UniformFloat\\">UniformFloat<\/a><X>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.StructuralPartialEq.html\\" title=\\"trait core::marker::StructuralPartialEq\\">StructuralPartialEq<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/mock\/struct.StepRng.html\\" title=\\"struct rand::rngs::mock::StepRng\\">StepRng<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.StructuralPartialEq.html\\" title=\\"trait core::marker::StructuralPartialEq\\">StructuralPartialEq<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/struct.StdRng.html\\" title=\\"struct rand::rngs::StdRng\\">StdRng<\/a>"]],$/;" p
|
||
rand guessing_game/target/doc/implementors/core/marker/trait.Sync.js /^"rand":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Bernoulli.html\\" title=\\"struct rand::distributions::Bernoulli\\">Bernoulli<\/a>",1,["rand::distributions::bernoulli::Bernoulli"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"enum\\" href=\\"rand\/distributions\/enum.BernoulliError.html\\" title=\\"enum rand::distributions::BernoulliError\\">BernoulliError<\/a>",1,["rand::distributions::bernoulli::BernoulliError"]],["impl<D, R, T> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.DistIter.html\\" title=\\"struct rand::distributions::DistIter\\">DistIter<\/a><D, R, T><span class=\\"where fmt-newline\\">where<br> D: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a>,<br> R: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a>,<br> T: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a>,<\/span>",1,["rand::distributions::distribution::DistIter"]],["impl<D, F, T, S> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.DistMap.html\\" title=\\"struct rand::distributions::DistMap\\">DistMap<\/a><D, F, T, S><span class=\\"where fmt-newline\\">where<br> D: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a>,<br> F: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a>,<\/span>",1,["rand::distributions::distribution::DistMap"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.OpenClosed01.html\\" title=\\"struct rand::distributions::OpenClosed01\\">OpenClosed01<\/a>",1,["rand::distributions::float::OpenClosed01"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Open01.html\\" title=\\"struct rand::distributions::Open01\\">Open01<\/a>",1,["rand::distributions::float::Open01"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Alphanumeric.html\\" title=\\"struct rand::distributions::Alphanumeric\\">Alphanumeric<\/a>",1,["rand::distributions::other::Alphanumeric"]],["impl<'a, T> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Slice.html\\" title=\\"struct rand::distributions::Slice\\">Slice<\/a><'a, T><span class=\\"where fmt-newline\\">where<br> T: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a>,<\/span>",1,["rand::distributions::slice::Slice"]],["impl<X> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/weighted\/struct.WeightedIndex.html\\" title=\\"struct rand::distributions::weighted::WeightedIndex\\">WeightedIndex<\/a><X><span class=\\"where fmt-newline\\">where<br> X: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a>,<br> <X as <a class=\\"trait\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html\\" title=\\"trait rand::distributions::uniform::SampleUniform\\">SampleUniform<\/a>>::<a class=\\"associatedtype\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html#associatedtype.Sampler\\" title=\\"type rand::distributions::uniform::SampleUniform::Sampler\\">Sampler<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a>,<\/span>",1,["rand::distributions::weighted_index::WeightedIndex"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"enum\\" href=\\"rand\/distributions\/weighted\/enum.WeightedError.html\\" title=\\"enum rand::distributions::weighted::WeightedError\\">WeightedError<\/a>",1,["rand::distributions::weighted_index::WeightedError"]],["impl<X> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Uniform.html\\" title=\\"struct rand::distributions::Uniform\\">Uniform<\/a><X><span class=\\"where fmt-newline\\">where<br> <X as <a class=\\"trait\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html\\" title=\\"trait rand::distributions::uniform::SampleUniform\\">SampleUniform<\/a>>::<a class=\\"associatedtype\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html#associatedtype.Sampler\\" title=\\"type rand::distributions::uniform::SampleUniform::Sampler\\">Sampler<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a>,<\/span>",1,["rand::distributions::uniform::Uniform"]],["impl<X> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformInt.html\\" title=\\"struct rand::distributions::uniform::UniformInt\\">UniformInt<\/a><X><span class=\\"where fmt-newline\\">where<br> X: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a>,<\/span>",1,["rand::distributions::uniform::UniformInt"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformChar.html\\" title=\\"struct rand::distributions::uniform::UniformChar\\">UniformChar<\/a>",1,["rand::distributions::uniform::UniformChar"]],["impl<X> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformFloat.html\\" title=\\"struct rand::distributions::uniform::UniformFloat\\">UniformFloat<\/a><X><span class=\\"where fmt-newline\\">where<br> X: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a>,<\/span>",1,["rand::distributions::uniform::UniformFloat"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformDuration.html\\" title=\\"struct rand::distributions::uniform::UniformDuration\\">UniformDuration<\/a>",1,["rand::distributions::uniform::UniformDuration"]],["impl<W> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/weighted\/alias_method\/struct.WeightedIndex.html\\" title=\\"struct rand::distributions::weighted::alias_method::WeightedIndex\\">WeightedIndex<\/a><W><span class=\\"where fmt-newline\\">where<br> W: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a>,<\/span>",1,["rand::distributions::weighted::alias_method::WeightedIndex"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Standard.html\\" title=\\"struct rand::distributions::Standard\\">Standard<\/a>",1,["rand::distributions::Standard"]],["impl<R> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/adapter\/struct.ReadRng.html\\" title=\\"struct rand::rngs::adapter::ReadRng\\">ReadRng<\/a><R><span class=\\"where fmt-newline\\">where<br> R: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a>,<\/span>",1,["rand::rngs::adapter::read::ReadRng"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/adapter\/struct.ReadError.html\\" title=\\"struct rand::rngs::adapter::ReadError\\">ReadError<\/a>",1,["rand::rngs::adapter::read::ReadError"]],["impl<R, Rsdr> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/adapter\/struct.ReseedingRng.html\\" title=\\"struct rand::rngs::adapter::ReseedingRng\\">ReseedingRng<\/a><R, Rsdr><span class=\\"where fmt-newline\\">where<br> R: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a>,<br> Rsdr: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a>,<br> <R as <a class=\\"trait\\" href=\\"rand_core\/block\/trait.BlockRngCore.html\\" title=\\"trait rand_core::block::BlockRngCore\\">BlockRngCore<\/a>>::<a class=\\"associatedtype\\" href=\\"rand_core\/block\/trait.BlockRngCore.html#associatedtype.Results\\" title=\\"type rand_core::block::BlockRngCore::Results\\">Results<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a>,<\/span>",1,["rand::rngs::adapter::reseeding::ReseedingRng"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/mock\/struct.StepRng.html\\" title=\\"struct rand::rngs::mock::StepRng\\">StepRng<\/a>",1,["rand::rngs::mock::StepRng"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/struct.StdRng.html\\" title=\\"struct rand::rngs::StdRng\\">StdRng<\/a>",1,["rand::rngs::std::StdRng"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/struct.ThreadRng.html\\" title=\\"struct rand::rngs::ThreadRng\\">ThreadRng<\/a>",1,["rand::rngs::thread::ThreadRng"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"enum\\" href=\\"rand\/seq\/index\/enum.IndexVec.html\\" title=\\"enum rand::seq::index::IndexVec\\">IndexVec<\/a>",1,["rand::seq::index::IndexVec"]],["impl<'a> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"enum\\" href=\\"rand\/seq\/index\/enum.IndexVecIter.html\\" title=\\"enum rand::seq::index::IndexVecIter\\">IndexVecIter<\/a><'a>",1,["rand::seq::index::IndexVecIter"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"enum\\" href=\\"rand\/seq\/index\/enum.IndexVecIntoIter.html\\" title=\\"enum rand::seq::index::IndexVecIntoIter\\">IndexVecIntoIter<\/a>",1,["rand::seq::index::IndexVecIntoIter"]],["impl<'a, S: ?<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sized.html\\" title=\\"trait core::marker::Sized\\">Sized<\/a>, T> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"rand\/seq\/struct.SliceChooseIter.html\\" title=\\"struct rand::seq::SliceChooseIter\\">SliceChooseIter<\/a><'a, S, T><span class=\\"where fmt-newline\\">where<br> S: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a>,<br> T: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a>,<\/span>",1,["rand::seq::SliceChooseIter"]]],$/;" p
|
||
rand guessing_game/target/doc/implementors/core/marker/trait.Unpin.js /^"rand":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Bernoulli.html\\" title=\\"struct rand::distributions::Bernoulli\\">Bernoulli<\/a>",1,["rand::distributions::bernoulli::Bernoulli"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"enum\\" href=\\"rand\/distributions\/enum.BernoulliError.html\\" title=\\"enum rand::distributions::BernoulliError\\">BernoulliError<\/a>",1,["rand::distributions::bernoulli::BernoulliError"]],["impl<D, R, T> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.DistIter.html\\" title=\\"struct rand::distributions::DistIter\\">DistIter<\/a><D, R, T><span class=\\"where fmt-newline\\">where<br> D: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a>,<br> R: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a>,<br> T: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a>,<\/span>",1,["rand::distributions::distribution::DistIter"]],["impl<D, F, T, S> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.DistMap.html\\" title=\\"struct rand::distributions::DistMap\\">DistMap<\/a><D, F, T, S><span class=\\"where fmt-newline\\">where<br> D: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a>,<br> F: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a>,<\/span>",1,["rand::distributions::distribution::DistMap"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.OpenClosed01.html\\" title=\\"struct rand::distributions::OpenClosed01\\">OpenClosed01<\/a>",1,["rand::distributions::float::OpenClosed01"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Open01.html\\" title=\\"struct rand::distributions::Open01\\">Open01<\/a>",1,["rand::distributions::float::Open01"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Alphanumeric.html\\" title=\\"struct rand::distributions::Alphanumeric\\">Alphanumeric<\/a>",1,["rand::distributions::other::Alphanumeric"]],["impl<'a, T> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Slice.html\\" title=\\"struct rand::distributions::Slice\\">Slice<\/a><'a, T>",1,["rand::distributions::slice::Slice"]],["impl<X> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/weighted\/struct.WeightedIndex.html\\" title=\\"struct rand::distributions::weighted::WeightedIndex\\">WeightedIndex<\/a><X><span class=\\"where fmt-newline\\">where<br> X: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a>,<br> <X as <a class=\\"trait\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html\\" title=\\"trait rand::distributions::uniform::SampleUniform\\">SampleUniform<\/a>>::<a class=\\"associatedtype\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html#associatedtype.Sampler\\" title=\\"type rand::distributions::uniform::SampleUniform::Sampler\\">Sampler<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a>,<\/span>",1,["rand::distributions::weighted_index::WeightedIndex"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"enum\\" href=\\"rand\/distributions\/weighted\/enum.WeightedError.html\\" title=\\"enum rand::distributions::weighted::WeightedError\\">WeightedError<\/a>",1,["rand::distributions::weighted_index::WeightedError"]],["impl<X> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Uniform.html\\" title=\\"struct rand::distributions::Uniform\\">Uniform<\/a><X><span class=\\"where fmt-newline\\">where<br> <X as <a class=\\"trait\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html\\" title=\\"trait rand::distributions::uniform::SampleUniform\\">SampleUniform<\/a>>::<a class=\\"associatedtype\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html#associatedtype.Sampler\\" title=\\"type rand::distributions::uniform::SampleUniform::Sampler\\">Sampler<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a>,<\/span>",1,["rand::distributions::uniform::Uniform"]],["impl<X> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformInt.html\\" title=\\"struct rand::distributions::uniform::UniformInt\\">UniformInt<\/a><X><span class=\\"where fmt-newline\\">where<br> X: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a>,<\/span>",1,["rand::distributions::uniform::UniformInt"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformChar.html\\" title=\\"struct rand::distributions::uniform::UniformChar\\">UniformChar<\/a>",1,["rand::distributions::uniform::UniformChar"]],["impl<X> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformFloat.html\\" title=\\"struct rand::distributions::uniform::UniformFloat\\">UniformFloat<\/a><X><span class=\\"where fmt-newline\\">where<br> X: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a>,<\/span>",1,["rand::distributions::uniform::UniformFloat"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformDuration.html\\" title=\\"struct rand::distributions::uniform::UniformDuration\\">UniformDuration<\/a>",1,["rand::distributions::uniform::UniformDuration"]],["impl<W> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/weighted\/alias_method\/struct.WeightedIndex.html\\" title=\\"struct rand::distributions::weighted::alias_method::WeightedIndex\\">WeightedIndex<\/a><W><span class=\\"where fmt-newline\\">where<br> W: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a>,<\/span>",1,["rand::distributions::weighted::alias_method::WeightedIndex"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Standard.html\\" title=\\"struct rand::distributions::Standard\\">Standard<\/a>",1,["rand::distributions::Standard"]],["impl<R> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/adapter\/struct.ReadRng.html\\" title=\\"struct rand::rngs::adapter::ReadRng\\">ReadRng<\/a><R><span class=\\"where fmt-newline\\">where<br> R: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a>,<\/span>",1,["rand::rngs::adapter::read::ReadRng"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/adapter\/struct.ReadError.html\\" title=\\"struct rand::rngs::adapter::ReadError\\">ReadError<\/a>",1,["rand::rngs::adapter::read::ReadError"]],["impl<R, Rsdr> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/adapter\/struct.ReseedingRng.html\\" title=\\"struct rand::rngs::adapter::ReseedingRng\\">ReseedingRng<\/a><R, Rsdr><span class=\\"where fmt-newline\\">where<br> R: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a>,<br> Rsdr: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a>,<br> <R as <a class=\\"trait\\" href=\\"rand_core\/block\/trait.BlockRngCore.html\\" title=\\"trait rand_core::block::BlockRngCore\\">BlockRngCore<\/a>>::<a class=\\"associatedtype\\" href=\\"rand_core\/block\/trait.BlockRngCore.html#associatedtype.Results\\" title=\\"type rand_core::block::BlockRngCore::Results\\">Results<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a>,<\/span>",1,["rand::rngs::adapter::reseeding::ReseedingRng"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/mock\/struct.StepRng.html\\" title=\\"struct rand::rngs::mock::StepRng\\">StepRng<\/a>",1,["rand::rngs::mock::StepRng"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/struct.StdRng.html\\" title=\\"struct rand::rngs::StdRng\\">StdRng<\/a>",1,["rand::rngs::std::StdRng"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/struct.ThreadRng.html\\" title=\\"struct rand::rngs::ThreadRng\\">ThreadRng<\/a>",1,["rand::rngs::thread::ThreadRng"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"enum\\" href=\\"rand\/seq\/index\/enum.IndexVec.html\\" title=\\"enum rand::seq::index::IndexVec\\">IndexVec<\/a>",1,["rand::seq::index::IndexVec"]],["impl<'a> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"enum\\" href=\\"rand\/seq\/index\/enum.IndexVecIter.html\\" title=\\"enum rand::seq::index::IndexVecIter\\">IndexVecIter<\/a><'a>",1,["rand::seq::index::IndexVecIter"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"enum\\" href=\\"rand\/seq\/index\/enum.IndexVecIntoIter.html\\" title=\\"enum rand::seq::index::IndexVecIntoIter\\">IndexVecIntoIter<\/a>",1,["rand::seq::index::IndexVecIntoIter"]],["impl<'a, S: ?<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sized.html\\" title=\\"trait core::marker::Sized\\">Sized<\/a>, T> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"rand\/seq\/struct.SliceChooseIter.html\\" title=\\"struct rand::seq::SliceChooseIter\\">SliceChooseIter<\/a><'a, S, T><span class=\\"where fmt-newline\\">where<br> T: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a>,<\/span>",1,["rand::seq::SliceChooseIter"]]],$/;" p
|
||
rand guessing_game/target/doc/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js /^"rand":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Bernoulli.html\\" title=\\"struct rand::distributions::Bernoulli\\">Bernoulli<\/a>",1,["rand::distributions::bernoulli::Bernoulli"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"enum\\" href=\\"rand\/distributions\/enum.BernoulliError.html\\" title=\\"enum rand::distributions::BernoulliError\\">BernoulliError<\/a>",1,["rand::distributions::bernoulli::BernoulliError"]],["impl<D, R, T> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.DistIter.html\\" title=\\"struct rand::distributions::DistIter\\">DistIter<\/a><D, R, T><span class=\\"where fmt-newline\\">where<br> D: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a>,<br> R: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a>,<br> T: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a>,<\/span>",1,["rand::distributions::distribution::DistIter"]],["impl<D, F, T, S> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.DistMap.html\\" title=\\"struct rand::distributions::DistMap\\">DistMap<\/a><D, F, T, S><span class=\\"where fmt-newline\\">where<br> D: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a>,<br> F: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a>,<\/span>",1,["rand::distributions::distribution::DistMap"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.OpenClosed01.html\\" title=\\"struct rand::distributions::OpenClosed01\\">OpenClosed01<\/a>",1,["rand::distributions::float::OpenClosed01"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Open01.html\\" title=\\"struct rand::distributions::Open01\\">Open01<\/a>",1,["rand::distributions::float::Open01"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Alphanumeric.html\\" title=\\"struct rand::distributions::Alphanumeric\\">Alphanumeric<\/a>",1,["rand::distributions::other::Alphanumeric"]],["impl<'a, T> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Slice.html\\" title=\\"struct rand::distributions::Slice\\">Slice<\/a><'a, T><span class=\\"where fmt-newline\\">where<br> T: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a>,<\/span>",1,["rand::distributions::slice::Slice"]],["impl<X> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/weighted\/struct.WeightedIndex.html\\" title=\\"struct rand::distributions::weighted::WeightedIndex\\">WeightedIndex<\/a><X><span class=\\"where fmt-newline\\">where<br> X: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a>,<br> <X as <a class=\\"trait\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html\\" title=\\"trait rand::distributions::uniform::SampleUniform\\">SampleUniform<\/a>>::<a class=\\"associatedtype\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html#associatedtype.Sampler\\" title=\\"type rand::distributions::uniform::SampleUniform::Sampler\\">Sampler<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a>,<\/span>",1,["rand::distributions::weighted_index::WeightedIndex"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"enum\\" href=\\"rand\/distributions\/weighted\/enum.WeightedError.html\\" title=\\"enum rand::distributions::weighted::WeightedError\\">WeightedError<\/a>",1,["rand::distributions::weighted_index::WeightedError"]],["impl<X> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Uniform.html\\" title=\\"struct rand::distributions::Uniform\\">Uniform<\/a><X><span class=\\"where fmt-newline\\">where<br> <X as <a class=\\"trait\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html\\" title=\\"trait rand::distributions::uniform::SampleUniform\\">SampleUniform<\/a>>::<a class=\\"associatedtype\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html#associatedtype.Sampler\\" title=\\"type rand::distributions::uniform::SampleUniform::Sampler\\">Sampler<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a>,<\/span>",1,["rand::distributions::uniform::Uniform"]],["impl<X> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformInt.html\\" title=\\"struct rand::distributions::uniform::UniformInt\\">UniformInt<\/a><X><span class=\\"where fmt-newline\\">where<br> X: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a>,<\/span>",1,["rand::distributions::uniform::UniformInt"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformChar.html\\" title=\\"struct rand::distributions::uniform::UniformChar\\">UniformChar<\/a>",1,["rand::distributions::uniform::UniformChar"]],["impl<X> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformFloat.html\\" title=\\"struct rand::distributions::uniform::UniformFloat\\">UniformFloat<\/a><X><span class=\\"where fmt-newline\\">where<br> X: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a>,<\/span>",1,["rand::distributions::uniform::UniformFloat"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformDuration.html\\" title=\\"struct rand::distributions::uniform::UniformDuration\\">UniformDuration<\/a>",1,["rand::distributions::uniform::UniformDuration"]],["impl<W> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/weighted\/alias_method\/struct.WeightedIndex.html\\" title=\\"struct rand::distributions::weighted::alias_method::WeightedIndex\\">WeightedIndex<\/a><W><span class=\\"where fmt-newline\\">where<br> W: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a>,<\/span>",1,["rand::distributions::weighted::alias_method::WeightedIndex"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Standard.html\\" title=\\"struct rand::distributions::Standard\\">Standard<\/a>",1,["rand::distributions::Standard"]],["impl<R> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/adapter\/struct.ReadRng.html\\" title=\\"struct rand::rngs::adapter::ReadRng\\">ReadRng<\/a><R><span class=\\"where fmt-newline\\">where<br> R: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a>,<\/span>",1,["rand::rngs::adapter::read::ReadRng"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/adapter\/struct.ReadError.html\\" title=\\"struct rand::rngs::adapter::ReadError\\">ReadError<\/a>",1,["rand::rngs::adapter::read::ReadError"]],["impl<R, Rsdr> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/adapter\/struct.ReseedingRng.html\\" title=\\"struct rand::rngs::adapter::ReseedingRng\\">ReseedingRng<\/a><R, Rsdr><span class=\\"where fmt-newline\\">where<br> R: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a>,<br> Rsdr: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a>,<br> <R as <a class=\\"trait\\" href=\\"rand_core\/block\/trait.BlockRngCore.html\\" title=\\"trait rand_core::block::BlockRngCore\\">BlockRngCore<\/a>>::<a class=\\"associatedtype\\" href=\\"rand_core\/block\/trait.BlockRngCore.html#associatedtype.Results\\" title=\\"type rand_core::block::BlockRngCore::Results\\">Results<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a>,<\/span>",1,["rand::rngs::adapter::reseeding::ReseedingRng"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/mock\/struct.StepRng.html\\" title=\\"struct rand::rngs::mock::StepRng\\">StepRng<\/a>",1,["rand::rngs::mock::StepRng"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/struct.StdRng.html\\" title=\\"struct rand::rngs::StdRng\\">StdRng<\/a>",1,["rand::rngs::std::StdRng"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/struct.ThreadRng.html\\" title=\\"struct rand::rngs::ThreadRng\\">ThreadRng<\/a>",1,["rand::rngs::thread::ThreadRng"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"enum\\" href=\\"rand\/seq\/index\/enum.IndexVec.html\\" title=\\"enum rand::seq::index::IndexVec\\">IndexVec<\/a>",1,["rand::seq::index::IndexVec"]],["impl<'a> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"enum\\" href=\\"rand\/seq\/index\/enum.IndexVecIter.html\\" title=\\"enum rand::seq::index::IndexVecIter\\">IndexVecIter<\/a><'a>",1,["rand::seq::index::IndexVecIter"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"enum\\" href=\\"rand\/seq\/index\/enum.IndexVecIntoIter.html\\" title=\\"enum rand::seq::index::IndexVecIntoIter\\">IndexVecIntoIter<\/a>",1,["rand::seq::index::IndexVecIntoIter"]],["impl<'a, S: ?<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sized.html\\" title=\\"trait core::marker::Sized\\">Sized<\/a>, T> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/seq\/struct.SliceChooseIter.html\\" title=\\"struct rand::seq::SliceChooseIter\\">SliceChooseIter<\/a><'a, S, T><span class=\\"where fmt-newline\\">where<br> S: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a>,<br> T: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a>,<\/span>",1,["rand::seq::SliceChooseIter"]]],$/;" p
|
||
rand guessing_game/target/doc/implementors/core/panic/unwind_safe/trait.UnwindSafe.js /^"rand":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Bernoulli.html\\" title=\\"struct rand::distributions::Bernoulli\\">Bernoulli<\/a>",1,["rand::distributions::bernoulli::Bernoulli"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"enum\\" href=\\"rand\/distributions\/enum.BernoulliError.html\\" title=\\"enum rand::distributions::BernoulliError\\">BernoulliError<\/a>",1,["rand::distributions::bernoulli::BernoulliError"]],["impl<D, R, T> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.DistIter.html\\" title=\\"struct rand::distributions::DistIter\\">DistIter<\/a><D, R, T><span class=\\"where fmt-newline\\">where<br> D: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a>,<br> R: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a>,<br> T: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a>,<\/span>",1,["rand::distributions::distribution::DistIter"]],["impl<D, F, T, S> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.DistMap.html\\" title=\\"struct rand::distributions::DistMap\\">DistMap<\/a><D, F, T, S><span class=\\"where fmt-newline\\">where<br> D: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a>,<br> F: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a>,<\/span>",1,["rand::distributions::distribution::DistMap"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.OpenClosed01.html\\" title=\\"struct rand::distributions::OpenClosed01\\">OpenClosed01<\/a>",1,["rand::distributions::float::OpenClosed01"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Open01.html\\" title=\\"struct rand::distributions::Open01\\">Open01<\/a>",1,["rand::distributions::float::Open01"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Alphanumeric.html\\" title=\\"struct rand::distributions::Alphanumeric\\">Alphanumeric<\/a>",1,["rand::distributions::other::Alphanumeric"]],["impl<'a, T> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Slice.html\\" title=\\"struct rand::distributions::Slice\\">Slice<\/a><'a, T><span class=\\"where fmt-newline\\">where<br> T: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a>,<\/span>",1,["rand::distributions::slice::Slice"]],["impl<X> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/weighted\/struct.WeightedIndex.html\\" title=\\"struct rand::distributions::weighted::WeightedIndex\\">WeightedIndex<\/a><X><span class=\\"where fmt-newline\\">where<br> X: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a>,<br> <X as <a class=\\"trait\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html\\" title=\\"trait rand::distributions::uniform::SampleUniform\\">SampleUniform<\/a>>::<a class=\\"associatedtype\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html#associatedtype.Sampler\\" title=\\"type rand::distributions::uniform::SampleUniform::Sampler\\">Sampler<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a>,<\/span>",1,["rand::distributions::weighted_index::WeightedIndex"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"enum\\" href=\\"rand\/distributions\/weighted\/enum.WeightedError.html\\" title=\\"enum rand::distributions::weighted::WeightedError\\">WeightedError<\/a>",1,["rand::distributions::weighted_index::WeightedError"]],["impl<X> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Uniform.html\\" title=\\"struct rand::distributions::Uniform\\">Uniform<\/a><X><span class=\\"where fmt-newline\\">where<br> <X as <a class=\\"trait\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html\\" title=\\"trait rand::distributions::uniform::SampleUniform\\">SampleUniform<\/a>>::<a class=\\"associatedtype\\" href=\\"rand\/distributions\/uniform\/trait.SampleUniform.html#associatedtype.Sampler\\" title=\\"type rand::distributions::uniform::SampleUniform::Sampler\\">Sampler<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a>,<\/span>",1,["rand::distributions::uniform::Uniform"]],["impl<X> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformInt.html\\" title=\\"struct rand::distributions::uniform::UniformInt\\">UniformInt<\/a><X><span class=\\"where fmt-newline\\">where<br> X: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a>,<\/span>",1,["rand::distributions::uniform::UniformInt"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformChar.html\\" title=\\"struct rand::distributions::uniform::UniformChar\\">UniformChar<\/a>",1,["rand::distributions::uniform::UniformChar"]],["impl<X> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformFloat.html\\" title=\\"struct rand::distributions::uniform::UniformFloat\\">UniformFloat<\/a><X><span class=\\"where fmt-newline\\">where<br> X: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a>,<\/span>",1,["rand::distributions::uniform::UniformFloat"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/uniform\/struct.UniformDuration.html\\" title=\\"struct rand::distributions::uniform::UniformDuration\\">UniformDuration<\/a>",1,["rand::distributions::uniform::UniformDuration"]],["impl<W> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/weighted\/alias_method\/struct.WeightedIndex.html\\" title=\\"struct rand::distributions::weighted::alias_method::WeightedIndex\\">WeightedIndex<\/a><W><span class=\\"where fmt-newline\\">where<br> W: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a>,<\/span>",1,["rand::distributions::weighted::alias_method::WeightedIndex"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/distributions\/struct.Standard.html\\" title=\\"struct rand::distributions::Standard\\">Standard<\/a>",1,["rand::distributions::Standard"]],["impl<R> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/adapter\/struct.ReadRng.html\\" title=\\"struct rand::rngs::adapter::ReadRng\\">ReadRng<\/a><R><span class=\\"where fmt-newline\\">where<br> R: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a>,<\/span>",1,["rand::rngs::adapter::read::ReadRng"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/adapter\/struct.ReadError.html\\" title=\\"struct rand::rngs::adapter::ReadError\\">ReadError<\/a>",1,["rand::rngs::adapter::read::ReadError"]],["impl<R, Rsdr> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/adapter\/struct.ReseedingRng.html\\" title=\\"struct rand::rngs::adapter::ReseedingRng\\">ReseedingRng<\/a><R, Rsdr><span class=\\"where fmt-newline\\">where<br> R: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a>,<br> Rsdr: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a>,<br> <R as <a class=\\"trait\\" href=\\"rand_core\/block\/trait.BlockRngCore.html\\" title=\\"trait rand_core::block::BlockRngCore\\">BlockRngCore<\/a>>::<a class=\\"associatedtype\\" href=\\"rand_core\/block\/trait.BlockRngCore.html#associatedtype.Results\\" title=\\"type rand_core::block::BlockRngCore::Results\\">Results<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a>,<\/span>",1,["rand::rngs::adapter::reseeding::ReseedingRng"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/mock\/struct.StepRng.html\\" title=\\"struct rand::rngs::mock::StepRng\\">StepRng<\/a>",1,["rand::rngs::mock::StepRng"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/struct.StdRng.html\\" title=\\"struct rand::rngs::StdRng\\">StdRng<\/a>",1,["rand::rngs::std::StdRng"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/struct.ThreadRng.html\\" title=\\"struct rand::rngs::ThreadRng\\">ThreadRng<\/a>",1,["rand::rngs::thread::ThreadRng"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"enum\\" href=\\"rand\/seq\/index\/enum.IndexVec.html\\" title=\\"enum rand::seq::index::IndexVec\\">IndexVec<\/a>",1,["rand::seq::index::IndexVec"]],["impl<'a> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"enum\\" href=\\"rand\/seq\/index\/enum.IndexVecIter.html\\" title=\\"enum rand::seq::index::IndexVecIter\\">IndexVecIter<\/a><'a>",1,["rand::seq::index::IndexVecIter"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"enum\\" href=\\"rand\/seq\/index\/enum.IndexVecIntoIter.html\\" title=\\"enum rand::seq::index::IndexVecIntoIter\\">IndexVecIntoIter<\/a>",1,["rand::seq::index::IndexVecIntoIter"]],["impl<'a, S: ?<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sized.html\\" title=\\"trait core::marker::Sized\\">Sized<\/a>, T> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand\/seq\/struct.SliceChooseIter.html\\" title=\\"struct rand::seq::SliceChooseIter\\">SliceChooseIter<\/a><'a, S, T><span class=\\"where fmt-newline\\">where<br> S: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a>,<br> T: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a>,<\/span>",1,["rand::seq::SliceChooseIter"]]],$/;" p
|
||
rand guessing_game/target/doc/implementors/rand/distributions/distribution/trait.DistString.js /^"rand":[]$/;" p
|
||
rand guessing_game/target/doc/implementors/rand/distributions/distribution/trait.Distribution.js /^"rand":[]$/;" p
|
||
rand guessing_game/target/doc/implementors/rand/distributions/uniform/trait.SampleBorrow.js /^"rand":[]$/;" p
|
||
rand guessing_game/target/doc/implementors/rand/distributions/uniform/trait.SampleRange.js /^"rand":[]$/;" p
|
||
rand guessing_game/target/doc/implementors/rand/distributions/uniform/trait.SampleUniform.js /^"rand":[]$/;" p
|
||
rand guessing_game/target/doc/implementors/rand/distributions/uniform/trait.UniformSampler.js /^"rand":[]$/;" p
|
||
rand guessing_game/target/doc/implementors/rand/distributions/weighted/alias_method/trait.Weight.js /^"rand":[]$/;" p
|
||
rand guessing_game/target/doc/implementors/rand/rng/trait.Fill.js /^"rand":[]$/;" p
|
||
rand guessing_game/target/doc/implementors/rand/rng/trait.Rng.js /^"rand":[]$/;" p
|
||
rand guessing_game/target/doc/implementors/rand/seq/trait.IteratorRandom.js /^"rand":[]$/;" p
|
||
rand guessing_game/target/doc/implementors/rand/seq/trait.SliceRandom.js /^"rand":[]$/;" p
|
||
rand guessing_game/target/doc/implementors/rand_core/trait.CryptoRng.js /^"rand":[["impl<R, Rsdr> <a class=\\"trait\\" href=\\"rand\/trait.CryptoRng.html\\" title=\\"trait rand::CryptoRng\\">CryptoRng<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/adapter\/struct.ReseedingRng.html\\" title=\\"struct rand::rngs::adapter::ReseedingRng\\">ReseedingRng<\/a><R, Rsdr><span class=\\"where fmt-newline\\">where<br> R: <a class=\\"trait\\" href=\\"rand_core\/block\/trait.BlockRngCore.html\\" title=\\"trait rand_core::block::BlockRngCore\\">BlockRngCore<\/a> + <a class=\\"trait\\" href=\\"rand\/trait.SeedableRng.html\\" title=\\"trait rand::SeedableRng\\">SeedableRng<\/a> + <a class=\\"trait\\" href=\\"rand\/trait.CryptoRng.html\\" title=\\"trait rand::CryptoRng\\">CryptoRng<\/a>,<br> Rsdr: <a class=\\"trait\\" href=\\"rand\/trait.RngCore.html\\" title=\\"trait rand::RngCore\\">RngCore<\/a> + <a class=\\"trait\\" href=\\"rand\/trait.CryptoRng.html\\" title=\\"trait rand::CryptoRng\\">CryptoRng<\/a>,<\/span>"],["impl <a class=\\"trait\\" href=\\"rand\/trait.CryptoRng.html\\" title=\\"trait rand::CryptoRng\\">CryptoRng<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/struct.StdRng.html\\" title=\\"struct rand::rngs::StdRng\\">StdRng<\/a>"],["impl <a class=\\"trait\\" href=\\"rand\/trait.CryptoRng.html\\" title=\\"trait rand::CryptoRng\\">CryptoRng<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/struct.ThreadRng.html\\" title=\\"struct rand::rngs::ThreadRng\\">ThreadRng<\/a>"]],$/;" p
|
||
rand guessing_game/target/doc/implementors/rand_core/trait.RngCore.js /^"rand":[["impl<R: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/std\/io\/trait.Read.html\\" title=\\"trait std::io::Read\\">Read<\/a>> <a class=\\"trait\\" href=\\"rand\/trait.RngCore.html\\" title=\\"trait rand::RngCore\\">RngCore<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/adapter\/struct.ReadRng.html\\" title=\\"struct rand::rngs::adapter::ReadRng\\">ReadRng<\/a><R>"],["impl<R, Rsdr: <a class=\\"trait\\" href=\\"rand\/trait.RngCore.html\\" title=\\"trait rand::RngCore\\">RngCore<\/a>> <a class=\\"trait\\" href=\\"rand\/trait.RngCore.html\\" title=\\"trait rand::RngCore\\">RngCore<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/adapter\/struct.ReseedingRng.html\\" title=\\"struct rand::rngs::adapter::ReseedingRng\\">ReseedingRng<\/a><R, Rsdr><span class=\\"where fmt-newline\\">where<br> R: <a class=\\"trait\\" href=\\"rand_core\/block\/trait.BlockRngCore.html\\" title=\\"trait rand_core::block::BlockRngCore\\">BlockRngCore<\/a><Item = <a class=\\"primitive\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/std\/primitive.u32.html\\">u32<\/a>> + <a class=\\"trait\\" href=\\"rand\/trait.SeedableRng.html\\" title=\\"trait rand::SeedableRng\\">SeedableRng<\/a>,<br> <R as <a class=\\"trait\\" href=\\"rand_core\/block\/trait.BlockRngCore.html\\" title=\\"trait rand_core::block::BlockRngCore\\">BlockRngCore<\/a>>::<a class=\\"associatedtype\\" href=\\"rand_core\/block\/trait.BlockRngCore.html#associatedtype.Results\\" title=\\"type rand_core::block::BlockRngCore::Results\\">Results<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/convert\/trait.AsRef.html\\" title=\\"trait core::convert::AsRef\\">AsRef<\/a><[<a class=\\"primitive\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/std\/primitive.u32.html\\">u32<\/a>]> + <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/convert\/trait.AsMut.html\\" title=\\"trait core::convert::AsMut\\">AsMut<\/a><[<a class=\\"primitive\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/std\/primitive.u32.html\\">u32<\/a>]>,<\/span>"],["impl <a class=\\"trait\\" href=\\"rand\/trait.RngCore.html\\" title=\\"trait rand::RngCore\\">RngCore<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/mock\/struct.StepRng.html\\" title=\\"struct rand::rngs::mock::StepRng\\">StepRng<\/a>"],["impl <a class=\\"trait\\" href=\\"rand\/trait.RngCore.html\\" title=\\"trait rand::RngCore\\">RngCore<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/struct.StdRng.html\\" title=\\"struct rand::rngs::StdRng\\">StdRng<\/a>"],["impl <a class=\\"trait\\" href=\\"rand\/trait.RngCore.html\\" title=\\"trait rand::RngCore\\">RngCore<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/struct.ThreadRng.html\\" title=\\"struct rand::rngs::ThreadRng\\">ThreadRng<\/a>"]],$/;" p
|
||
rand guessing_game/target/doc/implementors/rand_core/trait.SeedableRng.js /^"rand":[["impl <a class=\\"trait\\" href=\\"rand\/trait.SeedableRng.html\\" title=\\"trait rand::SeedableRng\\">SeedableRng<\/a> for <a class=\\"struct\\" href=\\"rand\/rngs\/struct.StdRng.html\\" title=\\"struct rand::rngs::StdRng\\">StdRng<\/a>"]],$/;" p
|
||
rand_chacha guessing_game/target/doc/implementors/core/clone/trait.Clone.js /^"rand_chacha":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha20Core.html\\" title=\\"struct rand_chacha::ChaCha20Core\\">ChaCha20Core<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha20Rng.html\\" title=\\"struct rand_chacha::ChaCha20Rng\\">ChaCha20Rng<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha12Core.html\\" title=\\"struct rand_chacha::ChaCha12Core\\">ChaCha12Core<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha12Rng.html\\" title=\\"struct rand_chacha::ChaCha12Rng\\">ChaCha12Rng<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha8Core.html\\" title=\\"struct rand_chacha::ChaCha8Core\\">ChaCha8Core<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha8Rng.html\\" title=\\"struct rand_chacha::ChaCha8Rng\\">ChaCha8Rng<\/a>"]],$/;" p
|
||
rand_chacha guessing_game/target/doc/implementors/core/cmp/trait.Eq.js /^"rand_chacha":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.Eq.html\\" title=\\"trait core::cmp::Eq\\">Eq<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha20Core.html\\" title=\\"struct rand_chacha::ChaCha20Core\\">ChaCha20Core<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.Eq.html\\" title=\\"trait core::cmp::Eq\\">Eq<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha20Rng.html\\" title=\\"struct rand_chacha::ChaCha20Rng\\">ChaCha20Rng<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.Eq.html\\" title=\\"trait core::cmp::Eq\\">Eq<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha12Core.html\\" title=\\"struct rand_chacha::ChaCha12Core\\">ChaCha12Core<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.Eq.html\\" title=\\"trait core::cmp::Eq\\">Eq<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha12Rng.html\\" title=\\"struct rand_chacha::ChaCha12Rng\\">ChaCha12Rng<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.Eq.html\\" title=\\"trait core::cmp::Eq\\">Eq<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha8Core.html\\" title=\\"struct rand_chacha::ChaCha8Core\\">ChaCha8Core<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.Eq.html\\" title=\\"trait core::cmp::Eq\\">Eq<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha8Rng.html\\" title=\\"struct rand_chacha::ChaCha8Rng\\">ChaCha8Rng<\/a>"]]$/;" p
|
||
rand_chacha guessing_game/target/doc/implementors/core/cmp/trait.PartialEq.js /^"rand_chacha":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.PartialEq.html\\" title=\\"trait core::cmp::PartialEq\\">PartialEq<\/a><<a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha20Core.html\\" title=\\"struct rand_chacha::ChaCha20Core\\">ChaCha20Core<\/a>> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha20Core.html\\" title=\\"struct rand_chacha::ChaCha20Core\\">ChaCha20Core<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.PartialEq.html\\" title=\\"trait core::cmp::PartialEq\\">PartialEq<\/a><<a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha20Rng.html\\" title=\\"struct rand_chacha::ChaCha20Rng\\">ChaCha20Rng<\/a>> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha20Rng.html\\" title=\\"struct rand_chacha::ChaCha20Rng\\">ChaCha20Rng<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.PartialEq.html\\" title=\\"trait core::cmp::PartialEq\\">PartialEq<\/a><<a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha12Core.html\\" title=\\"struct rand_chacha::ChaCha12Core\\">ChaCha12Core<\/a>> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha12Core.html\\" title=\\"struct rand_chacha::ChaCha12Core\\">ChaCha12Core<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.PartialEq.html\\" title=\\"trait core::cmp::PartialEq\\">PartialEq<\/a><<a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha12Rng.html\\" title=\\"struct rand_chacha::ChaCha12Rng\\">ChaCha12Rng<\/a>> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha12Rng.html\\" title=\\"struct rand_chacha::ChaCha12Rng\\">ChaCha12Rng<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.PartialEq.html\\" title=\\"trait core::cmp::PartialEq\\">PartialEq<\/a><<a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha8Core.html\\" title=\\"struct rand_chacha::ChaCha8Core\\">ChaCha8Core<\/a>> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha8Core.html\\" title=\\"struct rand_chacha::ChaCha8Core\\">ChaCha8Core<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/cmp\/trait.PartialEq.html\\" title=\\"trait core::cmp::PartialEq\\">PartialEq<\/a><<a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha8Rng.html\\" title=\\"struct rand_chacha::ChaCha8Rng\\">ChaCha8Rng<\/a>> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha8Rng.html\\" title=\\"struct rand_chacha::ChaCha8Rng\\">ChaCha8Rng<\/a>"]]$/;" p
|
||
rand_chacha guessing_game/target/doc/implementors/core/convert/trait.From.js /^"rand_chacha":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/convert\/trait.From.html\\" title=\\"trait core::convert::From\\">From<\/a><<a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha20Core.html\\" title=\\"struct rand_chacha::ChaCha20Core\\">ChaCha20Core<\/a>> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha20Rng.html\\" title=\\"struct rand_chacha::ChaCha20Rng\\">ChaCha20Rng<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/convert\/trait.From.html\\" title=\\"trait core::convert::From\\">From<\/a><<a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha12Core.html\\" title=\\"struct rand_chacha::ChaCha12Core\\">ChaCha12Core<\/a>> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha12Rng.html\\" title=\\"struct rand_chacha::ChaCha12Rng\\">ChaCha12Rng<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/convert\/trait.From.html\\" title=\\"trait core::convert::From\\">From<\/a><<a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha8Core.html\\" title=\\"struct rand_chacha::ChaCha8Core\\">ChaCha8Core<\/a>> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha8Rng.html\\" title=\\"struct rand_chacha::ChaCha8Rng\\">ChaCha8Rng<\/a>"]],$/;" p
|
||
rand_chacha guessing_game/target/doc/implementors/core/fmt/trait.Debug.js /^"rand_chacha":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha20Core.html\\" title=\\"struct rand_chacha::ChaCha20Core\\">ChaCha20Core<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha20Rng.html\\" title=\\"struct rand_chacha::ChaCha20Rng\\">ChaCha20Rng<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha12Core.html\\" title=\\"struct rand_chacha::ChaCha12Core\\">ChaCha12Core<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha12Rng.html\\" title=\\"struct rand_chacha::ChaCha12Rng\\">ChaCha12Rng<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha8Core.html\\" title=\\"struct rand_chacha::ChaCha8Core\\">ChaCha8Core<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha8Rng.html\\" title=\\"struct rand_chacha::ChaCha8Rng\\">ChaCha8Rng<\/a>"]],$/;" p
|
||
rand_chacha guessing_game/target/doc/implementors/core/marker/trait.Freeze.js /^"rand_chacha":[["impl Freeze for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha20Core.html\\" title=\\"struct rand_chacha::ChaCha20Core\\">ChaCha20Core<\/a>",1,["rand_chacha::chacha::ChaCha20Core"]],["impl Freeze for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha20Rng.html\\" title=\\"struct rand_chacha::ChaCha20Rng\\">ChaCha20Rng<\/a>",1,["rand_chacha::chacha::ChaCha20Rng"]],["impl Freeze for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha12Core.html\\" title=\\"struct rand_chacha::ChaCha12Core\\">ChaCha12Core<\/a>",1,["rand_chacha::chacha::ChaCha12Core"]],["impl Freeze for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha12Rng.html\\" title=\\"struct rand_chacha::ChaCha12Rng\\">ChaCha12Rng<\/a>",1,["rand_chacha::chacha::ChaCha12Rng"]],["impl Freeze for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha8Core.html\\" title=\\"struct rand_chacha::ChaCha8Core\\">ChaCha8Core<\/a>",1,["rand_chacha::chacha::ChaCha8Core"]],["impl Freeze for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha8Rng.html\\" title=\\"struct rand_chacha::ChaCha8Rng\\">ChaCha8Rng<\/a>",1,["rand_chacha::chacha::ChaCha8Rng"]]],$/;" p
|
||
rand_chacha guessing_game/target/doc/implementors/core/marker/trait.Send.js /^"rand_chacha":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha20Core.html\\" title=\\"struct rand_chacha::ChaCha20Core\\">ChaCha20Core<\/a>",1,["rand_chacha::chacha::ChaCha20Core"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha20Rng.html\\" title=\\"struct rand_chacha::ChaCha20Rng\\">ChaCha20Rng<\/a>",1,["rand_chacha::chacha::ChaCha20Rng"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha12Core.html\\" title=\\"struct rand_chacha::ChaCha12Core\\">ChaCha12Core<\/a>",1,["rand_chacha::chacha::ChaCha12Core"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha12Rng.html\\" title=\\"struct rand_chacha::ChaCha12Rng\\">ChaCha12Rng<\/a>",1,["rand_chacha::chacha::ChaCha12Rng"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha8Core.html\\" title=\\"struct rand_chacha::ChaCha8Core\\">ChaCha8Core<\/a>",1,["rand_chacha::chacha::ChaCha8Core"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha8Rng.html\\" title=\\"struct rand_chacha::ChaCha8Rng\\">ChaCha8Rng<\/a>",1,["rand_chacha::chacha::ChaCha8Rng"]]],$/;" p
|
||
rand_chacha guessing_game/target/doc/implementors/core/marker/trait.StructuralEq.js /^"rand_chacha":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.StructuralEq.html\\" title=\\"trait core::marker::StructuralEq\\">StructuralEq<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha20Core.html\\" title=\\"struct rand_chacha::ChaCha20Core\\">ChaCha20Core<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.StructuralEq.html\\" title=\\"trait core::marker::StructuralEq\\">StructuralEq<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha12Core.html\\" title=\\"struct rand_chacha::ChaCha12Core\\">ChaCha12Core<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.StructuralEq.html\\" title=\\"trait core::marker::StructuralEq\\">StructuralEq<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha8Core.html\\" title=\\"struct rand_chacha::ChaCha8Core\\">ChaCha8Core<\/a>"]]$/;" p
|
||
rand_chacha guessing_game/target/doc/implementors/core/marker/trait.StructuralPartialEq.js /^"rand_chacha":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.StructuralPartialEq.html\\" title=\\"trait core::marker::StructuralPartialEq\\">StructuralPartialEq<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha20Core.html\\" title=\\"struct rand_chacha::ChaCha20Core\\">ChaCha20Core<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.StructuralPartialEq.html\\" title=\\"trait core::marker::StructuralPartialEq\\">StructuralPartialEq<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha12Core.html\\" title=\\"struct rand_chacha::ChaCha12Core\\">ChaCha12Core<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.StructuralPartialEq.html\\" title=\\"trait core::marker::StructuralPartialEq\\">StructuralPartialEq<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha8Core.html\\" title=\\"struct rand_chacha::ChaCha8Core\\">ChaCha8Core<\/a>"]]$/;" p
|
||
rand_chacha guessing_game/target/doc/implementors/core/marker/trait.Sync.js /^"rand_chacha":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha20Core.html\\" title=\\"struct rand_chacha::ChaCha20Core\\">ChaCha20Core<\/a>",1,["rand_chacha::chacha::ChaCha20Core"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha20Rng.html\\" title=\\"struct rand_chacha::ChaCha20Rng\\">ChaCha20Rng<\/a>",1,["rand_chacha::chacha::ChaCha20Rng"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha12Core.html\\" title=\\"struct rand_chacha::ChaCha12Core\\">ChaCha12Core<\/a>",1,["rand_chacha::chacha::ChaCha12Core"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha12Rng.html\\" title=\\"struct rand_chacha::ChaCha12Rng\\">ChaCha12Rng<\/a>",1,["rand_chacha::chacha::ChaCha12Rng"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha8Core.html\\" title=\\"struct rand_chacha::ChaCha8Core\\">ChaCha8Core<\/a>",1,["rand_chacha::chacha::ChaCha8Core"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha8Rng.html\\" title=\\"struct rand_chacha::ChaCha8Rng\\">ChaCha8Rng<\/a>",1,["rand_chacha::chacha::ChaCha8Rng"]]],$/;" p
|
||
rand_chacha guessing_game/target/doc/implementors/core/marker/trait.Unpin.js /^"rand_chacha":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha20Core.html\\" title=\\"struct rand_chacha::ChaCha20Core\\">ChaCha20Core<\/a>",1,["rand_chacha::chacha::ChaCha20Core"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha20Rng.html\\" title=\\"struct rand_chacha::ChaCha20Rng\\">ChaCha20Rng<\/a>",1,["rand_chacha::chacha::ChaCha20Rng"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha12Core.html\\" title=\\"struct rand_chacha::ChaCha12Core\\">ChaCha12Core<\/a>",1,["rand_chacha::chacha::ChaCha12Core"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha12Rng.html\\" title=\\"struct rand_chacha::ChaCha12Rng\\">ChaCha12Rng<\/a>",1,["rand_chacha::chacha::ChaCha12Rng"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha8Core.html\\" title=\\"struct rand_chacha::ChaCha8Core\\">ChaCha8Core<\/a>",1,["rand_chacha::chacha::ChaCha8Core"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha8Rng.html\\" title=\\"struct rand_chacha::ChaCha8Rng\\">ChaCha8Rng<\/a>",1,["rand_chacha::chacha::ChaCha8Rng"]]],$/;" p
|
||
rand_chacha guessing_game/target/doc/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js /^"rand_chacha":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha20Core.html\\" title=\\"struct rand_chacha::ChaCha20Core\\">ChaCha20Core<\/a>",1,["rand_chacha::chacha::ChaCha20Core"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha20Rng.html\\" title=\\"struct rand_chacha::ChaCha20Rng\\">ChaCha20Rng<\/a>",1,["rand_chacha::chacha::ChaCha20Rng"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha12Core.html\\" title=\\"struct rand_chacha::ChaCha12Core\\">ChaCha12Core<\/a>",1,["rand_chacha::chacha::ChaCha12Core"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha12Rng.html\\" title=\\"struct rand_chacha::ChaCha12Rng\\">ChaCha12Rng<\/a>",1,["rand_chacha::chacha::ChaCha12Rng"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha8Core.html\\" title=\\"struct rand_chacha::ChaCha8Core\\">ChaCha8Core<\/a>",1,["rand_chacha::chacha::ChaCha8Core"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha8Rng.html\\" title=\\"struct rand_chacha::ChaCha8Rng\\">ChaCha8Rng<\/a>",1,["rand_chacha::chacha::ChaCha8Rng"]]],$/;" p
|
||
rand_chacha guessing_game/target/doc/implementors/core/panic/unwind_safe/trait.UnwindSafe.js /^"rand_chacha":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha20Core.html\\" title=\\"struct rand_chacha::ChaCha20Core\\">ChaCha20Core<\/a>",1,["rand_chacha::chacha::ChaCha20Core"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha20Rng.html\\" title=\\"struct rand_chacha::ChaCha20Rng\\">ChaCha20Rng<\/a>",1,["rand_chacha::chacha::ChaCha20Rng"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha12Core.html\\" title=\\"struct rand_chacha::ChaCha12Core\\">ChaCha12Core<\/a>",1,["rand_chacha::chacha::ChaCha12Core"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha12Rng.html\\" title=\\"struct rand_chacha::ChaCha12Rng\\">ChaCha12Rng<\/a>",1,["rand_chacha::chacha::ChaCha12Rng"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha8Core.html\\" title=\\"struct rand_chacha::ChaCha8Core\\">ChaCha8Core<\/a>",1,["rand_chacha::chacha::ChaCha8Core"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha8Rng.html\\" title=\\"struct rand_chacha::ChaCha8Rng\\">ChaCha8Rng<\/a>",1,["rand_chacha::chacha::ChaCha8Rng"]]],$/;" p
|
||
rand_chacha guessing_game/target/doc/implementors/rand_core/block/trait.BlockRngCore.js /^"rand_chacha":[["impl <a class=\\"trait\\" href=\\"rand_core\/block\/trait.BlockRngCore.html\\" title=\\"trait rand_core::block::BlockRngCore\\">BlockRngCore<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha20Core.html\\" title=\\"struct rand_chacha::ChaCha20Core\\">ChaCha20Core<\/a>"],["impl <a class=\\"trait\\" href=\\"rand_core\/block\/trait.BlockRngCore.html\\" title=\\"trait rand_core::block::BlockRngCore\\">BlockRngCore<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha12Core.html\\" title=\\"struct rand_chacha::ChaCha12Core\\">ChaCha12Core<\/a>"],["impl <a class=\\"trait\\" href=\\"rand_core\/block\/trait.BlockRngCore.html\\" title=\\"trait rand_core::block::BlockRngCore\\">BlockRngCore<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha8Core.html\\" title=\\"struct rand_chacha::ChaCha8Core\\">ChaCha8Core<\/a>"]]$/;" p
|
||
rand_chacha guessing_game/target/doc/implementors/rand_core/trait.CryptoRng.js /^"rand_chacha":[["impl <a class=\\"trait\\" href=\\"rand_core\/trait.CryptoRng.html\\" title=\\"trait rand_core::CryptoRng\\">CryptoRng<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha20Core.html\\" title=\\"struct rand_chacha::ChaCha20Core\\">ChaCha20Core<\/a>"],["impl <a class=\\"trait\\" href=\\"rand_core\/trait.CryptoRng.html\\" title=\\"trait rand_core::CryptoRng\\">CryptoRng<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha20Rng.html\\" title=\\"struct rand_chacha::ChaCha20Rng\\">ChaCha20Rng<\/a>"],["impl <a class=\\"trait\\" href=\\"rand_core\/trait.CryptoRng.html\\" title=\\"trait rand_core::CryptoRng\\">CryptoRng<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha12Core.html\\" title=\\"struct rand_chacha::ChaCha12Core\\">ChaCha12Core<\/a>"],["impl <a class=\\"trait\\" href=\\"rand_core\/trait.CryptoRng.html\\" title=\\"trait rand_core::CryptoRng\\">CryptoRng<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha12Rng.html\\" title=\\"struct rand_chacha::ChaCha12Rng\\">ChaCha12Rng<\/a>"],["impl <a class=\\"trait\\" href=\\"rand_core\/trait.CryptoRng.html\\" title=\\"trait rand_core::CryptoRng\\">CryptoRng<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha8Core.html\\" title=\\"struct rand_chacha::ChaCha8Core\\">ChaCha8Core<\/a>"],["impl <a class=\\"trait\\" href=\\"rand_core\/trait.CryptoRng.html\\" title=\\"trait rand_core::CryptoRng\\">CryptoRng<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha8Rng.html\\" title=\\"struct rand_chacha::ChaCha8Rng\\">ChaCha8Rng<\/a>"]],$/;" p
|
||
rand_chacha guessing_game/target/doc/implementors/rand_core/trait.RngCore.js /^"rand_chacha":[["impl <a class=\\"trait\\" href=\\"rand_core\/trait.RngCore.html\\" title=\\"trait rand_core::RngCore\\">RngCore<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha20Rng.html\\" title=\\"struct rand_chacha::ChaCha20Rng\\">ChaCha20Rng<\/a>"],["impl <a class=\\"trait\\" href=\\"rand_core\/trait.RngCore.html\\" title=\\"trait rand_core::RngCore\\">RngCore<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha12Rng.html\\" title=\\"struct rand_chacha::ChaCha12Rng\\">ChaCha12Rng<\/a>"],["impl <a class=\\"trait\\" href=\\"rand_core\/trait.RngCore.html\\" title=\\"trait rand_core::RngCore\\">RngCore<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha8Rng.html\\" title=\\"struct rand_chacha::ChaCha8Rng\\">ChaCha8Rng<\/a>"]],$/;" p
|
||
rand_chacha guessing_game/target/doc/implementors/rand_core/trait.SeedableRng.js /^"rand_chacha":[["impl <a class=\\"trait\\" href=\\"rand_core\/trait.SeedableRng.html\\" title=\\"trait rand_core::SeedableRng\\">SeedableRng<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha20Core.html\\" title=\\"struct rand_chacha::ChaCha20Core\\">ChaCha20Core<\/a>"],["impl <a class=\\"trait\\" href=\\"rand_core\/trait.SeedableRng.html\\" title=\\"trait rand_core::SeedableRng\\">SeedableRng<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha20Rng.html\\" title=\\"struct rand_chacha::ChaCha20Rng\\">ChaCha20Rng<\/a>"],["impl <a class=\\"trait\\" href=\\"rand_core\/trait.SeedableRng.html\\" title=\\"trait rand_core::SeedableRng\\">SeedableRng<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha12Core.html\\" title=\\"struct rand_chacha::ChaCha12Core\\">ChaCha12Core<\/a>"],["impl <a class=\\"trait\\" href=\\"rand_core\/trait.SeedableRng.html\\" title=\\"trait rand_core::SeedableRng\\">SeedableRng<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha12Rng.html\\" title=\\"struct rand_chacha::ChaCha12Rng\\">ChaCha12Rng<\/a>"],["impl <a class=\\"trait\\" href=\\"rand_core\/trait.SeedableRng.html\\" title=\\"trait rand_core::SeedableRng\\">SeedableRng<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha8Core.html\\" title=\\"struct rand_chacha::ChaCha8Core\\">ChaCha8Core<\/a>"],["impl <a class=\\"trait\\" href=\\"rand_core\/trait.SeedableRng.html\\" title=\\"trait rand_core::SeedableRng\\">SeedableRng<\/a> for <a class=\\"struct\\" href=\\"rand_chacha\/struct.ChaCha8Rng.html\\" title=\\"struct rand_chacha::ChaCha8Rng\\">ChaCha8Rng<\/a>"]],$/;" p
|
||
rand_core guessing_game/target/doc/implementors/core/clone/trait.Clone.js /^"rand_core":[["impl<R: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> + <a class=\\"trait\\" href=\\"rand_core\/block\/trait.BlockRngCore.html\\" title=\\"trait rand_core::block::BlockRngCore\\">BlockRngCore<\/a> + ?<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sized.html\\" title=\\"trait core::marker::Sized\\">Sized<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"rand_core\/block\/struct.BlockRng.html\\" title=\\"struct rand_core::block::BlockRng\\">BlockRng<\/a><R><span class=\\"where fmt-newline\\">where<br> R::<a class=\\"associatedtype\\" href=\\"rand_core\/block\/trait.BlockRngCore.html#associatedtype.Results\\" title=\\"type rand_core::block::BlockRngCore::Results\\">Results<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a>,<\/span>"],["impl<R: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> + <a class=\\"trait\\" href=\\"rand_core\/block\/trait.BlockRngCore.html\\" title=\\"trait rand_core::block::BlockRngCore\\">BlockRngCore<\/a> + ?<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sized.html\\" title=\\"trait core::marker::Sized\\">Sized<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"rand_core\/block\/struct.BlockRng64.html\\" title=\\"struct rand_core::block::BlockRng64\\">BlockRng64<\/a><R><span class=\\"where fmt-newline\\">where<br> R::<a class=\\"associatedtype\\" href=\\"rand_core\/block\/trait.BlockRngCore.html#associatedtype.Results\\" title=\\"type rand_core::block::BlockRngCore::Results\\">Results<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a>,<\/span>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/clone\/trait.Clone.html\\" title=\\"trait core::clone::Clone\\">Clone<\/a> for <a class=\\"struct\\" href=\\"rand_core\/struct.OsRng.html\\" title=\\"struct rand_core::OsRng\\">OsRng<\/a>"]]$/;" p
|
||
rand_core guessing_game/target/doc/implementors/core/convert/trait.From.js /^"rand_core":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/convert\/trait.From.html\\" title=\\"trait core::convert::From\\">From<\/a><<a class=\\"struct\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/num\/nonzero\/struct.NonZeroU32.html\\" title=\\"struct core::num::nonzero::NonZeroU32\\">NonZeroU32<\/a>> for <a class=\\"struct\\" href=\\"rand_core\/struct.Error.html\\" title=\\"struct rand_core::Error\\">Error<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/convert\/trait.From.html\\" title=\\"trait core::convert::From\\">From<\/a><<a class=\\"struct\\" href=\\"getrandom\/error\/struct.Error.html\\" title=\\"struct getrandom::error::Error\\">Error<\/a>> for <a class=\\"struct\\" href=\\"rand_core\/struct.Error.html\\" title=\\"struct rand_core::Error\\">Error<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/convert\/trait.From.html\\" title=\\"trait core::convert::From\\">From<\/a><<a class=\\"struct\\" href=\\"rand_core\/struct.Error.html\\" title=\\"struct rand_core::Error\\">Error<\/a>> for <a class=\\"struct\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/std\/io\/error\/struct.Error.html\\" title=\\"struct std::io::error::Error\\">Error<\/a>"]]$/;" p
|
||
rand_core guessing_game/target/doc/implementors/core/default/trait.Default.js /^"rand_core":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/default\/trait.Default.html\\" title=\\"trait core::default::Default\\">Default<\/a> for <a class=\\"struct\\" href=\\"rand_core\/struct.OsRng.html\\" title=\\"struct rand_core::OsRng\\">OsRng<\/a>"]]$/;" p
|
||
rand_core guessing_game/target/doc/implementors/core/error/trait.Error.js /^"rand_core":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/error\/trait.Error.html\\" title=\\"trait core::error::Error\\">Error<\/a> for <a class=\\"struct\\" href=\\"rand_core\/struct.Error.html\\" title=\\"struct rand_core::Error\\">Error<\/a>"]]$/;" p
|
||
rand_core guessing_game/target/doc/implementors/core/fmt/trait.Debug.js /^"rand_core":[["impl<R: <a class=\\"trait\\" href=\\"rand_core\/block\/trait.BlockRngCore.html\\" title=\\"trait rand_core::block::BlockRngCore\\">BlockRngCore<\/a> + <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"rand_core\/block\/struct.BlockRng.html\\" title=\\"struct rand_core::block::BlockRng\\">BlockRng<\/a><R>"],["impl<R: <a class=\\"trait\\" href=\\"rand_core\/block\/trait.BlockRngCore.html\\" title=\\"trait rand_core::block::BlockRngCore\\">BlockRngCore<\/a> + <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"rand_core\/block\/struct.BlockRng64.html\\" title=\\"struct rand_core::block::BlockRng64\\">BlockRng64<\/a><R>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"rand_core\/struct.Error.html\\" title=\\"struct rand_core::Error\\">Error<\/a>"],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Debug.html\\" title=\\"trait core::fmt::Debug\\">Debug<\/a> for <a class=\\"struct\\" href=\\"rand_core\/struct.OsRng.html\\" title=\\"struct rand_core::OsRng\\">OsRng<\/a>"]]$/;" p
|
||
rand_core guessing_game/target/doc/implementors/core/fmt/trait.Display.js /^"rand_core":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/fmt\/trait.Display.html\\" title=\\"trait core::fmt::Display\\">Display<\/a> for <a class=\\"struct\\" href=\\"rand_core\/struct.Error.html\\" title=\\"struct rand_core::Error\\">Error<\/a>"]]$/;" p
|
||
rand_core guessing_game/target/doc/implementors/core/marker/trait.Copy.js /^"rand_core":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Copy.html\\" title=\\"trait core::marker::Copy\\">Copy<\/a> for <a class=\\"struct\\" href=\\"rand_core\/struct.OsRng.html\\" title=\\"struct rand_core::OsRng\\">OsRng<\/a>"]]$/;" p
|
||
rand_core guessing_game/target/doc/implementors/core/marker/trait.Freeze.js /^"rand_core":[["impl<R: ?<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sized.html\\" title=\\"trait core::marker::Sized\\">Sized<\/a>> Freeze for <a class=\\"struct\\" href=\\"rand_core\/block\/struct.BlockRng.html\\" title=\\"struct rand_core::block::BlockRng\\">BlockRng<\/a><R><span class=\\"where fmt-newline\\">where<br> R: Freeze,<br> <R as <a class=\\"trait\\" href=\\"rand_core\/block\/trait.BlockRngCore.html\\" title=\\"trait rand_core::block::BlockRngCore\\">BlockRngCore<\/a>>::<a class=\\"associatedtype\\" href=\\"rand_core\/block\/trait.BlockRngCore.html#associatedtype.Results\\" title=\\"type rand_core::block::BlockRngCore::Results\\">Results<\/a>: Freeze,<\/span>",1,["rand_core::block::BlockRng"]],["impl<R: ?<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sized.html\\" title=\\"trait core::marker::Sized\\">Sized<\/a>> Freeze for <a class=\\"struct\\" href=\\"rand_core\/block\/struct.BlockRng64.html\\" title=\\"struct rand_core::block::BlockRng64\\">BlockRng64<\/a><R><span class=\\"where fmt-newline\\">where<br> R: Freeze,<br> <R as <a class=\\"trait\\" href=\\"rand_core\/block\/trait.BlockRngCore.html\\" title=\\"trait rand_core::block::BlockRngCore\\">BlockRngCore<\/a>>::<a class=\\"associatedtype\\" href=\\"rand_core\/block\/trait.BlockRngCore.html#associatedtype.Results\\" title=\\"type rand_core::block::BlockRngCore::Results\\">Results<\/a>: Freeze,<\/span>",1,["rand_core::block::BlockRng64"]],["impl Freeze for <a class=\\"struct\\" href=\\"rand_core\/struct.Error.html\\" title=\\"struct rand_core::Error\\">Error<\/a>",1,["rand_core::error::Error"]],["impl Freeze for <a class=\\"struct\\" href=\\"rand_core\/struct.OsRng.html\\" title=\\"struct rand_core::OsRng\\">OsRng<\/a>",1,["rand_core::os::OsRng"]]]$/;" p
|
||
rand_core guessing_game/target/doc/implementors/core/marker/trait.Send.js /^"rand_core":[["impl<R: ?<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sized.html\\" title=\\"trait core::marker::Sized\\">Sized<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"rand_core\/block\/struct.BlockRng.html\\" title=\\"struct rand_core::block::BlockRng\\">BlockRng<\/a><R><span class=\\"where fmt-newline\\">where<br> R: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a>,<br> <R as <a class=\\"trait\\" href=\\"rand_core\/block\/trait.BlockRngCore.html\\" title=\\"trait rand_core::block::BlockRngCore\\">BlockRngCore<\/a>>::<a class=\\"associatedtype\\" href=\\"rand_core\/block\/trait.BlockRngCore.html#associatedtype.Results\\" title=\\"type rand_core::block::BlockRngCore::Results\\">Results<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a>,<\/span>",1,["rand_core::block::BlockRng"]],["impl<R: ?<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sized.html\\" title=\\"trait core::marker::Sized\\">Sized<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"rand_core\/block\/struct.BlockRng64.html\\" title=\\"struct rand_core::block::BlockRng64\\">BlockRng64<\/a><R><span class=\\"where fmt-newline\\">where<br> R: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a>,<br> <R as <a class=\\"trait\\" href=\\"rand_core\/block\/trait.BlockRngCore.html\\" title=\\"trait rand_core::block::BlockRngCore\\">BlockRngCore<\/a>>::<a class=\\"associatedtype\\" href=\\"rand_core\/block\/trait.BlockRngCore.html#associatedtype.Results\\" title=\\"type rand_core::block::BlockRngCore::Results\\">Results<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a>,<\/span>",1,["rand_core::block::BlockRng64"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"rand_core\/struct.Error.html\\" title=\\"struct rand_core::Error\\">Error<\/a>",1,["rand_core::error::Error"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Send.html\\" title=\\"trait core::marker::Send\\">Send<\/a> for <a class=\\"struct\\" href=\\"rand_core\/struct.OsRng.html\\" title=\\"struct rand_core::OsRng\\">OsRng<\/a>",1,["rand_core::os::OsRng"]]]$/;" p
|
||
rand_core guessing_game/target/doc/implementors/core/marker/trait.Sync.js /^"rand_core":[["impl<R: ?<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sized.html\\" title=\\"trait core::marker::Sized\\">Sized<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"rand_core\/block\/struct.BlockRng.html\\" title=\\"struct rand_core::block::BlockRng\\">BlockRng<\/a><R><span class=\\"where fmt-newline\\">where<br> R: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a>,<br> <R as <a class=\\"trait\\" href=\\"rand_core\/block\/trait.BlockRngCore.html\\" title=\\"trait rand_core::block::BlockRngCore\\">BlockRngCore<\/a>>::<a class=\\"associatedtype\\" href=\\"rand_core\/block\/trait.BlockRngCore.html#associatedtype.Results\\" title=\\"type rand_core::block::BlockRngCore::Results\\">Results<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a>,<\/span>",1,["rand_core::block::BlockRng"]],["impl<R: ?<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sized.html\\" title=\\"trait core::marker::Sized\\">Sized<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"rand_core\/block\/struct.BlockRng64.html\\" title=\\"struct rand_core::block::BlockRng64\\">BlockRng64<\/a><R><span class=\\"where fmt-newline\\">where<br> R: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a>,<br> <R as <a class=\\"trait\\" href=\\"rand_core\/block\/trait.BlockRngCore.html\\" title=\\"trait rand_core::block::BlockRngCore\\">BlockRngCore<\/a>>::<a class=\\"associatedtype\\" href=\\"rand_core\/block\/trait.BlockRngCore.html#associatedtype.Results\\" title=\\"type rand_core::block::BlockRngCore::Results\\">Results<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a>,<\/span>",1,["rand_core::block::BlockRng64"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"rand_core\/struct.Error.html\\" title=\\"struct rand_core::Error\\">Error<\/a>",1,["rand_core::error::Error"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sync.html\\" title=\\"trait core::marker::Sync\\">Sync<\/a> for <a class=\\"struct\\" href=\\"rand_core\/struct.OsRng.html\\" title=\\"struct rand_core::OsRng\\">OsRng<\/a>",1,["rand_core::os::OsRng"]]]$/;" p
|
||
rand_core guessing_game/target/doc/implementors/core/marker/trait.Unpin.js /^"rand_core":[["impl<R: ?<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sized.html\\" title=\\"trait core::marker::Sized\\">Sized<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"rand_core\/block\/struct.BlockRng.html\\" title=\\"struct rand_core::block::BlockRng\\">BlockRng<\/a><R><span class=\\"where fmt-newline\\">where<br> R: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a>,<br> <R as <a class=\\"trait\\" href=\\"rand_core\/block\/trait.BlockRngCore.html\\" title=\\"trait rand_core::block::BlockRngCore\\">BlockRngCore<\/a>>::<a class=\\"associatedtype\\" href=\\"rand_core\/block\/trait.BlockRngCore.html#associatedtype.Results\\" title=\\"type rand_core::block::BlockRngCore::Results\\">Results<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a>,<\/span>",1,["rand_core::block::BlockRng"]],["impl<R: ?<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sized.html\\" title=\\"trait core::marker::Sized\\">Sized<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"rand_core\/block\/struct.BlockRng64.html\\" title=\\"struct rand_core::block::BlockRng64\\">BlockRng64<\/a><R><span class=\\"where fmt-newline\\">where<br> R: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a>,<br> <R as <a class=\\"trait\\" href=\\"rand_core\/block\/trait.BlockRngCore.html\\" title=\\"trait rand_core::block::BlockRngCore\\">BlockRngCore<\/a>>::<a class=\\"associatedtype\\" href=\\"rand_core\/block\/trait.BlockRngCore.html#associatedtype.Results\\" title=\\"type rand_core::block::BlockRngCore::Results\\">Results<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a>,<\/span>",1,["rand_core::block::BlockRng64"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"rand_core\/struct.Error.html\\" title=\\"struct rand_core::Error\\">Error<\/a>",1,["rand_core::error::Error"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Unpin.html\\" title=\\"trait core::marker::Unpin\\">Unpin<\/a> for <a class=\\"struct\\" href=\\"rand_core\/struct.OsRng.html\\" title=\\"struct rand_core::OsRng\\">OsRng<\/a>",1,["rand_core::os::OsRng"]]]$/;" p
|
||
rand_core guessing_game/target/doc/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js /^"rand_core":[["impl<R: ?<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sized.html\\" title=\\"trait core::marker::Sized\\">Sized<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand_core\/block\/struct.BlockRng.html\\" title=\\"struct rand_core::block::BlockRng\\">BlockRng<\/a><R><span class=\\"where fmt-newline\\">where<br> R: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a>,<br> <R as <a class=\\"trait\\" href=\\"rand_core\/block\/trait.BlockRngCore.html\\" title=\\"trait rand_core::block::BlockRngCore\\">BlockRngCore<\/a>>::<a class=\\"associatedtype\\" href=\\"rand_core\/block\/trait.BlockRngCore.html#associatedtype.Results\\" title=\\"type rand_core::block::BlockRngCore::Results\\">Results<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a>,<\/span>",1,["rand_core::block::BlockRng"]],["impl<R: ?<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sized.html\\" title=\\"trait core::marker::Sized\\">Sized<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand_core\/block\/struct.BlockRng64.html\\" title=\\"struct rand_core::block::BlockRng64\\">BlockRng64<\/a><R><span class=\\"where fmt-newline\\">where<br> R: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a>,<br> <R as <a class=\\"trait\\" href=\\"rand_core\/block\/trait.BlockRngCore.html\\" title=\\"trait rand_core::block::BlockRngCore\\">BlockRngCore<\/a>>::<a class=\\"associatedtype\\" href=\\"rand_core\/block\/trait.BlockRngCore.html#associatedtype.Results\\" title=\\"type rand_core::block::BlockRngCore::Results\\">Results<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a>,<\/span>",1,["rand_core::block::BlockRng64"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand_core\/struct.Error.html\\" title=\\"struct rand_core::Error\\">Error<\/a>",1,["rand_core::error::Error"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.RefUnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::RefUnwindSafe\\">RefUnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand_core\/struct.OsRng.html\\" title=\\"struct rand_core::OsRng\\">OsRng<\/a>",1,["rand_core::os::OsRng"]]]$/;" p
|
||
rand_core guessing_game/target/doc/implementors/core/panic/unwind_safe/trait.UnwindSafe.js /^"rand_core":[["impl<R: ?<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sized.html\\" title=\\"trait core::marker::Sized\\">Sized<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand_core\/block\/struct.BlockRng.html\\" title=\\"struct rand_core::block::BlockRng\\">BlockRng<\/a><R><span class=\\"where fmt-newline\\">where<br> R: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a>,<br> <R as <a class=\\"trait\\" href=\\"rand_core\/block\/trait.BlockRngCore.html\\" title=\\"trait rand_core::block::BlockRngCore\\">BlockRngCore<\/a>>::<a class=\\"associatedtype\\" href=\\"rand_core\/block\/trait.BlockRngCore.html#associatedtype.Results\\" title=\\"type rand_core::block::BlockRngCore::Results\\">Results<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a>,<\/span>",1,["rand_core::block::BlockRng"]],["impl<R: ?<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/marker\/trait.Sized.html\\" title=\\"trait core::marker::Sized\\">Sized<\/a>> <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand_core\/block\/struct.BlockRng64.html\\" title=\\"struct rand_core::block::BlockRng64\\">BlockRng64<\/a><R><span class=\\"where fmt-newline\\">where<br> R: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a>,<br> <R as <a class=\\"trait\\" href=\\"rand_core\/block\/trait.BlockRngCore.html\\" title=\\"trait rand_core::block::BlockRngCore\\">BlockRngCore<\/a>>::<a class=\\"associatedtype\\" href=\\"rand_core\/block\/trait.BlockRngCore.html#associatedtype.Results\\" title=\\"type rand_core::block::BlockRngCore::Results\\">Results<\/a>: <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a>,<\/span>",1,["rand_core::block::BlockRng64"]],["impl !<a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand_core\/struct.Error.html\\" title=\\"struct rand_core::Error\\">Error<\/a>",1,["rand_core::error::Error"]],["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/core\/panic\/unwind_safe\/trait.UnwindSafe.html\\" title=\\"trait core::panic::unwind_safe::UnwindSafe\\">UnwindSafe<\/a> for <a class=\\"struct\\" href=\\"rand_core\/struct.OsRng.html\\" title=\\"struct rand_core::OsRng\\">OsRng<\/a>",1,["rand_core::os::OsRng"]]]$/;" p
|
||
rand_core guessing_game/target/doc/implementors/rand_core/trait.CryptoRng.js /^"rand_core":[]$/;" p
|
||
rand_core guessing_game/target/doc/implementors/rand_core/trait.CryptoRngCore.js /^"rand_core":[]$/;" p
|
||
rand_core guessing_game/target/doc/implementors/rand_core/trait.RngCore.js /^"rand_core":[]$/;" p
|
||
rand_core guessing_game/target/doc/implementors/rand_core/trait.SeedableRng.js /^"rand_core":[]$/;" p
|
||
rand_core guessing_game/target/doc/implementors/std/io/trait.Read.js /^"rand_core":[["impl <a class=\\"trait\\" href=\\"https:\/\/doc.rust-lang.org\/1.67.1\/std\/io\/trait.Read.html\\" title=\\"trait std::io::Read\\">Read<\/a> for dyn <a class=\\"trait\\" href=\\"rand_core\/trait.RngCore.html\\" title=\\"trait rand_core::RngCore\\">RngCore<\/a>"]]$/;" p
|
||
removeClass guessing_game/target/doc/static.files/storage-d43fa987303ecbbb.js /^"use strict";const darkThemes=["dark","ayu"];window.currentTheme=document.getElementById("themeStyle");window.mainTheme=document.getElementById("mainThemeStyle");window.RUSTDOC_MOBILE_BREAKPOINT=700;const settingsDataset=(function(){const settingsElement=document.getElementById("default-settings");if(settingsElement===null){return null}const dataset=settingsElement.dataset;if(dataset===undefined){return null}return dataset})();function getSettingValue(settingName){const current=getCurrentValue(settingName);if(current!==null){return current}if(settingsDataset!==null){const def=settingsDataset[settingName.replace(\/-\/g,"_")];if(def!==undefined){return def}}return null}const localStoredTheme=getSettingValue("theme");const savedHref=[];function hasClass(elem,className){return elem&&elem.classList&&elem.classList.contains(className)}function addClass(elem,className){if(!elem||!elem.classList){return}elem.classList.add(className)}function removeClass(elem,className){if(!elem||!elem.classList){return}elem.classList.remove(className)}function onEach(arr,func,reversed){if(arr&&arr.length>0&&func){if(reversed){const length=arr.length;for(let i=length-1;i>=0;--i){if(func(arr[i])){return true}}}else{for(const elem of arr){if(func(elem)){return true}}}}return false}function onEachLazy(lazyArray,func,reversed){return onEach(Array.prototype.slice.call(lazyArray),func,reversed)}function updateLocalStorage(name,value){try{window.localStorage.setItem("rustdoc-"+name,value)}catch(e){}}function getCurrentValue(name){try{return window.localStorage.getItem("rustdoc-"+name)}catch(e){return null}}function switchTheme(styleElem,mainStyleElem,newThemeName,saveTheme){if(saveTheme){updateLocalStorage("theme",newThemeName)}if(savedHref.length===0){onEachLazy(document.getElementsByTagName("link"),el=>{savedHref.push(el.href)})}const newHref=savedHref.find(url=>{const m=url.match(\/static\\.files\\\/(.*)-[a-f0-9]{16}\\.css$\/);if(m&&m[1]===newThemeName){return true}const m2=url.match(\/\\\/([^\/]*)\\.css$\/);if(m2&&m2[1].startsWith(newThemeName)){return true}});if(newHref&&newHref!==styleElem.href){styleElem.href=newHref}}function useSystemTheme(value){if(value===undefined){value=true}updateLocalStorage("use-system-theme",value);const toggle=document.getElementById("use-system-theme");if(toggle&&toggle instanceof HTMLInputElement){toggle.checked=value}}const updateSystemTheme=(function(){if(!window.matchMedia){return()=>{const cssTheme=getComputedStyle(document.documentElement).getPropertyValue("content");switchTheme(window.currentTheme,window.mainTheme,JSON.parse(cssTheme)||"light",true)}}const mql=window.matchMedia("(prefers-color-scheme: dark)");function handlePreferenceChange(mql){const use=theme=>{switchTheme(window.currentTheme,window.mainTheme,theme,true)};if(getSettingValue("use-system-theme")!=="false"){const lightTheme=getSettingValue("preferred-light-theme")||"light";const darkTheme=getSettingValue("preferred-dark-theme")||"dark";if(mql.matches){use(darkTheme)}else{use(lightTheme)}}else{use(getSettingValue("theme"))}}mql.addListener(handlePreferenceChange);return()=>{handlePreferenceChange(mql)}})();function switchToSavedTheme(){switchTheme(window.currentTheme,window.mainTheme,getSettingValue("theme")||"light",false)}if(getSettingValue("use-system-theme")!=="false"&&window.matchMedia){if(getSettingValue("use-system-theme")===null&&getSettingValue("preferred-dark-theme")===null&&darkThemes.indexOf(localStoredTheme)>=0){updateLocalStorage("preferred-dark-theme",localStoredTheme)}updateSystemTheme()}else{switchToSavedTheme()}if(getSettingValue("source-sidebar-show")==="true"){addClass(document.documentElement,"source-sidebar-expanded")}window.addEventListener("pageshow",ev=>{if(ev.persisted){setTimeout(switchToSavedTheme,0)}})/;" f
|
||
resourcePath guessing_game/target/doc/static.files/main-c55e1eb52e1886b4.js /^"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.type="text\/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("\/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"))};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="<h3 class=\\"search-loading\\">"+searchState.loadingText+"<\/h3>";searchState.showResults(search)},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(\/^#\/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`<a href="index.html#${id}">${longty}<\/a>`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const item of filtered){const name=item[0];const desc=item[1];let path;if(shortty==="mod"){path=name+"\/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("\/").pop();const link=document.createElement("a");link.href=path;link.title=desc;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"\/index.html";if(window.rootPath!==".\/"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\\n").length;const elems=[];for(let i=0;i<count;++i){elems.push(i+1)}const node=document.createElement("pre");addClass(node,"example-line-numbers");node.innerHTML=elems.join("\\n");parent.insertBefore(node,x)})};window.rustdoc_remove_line_numbers_from_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}let oldSidebarScrollPosition=null;window.rustdocMobileScrollLock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(window.innerWidth<=window.RUSTDOC_MOBILE_BREAKPOINT){oldSidebarScrollPosition=window.scrollY;document.body.style.width=`${document.body.offsetWidth}px`;document.body.style.position="fixed";document.body.style.top=`-${oldSidebarScrollPosition}px`;if(mobile_topbar){mobile_topbar.style.top=`${oldSidebarScrollPosition}px`;mobile_topbar.style.position="relative"}}else{oldSidebarScrollPosition=null}};window.rustdocMobileScrollUnlock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(oldSidebarScrollPosition!==null){document.body.style.width="";document.body.style.position="";document.body.style.top="";if(mobile_topbar){mobile_topbar.style.top="";mobile_topbar.style.position=""}window.scrollTo(0,oldSidebarScrollPosition);oldSidebarScrollPosition=null}};function showSidebar(){window.hideAllModals(false);window.rustdocMobileScrollLock();const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){window.rustdocMobileScrollUnlock();const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.innerWidth>window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}if(window.CURRENT_NOTABLE_ELEMENT){const base=window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE;const force_visible=base.NOTABLE_FORCE_VISIBLE;hideNotable(false);if(force_visible){showNotable(base);base.NOTABLE_FORCE_VISIBLE=true}}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showNotable(e){if(!window.NOTABLE_TRAITS){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showNotable() called on page without any notable traits!")}}if(window.CURRENT_NOTABLE_ELEMENT&&window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE===e){return}window.hideAllModals(false);const ty=e.getAttribute("data-ty");const wrapper=document.createElement("div");wrapper.innerHTML="<div class=\\"docblock\\">"+window.NOTABLE_TRAITS[ty]+"<\/div>";wrapper.className="notable popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideNotable;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_NOTABLE_ELEMENT=wrapper;window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE=e;wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,e)){hideNotable(true)}}}function notableBlurHandler(event){if(window.CURRENT_NOTABLE_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)){setTimeout(()=>hideNotable(false),0)}}function hideNotable(focus){if(window.CURRENT_NOTABLE_ELEMENT){if(window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE){if(focus){window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus()}window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_NOTABLE_ELEMENT);window.CURRENT_NOTABLE_ELEMENT=null}}onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.NOTABLE_FORCE_VISIBLE=this.NOTABLE_FORCE_VISIBLE?false:true;if(window.CURRENT_NOTABLE_ELEMENT&&!this.NOTABLE_FORCE_VISIBLE){hideNotable(true)}else{showNotable(this);window.CURRENT_NOTABLE_ELEMENT.setAttribute("tabindex","0");window.CURRENT_NOTABLE_ELEMENT.focus();window.CURRENT_NOTABLE_ELEMENT.onblur=notableBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}showNotable(this)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)){hideNotable(true)}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \\$/;" f
|
||
return guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" c
|
||
scrollToLoc guessing_game/target/doc/static.files/scrape-examples-ef1e698c1d417c0c.js /^"use strict";(function(){const DEFAULT_MAX_LINES=5;const HIDDEN_MAX_LINES=10;function scrollToLoc(elt,loc,isHidden){const lines=elt.querySelector(".src-line-numbers");let scrollOffset;const maxLines=isHidden?HIDDEN_MAX_LINES:DEFAULT_MAX_LINES;if(loc[1]-loc[0]>maxLines){const line=Math.max(0,loc[0]-1);scrollOffset=lines.children[line].offsetTop}else{const wrapper=elt.querySelector(".code-wrapper");const halfHeight=wrapper.offsetHeight\/2;const offsetTop=lines.children[loc[0]].offsetTop;const lastLine=lines.children[loc[1]];const offsetBot=lastLine.offsetTop+lastLine.offsetHeight;const offsetMid=(offsetTop+offsetBot)\/2;scrollOffset=offsetMid-halfHeight}lines.scrollTo(0,scrollOffset);elt.querySelector(".rust").scrollTo(0,scrollOffset)}function updateScrapedExample(example,isHidden){const locs=JSON.parse(example.attributes.getNamedItem("data-locs").textContent);let locIndex=0;const highlights=Array.prototype.slice.call(example.querySelectorAll(".highlight"));const link=example.querySelector(".scraped-example-title a");if(locs.length>1){const onChangeLoc=changeIndex=>{removeClass(highlights[locIndex],"focus");changeIndex();scrollToLoc(example,locs[locIndex][0],isHidden);addClass(highlights[locIndex],"focus");const url=locs[locIndex][1];const title=locs[locIndex][2];link.href=url;link.innerHTML=title};example.querySelector(".prev").addEventListener("click",()=>{onChangeLoc(()=>{locIndex=(locIndex-1+locs.length)%locs.length})});example.querySelector(".next").addEventListener("click",()=>{onChangeLoc(()=>{locIndex=(locIndex+1)%locs.length})})}const expandButton=example.querySelector(".expand");if(expandButton){expandButton.addEventListener("click",()=>{if(hasClass(example,"expanded")){removeClass(example,"expanded");scrollToLoc(example,locs[0][0],isHidden)}else{addClass(example,"expanded")}})}scrollToLoc(example,locs[0][0],isHidden)}const firstExamples=document.querySelectorAll(".scraped-example-list > .scraped-example");onEachLazy(firstExamples,el=>updateScrapedExample(el,false));onEachLazy(document.querySelectorAll(".more-examples-toggle"),toggle=>{onEachLazy(toggle.querySelectorAll(".toggle-line, .hide-more"),button=>{button.addEventListener("click",()=>{toggle.open=false})});const moreExamples=toggle.querySelectorAll(".scraped-example");toggle.querySelector("summary").addEventListener("click",()=>{setTimeout(()=>{onEachLazy(moreExamples,el=>updateScrapedExample(el,true))})},{once:true})})})()/;" f
|
||
searchIndex guessing_game/target/doc/search-index.js /^var searchIndex = JSON.parse('{\\$/;" v
|
||
searchState guessing_game/target/doc/static.files/main-c55e1eb52e1886b4.js /^"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.type="text\/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("\/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"))};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="<h3 class=\\"search-loading\\">"+searchState.loadingText+"<\/h3>";searchState.showResults(search)},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(\/^#\/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`<a href="index.html#${id}">${longty}<\/a>`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const item of filtered){const name=item[0];const desc=item[1];let path;if(shortty==="mod"){path=name+"\/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("\/").pop();const link=document.createElement("a");link.href=path;link.title=desc;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"\/index.html";if(window.rootPath!==".\/"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\\n").length;const elems=[];for(let i=0;i<count;++i){elems.push(i+1)}const node=document.createElement("pre");addClass(node,"example-line-numbers");node.innerHTML=elems.join("\\n");parent.insertBefore(node,x)})};window.rustdoc_remove_line_numbers_from_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}let oldSidebarScrollPosition=null;window.rustdocMobileScrollLock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(window.innerWidth<=window.RUSTDOC_MOBILE_BREAKPOINT){oldSidebarScrollPosition=window.scrollY;document.body.style.width=`${document.body.offsetWidth}px`;document.body.style.position="fixed";document.body.style.top=`-${oldSidebarScrollPosition}px`;if(mobile_topbar){mobile_topbar.style.top=`${oldSidebarScrollPosition}px`;mobile_topbar.style.position="relative"}}else{oldSidebarScrollPosition=null}};window.rustdocMobileScrollUnlock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(oldSidebarScrollPosition!==null){document.body.style.width="";document.body.style.position="";document.body.style.top="";if(mobile_topbar){mobile_topbar.style.top="";mobile_topbar.style.position=""}window.scrollTo(0,oldSidebarScrollPosition);oldSidebarScrollPosition=null}};function showSidebar(){window.hideAllModals(false);window.rustdocMobileScrollLock();const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){window.rustdocMobileScrollUnlock();const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.innerWidth>window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}if(window.CURRENT_NOTABLE_ELEMENT){const base=window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE;const force_visible=base.NOTABLE_FORCE_VISIBLE;hideNotable(false);if(force_visible){showNotable(base);base.NOTABLE_FORCE_VISIBLE=true}}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showNotable(e){if(!window.NOTABLE_TRAITS){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showNotable() called on page without any notable traits!")}}if(window.CURRENT_NOTABLE_ELEMENT&&window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE===e){return}window.hideAllModals(false);const ty=e.getAttribute("data-ty");const wrapper=document.createElement("div");wrapper.innerHTML="<div class=\\"docblock\\">"+window.NOTABLE_TRAITS[ty]+"<\/div>";wrapper.className="notable popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideNotable;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_NOTABLE_ELEMENT=wrapper;window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE=e;wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,e)){hideNotable(true)}}}function notableBlurHandler(event){if(window.CURRENT_NOTABLE_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)){setTimeout(()=>hideNotable(false),0)}}function hideNotable(focus){if(window.CURRENT_NOTABLE_ELEMENT){if(window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE){if(focus){window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus()}window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_NOTABLE_ELEMENT);window.CURRENT_NOTABLE_ELEMENT=null}}onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.NOTABLE_FORCE_VISIBLE=this.NOTABLE_FORCE_VISIBLE?false:true;if(window.CURRENT_NOTABLE_ELEMENT&&!this.NOTABLE_FORCE_VISIBLE){hideNotable(true)}else{showNotable(this);window.CURRENT_NOTABLE_ELEMENT.setAttribute("tabindex","0");window.CURRENT_NOTABLE_ELEMENT.focus();window.CURRENT_NOTABLE_ELEMENT.onblur=notableBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}showNotable(this)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)){hideNotable(true)}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \\$/;" c class:window
|
||
setEvents guessing_game/target/doc/static.files/settings-bebeae96e00e4617.js /^"use strict";(function(){const isSettingsPage=window.location.pathname.endsWith("\/settings.html");function changeSetting(settingName,value){if(settingName==="theme"){const useSystem=value==="system preference"?"true":"false";updateLocalStorage("use-system-theme",useSystem)}updateLocalStorage(settingName,value);switch(settingName){case"theme":case"preferred-dark-theme":case"preferred-light-theme":updateSystemTheme();updateLightAndDark();break;case"line-numbers":if(value===true){window.rustdoc_add_line_numbers_to_examples()}else{window.rustdoc_remove_line_numbers_from_examples()}break}}function handleKey(ev){if(ev.ctrlKey||ev.altKey||ev.metaKey){return}switch(getVirtualKey(ev)){case"Enter":case"Return":case"Space":ev.target.checked=!ev.target.checked;ev.preventDefault();break}}function showLightAndDark(){removeClass(document.getElementById("preferred-light-theme").parentElement,"hidden");removeClass(document.getElementById("preferred-dark-theme").parentElement,"hidden")}function hideLightAndDark(){addClass(document.getElementById("preferred-light-theme").parentElement,"hidden");addClass(document.getElementById("preferred-dark-theme").parentElement,"hidden")}function updateLightAndDark(){const useSystem=getSettingValue("use-system-theme");if(useSystem==="true"||(useSystem===null&&getSettingValue("theme")===null)){showLightAndDark()}else{hideLightAndDark()}}function setEvents(settingsElement){updateLightAndDark();onEachLazy(settingsElement.querySelectorAll("input[type=\\"checkbox\\"]"),toggle=>{const settingId=toggle.id;const settingValue=getSettingValue(settingId);if(settingValue!==null){toggle.checked=settingValue==="true"}toggle.onchange=function(){changeSetting(this.id,this.checked)};toggle.onkeyup=handleKey;toggle.onkeyrelease=handleKey});onEachLazy(settingsElement.getElementsByClassName("select-wrapper"),elem=>{const select=elem.getElementsByTagName("select")[0];const settingId=select.id;const settingValue=getSettingValue(settingId);if(settingValue!==null){select.value=settingValue}select.onchange=function(){changeSetting(this.id,this.value)}});onEachLazy(settingsElement.querySelectorAll("input[type=\\"radio\\"]"),elem=>{const settingId=elem.name;let settingValue=getSettingValue(settingId);if(settingId==="theme"){const useSystem=getSettingValue("use-system-theme");if(useSystem==="true"||settingValue===null){if(useSystem!=="false"){settingValue="system preference"}else{settingValue="light"}}}if(settingValue!==null&&settingValue!=="null"){elem.checked=settingValue===elem.value}elem.addEventListener("change",ev=>{changeSetting(ev.target.name,ev.target.value)})})}function buildSettingsPageSections(settings){let output="";for(const setting of settings){output+="<div class=\\"setting-line\\">";const js_data_name=setting["js_name"];const setting_name=setting["name"];if(setting["options"]!==undefined){output+=`\\$/;" f
|
||
setMobileTopbar guessing_game/target/doc/static.files/main-c55e1eb52e1886b4.js /^"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.type="text\/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("\/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"))};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="<h3 class=\\"search-loading\\">"+searchState.loadingText+"<\/h3>";searchState.showResults(search)},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(\/^#\/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`<a href="index.html#${id}">${longty}<\/a>`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const item of filtered){const name=item[0];const desc=item[1];let path;if(shortty==="mod"){path=name+"\/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("\/").pop();const link=document.createElement("a");link.href=path;link.title=desc;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"\/index.html";if(window.rootPath!==".\/"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\\n").length;const elems=[];for(let i=0;i<count;++i){elems.push(i+1)}const node=document.createElement("pre");addClass(node,"example-line-numbers");node.innerHTML=elems.join("\\n");parent.insertBefore(node,x)})};window.rustdoc_remove_line_numbers_from_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}let oldSidebarScrollPosition=null;window.rustdocMobileScrollLock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(window.innerWidth<=window.RUSTDOC_MOBILE_BREAKPOINT){oldSidebarScrollPosition=window.scrollY;document.body.style.width=`${document.body.offsetWidth}px`;document.body.style.position="fixed";document.body.style.top=`-${oldSidebarScrollPosition}px`;if(mobile_topbar){mobile_topbar.style.top=`${oldSidebarScrollPosition}px`;mobile_topbar.style.position="relative"}}else{oldSidebarScrollPosition=null}};window.rustdocMobileScrollUnlock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(oldSidebarScrollPosition!==null){document.body.style.width="";document.body.style.position="";document.body.style.top="";if(mobile_topbar){mobile_topbar.style.top="";mobile_topbar.style.position=""}window.scrollTo(0,oldSidebarScrollPosition);oldSidebarScrollPosition=null}};function showSidebar(){window.hideAllModals(false);window.rustdocMobileScrollLock();const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){window.rustdocMobileScrollUnlock();const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.innerWidth>window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}if(window.CURRENT_NOTABLE_ELEMENT){const base=window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE;const force_visible=base.NOTABLE_FORCE_VISIBLE;hideNotable(false);if(force_visible){showNotable(base);base.NOTABLE_FORCE_VISIBLE=true}}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showNotable(e){if(!window.NOTABLE_TRAITS){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showNotable() called on page without any notable traits!")}}if(window.CURRENT_NOTABLE_ELEMENT&&window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE===e){return}window.hideAllModals(false);const ty=e.getAttribute("data-ty");const wrapper=document.createElement("div");wrapper.innerHTML="<div class=\\"docblock\\">"+window.NOTABLE_TRAITS[ty]+"<\/div>";wrapper.className="notable popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideNotable;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_NOTABLE_ELEMENT=wrapper;window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE=e;wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,e)){hideNotable(true)}}}function notableBlurHandler(event){if(window.CURRENT_NOTABLE_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)){setTimeout(()=>hideNotable(false),0)}}function hideNotable(focus){if(window.CURRENT_NOTABLE_ELEMENT){if(window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE){if(focus){window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus()}window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_NOTABLE_ELEMENT);window.CURRENT_NOTABLE_ELEMENT=null}}onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.NOTABLE_FORCE_VISIBLE=this.NOTABLE_FORCE_VISIBLE?false:true;if(window.CURRENT_NOTABLE_ELEMENT&&!this.NOTABLE_FORCE_VISIBLE){hideNotable(true)}else{showNotable(this);window.CURRENT_NOTABLE_ELEMENT.setAttribute("tabindex","0");window.CURRENT_NOTABLE_ELEMENT.focus();window.CURRENT_NOTABLE_ELEMENT.onblur=notableBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}showNotable(this)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)){hideNotable(true)}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \\$/;" f
|
||
showLightAndDark guessing_game/target/doc/static.files/settings-bebeae96e00e4617.js /^"use strict";(function(){const isSettingsPage=window.location.pathname.endsWith("\/settings.html");function changeSetting(settingName,value){if(settingName==="theme"){const useSystem=value==="system preference"?"true":"false";updateLocalStorage("use-system-theme",useSystem)}updateLocalStorage(settingName,value);switch(settingName){case"theme":case"preferred-dark-theme":case"preferred-light-theme":updateSystemTheme();updateLightAndDark();break;case"line-numbers":if(value===true){window.rustdoc_add_line_numbers_to_examples()}else{window.rustdoc_remove_line_numbers_from_examples()}break}}function handleKey(ev){if(ev.ctrlKey||ev.altKey||ev.metaKey){return}switch(getVirtualKey(ev)){case"Enter":case"Return":case"Space":ev.target.checked=!ev.target.checked;ev.preventDefault();break}}function showLightAndDark(){removeClass(document.getElementById("preferred-light-theme").parentElement,"hidden");removeClass(document.getElementById("preferred-dark-theme").parentElement,"hidden")}function hideLightAndDark(){addClass(document.getElementById("preferred-light-theme").parentElement,"hidden");addClass(document.getElementById("preferred-dark-theme").parentElement,"hidden")}function updateLightAndDark(){const useSystem=getSettingValue("use-system-theme");if(useSystem==="true"||(useSystem===null&&getSettingValue("theme")===null)){showLightAndDark()}else{hideLightAndDark()}}function setEvents(settingsElement){updateLightAndDark();onEachLazy(settingsElement.querySelectorAll("input[type=\\"checkbox\\"]"),toggle=>{const settingId=toggle.id;const settingValue=getSettingValue(settingId);if(settingValue!==null){toggle.checked=settingValue==="true"}toggle.onchange=function(){changeSetting(this.id,this.checked)};toggle.onkeyup=handleKey;toggle.onkeyrelease=handleKey});onEachLazy(settingsElement.getElementsByClassName("select-wrapper"),elem=>{const select=elem.getElementsByTagName("select")[0];const settingId=select.id;const settingValue=getSettingValue(settingId);if(settingValue!==null){select.value=settingValue}select.onchange=function(){changeSetting(this.id,this.value)}});onEachLazy(settingsElement.querySelectorAll("input[type=\\"radio\\"]"),elem=>{const settingId=elem.name;let settingValue=getSettingValue(settingId);if(settingId==="theme"){const useSystem=getSettingValue("use-system-theme");if(useSystem==="true"||settingValue===null){if(useSystem!=="false"){settingValue="system preference"}else{settingValue="light"}}}if(settingValue!==null&&settingValue!=="null"){elem.checked=settingValue===elem.value}elem.addEventListener("change",ev=>{changeSetting(ev.target.name,ev.target.value)})})}function buildSettingsPageSections(settings){let output="";for(const setting of settings){output+="<div class=\\"setting-line\\">";const js_data_name=setting["js_name"];const setting_name=setting["name"];if(setting["options"]!==undefined){output+=`\\$/;" f
|
||
showMain guessing_game/target/doc/static.files/main-c55e1eb52e1886b4.js /^"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.type="text\/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("\/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"))};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="<h3 class=\\"search-loading\\">"+searchState.loadingText+"<\/h3>";searchState.showResults(search)},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(\/^#\/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`<a href="index.html#${id}">${longty}<\/a>`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const item of filtered){const name=item[0];const desc=item[1];let path;if(shortty==="mod"){path=name+"\/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("\/").pop();const link=document.createElement("a");link.href=path;link.title=desc;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"\/index.html";if(window.rootPath!==".\/"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\\n").length;const elems=[];for(let i=0;i<count;++i){elems.push(i+1)}const node=document.createElement("pre");addClass(node,"example-line-numbers");node.innerHTML=elems.join("\\n");parent.insertBefore(node,x)})};window.rustdoc_remove_line_numbers_from_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}let oldSidebarScrollPosition=null;window.rustdocMobileScrollLock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(window.innerWidth<=window.RUSTDOC_MOBILE_BREAKPOINT){oldSidebarScrollPosition=window.scrollY;document.body.style.width=`${document.body.offsetWidth}px`;document.body.style.position="fixed";document.body.style.top=`-${oldSidebarScrollPosition}px`;if(mobile_topbar){mobile_topbar.style.top=`${oldSidebarScrollPosition}px`;mobile_topbar.style.position="relative"}}else{oldSidebarScrollPosition=null}};window.rustdocMobileScrollUnlock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(oldSidebarScrollPosition!==null){document.body.style.width="";document.body.style.position="";document.body.style.top="";if(mobile_topbar){mobile_topbar.style.top="";mobile_topbar.style.position=""}window.scrollTo(0,oldSidebarScrollPosition);oldSidebarScrollPosition=null}};function showSidebar(){window.hideAllModals(false);window.rustdocMobileScrollLock();const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){window.rustdocMobileScrollUnlock();const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.innerWidth>window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}if(window.CURRENT_NOTABLE_ELEMENT){const base=window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE;const force_visible=base.NOTABLE_FORCE_VISIBLE;hideNotable(false);if(force_visible){showNotable(base);base.NOTABLE_FORCE_VISIBLE=true}}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showNotable(e){if(!window.NOTABLE_TRAITS){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showNotable() called on page without any notable traits!")}}if(window.CURRENT_NOTABLE_ELEMENT&&window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE===e){return}window.hideAllModals(false);const ty=e.getAttribute("data-ty");const wrapper=document.createElement("div");wrapper.innerHTML="<div class=\\"docblock\\">"+window.NOTABLE_TRAITS[ty]+"<\/div>";wrapper.className="notable popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideNotable;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_NOTABLE_ELEMENT=wrapper;window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE=e;wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,e)){hideNotable(true)}}}function notableBlurHandler(event){if(window.CURRENT_NOTABLE_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)){setTimeout(()=>hideNotable(false),0)}}function hideNotable(focus){if(window.CURRENT_NOTABLE_ELEMENT){if(window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE){if(focus){window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus()}window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_NOTABLE_ELEMENT);window.CURRENT_NOTABLE_ELEMENT=null}}onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.NOTABLE_FORCE_VISIBLE=this.NOTABLE_FORCE_VISIBLE?false:true;if(window.CURRENT_NOTABLE_ELEMENT&&!this.NOTABLE_FORCE_VISIBLE){hideNotable(true)}else{showNotable(this);window.CURRENT_NOTABLE_ELEMENT.setAttribute("tabindex","0");window.CURRENT_NOTABLE_ELEMENT.focus();window.CURRENT_NOTABLE_ELEMENT.onblur=notableBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}showNotable(this)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)){hideNotable(true)}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \\$/;" f
|
||
sortResults guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:execQuery
|
||
sourcesIndex guessing_game/target/doc/source-files.js /^var sourcesIndex = JSON.parse('{\\$/;" v
|
||
struct guessing_game/target/doc/getrandom/sidebar-items.js /^window.SIDEBAR_ITEMS = {"fn":[["getrandom","Fill `dest` with random bytes from the system’s preferred random number source."]],"struct":[["Error","A small and `no_std` compatible error type"]]};/;" p class:window.SIDEBAR_ITEMS
|
||
struct guessing_game/target/doc/libc/sidebar-items.js /^window.SIDEBAR_ITEMS = {"constant":[["ABDAY_1",""],["ABDAY_2",""],["ABDAY_3",""],["ABDAY_4",""],["ABDAY_5",""],["ABDAY_6",""],["ABDAY_7",""],["ABMON_1",""],["ABMON_10",""],["ABMON_11",""],["ABMON_12",""],["ABMON_2",""],["ABMON_3",""],["ABMON_4",""],["ABMON_5",""],["ABMON_6",""],["ABMON_7",""],["ABMON_8",""],["ABMON_9",""],["ABS_CNT",""],["ABS_MAX",""],["ACCOUNTING",""],["ADDR_COMPAT_LAYOUT",""],["ADDR_LIMIT_32BIT",""],["ADDR_LIMIT_3GB",""],["ADDR_NO_RANDOMIZE",""],["ADFS_SUPER_MAGIC",""],["ADJ_ESTERROR",""],["ADJ_FREQUENCY",""],["ADJ_MAXERROR",""],["ADJ_MICRO",""],["ADJ_NANO",""],["ADJ_OFFSET",""],["ADJ_OFFSET_SINGLESHOT",""],["ADJ_OFFSET_SS_READ",""],["ADJ_SETOFFSET",""],["ADJ_STATUS",""],["ADJ_TAI",""],["ADJ_TICK",""],["ADJ_TIMECONST",""],["AFFS_SUPER_MAGIC",""],["AFS_SUPER_MAGIC",""],["AF_ALG",""],["AF_APPLETALK",""],["AF_ASH",""],["AF_ATMPVC",""],["AF_ATMSVC",""],["AF_AX25",""],["AF_BLUETOOTH",""],["AF_BRIDGE",""],["AF_CAIF",""],["AF_CAN",""],["AF_DECnet",""],["AF_ECONET",""],["AF_IB",""],["AF_IEEE802154",""],["AF_INET",""],["AF_INET6",""],["AF_IPX",""],["AF_IRDA",""],["AF_ISDN",""],["AF_IUCV",""],["AF_KEY",""],["AF_LLC",""],["AF_LOCAL",""],["AF_MPLS",""],["AF_NETBEUI",""],["AF_NETLINK",""],["AF_NETROM",""],["AF_NFC",""],["AF_PACKET",""],["AF_PHONET",""],["AF_PPPOX",""],["AF_RDS",""],["AF_ROSE",""],["AF_ROUTE",""],["AF_RXRPC",""],["AF_SECURITY",""],["AF_SNA",""],["AF_TIPC",""],["AF_UNIX",""],["AF_UNSPEC",""],["AF_VSOCK",""],["AF_WANPIPE",""],["AF_X25",""],["AF_XDP",""],["AIO_ALLDONE",""],["AIO_CANCELED",""],["AIO_NOTCANCELED",""],["AI_ADDRCONFIG",""],["AI_ALL",""],["AI_CANONNAME",""],["AI_NUMERICHOST",""],["AI_NUMERICSERV",""],["AI_PASSIVE",""],["AI_V4MAPPED",""],["ALG_OP_DECRYPT",""],["ALG_OP_ENCRYPT",""],["ALG_SET_AEAD_ASSOCLEN",""],["ALG_SET_AEAD_AUTHSIZE",""],["ALG_SET_IV",""],["ALG_SET_KEY",""],["ALG_SET_OP",""],["ALT_DIGITS",""],["AM_STR",""],["ARPD_FLUSH",""],["ARPD_LOOKUP",""],["ARPD_UPDATE",""],["ARPHRD_ADAPT",""],["ARPHRD_APPLETLK",""],["ARPHRD_ARCNET",""],["ARPHRD_ASH",""],["ARPHRD_ATM",""],["ARPHRD_AX25",""],["ARPHRD_BIF",""],["ARPHRD_CAN",""],["ARPHRD_CHAOS",""],["ARPHRD_CISCO",""],["ARPHRD_CSLIP",""],["ARPHRD_CSLIP6",""],["ARPHRD_DDCMP",""],["ARPHRD_DLCI",""],["ARPHRD_ECONET",""],["ARPHRD_EETHER",""],["ARPHRD_ETHER",""],["ARPHRD_EUI64",""],["ARPHRD_FCAL",""],["ARPHRD_FCFABRIC",""],["ARPHRD_FCPL",""],["ARPHRD_FCPP",""],["ARPHRD_FDDI",""],["ARPHRD_FRAD",""],["ARPHRD_HDLC",""],["ARPHRD_HIPPI",""],["ARPHRD_HWX25",""],["ARPHRD_IEEE1394",""],["ARPHRD_IEEE802",""],["ARPHRD_IEEE80211",""],["ARPHRD_IEEE80211_PRISM",""],["ARPHRD_IEEE80211_RADIOTAP",""],["ARPHRD_IEEE802154",""],["ARPHRD_IEEE802_TR",""],["ARPHRD_INFINIBAND",""],["ARPHRD_IPDDP",""],["ARPHRD_IPGRE",""],["ARPHRD_IRDA",""],["ARPHRD_LAPB",""],["ARPHRD_LOCALTLK",""],["ARPHRD_LOOPBACK",""],["ARPHRD_METRICOM",""],["ARPHRD_NETROM",""],["ARPHRD_NONE",""],["ARPHRD_PIMREG",""],["ARPHRD_PPP",""],["ARPHRD_PRONET",""],["ARPHRD_RAWHDLC",""],["ARPHRD_ROSE",""],["ARPHRD_RSRVD",""],["ARPHRD_SIT",""],["ARPHRD_SKIP",""],["ARPHRD_SLIP",""],["ARPHRD_SLIP6",""],["ARPHRD_TUNNEL",""],["ARPHRD_TUNNEL6",""],["ARPHRD_VOID",""],["ARPHRD_X25",""],["ARPOP_InREPLY",""],["ARPOP_InREQUEST",""],["ARPOP_NAK",""],["ARPOP_REPLY",""],["ARPOP_REQUEST",""],["ARPOP_RREPLY",""],["ARPOP_RREQUEST",""],["ATF_COM",""],["ATF_DONTPUB",""],["ATF_MAGIC",""],["ATF_NETMASK",""],["ATF_PERM",""],["ATF_PUBL",""],["ATF_USETRAILERS",""],["AT_BASE",""],["AT_BASE_PLATFORM",""],["AT_CLKTCK",""],["AT_EACCESS",""],["AT_EGID",""],["AT_EMPTY_PATH",""],["AT_ENTRY",""],["AT_EUID",""],["AT_EXECFD",""],["AT_EXECFN",""],["AT_FDCWD",""],["AT_FLAGS",""],["AT_GID",""],["AT_HWCAP",""],["AT_HWCAP2",""],["AT_IGNORE",""],["AT_NOTELF",""],["AT_NO_AUTOMOUNT",""],["AT_NULL",""],["AT_PAGESZ",""],["AT_PHDR",""],["AT_PHENT",""],["AT_PHNUM",""],["AT_PLATFORM",""],["AT_RANDOM",""],["AT_REMOVEDIR",""],["AT_SECURE",""],["AT_STATX_DONT_SYNC",""],["AT_STATX_FORCE_SYNC",""],["AT_STATX_SYNC_AS_STAT",""],["AT_STATX_SYNC_TYPE",""],["AT_SYMLINK_FOLLOW",""],["AT_SYMLINK_NOFOLLOW",""],["AT_SYSINFO_EHDR",""],["AT_UID",""],["AUTOFS_SUPER_MAGIC",""],["B0",""],["B1000000",""],["B110",""],["B115200",""],["B1152000",""],["B1200",""],["B134",""],["B150",""],["B1500000",""],["B1800",""],["B19200",""],["B200",""],["B2000000",""],["B230400",""],["B2400",""],["B2500000",""],["B300",""],["B3000000",""],["B3500000",""],["B38400",""],["B4000000",""],["B460800",""],["B4800",""],["B50",""],["B500000",""],["B57600",""],["B576000",""],["B600",""],["B75",""],["B921600",""],["B9600",""],["BINDERFS_SUPER_MAGIC",""],["BLKIOMIN",""],["BLKIOOPT",""],["BLKPBSZGET",""],["BLKSSZGET",""],["BOOT_TIME",""],["BOTHER",""],["BPF_ABS",""],["BPF_ADD",""],["BPF_ALU",""],["BPF_AND",""],["BPF_B",""],["BPF_DIV",""],["BPF_FS_MAGIC",""],["BPF_H",""],["BPF_IMM",""],["BPF_IND",""],["BPF_JA",""],["BPF_JEQ",""],["BPF_JGE",""],["BPF_JGT",""],["BPF_JMP",""],["BPF_JSET",""],["BPF_K",""],["BPF_LD",""],["BPF_LDX",""],["BPF_LEN",""],["BPF_LL_OFF",""],["BPF_LSH",""],["BPF_MAXINSNS",""],["BPF_MEM",""],["BPF_MEMWORDS",""],["BPF_MISC",""],["BPF_MOD",""],["BPF_MSH",""],["BPF_MUL",""],["BPF_NEG",""],["BPF_NET_OFF",""],["BPF_OR",""],["BPF_RET",""],["BPF_RSH",""],["BPF_ST",""],["BPF_STX",""],["BPF_SUB",""],["BPF_W",""],["BPF_X",""],["BPF_XOR",""],["BRKINT",""],["BS0",""],["BS1",""],["BSDLY",""],["BTRFS_SUPER_MAGIC",""],["BUFSIZ",""],["BUS_ADRALN",""],["BUS_ADRERR",""],["BUS_MCEERR_AO",""],["BUS_MCEERR_AR",""],["BUS_OBJERR",""],["CANFD_BRS",""],["CANFD_ESI",""],["CANFD_MAX_DLC",""],["CANFD_MAX_DLEN",""],["CANFD_MTU",""],["CAN_BCM",""],["CAN_EFF_FLAG",""],["CAN_EFF_ID_BITS",""],["CAN_EFF_MASK",""],["CAN_ERR_FLAG",""],["CAN_ERR_MASK",""],["CAN_INV_FILTER",""],["CAN_ISOTP",""],["CAN_J1939",""],["CAN_MAX_DLC",""],["CAN_MAX_DLEN",""],["CAN_MCNET",""],["CAN_MTU",""],["CAN_NPROTO",""],["CAN_RAW",""],["CAN_RAW_ERR_FILTER",""],["CAN_RAW_FD_FRAMES",""],["CAN_RAW_FILTER",""],["CAN_RAW_FILTER_MAX",""],["CAN_RAW_JOIN_FILTERS",""],["CAN_RAW_LOOPBACK",""],["CAN_RAW_RECV_OWN_MSGS",""],["CAN_RTR_FLAG",""],["CAN_SFF_ID_BITS",""],["CAN_SFF_MASK",""],["CAN_TP16",""],["CAN_TP20",""],["CBAUD",""],["CBAUDEX",""],["CGROUP2_SUPER_MAGIC",""],["CGROUP_SUPER_MAGIC",""],["CIBAUD",""],["CLD_CONTINUED",""],["CLD_DUMPED",""],["CLD_EXITED",""],["CLD_KILLED",""],["CLD_STOPPED",""],["CLD_TRAPPED",""],["CLOCAL",""],["CLOCK_BOOTTIME",""],["CLOCK_BOOTTIME_ALARM",""],["CLOCK_MONOTONIC",""],["CLOCK_MONOTONIC_COARSE",""],["CLOCK_MONOTONIC_RAW",""],["CLOCK_PROCESS_CPUTIME_ID",""],["CLOCK_REALTIME",""],["CLOCK_REALTIME_ALARM",""],["CLOCK_REALTIME_COARSE",""],["CLOCK_TAI",""],["CLOCK_THREAD_CPUTIME_ID",""],["CLONE_CHILD_CLEARTID",""],["CLONE_CHILD_SETTID",""],["CLONE_DETACHED",""],["CLONE_FILES",""],["CLONE_FS",""],["CLONE_IO",""],["CLONE_NEWCGROUP",""],["CLONE_NEWIPC",""],["CLONE_NEWNET",""],["CLONE_NEWNS",""],["CLONE_NEWPID",""],["CLONE_NEWUSER",""],["CLONE_NEWUTS",""],["CLONE_PARENT",""],["CLONE_PARENT_SETTID",""],["CLONE_PIDFD",""],["CLONE_PTRACE",""],["CLONE_SETTLS",""],["CLONE_SIGHAND",""],["CLONE_SYSVSEM",""],["CLONE_THREAD",""],["CLONE_UNTRACED",""],["CLONE_VFORK",""],["CLONE_VM",""],["CLOSE_RANGE_CLOEXEC",""],["CLOSE_RANGE_UNSHARE",""],["CMSPAR",""],["CODA_SUPER_MAGIC",""],["CODESET",""],["CPU_SETSIZE",""],["CR0",""],["CR1",""],["CR2",""],["CR3",""],["CRAMFS_MAGIC",""],["CRDLY",""],["CREAD",""],["CRNCYSTR",""],["CRTSCTS",""],["CS",""],["CS5",""],["CS6",""],["CS7",""],["CS8",""],["CSIZE",""],["CSTOPB",""],["CTRL_ATTR_FAMILY_ID",""],["CTRL_ATTR_FAMILY_NAME",""],["CTRL_ATTR_HDRSIZE",""],["CTRL_ATTR_MAXATTR",""],["CTRL_ATTR_MCAST_GROUPS",""],["CTRL_ATTR_MCAST_GRP_ID",""],["CTRL_ATTR_MCAST_GRP_NAME",""],["CTRL_ATTR_MCAST_GRP_UNSPEC",""],["CTRL_ATTR_OPS",""],["CTRL_ATTR_OP_FLAGS",""],["CTRL_ATTR_OP_ID",""],["CTRL_ATTR_OP_UNSPEC",""],["CTRL_ATTR_UNSPEC",""],["CTRL_ATTR_VERSION",""],["CTRL_CMD_DELFAMILY",""],["CTRL_CMD_DELMCAST_GRP",""],["CTRL_CMD_DELOPS",""],["CTRL_CMD_GETFAMILY",""],["CTRL_CMD_GETMCAST_GRP",""],["CTRL_CMD_GETOPS",""],["CTRL_CMD_NEWFAMILY",""],["CTRL_CMD_NEWMCAST_GRP",""],["CTRL_CMD_NEWOPS",""],["CTRL_CMD_UNSPEC",""],["DAY_1",""],["DAY_2",""],["DAY_3",""],["DAY_4",""],["DAY_5",""],["DAY_6",""],["DAY_7",""],["DCCP_SERVICE_LIST_MAX_LEN","maximum number of services provided on the same listening port"],["DCCP_SOCKOPT_AVAILABLE_CCIDS",""],["DCCP_SOCKOPT_CCID",""],["DCCP_SOCKOPT_CCID_RX_INFO",""],["DCCP_SOCKOPT_CCID_TX_INFO",""],["DCCP_SOCKOPT_CHANGE_L",""],["DCCP_SOCKOPT_CHANGE_R",""],["DCCP_SOCKOPT_GET_CUR_MPS",""],["DCCP_SOCKOPT_PACKET_SIZE",""],["DCCP_SOCKOPT_QPOLICY_ID",""],["DCCP_SOCKOPT_QPOLICY_TXQLEN",""],["DCCP_SOCKOPT_RECV_CSCOV",""],["DCCP_SOCKOPT_RX_CCID",""],["DCCP_SOCKOPT_SEND_CSCOV",""],["DCCP_SOCKOPT_SERVER_TIMEWAIT",""],["DCCP_SOCKOPT_SERVICE",""],["DCCP_SOCKOPT_TX_CCID",""],["DEAD_PROCESS",""],["DEBUGFS_MAGIC",""],["DEVPTS_SUPER_MAGIC",""],["DS",""],["DT_BLK",""],["DT_CHR",""],["DT_DIR",""],["DT_FIFO",""],["DT_LNK",""],["DT_REG",""],["DT_SOCK",""],["DT_UNKNOWN",""],["D_FMT",""],["D_T_FMT",""],["E2BIG",""],["EACCES",""],["EADDRINUSE",""],["EADDRNOTAVAIL",""],["EADV",""],["EAFNOSUPPORT",""],["EAGAIN",""],["EAI_AGAIN",""],["EAI_BADFLAGS",""],["EAI_FAIL",""],["EAI_FAMILY",""],["EAI_MEMORY",""],["EAI_NODATA",""],["EAI_NONAME",""],["EAI_OVERFLOW",""],["EAI_SERVICE",""],["EAI_SOCKTYPE",""],["EAI_SYSTEM",""],["EALREADY",""],["EBADE",""],["EBADF",""],["EBADFD",""],["EBADMSG",""],["EBADR",""],["EBADRQC",""],["EBADSLT",""],["EBFONT",""],["EBUSY",""],["ECANCELED",""],["ECHILD",""],["ECHO",""],["ECHOCTL",""],["ECHOE",""],["ECHOK",""],["ECHOKE",""],["ECHONL",""],["ECHOPRT",""],["ECHRNG",""],["ECOMM",""],["ECONNABORTED",""],["ECONNREFUSED",""],["ECONNRESET",""],["ECRYPTFS_SUPER_MAGIC",""],["EDEADLK",""],["EDEADLOCK",""],["EDESTADDRREQ",""],["EDOM",""],["EDOTDOT",""],["EDQUOT",""],["EEXIST",""],["EFAULT",""],["EFBIG",""],["EFD_CLOEXEC",""],["EFD_NONBLOCK",""],["EFD_SEMAPHORE",""],["EFLAGS",""],["EFS_SUPER_MAGIC",""],["EHOSTDOWN",""],["EHOSTUNREACH",""],["EHWPOISON",""],["EIDRM",""],["EILSEQ",""],["EINPROGRESS",""],["EINTR",""],["EINVAL",""],["EIO",""],["EISCONN",""],["EISDIR",""],["EISNAM",""],["EI_ABIVERSION",""],["EI_CLASS",""],["EI_DATA",""],["EI_MAG0",""],["EI_MAG1",""],["EI_MAG2",""],["EI_MAG3",""],["EI_NIDENT",""],["EI_OSABI",""],["EI_PAD",""],["EI_VERSION",""],["EKEYEXPIRED",""],["EKEYREJECTED",""],["EKEYREVOKED",""],["EL2HLT",""],["EL2NSYNC",""],["EL3HLT",""],["EL3RST",""],["ELFCLASS32",""],["ELFCLASS64",""],["ELFCLASSNONE",""],["ELFCLASSNUM",""],["ELFDATA2LSB",""],["ELFDATA2MSB",""],["ELFDATANONE",""],["ELFDATANUM",""],["ELFMAG0",""],["ELFMAG1",""],["ELFMAG2",""],["ELFMAG3",""],["ELFOSABI_AIX",""],["ELFOSABI_ARM",""],["ELFOSABI_ARM_AEABI",""],["ELFOSABI_FREEBSD",""],["ELFOSABI_GNU",""],["ELFOSABI_HPUX",""],["ELFOSABI_IRIX",""],["ELFOSABI_LINUX",""],["ELFOSABI_MODESTO",""],["ELFOSABI_NETBSD",""],["ELFOSABI_NONE",""],["ELFOSABI_OPENBSD",""],["ELFOSABI_SOLARIS",""],["ELFOSABI_STANDALONE",""],["ELFOSABI_SYSV",""],["ELFOSABI_TRU64",""],["ELIBACC",""],["ELIBBAD",""],["ELIBEXEC",""],["ELIBMAX",""],["ELIBSCN",""],["ELNRNG",""],["ELOOP",""],["EMEDIUMTYPE",""],["EMFILE",""],["EMLINK",""],["EMPTY",""],["EMSGSIZE",""],["EMULTIHOP",""],["EM_386",""],["EM_68HC05",""],["EM_68HC08",""],["EM_68HC11",""],["EM_68HC12",""],["EM_68HC16",""],["EM_68K",""],["EM_860",""],["EM_88K",""],["EM_960",""],["EM_AARCH64",""],["EM_ALPHA",""],["EM_ARC",""],["EM_ARC_A5",""],["EM_ARM",""],["EM_AVR",""],["EM_COLDFIRE",""],["EM_CRIS",""],["EM_D10V",""],["EM_D30V",""],["EM_FAKE_ALPHA",""],["EM_FIREPATH",""],["EM_FR20",""],["EM_FR30",""],["EM_FX66",""],["EM_H8S",""],["EM_H8_300",""],["EM_H8_300H",""],["EM_H8_500",""],["EM_HUANY",""],["EM_IA_64",""],["EM_JAVELIN",""],["EM_M32",""],["EM_M32R",""],["EM_ME16",""],["EM_MIPS",""],["EM_MIPS_RS3_LE",""],["EM_MIPS_X",""],["EM_MMA",""],["EM_MMIX",""],["EM_MN10200",""],["EM_MN10300",""],["EM_NCPU",""],["EM_NDR1",""],["EM_NONE",""],["EM_OPENRISC",""],["EM_PARISC",""],["EM_PCP",""],["EM_PDSP",""],["EM_PJ",""],["EM_PPC",""],["EM_PPC64",""],["EM_PRISM",""],["EM_RCE",""],["EM_RH32",""],["EM_S370",""],["EM_S390",""],["EM_SH",""],["EM_SPARC",""],["EM_SPARC32PLUS",""],["EM_SPARCV9",""],["EM_ST100",""],["EM_ST19",""],["EM_ST7",""],["EM_ST9PLUS",""],["EM_STARCORE",""],["EM_SVX",""],["EM_TILEGX",""],["EM_TILEPRO",""],["EM_TINYJ",""],["EM_TRICORE",""],["EM_V800",""],["EM_V850",""],["EM_VAX",""],["EM_VPP500",""],["EM_X86_64",""],["EM_XTENSA",""],["EM_ZSP",""],["ENAMETOOLONG",""],["ENAVAIL",""],["ENETDOWN",""],["ENETRESET",""],["ENETUNREACH",""],["ENFILE",""],["ENOANO",""],["ENOATTR",""],["ENOBUFS",""],["ENOCSI",""],["ENODATA",""],["ENODEV",""],["ENOENT",""],["ENOEXEC",""],["ENOKEY",""],["ENOLCK",""],["ENOLINK",""],["ENOMEDIUM",""],["ENOMEM",""],["ENOMSG",""],["ENONET",""],["ENOPKG",""],["ENOPROTOOPT",""],["ENOSPC",""],["ENOSR",""],["ENOSTR",""],["ENOSYS",""],["ENOTBLK",""],["ENOTCONN",""],["ENOTDIR",""],["ENOTEMPTY",""],["ENOTNAM",""],["ENOTRECOVERABLE",""],["ENOTSOCK",""],["ENOTSUP",""],["ENOTTY",""],["ENOTUNIQ",""],["ENXIO",""],["EOF",""],["EOPNOTSUPP",""],["EOVERFLOW",""],["EOWNERDEAD",""],["EPERM",""],["EPFNOSUPPORT",""],["EPIPE",""],["EPOLLERR",""],["EPOLLET",""],["EPOLLEXCLUSIVE",""],["EPOLLHUP",""],["EPOLLIN",""],["EPOLLMSG",""],["EPOLLONESHOT",""],["EPOLLOUT",""],["EPOLLPRI",""],["EPOLLRDBAND",""],["EPOLLRDHUP",""],["EPOLLRDNORM",""],["EPOLLWAKEUP",""],["EPOLLWRBAND",""],["EPOLLWRNORM",""],["EPOLL_CLOEXEC",""],["EPOLL_CTL_ADD",""],["EPOLL_CTL_DEL",""],["EPOLL_CTL_MOD",""],["EPROTO",""],["EPROTONOSUPPORT",""],["EPROTOTYPE",""],["ERA",""],["ERANGE",""],["ERA_D_FMT",""],["ERA_D_T_FMT",""],["ERA_T_FMT",""],["EREMCHG",""],["EREMOTE",""],["EREMOTEIO",""],["ERESTART",""],["ERFKILL",""],["EROFS",""],["ES",""],["ESHUTDOWN",""],["ESOCKTNOSUPPORT",""],["ESPIPE",""],["ESRCH",""],["ESRMNT",""],["ESTALE",""],["ESTRPIPE",""],["ETH_ALEN",""],["ETH_DATA_LEN",""],["ETH_FCS_LEN",""],["ETH_FRAME_LEN",""],["ETH_HLEN",""],["ETH_P_1588",""],["ETH_P_8021AD",""],["ETH_P_8021AH",""],["ETH_P_8021Q",""],["ETH_P_80221",""],["ETH_P_802_2",""],["ETH_P_802_3",""],["ETH_P_802_3_MIN",""],["ETH_P_802_EX1",""],["ETH_P_AARP",""],["ETH_P_AF_IUCV",""],["ETH_P_ALL",""],["ETH_P_AOE",""],["ETH_P_ARCNET",""],["ETH_P_ARP",""],["ETH_P_ATALK",""],["ETH_P_ATMFATE",""],["ETH_P_ATMMPOA",""],["ETH_P_AX25",""],["ETH_P_BATMAN",""],["ETH_P_BPQ",""],["ETH_P_CAIF",""],["ETH_P_CANFD",""],["ETH_P_CONTROL",""],["ETH_P_CUST",""],["ETH_P_DDCMP",""],["ETH_P_DEC",""],["ETH_P_DIAG",""],["ETH_P_DNA_DL",""],["ETH_P_DNA_RC",""],["ETH_P_DNA_RT",""],["ETH_P_DSA",""],["ETH_P_ECONET",""],["ETH_P_EDSA",""],["ETH_P_FCOE",""],["ETH_P_FIP",""],["ETH_P_HDLC",""],["ETH_P_IEEE802154",""],["ETH_P_IEEEPUP",""],["ETH_P_IEEEPUPAT",""],["ETH_P_IP",""],["ETH_P_IPV6",""],["ETH_P_IPX",""],["ETH_P_IRDA",""],["ETH_P_LAT",""],["ETH_P_LINK_CTL",""],["ETH_P_LOCALTALK",""],["ETH_P_LOOP",""],["ETH_P_LOOPBACK",""],["ETH_P_MACSEC",""],["ETH_P_MOBITEX",""],["ETH_P_MPLS_MC",""],["ETH_P_MPLS_UC",""],["ETH_P_MVRP",""],["ETH_P_PAE",""],["ETH_P_PAUSE",""],["ETH_P_PHONET",""],["ETH_P_PPPTALK",""],["ETH_P_PPP_DISC",""],["ETH_P_PPP_MP",""],["ETH_P_PPP_SES",""],["ETH_P_PRP",""],["ETH_P_PUP",""],["ETH_P_PUPAT",""],["ETH_P_QINQ1",""],["ETH_P_QINQ2",""],["ETH_P_QINQ3",""],["ETH_P_RARP",""],["ETH_P_SCA",""],["ETH_P_SLOW",""],["ETH_P_SNAP",""],["ETH_P_TDLS",""],["ETH_P_TEB",""],["ETH_P_TIPC",""],["ETH_P_TRAILER",""],["ETH_P_TR_802_2",""],["ETH_P_WAN_PPP",""],["ETH_P_WCCP",""],["ETH_P_X25",""],["ETH_ZLEN",""],["ETIME",""],["ETIMEDOUT",""],["ETOOMANYREFS",""],["ETXTBSY",""],["ET_CORE",""],["ET_DYN",""],["ET_EXEC",""],["ET_HIOS",""],["ET_HIPROC",""],["ET_LOOS",""],["ET_LOPROC",""],["ET_NONE",""],["ET_NUM",""],["ET_REL",""],["EUCLEAN",""],["EUNATCH",""],["EUSERS",""],["EV_CNT",""],["EV_CURRENT",""],["EV_MAX",""],["EV_NONE",""],["EV_NUM",""],["EWOULDBLOCK",""],["EXDEV",""],["EXFULL",""],["EXIT_FAILURE",""],["EXIT_SUCCESS",""],["EXT2_SUPER_MAGIC",""],["EXT3_SUPER_MAGIC",""],["EXT4_SUPER_MAGIC",""],["EXTA",""],["EXTB",""],["EXTPROC",""],["F2FS_SUPER_MAGIC",""],["FALLOC_FL_COLLAPSE_RANGE",""],["FALLOC_FL_INSERT_RANGE",""],["FALLOC_FL_KEEP_SIZE",""],["FALLOC_FL_PUNCH_HOLE",""],["FALLOC_FL_UNSHARE_RANGE",""],["FALLOC_FL_ZERO_RANGE",""],["FANOTIFY_METADATA_VERSION",""],["FAN_ACCESS",""],["FAN_ACCESS_PERM",""],["FAN_ALLOW",""],["FAN_CLASS_CONTENT",""],["FAN_CLASS_NOTIF",""],["FAN_CLASS_PRE_CONTENT",""],["FAN_CLOEXEC",""],["FAN_CLOSE",""],["FAN_CLOSE_NOWRITE",""],["FAN_CLOSE_WRITE",""],["FAN_DENY",""],["FAN_EVENT_ON_CHILD",""],["FAN_MARK_ADD",""],["FAN_MARK_DONT_FOLLOW",""],["FAN_MARK_FILESYSTEM",""],["FAN_MARK_FLUSH",""],["FAN_MARK_IGNORED_MASK",""],["FAN_MARK_IGNORED_SURV_MODIFY",""],["FAN_MARK_INODE",""],["FAN_MARK_MOUNT",""],["FAN_MARK_ONLYDIR",""],["FAN_MARK_REMOVE",""],["FAN_MODIFY",""],["FAN_NOFD",""],["FAN_NONBLOCK",""],["FAN_ONDIR",""],["FAN_OPEN",""],["FAN_OPEN_PERM",""],["FAN_Q_OVERFLOW",""],["FAN_UNLIMITED_MARKS",""],["FAN_UNLIMITED_QUEUE",""],["FDPIC_FUNCPTRS",""],["FD_CLOEXEC",""],["FD_SETSIZE",""],["FF0",""],["FF1",""],["FFDLY",""],["FF_CNT",""],["FF_MAX",""],["FICLONE",""],["FICLONERANGE",""],["FILENAME_MAX",""],["FIOASYNC",""],["FIOCLEX",""],["FIONBIO",""],["FIONCLEX",""],["FIONREAD",""],["FIOQSIZE",""],["FLUSHO",""],["FOPEN_MAX",""],["FS",""],["FS_BASE",""],["FUSE_SUPER_MAGIC",""],["FUTEXFS_SUPER_MAGIC",""],["FUTEX_CLOCK_REALTIME",""],["FUTEX_CMD_MASK",""],["FUTEX_CMP_REQUEUE",""],["FUTEX_CMP_REQUEUE_PI",""],["FUTEX_FD",""],["FUTEX_LOCK_PI",""],["FUTEX_LOCK_PI2",""],["FUTEX_PRIVATE_FLAG",""],["FUTEX_REQUEUE",""],["FUTEX_TRYLOCK_PI",""],["FUTEX_UNLOCK_PI",""],["FUTEX_WAIT",""],["FUTEX_WAIT_BITSET",""],["FUTEX_WAIT_REQUEUE_PI",""],["FUTEX_WAKE",""],["FUTEX_WAKE_BITSET",""],["FUTEX_WAKE_OP",""],["F_ADD_SEALS",""],["F_CANCELLK",""],["F_DUPFD",""],["F_DUPFD_CLOEXEC",""],["F_GETFD",""],["F_GETFL",""],["F_GETLEASE",""],["F_GETLK",""],["F_GETOWN",""],["F_GETPIPE_SZ",""],["F_GET_SEALS",""],["F_LOCK",""],["F_NOTIFY",""],["F_OFD_GETLK",""],["F_OFD_SETLK",""],["F_OFD_SETLKW",""],["F_OK",""],["F_RDLCK",""],["F_SEAL_FUTURE_WRITE",""],["F_SEAL_GROW",""],["F_SEAL_SEAL",""],["F_SEAL_SHRINK",""],["F_SEAL_WRITE",""],["F_SETFD",""],["F_SETFL",""],["F_SETLEASE",""],["F_SETLK",""],["F_SETLKW",""],["F_SETOWN",""],["F_SETPIPE_SZ",""],["F_TEST",""],["F_TLOCK",""],["F_ULOCK",""],["F_UNLCK",""],["F_WRLCK",""],["GENL_ADMIN_PERM",""],["GENL_CMD_CAP_DO",""],["GENL_CMD_CAP_DUMP",""],["GENL_CMD_CAP_HASPOL",""],["GENL_ID_CTRL",""],["GENL_ID_PMCRAID",""],["GENL_ID_VFS_DQUOT",""],["GENL_MAX_ID",""],["GENL_MIN_ID",""],["GENL_NAMSIZ",""],["GENL_UNS_ADMIN_PERM",""],["GLOB_ABORTED",""],["GLOB_APPEND",""],["GLOB_DOOFFS",""],["GLOB_ERR",""],["GLOB_MARK",""],["GLOB_NOCHECK",""],["GLOB_NOESCAPE",""],["GLOB_NOMATCH",""],["GLOB_NOSORT",""],["GLOB_NOSPACE",""],["GRND_INSECURE",""],["GRND_NONBLOCK",""],["GRND_RANDOM",""],["GRPQUOTA",""],["GS",""],["GS_BASE",""],["HOSTFS_SUPER_MAGIC",""],["HPFS_SUPER_MAGIC",""],["HUGETLBFS_MAGIC",""],["HUGETLB_FLAG_ENCODE_16GB",""],["HUGETLB_FLAG_ENCODE_16MB",""],["HUGETLB_FLAG_ENCODE_1GB",""],["HUGETLB_FLAG_ENCODE_1MB",""],["HUGETLB_FLAG_ENCODE_256MB",""],["HUGETLB_FLAG_ENCODE_2GB",""],["HUGETLB_FLAG_ENCODE_2MB",""],["HUGETLB_FLAG_ENCODE_32MB",""],["HUGETLB_FLAG_ENCODE_512KB",""],["HUGETLB_FLAG_ENCODE_512MB",""],["HUGETLB_FLAG_ENCODE_64KB",""],["HUGETLB_FLAG_ENCODE_8MB",""],["HUGETLB_FLAG_ENCODE_MASK",""],["HUGETLB_FLAG_ENCODE_SHIFT",""],["HUPCL",""],["IBSHIFT",""],["ICANON",""],["ICRNL",""],["IEXTEN",""],["IFA_ADDRESS",""],["IFA_ANYCAST",""],["IFA_BROADCAST",""],["IFA_CACHEINFO",""],["IFA_FLAGS",""],["IFA_F_DADFAILED",""],["IFA_F_DEPRECATED",""],["IFA_F_HOMEADDRESS",""],["IFA_F_MANAGETEMPADDR",""],["IFA_F_MCAUTOJOIN",""],["IFA_F_NODAD",""],["IFA_F_NOPREFIXROUTE",""],["IFA_F_OPTIMISTIC",""],["IFA_F_PERMANENT",""],["IFA_F_SECONDARY",""],["IFA_F_STABLE_PRIVACY",""],["IFA_F_TEMPORARY",""],["IFA_F_TENTATIVE",""],["IFA_LABEL",""],["IFA_LOCAL",""],["IFA_MULTICAST",""],["IFA_UNSPEC",""],["IFF_ALLMULTI",""],["IFF_ATTACH_QUEUE",""],["IFF_AUTOMEDIA",""],["IFF_BROADCAST",""],["IFF_DEBUG",""],["IFF_DETACH_QUEUE",""],["IFF_DORMANT",""],["IFF_DYNAMIC",""],["IFF_ECHO",""],["IFF_LOOPBACK",""],["IFF_LOWER_UP",""],["IFF_MASTER",""],["IFF_MULTICAST",""],["IFF_MULTI_QUEUE",""],["IFF_NOARP",""],["IFF_NOFILTER",""],["IFF_NOTRAILERS",""],["IFF_NO_PI",""],["IFF_ONE_QUEUE",""],["IFF_PERSIST",""],["IFF_POINTOPOINT",""],["IFF_PORTSEL",""],["IFF_PROMISC",""],["IFF_RUNNING",""],["IFF_SLAVE",""],["IFF_TAP",""],["IFF_TUN",""],["IFF_TUN_EXCL",""],["IFF_UP",""],["IFF_VNET_HDR",""],["IFLA_ADDRESS",""],["IFLA_AF_SPEC",""],["IFLA_ALT_IFNAME",""],["IFLA_BROADCAST",""],["IFLA_CARRIER",""],["IFLA_CARRIER_CHANGES",""],["IFLA_CARRIER_DOWN_COUNT",""],["IFLA_CARRIER_UP_COUNT",""],["IFLA_COST",""],["IFLA_EVENT",""],["IFLA_EXT_MASK",""],["IFLA_GROUP",""],["IFLA_GSO_MAX_SEGS",""],["IFLA_GSO_MAX_SIZE",""],["IFLA_IFALIAS",""],["IFLA_IFNAME",""],["IFLA_IF_NETNSID",""],["IFLA_INFO_DATA",""],["IFLA_INFO_KIND",""],["IFLA_INFO_SLAVE_DATA",""],["IFLA_INFO_SLAVE_KIND",""],["IFLA_INFO_UNSPEC",""],["IFLA_INFO_XSTATS",""],["IFLA_LINK",""],["IFLA_LINKINFO",""],["IFLA_LINKMODE",""],["IFLA_LINK_NETNSID",""],["IFLA_MAP",""],["IFLA_MASTER",""],["IFLA_MAX_MTU",""],["IFLA_MIN_MTU",""],["IFLA_MTU",""],["IFLA_NET_NS_FD",""],["IFLA_NET_NS_PID",""],["IFLA_NEW_IFINDEX",""],["IFLA_NEW_NETNSID",""],["IFLA_NUM_RX_QUEUES",""],["IFLA_NUM_TX_QUEUES",""],["IFLA_NUM_VF",""],["IFLA_OPERSTATE",""],["IFLA_PAD",""],["IFLA_PERM_ADDRESS",""],["IFLA_PHYS_PORT_ID",""],["IFLA_PHYS_PORT_NAME",""],["IFLA_PHYS_SWITCH_ID",""],["IFLA_PORT_SELF",""],["IFLA_PRIORITY",""],["IFLA_PROMISCUITY",""],["IFLA_PROP_LIST",""],["IFLA_PROTINFO",""],["IFLA_PROTO_DOWN",""],["IFLA_PROTO_DOWN_REASON",""],["IFLA_QDISC",""],["IFLA_STATS",""],["IFLA_STATS64",""],["IFLA_TARGET_NETNSID",""],["IFLA_TXQLEN",""],["IFLA_UNSPEC",""],["IFLA_VFINFO_LIST",""],["IFLA_VF_PORTS",""],["IFLA_WEIGHT",""],["IFLA_WIRELESS",""],["IFLA_XDP",""],["IFNAMSIZ",""],["IF_NAMESIZE",""],["IGNBRK",""],["IGNCR",""],["IGNPAR",""],["IMAXBEL",""],["INADDR_ANY",""],["INADDR_BROADCAST",""],["INADDR_LOOPBACK",""],["INADDR_NONE",""],["INIT_PROCESS",""],["INLCR",""],["INPCK",""],["INPUT_PROP_CNT",""],["INPUT_PROP_MAX",""],["INT_MAX",""],["INT_MIN",""],["IN_ACCESS",""],["IN_ALL_EVENTS",""],["IN_ATTRIB",""],["IN_CLOEXEC",""],["IN_CLOSE",""],["IN_CLOSE_NOWRITE",""],["IN_CLOSE_WRITE",""],["IN_CREATE",""],["IN_DELETE",""],["IN_DELETE_SELF",""],["IN_DONT_FOLLOW",""],["IN_EXCL_UNLINK",""],["IN_IGNORED",""],["IN_ISDIR",""],["IN_MASK_ADD",""],["IN_MASK_CREATE",""],["IN_MODIFY",""],["IN_MOVE",""],["IN_MOVED_FROM",""],["IN_MOVED_TO",""],["IN_MOVE_SELF",""],["IN_NONBLOCK",""],["IN_ONESHOT",""],["IN_ONLYDIR",""],["IN_OPEN",""],["IN_Q_OVERFLOW",""],["IN_UNMOUNT",""],["IP6T_SO_ORIGINAL_DST",""],["IPC_CREAT",""],["IPC_EXCL",""],["IPC_INFO",""],["IPC_NOWAIT",""],["IPC_PRIVATE",""],["IPC_RMID",""],["IPC_SET",""],["IPC_STAT",""],["IPDEFTTL",""],["IPOPT_CLASS_MASK",""],["IPOPT_CONTROL",""],["IPOPT_COPY",""],["IPOPT_END",""],["IPOPT_EOL",""],["IPOPT_LSRR",""],["IPOPT_MEASUREMENT",""],["IPOPT_MINOFF",""],["IPOPT_NOOP",""],["IPOPT_NOP",""],["IPOPT_NUMBER_MASK",""],["IPOPT_OFFSET",""],["IPOPT_OLEN",""],["IPOPT_OPTVAL",""],["IPOPT_RA",""],["IPOPT_RESERVED1",""],["IPOPT_RESERVED2",""],["IPOPT_RR",""],["IPOPT_SEC",""],["IPOPT_SID",""],["IPOPT_SSRR",""],["IPOPT_TIMESTAMP",""],["IPOPT_TS",""],["IPOPT_TS_PRESPEC",""],["IPOPT_TS_TSANDADDR",""],["IPOPT_TS_TSONLY",""],["IPPROTO_AH","IP6 Auth Header"],["IPPROTO_BEETPH",""],["IPPROTO_COMP","IP Payload Comp. Protocol"],["IPPROTO_DCCP","DCCP"],["IPPROTO_DSTOPTS","IP6 destination option"],["IPPROTO_EGP","exterior gateway protocol"],["IPPROTO_ENCAP","encapsulation header"],["IPPROTO_ESP","IP6 Encap Sec. Payload"],["IPPROTO_FRAGMENT","IP6 fragmentation header"],["IPPROTO_GRE","General Routing Encap."],["IPPROTO_HOPOPTS","Hop-by-hop option header"],["IPPROTO_ICMP",""],["IPPROTO_ICMPV6",""],["IPPROTO_IDP","xns idp"],["IPPROTO_IGMP","group mgmt protocol"],["IPPROTO_IP",""],["IPPROTO_IPIP","for compatibility"],["IPPROTO_IPV6",""],["IPPROTO_MAX",""],["IPPROTO_MH",""],["IPPROTO_MPLS",""],["IPPROTO_MPTCP","Multipath TCP"],["IPPROTO_MTP",""],["IPPROTO_NONE","IP6 no next header"],["IPPROTO_PIM","Protocol indep. multicast"],["IPPROTO_PUP","pup"],["IPPROTO_RAW","raw IP packet"],["IPPROTO_ROUTING","IP6 routing header"],["IPPROTO_RSVP","resource reservation"],["IPPROTO_SCTP","SCTP"],["IPPROTO_TCP",""],["IPPROTO_TP","tp-4 w\/ class negotiation"],["IPPROTO_UDP",""],["IPPROTO_UDPLITE",""],["IPTOS_ECN_CE",""],["IPTOS_ECN_ECT0",""],["IPTOS_ECN_ECT1",""],["IPTOS_ECN_MASK",""],["IPTOS_ECN_NOT_ECT",""],["IPTOS_LOWDELAY",""],["IPTOS_MINCOST",""],["IPTOS_PREC_CRITIC_ECP",""],["IPTOS_PREC_FLASH",""],["IPTOS_PREC_FLASHOVERRIDE",""],["IPTOS_PREC_IMMEDIATE",""],["IPTOS_PREC_INTERNETCONTROL",""],["IPTOS_PREC_MASK",""],["IPTOS_PREC_NETCONTROL",""],["IPTOS_PREC_PRIORITY",""],["IPTOS_PREC_ROUTINE",""],["IPTOS_RELIABILITY",""],["IPTOS_THROUGHPUT",""],["IPTOS_TOS_MASK",""],["IPV6_2292DSTOPTS",""],["IPV6_2292HOPLIMIT",""],["IPV6_2292HOPOPTS",""],["IPV6_2292PKTINFO",""],["IPV6_2292PKTOPTIONS",""],["IPV6_2292RTHDR",""],["IPV6_ADDRFORM",""],["IPV6_ADDR_PREFERENCES",""],["IPV6_ADD_MEMBERSHIP",""],["IPV6_AUTHHDR",""],["IPV6_AUTOFLOWLABEL",""],["IPV6_CHECKSUM",""],["IPV6_DONTFRAG",""],["IPV6_DROP_MEMBERSHIP",""],["IPV6_DSTOPTS",""],["IPV6_FLOWINFO",""],["IPV6_FLOWINFO_FLOWLABEL",""],["IPV6_FLOWINFO_PRIORITY",""],["IPV6_FLOWINFO_SEND",""],["IPV6_FLOWLABEL_MGR",""],["IPV6_FREEBIND",""],["IPV6_HDRINCL",""],["IPV6_HOPLIMIT",""],["IPV6_HOPOPTS",""],["IPV6_IPSEC_POLICY",""],["IPV6_JOIN_ANYCAST",""],["IPV6_LEAVE_ANYCAST",""],["IPV6_MINHOPCOUNT",""],["IPV6_MTU",""],["IPV6_MTU_DISCOVER",""],["IPV6_MULTICAST_ALL",""],["IPV6_MULTICAST_HOPS",""],["IPV6_MULTICAST_IF",""],["IPV6_MULTICAST_LOOP",""],["IPV6_NEXTHOP",""],["IPV6_ORIGDSTADDR",""],["IPV6_PATHMTU",""],["IPV6_PKTINFO",""],["IPV6_PMTUDISC_DO",""],["IPV6_PMTUDISC_DONT",""],["IPV6_PMTUDISC_INTERFACE",""],["IPV6_PMTUDISC_OMIT",""],["IPV6_PMTUDISC_PROBE",""],["IPV6_PMTUDISC_WANT",""],["IPV6_PREFER_SRC_CGA",""],["IPV6_PREFER_SRC_COA",""],["IPV6_PREFER_SRC_HOME",""],["IPV6_PREFER_SRC_NONCGA",""],["IPV6_PREFER_SRC_PUBLIC",""],["IPV6_PREFER_SRC_PUBTMP_DEFAULT",""],["IPV6_PREFER_SRC_TMP",""],["IPV6_RECVDSTOPTS",""],["IPV6_RECVERR",""],["IPV6_RECVFRAGSIZE",""],["IPV6_RECVHOPLIMIT",""],["IPV6_RECVHOPOPTS",""],["IPV6_RECVORIGDSTADDR",""],["IPV6_RECVPATHMTU",""],["IPV6_RECVPKTINFO",""],["IPV6_RECVRTHDR",""],["IPV6_RECVTCLASS",""],["IPV6_ROUTER_ALERT",""],["IPV6_ROUTER_ALERT_ISOLATE",""],["IPV6_RTHDR",""],["IPV6_RTHDRDSTOPTS",""],["IPV6_RTHDR_LOOSE",""],["IPV6_RTHDR_STRICT",""],["IPV6_TCLASS",""],["IPV6_TRANSPARENT",""],["IPV6_UNICAST_HOPS",""],["IPV6_UNICAST_IF",""],["IPV6_V6ONLY",""],["IPV6_XFRM_POLICY",""],["IPVERSION",""],["IP_ADD_MEMBERSHIP",""],["IP_ADD_SOURCE_MEMBERSHIP",""],["IP_BIND_ADDRESS_NO_PORT",""],["IP_BLOCK_SOURCE",""],["IP_CHECKSUM",""],["IP_DEFAULT_MULTICAST_LOOP",""],["IP_DEFAULT_MULTICAST_TTL",""],["IP_DROP_MEMBERSHIP",""],["IP_DROP_SOURCE_MEMBERSHIP",""],["IP_FREEBIND",""],["IP_HDRINCL",""],["IP_IPSEC_POLICY",""],["IP_MINTTL",""],["IP_MSFILTER",""],["IP_MTU",""],["IP_MTU_DISCOVER",""],["IP_MULTICAST_ALL",""],["IP_MULTICAST_IF",""],["IP_MULTICAST_LOOP",""],["IP_MULTICAST_TTL",""],["IP_NODEFRAG",""],["IP_OPTIONS",""],["IP_ORIGDSTADDR",""],["IP_PASSSEC",""],["IP_PKTINFO",""],["IP_PKTOPTIONS",""],["IP_PMTUDISC_DO",""],["IP_PMTUDISC_DONT",""],["IP_PMTUDISC_INTERFACE",""],["IP_PMTUDISC_OMIT",""],["IP_PMTUDISC_PROBE",""],["IP_PMTUDISC_WANT",""],["IP_RECVERR",""],["IP_RECVFRAGSIZE",""],["IP_RECVOPTS",""],["IP_RECVORIGDSTADDR",""],["IP_RECVTOS",""],["IP_RECVTTL",""],["IP_RETOPTS",""],["IP_ROUTER_ALERT",""],["IP_TOS",""],["IP_TRANSPARENT",""],["IP_TTL",""],["IP_UNBLOCK_SOURCE",""],["IP_UNICAST_IF",""],["IP_XFRM_POLICY",""],["ISIG",""],["ISOFS_SUPER_MAGIC",""],["ISTRIP",""],["ITIMER_PROF",""],["ITIMER_REAL",""],["ITIMER_VIRTUAL",""],["IUTF8",""],["IXANY",""],["IXOFF",""],["IXON",""],["J1939_EE_INFO_NONE",""],["J1939_EE_INFO_RX_ABORT",""],["J1939_EE_INFO_RX_DPO",""],["J1939_EE_INFO_RX_RTS",""],["J1939_EE_INFO_TX_ABORT",""],["J1939_FILTER_MAX",""],["J1939_IDLE_ADDR",""],["J1939_MAX_UNICAST_ADDR",""],["J1939_NLA_BYTES_ACKED",""],["J1939_NLA_DEST_ADDR",""],["J1939_NLA_DEST_NAME",""],["J1939_NLA_PAD",""],["J1939_NLA_PGN",""],["J1939_NLA_SRC_ADDR",""],["J1939_NLA_SRC_NAME",""],["J1939_NLA_TOTAL_SIZE",""],["J1939_NO_ADDR",""],["J1939_NO_NAME",""],["J1939_NO_PGN",""],["J1939_PGN_ADDRESS_CLAIMED",""],["J1939_PGN_ADDRESS_COMMANDED",""],["J1939_PGN_MAX",""],["J1939_PGN_PDU1_MAX",""],["J1939_PGN_REQUEST",""],["JFFS2_SUPER_MAGIC",""],["KEYCTL_ASSUME_AUTHORITY",""],["KEYCTL_CAPABILITIES",""],["KEYCTL_CAPS0_BIG_KEY",""],["KEYCTL_CAPS0_CAPABILITIES",""],["KEYCTL_CAPS0_DIFFIE_HELLMAN",""],["KEYCTL_CAPS0_INVALIDATE",""],["KEYCTL_CAPS0_MOVE",""],["KEYCTL_CAPS0_PERSISTENT_KEYRINGS",""],["KEYCTL_CAPS0_PUBLIC_KEY",""],["KEYCTL_CAPS0_RESTRICT_KEYRING",""],["KEYCTL_CAPS1_NS_KEYRING_NAME",""],["KEYCTL_CAPS1_NS_KEY_TAG",""],["KEYCTL_CHOWN",""],["KEYCTL_CLEAR",""],["KEYCTL_DESCRIBE",""],["KEYCTL_DH_COMPUTE",""],["KEYCTL_GET_KEYRING_ID",""],["KEYCTL_GET_PERSISTENT",""],["KEYCTL_GET_SECURITY",""],["KEYCTL_INSTANTIATE",""],["KEYCTL_INSTANTIATE_IOV",""],["KEYCTL_INVALIDATE",""],["KEYCTL_JOIN_SESSION_KEYRING",""],["KEYCTL_LINK",""],["KEYCTL_MOVE",""],["KEYCTL_NEGATE",""],["KEYCTL_PKEY_DECRYPT",""],["KEYCTL_PKEY_ENCRYPT",""],["KEYCTL_PKEY_QUERY",""],["KEYCTL_PKEY_SIGN",""],["KEYCTL_PKEY_VERIFY",""],["KEYCTL_READ",""],["KEYCTL_REJECT",""],["KEYCTL_RESTRICT_KEYRING",""],["KEYCTL_REVOKE",""],["KEYCTL_SEARCH",""],["KEYCTL_SESSION_TO_PARENT",""],["KEYCTL_SETPERM",""],["KEYCTL_SET_REQKEY_KEYRING",""],["KEYCTL_SET_TIMEOUT",""],["KEYCTL_SUPPORTS_DECRYPT",""],["KEYCTL_SUPPORTS_ENCRYPT",""],["KEYCTL_SUPPORTS_SIGN",""],["KEYCTL_SUPPORTS_VERIFY",""],["KEYCTL_UNLINK",""],["KEYCTL_UPDATE",""],["KEY_CNT",""],["KEY_MAX",""],["KEY_REQKEY_DEFL_DEFAULT",""],["KEY_REQKEY_DEFL_GROUP_KEYRING",""],["KEY_REQKEY_DEFL_NO_CHANGE",""],["KEY_REQKEY_DEFL_PROCESS_KEYRING",""],["KEY_REQKEY_DEFL_REQUESTOR_KEYRING",""],["KEY_REQKEY_DEFL_SESSION_KEYRING",""],["KEY_REQKEY_DEFL_THREAD_KEYRING",""],["KEY_REQKEY_DEFL_USER_KEYRING",""],["KEY_REQKEY_DEFL_USER_SESSION_KEYRING",""],["KEY_SPEC_GROUP_KEYRING",""],["KEY_SPEC_PROCESS_KEYRING",""],["KEY_SPEC_REQKEY_AUTH_KEY",""],["KEY_SPEC_REQUESTOR_KEYRING",""],["KEY_SPEC_SESSION_KEYRING",""],["KEY_SPEC_THREAD_KEYRING",""],["KEY_SPEC_USER_KEYRING",""],["KEY_SPEC_USER_SESSION_KEYRING",""],["LC_ADDRESS",""],["LC_ADDRESS_MASK",""],["LC_ALL",""],["LC_ALL_MASK",""],["LC_COLLATE",""],["LC_COLLATE_MASK",""],["LC_CTYPE",""],["LC_CTYPE_MASK",""],["LC_IDENTIFICATION",""],["LC_IDENTIFICATION_MASK",""],["LC_MEASUREMENT",""],["LC_MEASUREMENT_MASK",""],["LC_MESSAGES",""],["LC_MESSAGES_MASK",""],["LC_MONETARY",""],["LC_MONETARY_MASK",""],["LC_NAME",""],["LC_NAME_MASK",""],["LC_NUMERIC",""],["LC_NUMERIC_MASK",""],["LC_PAPER",""],["LC_PAPER_MASK",""],["LC_TELEPHONE",""],["LC_TELEPHONE_MASK",""],["LC_TIME",""],["LC_TIME_MASK",""],["LED_CNT",""],["LED_MAX",""],["LINUX_REBOOT_CMD_CAD_OFF",""],["LINUX_REBOOT_CMD_CAD_ON",""],["LINUX_REBOOT_CMD_HALT",""],["LINUX_REBOOT_CMD_KEXEC",""],["LINUX_REBOOT_CMD_POWER_OFF",""],["LINUX_REBOOT_CMD_RESTART",""],["LINUX_REBOOT_CMD_RESTART2",""],["LINUX_REBOOT_CMD_SW_SUSPEND",""],["LINUX_REBOOT_MAGIC1",""],["LINUX_REBOOT_MAGIC2",""],["LINUX_REBOOT_MAGIC2A",""],["LINUX_REBOOT_MAGIC2B",""],["LINUX_REBOOT_MAGIC2C",""],["LIO_NOP",""],["LIO_NOWAIT",""],["LIO_READ",""],["LIO_WAIT",""],["LIO_WRITE",""],["LM_ID_BASE",""],["LM_ID_NEWLM",""],["LOCK_EX",""],["LOCK_NB",""],["LOCK_SH",""],["LOCK_UN",""],["LOGIN_PROCESS",""],["LOG_ALERT",""],["LOG_AUTH",""],["LOG_AUTHPRIV",""],["LOG_CONS",""],["LOG_CRIT",""],["LOG_CRON",""],["LOG_DAEMON",""],["LOG_DEBUG",""],["LOG_EMERG",""],["LOG_ERR",""],["LOG_FACMASK",""],["LOG_FTP",""],["LOG_INFO",""],["LOG_KERN",""],["LOG_LOCAL0",""],["LOG_LOCAL1",""],["LOG_LOCAL2",""],["LOG_LOCAL3",""],["LOG_LOCAL4",""],["LOG_LOCAL5",""],["LOG_LOCAL6",""],["LOG_LOCAL7",""],["LOG_LPR",""],["LOG_MAIL",""],["LOG_NDELAY",""],["LOG_NEWS",""],["LOG_NFACILITIES",""],["LOG_NOTICE",""],["LOG_NOWAIT",""],["LOG_ODELAY",""],["LOG_PERROR",""],["LOG_PID",""],["LOG_PRIMASK",""],["LOG_SYSLOG",""],["LOG_USER",""],["LOG_UUCP",""],["LOG_WARNING",""],["L_tmpnam",""],["MADV_DODUMP",""],["MADV_DOFORK",""],["MADV_DONTDUMP",""],["MADV_DONTFORK",""],["MADV_DONTNEED",""],["MADV_FREE",""],["MADV_HUGEPAGE",""],["MADV_HWPOISON",""],["MADV_MERGEABLE",""],["MADV_NOHUGEPAGE",""],["MADV_NORMAL",""],["MADV_RANDOM",""],["MADV_REMOVE",""],["MADV_SEQUENTIAL",""],["MADV_SOFT_OFFLINE",""],["MADV_UNMERGEABLE",""],["MADV_WILLNEED",""],["MAP_32BIT",""],["MAP_ANON",""],["MAP_ANONYMOUS",""],["MAP_DENYWRITE",""],["MAP_EXECUTABLE",""],["MAP_FAILED",""],["MAP_FILE",""],["MAP_FIXED",""],["MAP_FIXED_NOREPLACE",""],["MAP_GROWSDOWN",""],["MAP_HUGETLB",""],["MAP_HUGE_16GB",""],["MAP_HUGE_16MB",""],["MAP_HUGE_1GB",""],["MAP_HUGE_1MB",""],["MAP_HUGE_256MB",""],["MAP_HUGE_2GB",""],["MAP_HUGE_2MB",""],["MAP_HUGE_32MB",""],["MAP_HUGE_512KB",""],["MAP_HUGE_512MB",""],["MAP_HUGE_64KB",""],["MAP_HUGE_8MB",""],["MAP_HUGE_MASK",""],["MAP_HUGE_SHIFT",""],["MAP_LOCKED",""],["MAP_NONBLOCK",""],["MAP_NORESERVE",""],["MAP_POPULATE",""],["MAP_PRIVATE",""],["MAP_SHARED",""],["MAP_SHARED_VALIDATE",""],["MAP_STACK",""],["MAP_SYNC",""],["MAP_TYPE",""],["MAXTC",""],["MAXTTL",""],["MAX_ADDR_LEN",""],["MAX_IPOPTLEN",""],["MAX_LINKS",""],["MCAST_BLOCK_SOURCE",""],["MCAST_EXCLUDE",""],["MCAST_INCLUDE",""],["MCAST_JOIN_GROUP",""],["MCAST_JOIN_SOURCE_GROUP",""],["MCAST_LEAVE_GROUP",""],["MCAST_LEAVE_SOURCE_GROUP",""],["MCAST_MSFILTER",""],["MCAST_UNBLOCK_SOURCE",""],["MCL_CURRENT",""],["MCL_FUTURE",""],["MFD_ALLOW_SEALING",""],["MFD_CLOEXEC",""],["MFD_HUGETLB",""],["MFD_HUGE_16GB",""],["MFD_HUGE_16MB",""],["MFD_HUGE_1GB",""],["MFD_HUGE_1MB",""],["MFD_HUGE_256MB",""],["MFD_HUGE_2GB",""],["MFD_HUGE_2MB",""],["MFD_HUGE_32MB",""],["MFD_HUGE_512KB",""],["MFD_HUGE_512MB",""],["MFD_HUGE_64KB",""],["MFD_HUGE_8MB",""],["MFD_HUGE_MASK",""],["MFD_HUGE_SHIFT",""],["MINIX2_SUPER_MAGIC",""],["MINIX2_SUPER_MAGIC2",""],["MINIX3_SUPER_MAGIC",""],["MINIX_SUPER_MAGIC",""],["MINIX_SUPER_MAGIC2",""],["MINSIGSTKSZ",""],["MLOCK_ONFAULT",""],["MMAP_PAGE_ZERO",""],["MNT_DETACH",""],["MNT_EXPIRE",""],["MNT_FORCE",""],["MODULE_INIT_IGNORE_MODVERSIONS",""],["MODULE_INIT_IGNORE_VERMAGIC",""],["MOD_CLKA",""],["MOD_CLKB",""],["MOD_ESTERROR",""],["MOD_FREQUENCY",""],["MOD_MAXERROR",""],["MOD_MICRO",""],["MOD_NANO",""],["MOD_OFFSET",""],["MOD_STATUS",""],["MOD_TAI",""],["MOD_TIMECONST",""],["MON_1",""],["MON_10",""],["MON_11",""],["MON_12",""],["MON_2",""],["MON_3",""],["MON_4",""],["MON_5",""],["MON_6",""],["MON_7",""],["MON_8",""],["MON_9",""],["MPOL_BIND",""],["MPOL_DEFAULT",""],["MPOL_F_NUMA_BALANCING",""],["MPOL_F_RELATIVE_NODES",""],["MPOL_F_STATIC_NODES",""],["MPOL_INTERLEAVE",""],["MPOL_LOCAL",""],["MPOL_PREFERRED",""],["MREMAP_DONTUNMAP",""],["MREMAP_FIXED",""],["MREMAP_MAYMOVE",""],["MSC_CNT",""],["MSC_MAX",""],["MSDOS_SUPER_MAGIC",""],["MSG_CMSG_CLOEXEC",""],["MSG_CONFIRM",""],["MSG_COPY",""],["MSG_CTRUNC",""],["MSG_DONTROUTE",""],["MSG_DONTWAIT",""],["MSG_EOR",""],["MSG_ERRQUEUE",""],["MSG_EXCEPT",""],["MSG_FASTOPEN",""],["MSG_FIN",""],["MSG_INFO",""],["MSG_MORE",""],["MSG_NOERROR",""],["MSG_NOSIGNAL",""],["MSG_OOB",""],["MSG_PEEK",""],["MSG_RST",""],["MSG_STAT",""],["MSG_SYN",""],["MSG_TRUNC",""],["MSG_TRYHARD",""],["MSG_WAITALL",""],["MSG_WAITFORONE",""],["MSG_ZEROCOPY",""],["MS_ACTIVE",""],["MS_ASYNC",""],["MS_BIND",""],["MS_DIRSYNC",""],["MS_INVALIDATE",""],["MS_I_VERSION",""],["MS_KERNMOUNT",""],["MS_LAZYTIME",""],["MS_MANDLOCK",""],["MS_MGC_MSK",""],["MS_MGC_VAL",""],["MS_MOVE",""],["MS_NOATIME",""],["MS_NODEV",""],["MS_NODIRATIME",""],["MS_NOEXEC",""],["MS_NOSUID",""],["MS_NOUSER",""],["MS_POSIXACL",""],["MS_PRIVATE",""],["MS_RDONLY",""],["MS_REC",""],["MS_RELATIME",""],["MS_REMOUNT",""],["MS_RMT_MASK",""],["MS_SHARED",""],["MS_SILENT",""],["MS_SLAVE",""],["MS_STRICTATIME",""],["MS_SYNC",""],["MS_SYNCHRONOUS",""],["MS_UNBINDABLE",""],["M_ARENA_MAX",""],["M_ARENA_TEST",""],["M_CHECK_ACTION",""],["M_GRAIN",""],["M_KEEP",""],["M_MMAP_MAX",""],["M_MMAP_THRESHOLD",""],["M_MXFAST",""],["M_NLBLKS",""],["M_PERTURB",""],["M_TOP_PAD",""],["M_TRIM_THRESHOLD",""],["NCCS",""],["NCP_SUPER_MAGIC",""],["NDA_CACHEINFO",""],["NDA_DST",""],["NDA_IFINDEX",""],["NDA_LINK_NETNSID",""],["NDA_LLADDR",""],["NDA_MASTER",""],["NDA_PORT",""],["NDA_PROBES",""],["NDA_SRC_VNI",""],["NDA_UNSPEC",""],["NDA_VLAN",""],["NDA_VNI",""],["NETLINK_ADD_MEMBERSHIP",""],["NETLINK_AUDIT",""],["NETLINK_BROADCAST_ERROR",""],["NETLINK_CAP_ACK",""],["NETLINK_CONNECTOR",""],["NETLINK_CRYPTO",""],["NETLINK_DNRTMSG",""],["NETLINK_DROP_MEMBERSHIP",""],["NETLINK_ECRYPTFS",""],["NETLINK_EXT_ACK",""],["NETLINK_FIB_LOOKUP",""],["NETLINK_FIREWALL",""],["NETLINK_GENERIC",""],["NETLINK_GET_STRICT_CHK",""],["NETLINK_INET_DIAG",""],["NETLINK_IP6_FW",""],["NETLINK_ISCSI",""],["NETLINK_KOBJECT_UEVENT",""],["NETLINK_LISTEN_ALL_NSID",""],["NETLINK_LIST_MEMBERSHIPS",""],["NETLINK_NETFILTER",""],["NETLINK_NFLOG",""],["NETLINK_NO_ENOBUFS",""],["NETLINK_PKTINFO",""],["NETLINK_RDMA",""],["NETLINK_ROUTE",""],["NETLINK_RX_RING",""],["NETLINK_SCSITRANSPORT",""],["NETLINK_SELINUX",""],["NETLINK_SOCK_DIAG",""],["NETLINK_TX_RING",""],["NETLINK_UNUSED",""],["NETLINK_USERSOCK",""],["NETLINK_XFRM",""],["NEW_TIME",""],["NFNETLINK_V0",""],["NFNLGRP_ACCT_QUOTA",""],["NFNLGRP_CONNTRACK_DESTROY",""],["NFNLGRP_CONNTRACK_EXP_DESTROY",""],["NFNLGRP_CONNTRACK_EXP_NEW",""],["NFNLGRP_CONNTRACK_EXP_UPDATE",""],["NFNLGRP_CONNTRACK_NEW",""],["NFNLGRP_CONNTRACK_UPDATE",""],["NFNLGRP_NFTABLES",""],["NFNLGRP_NFTRACE",""],["NFNLGRP_NONE",""],["NFNL_BATCH_GENID",""],["NFNL_BATCH_UNSPEC",""],["NFNL_MSG_BATCH_BEGIN",""],["NFNL_MSG_BATCH_END",""],["NFNL_SUBSYS_ACCT",""],["NFNL_SUBSYS_COUNT",""],["NFNL_SUBSYS_CTHELPER",""],["NFNL_SUBSYS_CTNETLINK",""],["NFNL_SUBSYS_CTNETLINK_EXP",""],["NFNL_SUBSYS_CTNETLINK_TIMEOUT",""],["NFNL_SUBSYS_HOOK",""],["NFNL_SUBSYS_IPSET",""],["NFNL_SUBSYS_NFTABLES",""],["NFNL_SUBSYS_NFT_COMPAT",""],["NFNL_SUBSYS_NONE",""],["NFNL_SUBSYS_OSF",""],["NFNL_SUBSYS_QUEUE",""],["NFNL_SUBSYS_ULOG",""],["NFPROTO_ARP",""],["NFPROTO_BRIDGE",""],["NFPROTO_DECNET",""],["NFPROTO_INET",""],["NFPROTO_IPV4",""],["NFPROTO_IPV6",""],["NFPROTO_NETDEV",""],["NFPROTO_NUMPROTO",""],["NFPROTO_UNSPEC",""],["NFQA_CAP_LEN",""],["NFQA_CFG_CMD",""],["NFQA_CFG_FLAGS",""],["NFQA_CFG_F_CONNTRACK",""],["NFQA_CFG_F_FAIL_OPEN",""],["NFQA_CFG_F_GSO",""],["NFQA_CFG_F_MAX",""],["NFQA_CFG_F_SECCTX",""],["NFQA_CFG_F_UID_GID",""],["NFQA_CFG_MASK",""],["NFQA_CFG_PARAMS",""],["NFQA_CFG_QUEUE_MAXLEN",""],["NFQA_CFG_UNSPEC",""],["NFQA_CT",""],["NFQA_CT_INFO",""],["NFQA_EXP",""],["NFQA_GID",""],["NFQA_HWADDR",""],["NFQA_IFINDEX_INDEV",""],["NFQA_IFINDEX_OUTDEV",""],["NFQA_IFINDEX_PHYSINDEV",""],["NFQA_IFINDEX_PHYSOUTDEV",""],["NFQA_L2HDR",""],["NFQA_MARK",""],["NFQA_PACKET_HDR",""],["NFQA_PAYLOAD",""],["NFQA_PRIORITY",""],["NFQA_SECCTX",""],["NFQA_SKB_CSUMNOTREADY",""],["NFQA_SKB_CSUM_NOTVERIFIED",""],["NFQA_SKB_GSO",""],["NFQA_SKB_INFO",""],["NFQA_TIMESTAMP",""],["NFQA_UID",""],["NFQA_UNSPEC",""],["NFQA_VERDICT_HDR",""],["NFQA_VLAN",""],["NFQA_VLAN_PROTO",""],["NFQA_VLAN_TCI",""],["NFQA_VLAN_UNSPEC",""],["NFQNL_CFG_CMD_BIND",""],["NFQNL_CFG_CMD_NONE",""],["NFQNL_CFG_CMD_PF_BIND",""],["NFQNL_CFG_CMD_PF_UNBIND",""],["NFQNL_CFG_CMD_UNBIND",""],["NFQNL_COPY_META",""],["NFQNL_COPY_NONE",""],["NFQNL_COPY_PACKET",""],["NFQNL_MSG_CONFIG",""],["NFQNL_MSG_PACKET",""],["NFQNL_MSG_VERDICT",""],["NFQNL_MSG_VERDICT_BATCH",""],["NFS_SUPER_MAGIC",""],["NFT_BREAK",""],["NFT_BYTEORDER_HTON",""],["NFT_BYTEORDER_NTOH",""],["NFT_CHAIN_MAXNAMELEN",""],["NFT_CMP_EQ",""],["NFT_CMP_GT",""],["NFT_CMP_GTE",""],["NFT_CMP_LT",""],["NFT_CMP_LTE",""],["NFT_CMP_NEQ",""],["NFT_CONTINUE",""],["NFT_CT_BYTES",""],["NFT_CT_DIRECTION",""],["NFT_CT_DST",""],["NFT_CT_EXPIRATION",""],["NFT_CT_HELPER",""],["NFT_CT_L3PROTOCOL",""],["NFT_CT_LABELS",""],["NFT_CT_MARK",""],["NFT_CT_PKTS",""],["NFT_CT_PROTOCOL",""],["NFT_CT_PROTO_DST",""],["NFT_CT_PROTO_SRC",""],["NFT_CT_SECMARK",""],["NFT_CT_SRC",""],["NFT_CT_STATE",""],["NFT_CT_STATUS",""],["NFT_DATA_RESERVED_MASK",""],["NFT_DATA_VALUE",""],["NFT_DATA_VALUE_MAXLEN",""],["NFT_DATA_VERDICT",""],["NFT_DYNSET_F_INV",""],["NFT_DYNSET_OP_ADD",""],["NFT_DYNSET_OP_UPDATE",""],["NFT_GOTO",""],["NFT_JUMP",""],["NFT_LIMIT_F_INV",""],["NFT_LIMIT_PKTS",""],["NFT_LIMIT_PKT_BYTES",""],["NFT_LOOKUP_F_INV",""],["NFT_META_BRI_IIFNAME",""],["NFT_META_BRI_OIFNAME",""],["NFT_META_CGROUP",""],["NFT_META_CPU",""],["NFT_META_IIF",""],["NFT_META_IIFGROUP",""],["NFT_META_IIFNAME",""],["NFT_META_IIFTYPE",""],["NFT_META_L4PROTO",""],["NFT_META_LEN",""],["NFT_META_MARK",""],["NFT_META_NFPROTO",""],["NFT_META_NFTRACE",""],["NFT_META_OIF",""],["NFT_META_OIFGROUP",""],["NFT_META_OIFNAME",""],["NFT_META_OIFTYPE",""],["NFT_META_PKTTYPE",""],["NFT_META_PRANDOM",""],["NFT_META_PRIORITY",""],["NFT_META_PROTOCOL",""],["NFT_META_RTCLASSID",""],["NFT_META_SECMARK",""],["NFT_META_SKGID",""],["NFT_META_SKUID",""],["NFT_MSG_DELCHAIN",""],["NFT_MSG_DELOBJ",""],["NFT_MSG_DELRULE",""],["NFT_MSG_DELSET",""],["NFT_MSG_DELSETELEM",""],["NFT_MSG_DELTABLE",""],["NFT_MSG_GETCHAIN",""],["NFT_MSG_GETGEN",""],["NFT_MSG_GETOBJ",""],["NFT_MSG_GETOBJ_RESET",""],["NFT_MSG_GETRULE",""],["NFT_MSG_GETSET",""],["NFT_MSG_GETSETELEM",""],["NFT_MSG_GETTABLE",""],["NFT_MSG_MAX",""],["NFT_MSG_NEWCHAIN",""],["NFT_MSG_NEWGEN",""],["NFT_MSG_NEWOBJ",""],["NFT_MSG_NEWRULE",""],["NFT_MSG_NEWSET",""],["NFT_MSG_NEWSETELEM",""],["NFT_MSG_NEWTABLE",""],["NFT_MSG_TRACE",""],["NFT_NAT_DNAT",""],["NFT_NAT_SNAT",""],["NFT_NG_INCREMENTAL",""],["NFT_NG_RANDOM",""],["NFT_OBJ_MAXNAMELEN",""],["NFT_PAYLOAD_CSUM_INET",""],["NFT_PAYLOAD_CSUM_NONE",""],["NFT_PAYLOAD_LL_HEADER",""],["NFT_PAYLOAD_NETWORK_HEADER",""],["NFT_PAYLOAD_TRANSPORT_HEADER",""],["NFT_QUEUE_FLAG_BYPASS",""],["NFT_QUEUE_FLAG_CPU_FANOUT",""],["NFT_QUEUE_FLAG_MASK",""],["NFT_QUOTA_F_INV",""],["NFT_RANGE_EQ",""],["NFT_RANGE_NEQ",""],["NFT_REG32_00",""],["NFT_REG32_01",""],["NFT_REG32_02",""],["NFT_REG32_03",""],["NFT_REG32_04",""],["NFT_REG32_05",""],["NFT_REG32_06",""],["NFT_REG32_07",""],["NFT_REG32_08",""],["NFT_REG32_09",""],["NFT_REG32_10",""],["NFT_REG32_11",""],["NFT_REG32_12",""],["NFT_REG32_13",""],["NFT_REG32_14",""],["NFT_REG32_15",""],["NFT_REG32_SIZE",""],["NFT_REG_1",""],["NFT_REG_2",""],["NFT_REG_3",""],["NFT_REG_4",""],["NFT_REG_SIZE",""],["NFT_REG_VERDICT",""],["NFT_REJECT_ICMPX_ADMIN_PROHIBITED",""],["NFT_REJECT_ICMPX_HOST_UNREACH",""],["NFT_REJECT_ICMPX_NO_ROUTE",""],["NFT_REJECT_ICMPX_PORT_UNREACH",""],["NFT_REJECT_ICMPX_UNREACH",""],["NFT_REJECT_ICMP_UNREACH",""],["NFT_REJECT_TCP_RST",""],["NFT_RETURN",""],["NFT_SET_ANONYMOUS",""],["NFT_SET_CONSTANT",""],["NFT_SET_ELEM_INTERVAL_END",""],["NFT_SET_EVAL",""],["NFT_SET_INTERVAL",""],["NFT_SET_MAP",""],["NFT_SET_MAXNAMELEN",""],["NFT_SET_POL_MEMORY",""],["NFT_SET_POL_PERFORMANCE",""],["NFT_SET_TIMEOUT",""],["NFT_TABLE_MAXNAMELEN",""],["NFT_TRACETYPE_POLICY",""],["NFT_TRACETYPE_RETURN",""],["NFT_TRACETYPE_RULE",""],["NFT_TRACETYPE_UNSPEC",""],["NFT_USERDATA_MAXLEN",""],["NFULA_CFG_CMD",""],["NFULA_CFG_FLAGS",""],["NFULA_CFG_MODE",""],["NFULA_CFG_NLBUFSIZ",""],["NFULA_CFG_QTHRESH",""],["NFULA_CFG_TIMEOUT",""],["NFULA_CFG_UNSPEC",""],["NFULA_CT",""],["NFULA_CT_INFO",""],["NFULA_GID",""],["NFULA_HWADDR",""],["NFULA_HWHEADER",""],["NFULA_HWLEN",""],["NFULA_HWTYPE",""],["NFULA_IFINDEX_INDEV",""],["NFULA_IFINDEX_OUTDEV",""],["NFULA_IFINDEX_PHYSINDEV",""],["NFULA_IFINDEX_PHYSOUTDEV",""],["NFULA_L2HDR",""],["NFULA_MARK",""],["NFULA_PACKET_HDR",""],["NFULA_PAYLOAD",""],["NFULA_PREFIX",""],["NFULA_SEQ",""],["NFULA_SEQ_GLOBAL",""],["NFULA_TIMESTAMP",""],["NFULA_UID",""],["NFULA_UNSPEC",""],["NFULA_VLAN",""],["NFULA_VLAN_PROTO",""],["NFULA_VLAN_TCI",""],["NFULA_VLAN_UNSPEC",""],["NFULNL_CFG_CMD_BIND",""],["NFULNL_CFG_CMD_NONE",""],["NFULNL_CFG_CMD_PF_BIND",""],["NFULNL_CFG_CMD_PF_UNBIND",""],["NFULNL_CFG_CMD_UNBIND",""],["NFULNL_CFG_F_CONNTRACK",""],["NFULNL_CFG_F_SEQ",""],["NFULNL_CFG_F_SEQ_GLOBAL",""],["NFULNL_COPY_META",""],["NFULNL_COPY_NONE",""],["NFULNL_COPY_PACKET",""],["NFULNL_MSG_CONFIG",""],["NFULNL_MSG_PACKET",""],["NF_ACCEPT",""],["NF_DROP",""],["NF_INET_FORWARD",""],["NF_INET_LOCAL_IN",""],["NF_INET_LOCAL_OUT",""],["NF_INET_NUMHOOKS",""],["NF_INET_POST_ROUTING",""],["NF_INET_PRE_ROUTING",""],["NF_IP6_FORWARD",""],["NF_IP6_LOCAL_IN",""],["NF_IP6_LOCAL_OUT",""],["NF_IP6_NUMHOOKS",""],["NF_IP6_POST_ROUTING",""],["NF_IP6_PRE_ROUTING",""],["NF_IP6_PRI_CONNTRACK",""],["NF_IP6_PRI_CONNTRACK_DEFRAG",""],["NF_IP6_PRI_CONNTRACK_HELPER",""],["NF_IP6_PRI_FILTER",""],["NF_IP6_PRI_FIRST",""],["NF_IP6_PRI_LAST",""],["NF_IP6_PRI_MANGLE",""],["NF_IP6_PRI_NAT_DST",""],["NF_IP6_PRI_NAT_SRC",""],["NF_IP6_PRI_RAW",""],["NF_IP6_PRI_SECURITY",""],["NF_IP6_PRI_SELINUX_FIRST",""],["NF_IP6_PRI_SELINUX_LAST",""],["NF_IP_FORWARD",""],["NF_IP_LOCAL_IN",""],["NF_IP_LOCAL_OUT",""],["NF_IP_NUMHOOKS",""],["NF_IP_POST_ROUTING",""],["NF_IP_PRE_ROUTING",""],["NF_IP_PRI_CONNTRACK",""],["NF_IP_PRI_CONNTRACK_CONFIRM",""],["NF_IP_PRI_CONNTRACK_DEFRAG",""],["NF_IP_PRI_CONNTRACK_HELPER",""],["NF_IP_PRI_FILTER",""],["NF_IP_PRI_FIRST",""],["NF_IP_PRI_LAST",""],["NF_IP_PRI_MANGLE",""],["NF_IP_PRI_NAT_DST",""],["NF_IP_PRI_NAT_SRC",""],["NF_IP_PRI_RAW",""],["NF_IP_PRI_SECURITY",""],["NF_IP_PRI_SELINUX_FIRST",""],["NF_IP_PRI_SELINUX_LAST",""],["NF_MAX_VERDICT",""],["NF_NETDEV_INGRESS",""],["NF_NETDEV_NUMHOOKS",""],["NF_QUEUE",""],["NF_REPEAT",""],["NF_STOLEN",""],["NF_STOP",""],["NF_VERDICT_BITS",""],["NF_VERDICT_FLAG_QUEUE_BYPASS",""],["NF_VERDICT_MASK",""],["NF_VERDICT_QBITS",""],["NF_VERDICT_QMASK",""],["NILFS_SUPER_MAGIC",""],["NI_DGRAM",""],["NI_MAXHOST",""],["NI_NAMEREQD",""],["NI_NOFQDN",""],["NI_NUMERICHOST",""],["NI_NUMERICSERV",""],["NL0",""],["NL1",""],["NLA_ALIGNTO",""],["NLA_F_NESTED",""],["NLA_F_NET_BYTEORDER",""],["NLA_TYPE_MASK",""],["NLDLY",""],["NLMSG_DONE",""],["NLMSG_ERROR",""],["NLMSG_MIN_TYPE",""],["NLMSG_NOOP",""],["NLMSG_OVERRUN",""],["NLM_F_ACK",""],["NLM_F_APPEND",""],["NLM_F_ATOMIC",""],["NLM_F_CREATE",""],["NLM_F_DUMP",""],["NLM_F_DUMP_FILTERED",""],["NLM_F_DUMP_INTR",""],["NLM_F_ECHO",""],["NLM_F_EXCL",""],["NLM_F_MATCH",""],["NLM_F_MULTI",""],["NLM_F_REPLACE",""],["NLM_F_REQUEST",""],["NLM_F_ROOT",""],["NOEXPR",""],["NOFLSH",""],["NOSTR",""],["NSFS_MAGIC",""],["NTF_EXT_LEARNED",""],["NTF_MASTER",""],["NTF_OFFLOADED",""],["NTF_PROXY",""],["NTF_ROUTER",""],["NTF_SELF",""],["NTF_USE",""],["NTP_API",""],["NT_ASRS",""],["NT_AUXV",""],["NT_FPREGSET",""],["NT_GWINDOWS",""],["NT_LWPSINFO",""],["NT_LWPSTATUS",""],["NT_PLATFORM",""],["NT_PRCRED",""],["NT_PRFPREG",""],["NT_PRFPXREG",""],["NT_PRPSINFO",""],["NT_PRSTATUS",""],["NT_PRXREG",""],["NT_PSINFO",""],["NT_PSTATUS",""],["NT_TASKSTRUCT",""],["NT_UTSNAME",""],["NUD_DELAY",""],["NUD_FAILED",""],["NUD_INCOMPLETE",""],["NUD_NOARP",""],["NUD_NONE",""],["NUD_PERMANENT",""],["NUD_PROBE",""],["NUD_REACHABLE",""],["NUD_STALE",""],["OCFS2_SUPER_MAGIC",""],["OCRNL",""],["OFDEL",""],["OFILL",""],["OLCUC",""],["OLD_TIME",""],["ONLCR",""],["ONLRET",""],["ONOCR",""],["OPENPROM_SUPER_MAGIC",""],["OPOST",""],["ORIG_RAX",""],["OVERLAYFS_SUPER_MAGIC",""],["O_ACCMODE",""],["O_APPEND",""],["O_ASYNC",""],["O_CLOEXEC",""],["O_CREAT",""],["O_DIRECT",""],["O_DIRECTORY",""],["O_DSYNC",""],["O_EXCL",""],["O_FSYNC",""],["O_LARGEFILE",""],["O_NDELAY",""],["O_NOATIME",""],["O_NOCTTY",""],["O_NOFOLLOW",""],["O_NONBLOCK",""],["O_PATH",""],["O_RDONLY",""],["O_RDWR",""],["O_RSYNC",""],["O_SYNC",""],["O_TMPFILE",""],["O_TRUNC",""],["O_WRONLY",""],["PACKET_ADD_MEMBERSHIP",""],["PACKET_DROP_MEMBERSHIP",""],["PACKET_MR_ALLMULTI",""],["PACKET_MR_MULTICAST",""],["PACKET_MR_PROMISC",""],["PACKET_MR_UNICAST",""],["PARENB",""],["PARMRK",""],["PARODD",""],["PATH_MAX",""],["PENDIN",""],["PF_ALG",""],["PF_APPLETALK",""],["PF_ASH",""],["PF_ATMPVC",""],["PF_ATMSVC",""],["PF_AX25",""],["PF_BLUETOOTH",""],["PF_BRIDGE",""],["PF_CAIF",""],["PF_CAN",""],["PF_DECnet",""],["PF_ECONET",""],["PF_IB",""],["PF_IEEE802154",""],["PF_INET",""],["PF_INET6",""],["PF_IPX",""],["PF_IRDA",""],["PF_ISDN",""],["PF_IUCV",""],["PF_KEY",""],["PF_LLC",""],["PF_LOCAL",""],["PF_MASKOS",""],["PF_MASKPROC",""],["PF_MPLS",""],["PF_NETBEUI",""],["PF_NETLINK",""],["PF_NETROM",""],["PF_NFC",""],["PF_PACKET",""],["PF_PHONET",""],["PF_PPPOX",""],["PF_R",""],["PF_RDS",""],["PF_ROSE",""],["PF_ROUTE",""],["PF_RXRPC",""],["PF_SECURITY",""],["PF_SNA",""],["PF_TIPC",""],["PF_UNIX",""],["PF_UNSPEC",""],["PF_VSOCK",""],["PF_W",""],["PF_WANPIPE",""],["PF_X",""],["PF_X25",""],["PF_XDP",""],["PIDFD_NONBLOCK",""],["PIPE_BUF",""],["PM_STR",""],["POLLERR",""],["POLLHUP",""],["POLLIN",""],["POLLNVAL",""],["POLLOUT",""],["POLLPRI",""],["POLLRDBAND",""],["POLLRDHUP",""],["POLLRDNORM",""],["POLLWRBAND",""],["POLLWRNORM",""],["POSIX_FADV_DONTNEED",""],["POSIX_FADV_NOREUSE",""],["POSIX_FADV_NORMAL",""],["POSIX_FADV_RANDOM",""],["POSIX_FADV_SEQUENTIAL",""],["POSIX_FADV_WILLNEED",""],["POSIX_MADV_DONTNEED",""],["POSIX_MADV_NORMAL",""],["POSIX_MADV_RANDOM",""],["POSIX_MADV_SEQUENTIAL",""],["POSIX_MADV_WILLNEED",""],["POSIX_SPAWN_RESETIDS",""],["POSIX_SPAWN_SETPGROUP",""],["POSIX_SPAWN_SETSCHEDPARAM",""],["POSIX_SPAWN_SETSCHEDULER",""],["POSIX_SPAWN_SETSID",""],["POSIX_SPAWN_SETSIGDEF",""],["POSIX_SPAWN_SETSIGMASK",""],["POSIX_SPAWN_USEVFORK",""],["PRIO_MAX",""],["PRIO_MIN",""],["PRIO_PGRP",""],["PRIO_PROCESS",""],["PRIO_USER",""],["PROC_SUPER_MAGIC",""],["PROT_EXEC",""],["PROT_GROWSDOWN",""],["PROT_GROWSUP",""],["PROT_NONE",""],["PROT_READ",""],["PROT_WRITE",""],["PR_CAPBSET_DROP",""],["PR_CAPBSET_READ",""],["PR_CAP_AMBIENT",""],["PR_CAP_AMBIENT_CLEAR_ALL",""],["PR_CAP_AMBIENT_IS_SET",""],["PR_CAP_AMBIENT_LOWER",""],["PR_CAP_AMBIENT_RAISE",""],["PR_ENDIAN_BIG",""],["PR_ENDIAN_LITTLE",""],["PR_ENDIAN_PPC_LITTLE",""],["PR_FPEMU_NOPRINT",""],["PR_FPEMU_SIGFPE",""],["PR_FP_EXC_ASYNC",""],["PR_FP_EXC_DISABLED",""],["PR_FP_EXC_DIV",""],["PR_FP_EXC_INV",""],["PR_FP_EXC_NONRECOV",""],["PR_FP_EXC_OVF",""],["PR_FP_EXC_PRECISE",""],["PR_FP_EXC_RES",""],["PR_FP_EXC_SW_ENABLE",""],["PR_FP_EXC_UND",""],["PR_FP_MODE_FR",""],["PR_FP_MODE_FRE",""],["PR_GET_CHILD_SUBREAPER",""],["PR_GET_DUMPABLE",""],["PR_GET_ENDIAN",""],["PR_GET_FPEMU",""],["PR_GET_FPEXC",""],["PR_GET_FP_MODE",""],["PR_GET_KEEPCAPS",""],["PR_GET_NAME",""],["PR_GET_NO_NEW_PRIVS",""],["PR_GET_PDEATHSIG",""],["PR_GET_SECCOMP",""],["PR_GET_SECUREBITS",""],["PR_GET_SPECULATION_CTRL",""],["PR_GET_THP_DISABLE",""],["PR_GET_TID_ADDRESS",""],["PR_GET_TIMERSLACK",""],["PR_GET_TIMING",""],["PR_GET_TSC",""],["PR_GET_UNALIGN",""],["PR_MCE_KILL",""],["PR_MCE_KILL_CLEAR",""],["PR_MCE_KILL_DEFAULT",""],["PR_MCE_KILL_EARLY",""],["PR_MCE_KILL_GET",""],["PR_MCE_KILL_LATE",""],["PR_MCE_KILL_SET",""],["PR_MPX_DISABLE_MANAGEMENT",""],["PR_MPX_ENABLE_MANAGEMENT",""],["PR_SET_CHILD_SUBREAPER",""],["PR_SET_DUMPABLE",""],["PR_SET_ENDIAN",""],["PR_SET_FPEMU",""],["PR_SET_FPEXC",""],["PR_SET_FP_MODE",""],["PR_SET_KEEPCAPS",""],["PR_SET_MM",""],["PR_SET_MM_ARG_END",""],["PR_SET_MM_ARG_START",""],["PR_SET_MM_AUXV",""],["PR_SET_MM_BRK",""],["PR_SET_MM_END_CODE",""],["PR_SET_MM_END_DATA",""],["PR_SET_MM_ENV_END",""],["PR_SET_MM_ENV_START",""],["PR_SET_MM_EXE_FILE",""],["PR_SET_MM_MAP",""],["PR_SET_MM_MAP_SIZE",""],["PR_SET_MM_START_BRK",""],["PR_SET_MM_START_CODE",""],["PR_SET_MM_START_DATA",""],["PR_SET_MM_START_STACK",""],["PR_SET_NAME",""],["PR_SET_NO_NEW_PRIVS",""],["PR_SET_PDEATHSIG",""],["PR_SET_PTRACER",""],["PR_SET_SECCOMP",""],["PR_SET_SECUREBITS",""],["PR_SET_SPECULATION_CTRL",""],["PR_SET_THP_DISABLE",""],["PR_SET_TIMERSLACK",""],["PR_SET_TIMING",""],["PR_SET_TSC",""],["PR_SET_UNALIGN",""],["PR_SET_VMA",""],["PR_SET_VMA_ANON_NAME",""],["PR_SPEC_DISABLE",""],["PR_SPEC_DISABLE_NOEXEC",""],["PR_SPEC_ENABLE",""],["PR_SPEC_FORCE_DISABLE",""],["PR_SPEC_INDIRECT_BRANCH",""],["PR_SPEC_NOT_AFFECTED",""],["PR_SPEC_PRCTL",""],["PR_SPEC_STORE_BYPASS",""],["PR_TASK_PERF_EVENTS_DISABLE",""],["PR_TASK_PERF_EVENTS_ENABLE",""],["PR_TIMING_STATISTICAL",""],["PR_TIMING_TIMESTAMP",""],["PR_TSC_ENABLE",""],["PR_TSC_SIGSEGV",""],["PR_UNALIGN_NOPRINT",""],["PR_UNALIGN_SIGBUS",""],["PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP",""],["PTHREAD_COND_INITIALIZER",""],["PTHREAD_CREATE_DETACHED",""],["PTHREAD_CREATE_JOINABLE",""],["PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP",""],["PTHREAD_MUTEX_ADAPTIVE_NP",""],["PTHREAD_MUTEX_DEFAULT",""],["PTHREAD_MUTEX_ERRORCHECK",""],["PTHREAD_MUTEX_INITIALIZER",""],["PTHREAD_MUTEX_NORMAL",""],["PTHREAD_MUTEX_RECURSIVE",""],["PTHREAD_MUTEX_ROBUST",""],["PTHREAD_MUTEX_STALLED",""],["PTHREAD_PRIO_INHERIT",""],["PTHREAD_PRIO_NONE",""],["PTHREAD_PRIO_PROTECT",""],["PTHREAD_PROCESS_PRIVATE",""],["PTHREAD_PROCESS_SHARED",""],["PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP",""],["PTHREAD_RWLOCK_INITIALIZER",""],["PTHREAD_STACK_MIN",""],["PTRACE_ATTACH",""],["PTRACE_CONT",""],["PTRACE_DETACH",""],["PTRACE_EVENT_CLONE",""],["PTRACE_EVENT_EXEC",""],["PTRACE_EVENT_EXIT",""],["PTRACE_EVENT_FORK",""],["PTRACE_EVENT_SECCOMP",""],["PTRACE_EVENT_STOP",""],["PTRACE_EVENT_VFORK",""],["PTRACE_EVENT_VFORK_DONE",""],["PTRACE_GETEVENTMSG",""],["PTRACE_GETFPREGS",""],["PTRACE_GETFPXREGS",""],["PTRACE_GETREGS",""],["PTRACE_GETREGSET",""],["PTRACE_GETSIGINFO",""],["PTRACE_GET_RSEQ_CONFIGURATION",""],["PTRACE_GET_SYSCALL_INFO",""],["PTRACE_INTERRUPT",""],["PTRACE_KILL",""],["PTRACE_LISTEN",""],["PTRACE_O_EXITKILL",""],["PTRACE_O_MASK",""],["PTRACE_O_SUSPEND_SECCOMP",""],["PTRACE_O_TRACECLONE",""],["PTRACE_O_TRACEEXEC",""],["PTRACE_O_TRACEEXIT",""],["PTRACE_O_TRACEFORK",""],["PTRACE_O_TRACESECCOMP",""],["PTRACE_O_TRACESYSGOOD",""],["PTRACE_O_TRACEVFORK",""],["PTRACE_O_TRACEVFORKDONE",""],["PTRACE_PEEKDATA",""],["PTRACE_PEEKSIGINFO",""],["PTRACE_PEEKSIGINFO_SHARED",""],["PTRACE_PEEKTEXT",""],["PTRACE_PEEKUSER",""],["PTRACE_POKEDATA",""],["PTRACE_POKETEXT",""],["PTRACE_POKEUSER",""],["PTRACE_SEIZE",""],["PTRACE_SETFPREGS",""],["PTRACE_SETFPXREGS",""],["PTRACE_SETOPTIONS",""],["PTRACE_SETREGS",""],["PTRACE_SETREGSET",""],["PTRACE_SETSIGINFO",""],["PTRACE_SINGLESTEP",""],["PTRACE_SYSCALL",""],["PTRACE_SYSEMU",""],["PTRACE_SYSEMU_SINGLESTEP",""],["PTRACE_TRACEME",""],["PT_DYNAMIC",""],["PT_GNU_EH_FRAME",""],["PT_GNU_RELRO",""],["PT_GNU_STACK",""],["PT_HIOS",""],["PT_HIPROC",""],["PT_HISUNW",""],["PT_INTERP",""],["PT_LOAD",""],["PT_LOOS",""],["PT_LOPROC",""],["PT_LOSUNW",""],["PT_NOTE",""],["PT_NULL",""],["PT_NUM",""],["PT_PHDR",""],["PT_SHLIB",""],["PT_SUNWBSS",""],["PT_SUNWSTACK",""],["PT_TLS",""],["P_ALL",""],["P_PGID",""],["P_PID",""],["P_PIDFD",""],["QFMT_VFS_OLD",""],["QFMT_VFS_V0",""],["QFMT_VFS_V1",""],["QIF_ALL",""],["QIF_BLIMITS",""],["QIF_BTIME",""],["QIF_ILIMITS",""],["QIF_INODES",""],["QIF_ITIME",""],["QIF_LIMITS",""],["QIF_SPACE",""],["QIF_TIMES",""],["QIF_USAGE",""],["QNX4_SUPER_MAGIC",""],["QNX6_SUPER_MAGIC",""],["Q_GETFMT",""],["Q_GETINFO",""],["Q_GETQUOTA",""],["Q_QUOTAOFF",""],["Q_QUOTAON",""],["Q_SETINFO",""],["Q_SETQUOTA",""],["Q_SYNC",""],["R10",""],["R11",""],["R12",""],["R13",""],["R14",""],["R15",""],["R8",""],["R9",""],["RADIXCHAR",""],["RAND_MAX",""],["RAX",""],["RBP",""],["RBX",""],["RB_AUTOBOOT",""],["RB_DISABLE_CAD",""],["RB_ENABLE_CAD",""],["RB_HALT_SYSTEM",""],["RB_KEXEC",""],["RB_POWER_OFF",""],["RB_SW_SUSPEND",""],["RCX",""],["RDI",""],["RDTGROUP_SUPER_MAGIC",""],["RDX",""],["READ_IMPLIES_EXEC",""],["REG_BADBR",""],["REG_BADPAT",""],["REG_BADRPT",""],["REG_CR2",""],["REG_CSGSFS",""],["REG_EBRACE",""],["REG_EBRACK",""],["REG_ECOLLATE",""],["REG_ECTYPE",""],["REG_EEND",""],["REG_EESCAPE",""],["REG_EFL",""],["REG_ENOSYS",""],["REG_EPAREN",""],["REG_ERANGE",""],["REG_ERPAREN",""],["REG_ERR",""],["REG_ESIZE",""],["REG_ESPACE",""],["REG_ESUBREG",""],["REG_EXTENDED",""],["REG_ICASE",""],["REG_NEWLINE",""],["REG_NOMATCH",""],["REG_NOSUB",""],["REG_NOTBOL",""],["REG_NOTEOL",""],["REG_OLDMASK",""],["REG_R10",""],["REG_R11",""],["REG_R12",""],["REG_R13",""],["REG_R14",""],["REG_R15",""],["REG_R8",""],["REG_R9",""],["REG_RAX",""],["REG_RBP",""],["REG_RBX",""],["REG_RCX",""],["REG_RDI",""],["REG_RDX",""],["REG_RIP",""],["REG_RSI",""],["REG_RSP",""],["REG_STARTEND",""],["REG_TRAPNO",""],["REISERFS_SUPER_MAGIC",""],["REL_CNT",""],["REL_MAX",""],["RENAME_EXCHANGE",""],["RENAME_NOREPLACE",""],["RENAME_WHITEOUT",""],["REP_CNT",""],["REP_MAX",""],["RESOLVE_BENEATH",""],["RESOLVE_CACHED",""],["RESOLVE_IN_ROOT",""],["RESOLVE_NO_MAGICLINKS",""],["RESOLVE_NO_SYMLINKS",""],["RESOLVE_NO_XDEV",""],["RIP",""],["RLIMIT_AS",""],["RLIMIT_CORE",""],["RLIMIT_CPU",""],["RLIMIT_DATA",""],["RLIMIT_FSIZE",""],["RLIMIT_LOCKS",""],["RLIMIT_MEMLOCK",""],["RLIMIT_MSGQUEUE",""],["RLIMIT_NICE",""],["RLIMIT_NLIMITS",""],["RLIMIT_NOFILE",""],["RLIMIT_NPROC",""],["RLIMIT_RSS",""],["RLIMIT_RTPRIO",""],["RLIMIT_RTTIME",""],["RLIMIT_SIGPENDING",""],["RLIMIT_STACK",""],["RLIM_INFINITY",""],["RLIM_NLIMITS",""],["RLIM_SAVED_CUR",""],["RLIM_SAVED_MAX",""],["RSI",""],["RSP",""],["RTA_CACHEINFO",""],["RTA_DST",""],["RTA_ENCAP",""],["RTA_ENCAP_TYPE",""],["RTA_EXPIRES",""],["RTA_FLOW",""],["RTA_GATEWAY",""],["RTA_IIF",""],["RTA_MARK",""],["RTA_METRICS",""],["RTA_MFC_STATS",""],["RTA_MP_ALGO",""],["RTA_MULTIPATH",""],["RTA_NEWDST",""],["RTA_OIF",""],["RTA_PAD",""],["RTA_PREF",""],["RTA_PREFSRC",""],["RTA_PRIORITY",""],["RTA_PROTOINFO",""],["RTA_SESSION",""],["RTA_SRC",""],["RTA_TABLE",""],["RTA_TTL_PROPAGATE",""],["RTA_UID",""],["RTA_UNSPEC",""],["RTA_VIA",""],["RTCF_DIRECTSRC",""],["RTCF_DOREDIRECT",""],["RTCF_LOG",""],["RTCF_MASQ",""],["RTCF_NAT",""],["RTCF_VALVE",""],["RTF_ADDRCLASSMASK",""],["RTF_ADDRCONF",""],["RTF_ALLONLINK",""],["RTF_BROADCAST",""],["RTF_CACHE",""],["RTF_DEFAULT",""],["RTF_DYNAMIC",""],["RTF_FLOW",""],["RTF_GATEWAY",""],["RTF_HOST",""],["RTF_INTERFACE",""],["RTF_IRTT",""],["RTF_LINKRT",""],["RTF_LOCAL",""],["RTF_MODIFIED",""],["RTF_MSS",""],["RTF_MTU",""],["RTF_MULTICAST",""],["RTF_NAT",""],["RTF_NOFORWARD",""],["RTF_NONEXTHOP",""],["RTF_NOPMTUDISC",""],["RTF_POLICY",""],["RTF_REINSTATE",""],["RTF_REJECT",""],["RTF_STATIC",""],["RTF_THROW",""],["RTF_UP",""],["RTF_WINDOW",""],["RTF_XRESOLVE",""],["RTLD_DEEPBIND",""],["RTLD_DEFAULT",""],["RTLD_DI_CONFIGADDR",""],["RTLD_DI_LINKMAP",""],["RTLD_DI_LMID",""],["RTLD_DI_ORIGIN",""],["RTLD_DI_PROFILENAME",""],["RTLD_DI_PROFILEOUT",""],["RTLD_DI_SERINFO",""],["RTLD_DI_SERINFOSIZE",""],["RTLD_DI_TLS_DATA",""],["RTLD_DI_TLS_MODID",""],["RTLD_GLOBAL",""],["RTLD_LAZY",""],["RTLD_LOCAL",""],["RTLD_NEXT",""],["RTLD_NODELETE",""],["RTLD_NOLOAD",""],["RTLD_NOW",""],["RTMGRP_DECnet_IFADDR",""],["RTMGRP_DECnet_ROUTE",""],["RTMGRP_IPV4_IFADDR",""],["RTMGRP_IPV4_MROUTE",""],["RTMGRP_IPV4_ROUTE",""],["RTMGRP_IPV4_RULE",""],["RTMGRP_IPV6_IFADDR",""],["RTMGRP_IPV6_IFINFO",""],["RTMGRP_IPV6_MROUTE",""],["RTMGRP_IPV6_PREFIX",""],["RTMGRP_IPV6_ROUTE",""],["RTMGRP_LINK",""],["RTMGRP_NEIGH",""],["RTMGRP_NOTIFY",""],["RTMGRP_TC",""],["RTMSG_AR_FAILED",""],["RTMSG_CONTROL",""],["RTMSG_DELDEVICE",""],["RTMSG_DELROUTE",""],["RTMSG_DELRULE",""],["RTMSG_NEWDEVICE",""],["RTMSG_NEWROUTE",""],["RTMSG_NEWRULE",""],["RTMSG_OVERRUN",""],["RTM_DELACTION",""],["RTM_DELADDR",""],["RTM_DELADDRLABEL",""],["RTM_DELLINK",""],["RTM_DELMDB",""],["RTM_DELNEIGH",""],["RTM_DELNETCONF",""],["RTM_DELNSID",""],["RTM_DELQDISC",""],["RTM_DELROUTE",""],["RTM_DELRULE",""],["RTM_DELTCLASS",""],["RTM_DELTFILTER",""],["RTM_F_CLONED",""],["RTM_F_EQUALIZE",""],["RTM_F_FIB_MATCH",""],["RTM_F_LOOKUP_TABLE",""],["RTM_F_NOTIFY",""],["RTM_F_PREFIX",""],["RTM_GETACTION",""],["RTM_GETADDR",""],["RTM_GETADDRLABEL",""],["RTM_GETANYCAST",""],["RTM_GETDCB",""],["RTM_GETLINK",""],["RTM_GETMDB",""],["RTM_GETMULTICAST",""],["RTM_GETNEIGH",""],["RTM_GETNEIGHTBL",""],["RTM_GETNETCONF",""],["RTM_GETNSID",""],["RTM_GETQDISC",""],["RTM_GETROUTE",""],["RTM_GETRULE",""],["RTM_GETSTATS",""],["RTM_GETTCLASS",""],["RTM_GETTFILTER",""],["RTM_NEWACTION",""],["RTM_NEWADDR",""],["RTM_NEWADDRLABEL",""],["RTM_NEWCACHEREPORT",""],["RTM_NEWLINK",""],["RTM_NEWMDB",""],["RTM_NEWNDUSEROPT",""],["RTM_NEWNEIGH",""],["RTM_NEWNEIGHTBL",""],["RTM_NEWNETCONF",""],["RTM_NEWNSID",""],["RTM_NEWPREFIX",""],["RTM_NEWQDISC",""],["RTM_NEWROUTE",""],["RTM_NEWRULE",""],["RTM_NEWSTATS",""],["RTM_NEWTCLASS",""],["RTM_NEWTFILTER",""],["RTM_SETDCB",""],["RTM_SETLINK",""],["RTM_SETNEIGHTBL",""],["RTNLGRP_BRVLAN",""],["RTNLGRP_DCB",""],["RTNLGRP_DECnet_IFADDR",""],["RTNLGRP_DECnet_ROUTE",""],["RTNLGRP_DECnet_RULE",""],["RTNLGRP_IPV4_IFADDR",""],["RTNLGRP_IPV4_MROUTE",""],["RTNLGRP_IPV4_MROUTE_R",""],["RTNLGRP_IPV4_NETCONF",""],["RTNLGRP_IPV4_ROUTE",""],["RTNLGRP_IPV4_RULE",""],["RTNLGRP_IPV6_IFADDR",""],["RTNLGRP_IPV6_IFINFO",""],["RTNLGRP_IPV6_MROUTE",""],["RTNLGRP_IPV6_MROUTE_R",""],["RTNLGRP_IPV6_NETCONF",""],["RTNLGRP_IPV6_PREFIX",""],["RTNLGRP_IPV6_ROUTE",""],["RTNLGRP_IPV6_RULE",""],["RTNLGRP_LINK",""],["RTNLGRP_MCTP_IFADDR",""],["RTNLGRP_MDB",""],["RTNLGRP_MPLS_NETCONF",""],["RTNLGRP_MPLS_ROUTE",""],["RTNLGRP_ND_USEROPT",""],["RTNLGRP_NEIGH",""],["RTNLGRP_NEXTHOP",""],["RTNLGRP_NONE",""],["RTNLGRP_NOP2",""],["RTNLGRP_NOP4",""],["RTNLGRP_NOTIFY",""],["RTNLGRP_NSID",""],["RTNLGRP_PHONET_IFADDR",""],["RTNLGRP_PHONET_ROUTE",""],["RTNLGRP_STATS",""],["RTNLGRP_TC",""],["RTNLGRP_TUNNEL",""],["RTN_ANYCAST",""],["RTN_BLACKHOLE",""],["RTN_BROADCAST",""],["RTN_LOCAL",""],["RTN_MULTICAST",""],["RTN_NAT",""],["RTN_PROHIBIT",""],["RTN_THROW",""],["RTN_UNICAST",""],["RTN_UNREACHABLE",""],["RTN_UNSPEC",""],["RTN_XRESOLVE",""],["RTPROT_BOOT",""],["RTPROT_KERNEL",""],["RTPROT_REDIRECT",""],["RTPROT_STATIC",""],["RTPROT_UNSPEC",""],["RT_CLASS_DEFAULT",""],["RT_CLASS_LOCAL",""],["RT_CLASS_MAIN",""],["RT_CLASS_MAX",""],["RT_CLASS_UNSPEC",""],["RT_SCOPE_HOST",""],["RT_SCOPE_LINK",""],["RT_SCOPE_NOWHERE",""],["RT_SCOPE_SITE",""],["RT_SCOPE_UNIVERSE",""],["RT_TABLE_COMPAT",""],["RT_TABLE_DEFAULT",""],["RT_TABLE_LOCAL",""],["RT_TABLE_MAIN",""],["RT_TABLE_UNSPEC",""],["RUN_LVL",""],["RUSAGE_CHILDREN",""],["RUSAGE_SELF",""],["RUSAGE_THREAD",""],["RWF_APPEND",""],["RWF_DSYNC",""],["RWF_HIPRI",""],["RWF_NOWAIT",""],["RWF_SYNC",""],["R_OK",""],["SA_NOCLDSTOP",""],["SA_NOCLDWAIT",""],["SA_NODEFER",""],["SA_ONSTACK",""],["SA_RESETHAND",""],["SA_RESTART",""],["SA_SIGINFO",""],["SCHED_BATCH",""],["SCHED_FIFO",""],["SCHED_IDLE",""],["SCHED_OTHER",""],["SCHED_RESET_ON_FORK",""],["SCHED_RR",""],["SCM_CREDENTIALS",""],["SCM_J1939_DEST_ADDR",""],["SCM_J1939_DEST_NAME",""],["SCM_J1939_ERRQUEUE",""],["SCM_J1939_PRIO",""],["SCM_RIGHTS",""],["SCM_TIMESTAMP",""],["SCM_TIMESTAMPING",""],["SCM_TIMESTAMPING_OPT_STATS",""],["SCM_TIMESTAMPING_PKTINFO",""],["SCM_TIMESTAMPNS",""],["SCM_TXTIME",""],["SCM_WIFI_STATUS",""],["SECCOMP_FILTER_FLAG_LOG",""],["SECCOMP_FILTER_FLAG_SPEC_ALLOW",""],["SECCOMP_FILTER_FLAG_TSYNC",""],["SECCOMP_GET_ACTION_AVAIL",""],["SECCOMP_GET_NOTIF_SIZES",""],["SECCOMP_MODE_DISABLED",""],["SECCOMP_MODE_FILTER",""],["SECCOMP_MODE_STRICT",""],["SECCOMP_RET_ACTION",""],["SECCOMP_RET_ACTION_FULL",""],["SECCOMP_RET_ALLOW",""],["SECCOMP_RET_DATA",""],["SECCOMP_RET_ERRNO",""],["SECCOMP_RET_KILL",""],["SECCOMP_RET_KILL_PROCESS",""],["SECCOMP_RET_KILL_THREAD",""],["SECCOMP_RET_LOG",""],["SECCOMP_RET_TRACE",""],["SECCOMP_RET_TRAP",""],["SECCOMP_SET_MODE_FILTER",""],["SECCOMP_SET_MODE_STRICT",""],["SECURITYFS_MAGIC",""],["SEEK_CUR",""],["SEEK_DATA",""],["SEEK_END",""],["SEEK_HOLE",""],["SEEK_SET",""],["SELFMAG",""],["SELINUX_MAGIC",""],["SEM_FAILED",""],["SFD_CLOEXEC",""],["SFD_NONBLOCK",""],["SHM_EXEC",""],["SHM_HUGETLB",""],["SHM_LOCK",""],["SHM_NORESERVE",""],["SHM_R",""],["SHM_RDONLY",""],["SHM_REMAP",""],["SHM_RND",""],["SHM_UNLOCK",""],["SHM_W",""],["SHORT_INODE",""],["SHUT_RD",""],["SHUT_RDWR",""],["SHUT_WR",""],["SIGABRT",""],["SIGALRM",""],["SIGBUS",""],["SIGCHLD",""],["SIGCONT",""],["SIGEV_NONE",""],["SIGEV_SIGNAL",""],["SIGEV_THREAD",""],["SIGEV_THREAD_ID",""],["SIGFPE",""],["SIGHUP",""],["SIGILL",""],["SIGINT",""],["SIGIO",""],["SIGIOT",""],["SIGKILL",""],["SIGPIPE",""],["SIGPOLL",""],["SIGPROF",""],["SIGPWR",""],["SIGQUIT",""],["SIGSEGV",""],["SIGSTKFLT",""],["SIGSTKSZ",""],["SIGSTOP",""],["SIGSYS",""],["SIGTERM",""],["SIGTRAP",""],["SIGTSTP",""],["SIGTTIN",""],["SIGTTOU",""],["SIGUNUSED",""],["SIGURG",""],["SIGUSR1",""],["SIGUSR2",""],["SIGVTALRM",""],["SIGWINCH",""],["SIGXCPU",""],["SIGXFSZ",""],["SIG_BLOCK",""],["SIG_DFL",""],["SIG_ERR",""],["SIG_IGN",""],["SIG_SETMASK",""],["SIG_UNBLOCK",""],["SIOCADDMULTI",""],["SIOCADDRT",""],["SIOCDARP",""],["SIOCDELMULTI",""],["SIOCDELRT",""],["SIOCDIFADDR",""],["SIOCDRARP",""],["SIOCETHTOOL",""],["SIOCGARP",""],["SIOCGIFADDR",""],["SIOCGIFBR",""],["SIOCGIFBRDADDR",""],["SIOCGIFCONF",""],["SIOCGIFCOUNT",""],["SIOCGIFDSTADDR",""],["SIOCGIFENCAP",""],["SIOCGIFFLAGS",""],["SIOCGIFHWADDR",""],["SIOCGIFINDEX",""],["SIOCGIFMAP",""],["SIOCGIFMEM",""],["SIOCGIFMETRIC",""],["SIOCGIFMTU",""],["SIOCGIFNAME",""],["SIOCGIFNETMASK",""],["SIOCGIFPFLAGS",""],["SIOCGIFSLAVE",""],["SIOCGIFTXQLEN",""],["SIOCGMIIPHY",""],["SIOCGMIIREG",""],["SIOCGRARP",""],["SIOCGSKNS",""],["SIOCOUTQNSD",""],["SIOCSARP",""],["SIOCSIFADDR",""],["SIOCSIFBR",""],["SIOCSIFBRDADDR",""],["SIOCSIFDSTADDR",""],["SIOCSIFENCAP",""],["SIOCSIFFLAGS",""],["SIOCSIFHWADDR",""],["SIOCSIFHWBROADCAST",""],["SIOCSIFLINK",""],["SIOCSIFMAP",""],["SIOCSIFMEM",""],["SIOCSIFMETRIC",""],["SIOCSIFMTU",""],["SIOCSIFNETMASK",""],["SIOCSIFPFLAGS",""],["SIOCSIFSLAVE",""],["SIOCSIFTXQLEN",""],["SIOCSMIIREG",""],["SIOCSRARP",""],["SIOCWANDEV",""],["SIOGIFINDEX",""],["SI_LOAD_SHIFT",""],["SKF_AD_ALU_XOR_X",""],["SKF_AD_CPU",""],["SKF_AD_HATYPE",""],["SKF_AD_IFINDEX",""],["SKF_AD_MARK",""],["SKF_AD_MAX",""],["SKF_AD_NLATTR",""],["SKF_AD_NLATTR_NEST",""],["SKF_AD_OFF",""],["SKF_AD_PAY_OFFSET",""],["SKF_AD_PKTTYPE",""],["SKF_AD_PROTOCOL",""],["SKF_AD_QUEUE",""],["SKF_AD_RANDOM",""],["SKF_AD_RXHASH",""],["SKF_AD_VLAN_TAG",""],["SKF_AD_VLAN_TAG_PRESENT",""],["SKF_AD_VLAN_TPID",""],["SKF_LL_OFF",""],["SKF_NET_OFF",""],["SK_MEMINFO_BACKLOG",""],["SK_MEMINFO_DROPS",""],["SK_MEMINFO_FWD_ALLOC",""],["SK_MEMINFO_OPTMEM",""],["SK_MEMINFO_RCVBUF",""],["SK_MEMINFO_RMEM_ALLOC",""],["SK_MEMINFO_SNDBUF",""],["SK_MEMINFO_WMEM_ALLOC",""],["SK_MEMINFO_WMEM_QUEUED",""],["SMACK_MAGIC",""],["SMB_SUPER_MAGIC",""],["SND_CNT",""],["SND_MAX",""],["SOCK_CLOEXEC",""],["SOCK_DCCP",""],["SOCK_DGRAM",""],["SOCK_NONBLOCK",""],["SOCK_PACKET",""],["SOCK_RAW",""],["SOCK_RDM",""],["SOCK_SEQPACKET",""],["SOCK_STREAM",""],["SOF_TIMESTAMPING_OPT_CMSG",""],["SOF_TIMESTAMPING_OPT_ID",""],["SOF_TIMESTAMPING_OPT_PKTINFO",""],["SOF_TIMESTAMPING_OPT_STATS",""],["SOF_TIMESTAMPING_OPT_TSONLY",""],["SOF_TIMESTAMPING_OPT_TX_SWHW",""],["SOF_TIMESTAMPING_RAW_HARDWARE",""],["SOF_TIMESTAMPING_RX_HARDWARE",""],["SOF_TIMESTAMPING_RX_SOFTWARE",""],["SOF_TIMESTAMPING_SOFTWARE",""],["SOF_TIMESTAMPING_SYS_HARDWARE",""],["SOF_TIMESTAMPING_TX_ACK",""],["SOF_TIMESTAMPING_TX_HARDWARE",""],["SOF_TIMESTAMPING_TX_SCHED",""],["SOF_TIMESTAMPING_TX_SOFTWARE",""],["SOF_TXTIME_DEADLINE_MODE",""],["SOF_TXTIME_REPORT_ERRORS",""],["SOL_AAL",""],["SOL_ALG",""],["SOL_ATM",""],["SOL_BLUETOOTH",""],["SOL_CAIF",""],["SOL_CAN_BASE",""],["SOL_CAN_J1939",""],["SOL_CAN_RAW",""],["SOL_DCCP",""],["SOL_DECNET",""],["SOL_ICMPV6",""],["SOL_IP",""],["SOL_IPV6",""],["SOL_IRDA",""],["SOL_IUCV",""],["SOL_LLC",""],["SOL_NETBEUI",""],["SOL_NETLINK",""],["SOL_NFC",""],["SOL_PACKET",""],["SOL_PNPIPE",""],["SOL_PPPOL2TP",""],["SOL_RAW",""],["SOL_RDS",""],["SOL_RXRPC",""],["SOL_SOCKET",""],["SOL_TCP",""],["SOL_TIPC",""],["SOL_UDP",""],["SOL_X25",""],["SOL_XDP",""],["SOMAXCONN",""],["SO_ACCEPTCONN",""],["SO_ATTACH_BPF",""],["SO_ATTACH_FILTER",""],["SO_ATTACH_REUSEPORT_CBPF",""],["SO_ATTACH_REUSEPORT_EBPF",""],["SO_BINDTODEVICE",""],["SO_BINDTOIFINDEX",""],["SO_BPF_EXTENSIONS",""],["SO_BROADCAST",""],["SO_BSDCOMPAT",""],["SO_BUSY_POLL",""],["SO_CNX_ADVICE",""],["SO_COOKIE",""],["SO_DEBUG",""],["SO_DETACH_BPF",""],["SO_DETACH_FILTER",""],["SO_DETACH_REUSEPORT_BPF",""],["SO_DOMAIN",""],["SO_DONTROUTE",""],["SO_EE_ORIGIN_ICMP",""],["SO_EE_ORIGIN_ICMP6",""],["SO_EE_ORIGIN_LOCAL",""],["SO_EE_ORIGIN_NONE",""],["SO_EE_ORIGIN_TIMESTAMPING",""],["SO_EE_ORIGIN_TXSTATUS",""],["SO_ERROR",""],["SO_GET_FILTER",""],["SO_INCOMING_CPU",""],["SO_INCOMING_NAPI_ID",""],["SO_J1939_ERRQUEUE",""],["SO_J1939_FILTER",""],["SO_J1939_PROMISC",""],["SO_J1939_SEND_PRIO",""],["SO_KEEPALIVE",""],["SO_LINGER",""],["SO_LOCK_FILTER",""],["SO_MARK",""],["SO_MAX_PACING_RATE",""],["SO_MEMINFO",""],["SO_NOFCS",""],["SO_NO_CHECK",""],["SO_OOBINLINE",""],["SO_ORIGINAL_DST",""],["SO_PASSCRED",""],["SO_PASSSEC",""],["SO_PEEK_OFF",""],["SO_PEERCRED",""],["SO_PEERGROUPS",""],["SO_PEERNAME",""],["SO_PEERSEC",""],["SO_PRIORITY",""],["SO_PROTOCOL",""],["SO_RCVBUF",""],["SO_RCVBUFFORCE",""],["SO_RCVLOWAT",""],["SO_RCVTIMEO",""],["SO_RCVTIMEO_NEW",""],["SO_REUSEADDR",""],["SO_REUSEPORT",""],["SO_RXQ_OVFL",""],["SO_SECURITY_AUTHENTICATION",""],["SO_SECURITY_ENCRYPTION_NETWORK",""],["SO_SECURITY_ENCRYPTION_TRANSPORT",""],["SO_SELECT_ERR_QUEUE",""],["SO_SNDBUF",""],["SO_SNDBUFFORCE",""],["SO_SNDLOWAT",""],["SO_SNDTIMEO",""],["SO_SNDTIMEO_NEW",""],["SO_TIMESTAMP",""],["SO_TIMESTAMPING",""],["SO_TIMESTAMPING_NEW",""],["SO_TIMESTAMPNS",""],["SO_TIMESTAMPNS_NEW",""],["SO_TIMESTAMP_NEW",""],["SO_TXTIME",""],["SO_TYPE",""],["SO_WIFI_STATUS",""],["SO_ZEROCOPY",""],["SPLICE_F_GIFT",""],["SPLICE_F_MORE",""],["SPLICE_F_MOVE",""],["SPLICE_F_NONBLOCK",""],["SS",""],["SS_DISABLE",""],["SS_ONSTACK",""],["STATX_ALL",""],["STATX_ATIME",""],["STATX_ATTR_APPEND",""],["STATX_ATTR_AUTOMOUNT",""],["STATX_ATTR_COMPRESSED",""],["STATX_ATTR_DAX",""],["STATX_ATTR_ENCRYPTED",""],["STATX_ATTR_IMMUTABLE",""],["STATX_ATTR_MOUNT_ROOT",""],["STATX_ATTR_NODUMP",""],["STATX_ATTR_VERITY",""],["STATX_BASIC_STATS",""],["STATX_BLOCKS",""],["STATX_BTIME",""],["STATX_CTIME",""],["STATX_GID",""],["STATX_INO",""],["STATX_MNT_ID",""],["STATX_MODE",""],["STATX_MTIME",""],["STATX_NLINK",""],["STATX_SIZE",""],["STATX_TYPE",""],["STATX_UID",""],["STATX__RESERVED",""],["STA_CLK",""],["STA_CLOCKERR",""],["STA_DEL",""],["STA_FLL",""],["STA_FREQHOLD",""],["STA_INS",""],["STA_MODE",""],["STA_NANO",""],["STA_PLL",""],["STA_PPSERROR",""],["STA_PPSFREQ",""],["STA_PPSJITTER",""],["STA_PPSSIGNAL",""],["STA_PPSTIME",""],["STA_PPSWANDER",""],["STA_RONLY",""],["STA_UNSYNC",""],["STDERR_FILENO",""],["STDIN_FILENO",""],["STDOUT_FILENO",""],["STICKY_TIMEOUTS",""],["ST_APPEND",""],["ST_IMMUTABLE",""],["ST_MANDLOCK",""],["ST_NOATIME",""],["ST_NODEV",""],["ST_NODIRATIME",""],["ST_NOEXEC",""],["ST_NOSUID",""],["ST_RDONLY",""],["ST_RELATIME",""],["ST_SYNCHRONOUS",""],["ST_WRITE",""],["SW_CNT",""],["SW_MAX",""],["SYNC_FILE_RANGE_WAIT_AFTER",""],["SYNC_FILE_RANGE_WAIT_BEFORE",""],["SYNC_FILE_RANGE_WRITE",""],["SYN_CNT",""],["SYN_MAX",""],["SYSFS_MAGIC",""],["SYS__sysctl",""],["SYS_accept",""],["SYS_accept4",""],["SYS_access",""],["SYS_acct",""],["SYS_add_key",""],["SYS_adjtimex",""],["SYS_afs_syscall",""],["SYS_alarm",""],["SYS_arch_prctl",""],["SYS_bind",""],["SYS_bpf",""],["SYS_brk",""],["SYS_capget",""],["SYS_capset",""],["SYS_chdir",""],["SYS_chmod",""],["SYS_chown",""],["SYS_chroot",""],["SYS_clock_adjtime",""],["SYS_clock_getres",""],["SYS_clock_gettime",""],["SYS_clock_nanosleep",""],["SYS_clock_settime",""],["SYS_clone",""],["SYS_clone3",""],["SYS_close",""],["SYS_close_range",""],["SYS_connect",""],["SYS_copy_file_range",""],["SYS_creat",""],["SYS_create_module",""],["SYS_delete_module",""],["SYS_dup",""],["SYS_dup2",""],["SYS_dup3",""],["SYS_epoll_create",""],["SYS_epoll_create1",""],["SYS_epoll_ctl",""],["SYS_epoll_ctl_old",""],["SYS_epoll_pwait",""],["SYS_epoll_pwait2",""],["SYS_epoll_wait",""],["SYS_epoll_wait_old",""],["SYS_eventfd",""],["SYS_eventfd2",""],["SYS_execve",""],["SYS_execveat",""],["SYS_exit",""],["SYS_exit_group",""],["SYS_faccessat",""],["SYS_faccessat2",""],["SYS_fadvise64",""],["SYS_fallocate",""],["SYS_fanotify_init",""],["SYS_fanotify_mark",""],["SYS_fchdir",""],["SYS_fchmod",""],["SYS_fchmodat",""],["SYS_fchown",""],["SYS_fchownat",""],["SYS_fcntl",""],["SYS_fdatasync",""],["SYS_fgetxattr",""],["SYS_finit_module",""],["SYS_flistxattr",""],["SYS_flock",""],["SYS_fork",""],["SYS_fremovexattr",""],["SYS_fsconfig",""],["SYS_fsetxattr",""],["SYS_fsmount",""],["SYS_fsopen",""],["SYS_fspick",""],["SYS_fstat",""],["SYS_fstatfs",""],["SYS_fsync",""],["SYS_ftruncate",""],["SYS_futex",""],["SYS_futex_waitv",""],["SYS_futimesat",""],["SYS_get_kernel_syms",""],["SYS_get_mempolicy",""],["SYS_get_robust_list",""],["SYS_get_thread_area",""],["SYS_getcpu",""],["SYS_getcwd",""],["SYS_getdents",""],["SYS_getdents64",""],["SYS_getegid",""],["SYS_geteuid",""],["SYS_getgid",""],["SYS_getgroups",""],["SYS_getitimer",""],["SYS_getpeername",""],["SYS_getpgid",""],["SYS_getpgrp",""],["SYS_getpid",""],["SYS_getpmsg",""],["SYS_getppid",""],["SYS_getpriority",""],["SYS_getrandom",""],["SYS_getresgid",""],["SYS_getresuid",""],["SYS_getrlimit",""],["SYS_getrusage",""],["SYS_getsid",""],["SYS_getsockname",""],["SYS_getsockopt",""],["SYS_gettid",""],["SYS_gettimeofday",""],["SYS_getuid",""],["SYS_getxattr",""],["SYS_init_module",""],["SYS_inotify_add_watch",""],["SYS_inotify_init",""],["SYS_inotify_init1",""],["SYS_inotify_rm_watch",""],["SYS_io_cancel",""],["SYS_io_destroy",""],["SYS_io_getevents",""],["SYS_io_setup",""],["SYS_io_submit",""],["SYS_io_uring_enter",""],["SYS_io_uring_register",""],["SYS_io_uring_setup",""],["SYS_ioctl",""],["SYS_ioperm",""],["SYS_iopl",""],["SYS_ioprio_get",""],["SYS_ioprio_set",""],["SYS_kcmp",""],["SYS_kexec_file_load",""],["SYS_kexec_load",""],["SYS_keyctl",""],["SYS_kill",""],["SYS_landlock_add_rule",""],["SYS_landlock_create_ruleset",""],["SYS_landlock_restrict_self",""],["SYS_lchown",""],["SYS_lgetxattr",""],["SYS_link",""],["SYS_linkat",""],["SYS_listen",""],["SYS_listxattr",""],["SYS_llistxattr",""],["SYS_lookup_dcookie",""],["SYS_lremovexattr",""],["SYS_lseek",""],["SYS_lsetxattr",""],["SYS_lstat",""],["SYS_madvise",""],["SYS_mbind",""],["SYS_membarrier",""],["SYS_memfd_create",""],["SYS_memfd_secret",""],["SYS_migrate_pages",""],["SYS_mincore",""],["SYS_mkdir",""],["SYS_mkdirat",""],["SYS_mknod",""],["SYS_mknodat",""],["SYS_mlock",""],["SYS_mlock2",""],["SYS_mlockall",""],["SYS_mmap",""],["SYS_modify_ldt",""],["SYS_mount",""],["SYS_mount_setattr",""],["SYS_move_mount",""],["SYS_move_pages",""],["SYS_mprotect",""],["SYS_mq_getsetattr",""],["SYS_mq_notify",""],["SYS_mq_open",""],["SYS_mq_timedreceive",""],["SYS_mq_timedsend",""],["SYS_mq_unlink",""],["SYS_mremap",""],["SYS_msgctl",""],["SYS_msgget",""],["SYS_msgrcv",""],["SYS_msgsnd",""],["SYS_msync",""],["SYS_munlock",""],["SYS_munlockall",""],["SYS_munmap",""],["SYS_name_to_handle_at",""],["SYS_nanosleep",""],["SYS_newfstatat",""],["SYS_nfsservctl",""],["SYS_open",""],["SYS_open_by_handle_at",""],["SYS_open_tree",""],["SYS_openat",""],["SYS_openat2",""],["SYS_pause",""],["SYS_perf_event_open",""],["SYS_personality",""],["SYS_pidfd_getfd",""],["SYS_pidfd_open",""],["SYS_pidfd_send_signal",""],["SYS_pipe",""],["SYS_pipe2",""],["SYS_pivot_root",""],["SYS_pkey_alloc",""],["SYS_pkey_free",""],["SYS_pkey_mprotect",""],["SYS_poll",""],["SYS_ppoll",""],["SYS_prctl",""],["SYS_pread64",""],["SYS_preadv",""],["SYS_preadv2",""],["SYS_prlimit64",""],["SYS_process_madvise",""],["SYS_process_mrelease",""],["SYS_process_vm_readv",""],["SYS_process_vm_writev",""],["SYS_pselect6",""],["SYS_ptrace",""],["SYS_putpmsg",""],["SYS_pwrite64",""],["SYS_pwritev",""],["SYS_pwritev2",""],["SYS_query_module",""],["SYS_quotactl",""],["SYS_quotactl_fd",""],["SYS_read",""],["SYS_readahead",""],["SYS_readlink",""],["SYS_readlinkat",""],["SYS_readv",""],["SYS_reboot",""],["SYS_recvfrom",""],["SYS_recvmmsg",""],["SYS_recvmsg",""],["SYS_remap_file_pages",""],["SYS_removexattr",""],["SYS_rename",""],["SYS_renameat",""],["SYS_renameat2",""],["SYS_request_key",""],["SYS_restart_syscall",""],["SYS_rmdir",""],["SYS_rseq",""],["SYS_rt_sigaction",""],["SYS_rt_sigpending",""],["SYS_rt_sigprocmask",""],["SYS_rt_sigqueueinfo",""],["SYS_rt_sigreturn",""],["SYS_rt_sigsuspend",""],["SYS_rt_sigtimedwait",""],["SYS_rt_tgsigqueueinfo",""],["SYS_sched_get_priority_max",""],["SYS_sched_get_priority_min",""],["SYS_sched_getaffinity",""],["SYS_sched_getattr",""],["SYS_sched_getparam",""],["SYS_sched_getscheduler",""],["SYS_sched_rr_get_interval",""],["SYS_sched_setaffinity",""],["SYS_sched_setattr",""],["SYS_sched_setparam",""],["SYS_sched_setscheduler",""],["SYS_sched_yield",""],["SYS_seccomp",""],["SYS_security",""],["SYS_select",""],["SYS_semctl",""],["SYS_semget",""],["SYS_semop",""],["SYS_semtimedop",""],["SYS_sendfile",""],["SYS_sendmmsg",""],["SYS_sendmsg",""],["SYS_sendto",""],["SYS_set_mempolicy",""],["SYS_set_mempolicy_home_node",""],["SYS_set_robust_list",""],["SYS_set_thread_area",""],["SYS_set_tid_address",""],["SYS_setdomainname",""],["SYS_setfsgid",""],["SYS_setfsuid",""],["SYS_setgid",""],["SYS_setgroups",""],["SYS_sethostname",""],["SYS_setitimer",""],["SYS_setns",""],["SYS_setpgid",""],["SYS_setpriority",""],["SYS_setregid",""],["SYS_setresgid",""],["SYS_setresuid",""],["SYS_setreuid",""],["SYS_setrlimit",""],["SYS_setsid",""],["SYS_setsockopt",""],["SYS_settimeofday",""],["SYS_setuid",""],["SYS_setxattr",""],["SYS_shmat",""],["SYS_shmctl",""],["SYS_shmdt",""],["SYS_shmget",""],["SYS_shutdown",""],["SYS_sigaltstack",""],["SYS_signalfd",""],["SYS_signalfd4",""],["SYS_socket",""],["SYS_socketpair",""],["SYS_splice",""],["SYS_stat",""],["SYS_statfs",""],["SYS_statx",""],["SYS_swapoff",""],["SYS_swapon",""],["SYS_symlink",""],["SYS_symlinkat",""],["SYS_sync",""],["SYS_sync_file_range",""],["SYS_syncfs",""],["SYS_sysfs",""],["SYS_sysinfo",""],["SYS_syslog",""],["SYS_tee",""],["SYS_tgkill",""],["SYS_time",""],["SYS_timer_create",""],["SYS_timer_delete",""],["SYS_timer_getoverrun",""],["SYS_timer_gettime",""],["SYS_timer_settime",""],["SYS_timerfd_create",""],["SYS_timerfd_gettime",""],["SYS_timerfd_settime",""],["SYS_times",""],["SYS_tkill",""],["SYS_truncate",""],["SYS_tuxcall",""],["SYS_umask",""],["SYS_umount2",""],["SYS_uname",""],["SYS_unlink",""],["SYS_unlinkat",""],["SYS_unshare",""],["SYS_uselib",""],["SYS_userfaultfd",""],["SYS_ustat",""],["SYS_utime",""],["SYS_utimensat",""],["SYS_utimes",""],["SYS_vfork",""],["SYS_vhangup",""],["SYS_vmsplice",""],["SYS_vserver",""],["SYS_wait4",""],["SYS_waitid",""],["SYS_write",""],["SYS_writev",""],["S_IEXEC",""],["S_IFBLK",""],["S_IFCHR",""],["S_IFDIR",""],["S_IFIFO",""],["S_IFLNK",""],["S_IFMT",""],["S_IFREG",""],["S_IFSOCK",""],["S_IREAD",""],["S_IRGRP",""],["S_IROTH",""],["S_IRUSR",""],["S_IRWXG",""],["S_IRWXO",""],["S_IRWXU",""],["S_ISGID",""],["S_ISUID",""],["S_ISVTX",""],["S_IWGRP",""],["S_IWOTH",""],["S_IWRITE",""],["S_IWUSR",""],["S_IXGRP",""],["S_IXOTH",""],["S_IXUSR",""],["TAB0",""],["TAB1",""],["TAB2",""],["TAB3",""],["TABDLY",""],["TCA_CHAIN",""],["TCA_DUMP_INVISIBLE",""],["TCA_FCNT",""],["TCA_HW_OFFLOAD",""],["TCA_KIND",""],["TCA_OPTIONS",""],["TCA_PAD",""],["TCA_RATE",""],["TCA_STAB",""],["TCA_STATS",""],["TCA_STATS2",""],["TCA_UNSPEC",""],["TCA_XSTATS",""],["TCFLSH",""],["TCGETA",""],["TCGETS",""],["TCGETS2",""],["TCGETX",""],["TCIFLUSH",""],["TCIOFF",""],["TCIOFLUSH",""],["TCION",""],["TCOFLUSH",""],["TCOOFF",""],["TCOON",""],["TCP_CC_INFO",""],["TCP_CM_INQ",""],["TCP_CONGESTION",""],["TCP_COOKIE_TRANSACTIONS",""],["TCP_CORK",""],["TCP_DEFER_ACCEPT",""],["TCP_FASTOPEN",""],["TCP_FASTOPEN_CONNECT",""],["TCP_FASTOPEN_KEY",""],["TCP_FASTOPEN_NO_COOKIE",""],["TCP_INFO",""],["TCP_INQ",""],["TCP_KEEPCNT",""],["TCP_KEEPIDLE",""],["TCP_KEEPINTVL",""],["TCP_LINGER2",""],["TCP_MAXSEG",""],["TCP_MD5SIG",""],["TCP_MD5SIG_EXT",""],["TCP_NODELAY",""],["TCP_NOTSENT_LOWAT",""],["TCP_QUEUE_SEQ",""],["TCP_QUICKACK",""],["TCP_REPAIR",""],["TCP_REPAIR_OPTIONS",""],["TCP_REPAIR_QUEUE",""],["TCP_REPAIR_WINDOW",""],["TCP_SAVED_SYN",""],["TCP_SAVE_SYN",""],["TCP_SYNCNT",""],["TCP_THIN_DUPACK",""],["TCP_THIN_LINEAR_TIMEOUTS",""],["TCP_TIMESTAMP",""],["TCP_ULP",""],["TCP_USER_TIMEOUT",""],["TCP_WINDOW_CLAMP",""],["TCP_ZEROCOPY_RECEIVE",""],["TCSADRAIN",""],["TCSAFLUSH",""],["TCSANOW",""],["TCSBRK",""],["TCSBRKP",""],["TCSETA",""],["TCSETAF",""],["TCSETAW",""],["TCSETS",""],["TCSETS2",""],["TCSETSF",""],["TCSETSF2",""],["TCSETSW",""],["TCSETSW2",""],["TCSETX",""],["TCSETXF",""],["TCSETXW",""],["TCXONC",""],["TFD_CLOEXEC",""],["TFD_NONBLOCK",""],["TFD_TIMER_ABSTIME",""],["TFD_TIMER_CANCEL_ON_SET",""],["THOUSEP",""],["TIMER_ABSTIME",""],["TIME_BAD",""],["TIME_DEL",""],["TIME_ERROR",""],["TIME_INS",""],["TIME_OK",""],["TIME_OOP",""],["TIME_WAIT",""],["TIOCCBRK",""],["TIOCCONS",""],["TIOCEXCL",""],["TIOCGDEV",""],["TIOCGETD",""],["TIOCGEXCL",""],["TIOCGICOUNT",""],["TIOCGLCKTRMIOS",""],["TIOCGPGRP",""],["TIOCGPKT",""],["TIOCGPTLCK",""],["TIOCGPTN",""],["TIOCGPTPEER",""],["TIOCGRS485",""],["TIOCGSERIAL",""],["TIOCGSID",""],["TIOCGSOFTCAR",""],["TIOCGWINSZ",""],["TIOCINQ",""],["TIOCLINUX",""],["TIOCMBIC",""],["TIOCMBIS",""],["TIOCMGET",""],["TIOCMIWAIT",""],["TIOCMSET",""],["TIOCM_CAR",""],["TIOCM_CD",""],["TIOCM_CTS",""],["TIOCM_DSR",""],["TIOCM_DTR",""],["TIOCM_LE",""],["TIOCM_RI",""],["TIOCM_RNG",""],["TIOCM_RTS",""],["TIOCM_SR",""],["TIOCM_ST",""],["TIOCNOTTY",""],["TIOCNXCL",""],["TIOCOUTQ",""],["TIOCPKT",""],["TIOCSBRK",""],["TIOCSCTTY",""],["TIOCSERCONFIG",""],["TIOCSERGETLSR",""],["TIOCSERGETMULTI",""],["TIOCSERGSTRUCT",""],["TIOCSERGWILD",""],["TIOCSERSETMULTI",""],["TIOCSERSWILD",""],["TIOCSETD",""],["TIOCSIG",""],["TIOCSLCKTRMIOS",""],["TIOCSPGRP",""],["TIOCSPTLCK",""],["TIOCSRS485",""],["TIOCSSERIAL",""],["TIOCSSOFTCAR",""],["TIOCSTI",""],["TIOCSWINSZ",""],["TIOCVHANGUP",""],["TMPFS_MAGIC",""],["TMP_MAX",""],["TOSTOP",""],["TRACEFS_MAGIC",""],["TUN_READQ_SIZE",""],["TUN_TAP_DEV",""],["TUN_TUN_DEV",""],["TUN_TYPE_MASK",""],["T_FMT",""],["T_FMT_AMPM",""],["UDF_SUPER_MAGIC",""],["UDP_CORK",""],["UDP_ENCAP",""],["UDP_GRO",""],["UDP_NO_CHECK6_RX",""],["UDP_NO_CHECK6_TX",""],["UDP_SEGMENT",""],["UINPUT_MAX_NAME_SIZE",""],["UINPUT_VERSION",""],["UIO_MAXIOV",""],["UMOUNT_NOFOLLOW",""],["UNAME26",""],["USBDEVICE_SUPER_MAGIC",""],["USER_PROCESS",""],["USRQUOTA",""],["UTIME_NOW",""],["UTIME_OMIT",""],["VDISCARD",""],["VEOF",""],["VEOL",""],["VEOL2",""],["VERASE",""],["VINTR",""],["VKILL",""],["VLNEXT",""],["VMADDR_CID_ANY",""],["VMADDR_CID_HOST",""],["VMADDR_CID_HYPERVISOR",""],["VMADDR_CID_LOCAL",""],["VMADDR_CID_RESERVED",""],["VMADDR_PORT_ANY",""],["VMIN",""],["VQUIT",""],["VREPRINT",""],["VSTART",""],["VSTOP",""],["VSUSP",""],["VSWTC",""],["VT0",""],["VT1",""],["VTDLY",""],["VTIME",""],["VWERASE",""],["WCONTINUED",""],["WEXITED",""],["WHOLE_SECONDS",""],["WNOHANG",""],["WNOWAIT",""],["WSTOPPED",""],["WUNTRACED",""],["W_OK",""],["XATTR_CREATE",""],["XATTR_REPLACE",""],["XENFS_SUPER_MAGIC",""],["XFS_SUPER_MAGIC",""],["XTABS",""],["X_OK",""],["YESEXPR",""],["YESSTR",""],["_IOFBF",""],["_IOLBF",""],["_IONBF",""],["_PC_2_SYMLINKS",""],["_PC_ALLOC_SIZE_MIN",""],["_PC_ASYNC_IO",""],["_PC_CHOWN_RESTRICTED",""],["_PC_FILESIZEBITS",""],["_PC_LINK_MAX",""],["_PC_MAX_CANON",""],["_PC_MAX_INPUT",""],["_PC_NAME_MAX",""],["_PC_NO_TRUNC",""],["_PC_PATH_MAX",""],["_PC_PIPE_BUF",""],["_PC_PRIO_IO",""],["_PC_REC_INCR_XFER_SIZE",""],["_PC_REC_MAX_XFER_SIZE",""],["_PC_REC_MIN_XFER_SIZE",""],["_PC_REC_XFER_ALIGN",""],["_PC_SOCK_MAXBUF",""],["_PC_SYMLINK_MAX",""],["_PC_SYNC_IO",""],["_PC_VDISABLE",""],["_POSIX_VDISABLE",""],["_SC_2_CHAR_TERM",""],["_SC_2_C_BIND",""],["_SC_2_C_DEV",""],["_SC_2_C_VERSION",""],["_SC_2_FORT_DEV",""],["_SC_2_FORT_RUN",""],["_SC_2_LOCALEDEF",""],["_SC_2_PBS",""],["_SC_2_PBS_ACCOUNTING",""],["_SC_2_PBS_CHECKPOINT",""],["_SC_2_PBS_LOCATE",""],["_SC_2_PBS_MESSAGE",""],["_SC_2_PBS_TRACK",""],["_SC_2_SW_DEV",""],["_SC_2_UPE",""],["_SC_2_VERSION",""],["_SC_ADVISORY_INFO",""],["_SC_AIO_LISTIO_MAX",""],["_SC_AIO_MAX",""],["_SC_AIO_PRIO_DELTA_MAX",""],["_SC_ARG_MAX",""],["_SC_ASYNCHRONOUS_IO",""],["_SC_ATEXIT_MAX",""],["_SC_AVPHYS_PAGES",""],["_SC_BARRIERS",""],["_SC_BASE",""],["_SC_BC_BASE_MAX",""],["_SC_BC_DIM_MAX",""],["_SC_BC_SCALE_MAX",""],["_SC_BC_STRING_MAX",""],["_SC_CHARCLASS_NAME_MAX",""],["_SC_CHAR_BIT",""],["_SC_CHAR_MAX",""],["_SC_CHAR_MIN",""],["_SC_CHILD_MAX",""],["_SC_CLK_TCK",""],["_SC_CLOCK_SELECTION",""],["_SC_COLL_WEIGHTS_MAX",""],["_SC_CPUTIME",""],["_SC_C_LANG_SUPPORT",""],["_SC_C_LANG_SUPPORT_R",""],["_SC_DELAYTIMER_MAX",""],["_SC_DEVICE_IO",""],["_SC_DEVICE_SPECIFIC",""],["_SC_DEVICE_SPECIFIC_R",""],["_SC_EQUIV_CLASS_MAX",""],["_SC_EXPR_NEST_MAX",""],["_SC_FD_MGMT",""],["_SC_FIFO",""],["_SC_FILE_ATTRIBUTES",""],["_SC_FILE_LOCKING",""],["_SC_FILE_SYSTEM",""],["_SC_FSYNC",""],["_SC_GETGR_R_SIZE_MAX",""],["_SC_GETPW_R_SIZE_MAX",""],["_SC_HOST_NAME_MAX",""],["_SC_INT_MAX",""],["_SC_INT_MIN",""],["_SC_IOV_MAX",""],["_SC_IPV6",""],["_SC_JOB_CONTROL",""],["_SC_LEVEL1_DCACHE_ASSOC",""],["_SC_LEVEL1_DCACHE_LINESIZE",""],["_SC_LEVEL1_DCACHE_SIZE",""],["_SC_LEVEL1_ICACHE_ASSOC",""],["_SC_LEVEL1_ICACHE_LINESIZE",""],["_SC_LEVEL1_ICACHE_SIZE",""],["_SC_LEVEL2_CACHE_ASSOC",""],["_SC_LEVEL2_CACHE_LINESIZE",""],["_SC_LEVEL2_CACHE_SIZE",""],["_SC_LEVEL3_CACHE_ASSOC",""],["_SC_LEVEL3_CACHE_LINESIZE",""],["_SC_LEVEL3_CACHE_SIZE",""],["_SC_LEVEL4_CACHE_ASSOC",""],["_SC_LEVEL4_CACHE_LINESIZE",""],["_SC_LEVEL4_CACHE_SIZE",""],["_SC_LINE_MAX",""],["_SC_LOGIN_NAME_MAX",""],["_SC_LONG_BIT",""],["_SC_MAPPED_FILES",""],["_SC_MB_LEN_MAX",""],["_SC_MEMLOCK",""],["_SC_MEMLOCK_RANGE",""],["_SC_MEMORY_PROTECTION",""],["_SC_MESSAGE_PASSING",""],["_SC_MONOTONIC_CLOCK",""],["_SC_MQ_OPEN_MAX",""],["_SC_MQ_PRIO_MAX",""],["_SC_MULTI_PROCESS",""],["_SC_NETWORKING",""],["_SC_NGROUPS_MAX",""],["_SC_NL_ARGMAX",""],["_SC_NL_LANGMAX",""],["_SC_NL_MSGMAX",""],["_SC_NL_NMAX",""],["_SC_NL_SETMAX",""],["_SC_NL_TEXTMAX",""],["_SC_NPROCESSORS_CONF",""],["_SC_NPROCESSORS_ONLN",""],["_SC_NZERO",""],["_SC_OPEN_MAX",""],["_SC_PAGESIZE",""],["_SC_PAGE_SIZE",""],["_SC_PASS_MAX",""],["_SC_PHYS_PAGES",""],["_SC_PII",""],["_SC_PII_INTERNET",""],["_SC_PII_INTERNET_DGRAM",""],["_SC_PII_INTERNET_STREAM",""],["_SC_PII_OSI",""],["_SC_PII_OSI_CLTS",""],["_SC_PII_OSI_COTS",""],["_SC_PII_OSI_M",""],["_SC_PII_SOCKET",""],["_SC_PII_XTI",""],["_SC_PIPE",""],["_SC_POLL",""],["_SC_PRIORITIZED_IO",""],["_SC_PRIORITY_SCHEDULING",""],["_SC_RAW_SOCKETS",""],["_SC_READER_WRITER_LOCKS",""],["_SC_REALTIME_SIGNALS",""],["_SC_REGEXP",""],["_SC_REGEX_VERSION",""],["_SC_RE_DUP_MAX",""],["_SC_RTSIG_MAX",""],["_SC_SAVED_IDS",""],["_SC_SCHAR_MAX",""],["_SC_SCHAR_MIN",""],["_SC_SELECT",""],["_SC_SEMAPHORES",""],["_SC_SEM_NSEMS_MAX",""],["_SC_SEM_VALUE_MAX",""],["_SC_SHARED_MEMORY_OBJECTS",""],["_SC_SHELL",""],["_SC_SHRT_MAX",""],["_SC_SHRT_MIN",""],["_SC_SIGNALS",""],["_SC_SIGQUEUE_MAX",""],["_SC_SINGLE_PROCESS",""],["_SC_SPAWN",""],["_SC_SPIN_LOCKS",""],["_SC_SPORADIC_SERVER",""],["_SC_SSIZE_MAX",""],["_SC_SS_REPL_MAX",""],["_SC_STREAMS",""],["_SC_STREAM_MAX",""],["_SC_SYMLOOP_MAX",""],["_SC_SYNCHRONIZED_IO",""],["_SC_SYSTEM_DATABASE",""],["_SC_SYSTEM_DATABASE_R",""],["_SC_THREADS",""],["_SC_THREAD_ATTR_STACKADDR",""],["_SC_THREAD_ATTR_STACKSIZE",""],["_SC_THREAD_CPUTIME",""],["_SC_THREAD_DESTRUCTOR_ITERATIONS",""],["_SC_THREAD_KEYS_MAX",""],["_SC_THREAD_PRIORITY_SCHEDULING",""],["_SC_THREAD_PRIO_INHERIT",""],["_SC_THREAD_PRIO_PROTECT",""],["_SC_THREAD_PROCESS_SHARED",""],["_SC_THREAD_ROBUST_PRIO_INHERIT",""],["_SC_THREAD_ROBUST_PRIO_PROTECT",""],["_SC_THREAD_SAFE_FUNCTIONS",""],["_SC_THREAD_SPORADIC_SERVER",""],["_SC_THREAD_STACK_MIN",""],["_SC_THREAD_THREADS_MAX",""],["_SC_TIMEOUTS",""],["_SC_TIMERS",""],["_SC_TIMER_MAX",""],["_SC_TRACE",""],["_SC_TRACE_EVENT_FILTER",""],["_SC_TRACE_EVENT_NAME_MAX",""],["_SC_TRACE_INHERIT",""],["_SC_TRACE_LOG",""],["_SC_TRACE_NAME_MAX",""],["_SC_TRACE_SYS_MAX",""],["_SC_TRACE_USER_EVENT_MAX",""],["_SC_TTY_NAME_MAX",""],["_SC_TYPED_MEMORY_OBJECTS",""],["_SC_TZNAME_MAX",""],["_SC_T_IOV_MAX",""],["_SC_UCHAR_MAX",""],["_SC_UINT_MAX",""],["_SC_UIO_MAXIOV",""],["_SC_ULONG_MAX",""],["_SC_USER_GROUPS",""],["_SC_USER_GROUPS_R",""],["_SC_USHRT_MAX",""],["_SC_V6_ILP32_OFF32",""],["_SC_V6_ILP32_OFFBIG",""],["_SC_V6_LP64_OFF64",""],["_SC_V6_LPBIG_OFFBIG",""],["_SC_V7_ILP32_OFF32",""],["_SC_V7_ILP32_OFFBIG",""],["_SC_V7_LP64_OFF64",""],["_SC_V7_LPBIG_OFFBIG",""],["_SC_VERSION",""],["_SC_WORD_BIT",""],["_SC_XBS5_ILP32_OFF32",""],["_SC_XBS5_ILP32_OFFBIG",""],["_SC_XBS5_LP64_OFF64",""],["_SC_XBS5_LPBIG_OFFBIG",""],["_SC_XOPEN_CRYPT",""],["_SC_XOPEN_ENH_I18N",""],["_SC_XOPEN_LEGACY",""],["_SC_XOPEN_REALTIME",""],["_SC_XOPEN_REALTIME_THREADS",""],["_SC_XOPEN_SHM",""],["_SC_XOPEN_STREAMS",""],["_SC_XOPEN_UNIX",""],["_SC_XOPEN_VERSION",""],["_SC_XOPEN_XCU_VERSION",""],["_SC_XOPEN_XPG2",""],["_SC_XOPEN_XPG3",""],["_SC_XOPEN_XPG4",""],["__NFT_REG_MAX",""],["__SIZEOF_PTHREAD_CONDATTR_T",""],["__SIZEOF_PTHREAD_COND_T",""],["__SIZEOF_PTHREAD_MUTEXATTR_T",""],["__SIZEOF_PTHREAD_MUTEX_T",""],["__SIZEOF_PTHREAD_RWLOCKATTR_T",""],["__SIZEOF_PTHREAD_RWLOCK_T",""],["__UT_HOSTSIZE",""],["__UT_LINESIZE",""],["__UT_NAMESIZE",""],["__WALL",""],["__WCLONE",""],["__WNOTHREAD",""]],"enum":[["DIR",""],["FILE",""],["c_void","Equivalent to C’s `void` type when used as a [pointer]."],["fpos64_t",""],["fpos_t",""],["timezone",""]],"fn":[["BPF_JUMP",""],["BPF_MISCOP",""],["BPF_RVAL",""],["BPF_STMT",""],["CMSG_DATA",""],["CMSG_FIRSTHDR",""],["CMSG_LEN",""],["CMSG_NXTHDR",""],["CMSG_SPACE",""],["CPU_ALLOC_SIZE",""],["CPU_CLR",""],["CPU_COUNT",""],["CPU_COUNT_S",""],["CPU_EQUAL",""],["CPU_ISSET",""],["CPU_SET",""],["CPU_ZERO",""],["FD_CLR",""],["FD_ISSET",""],["FD_SET",""],["FD_ZERO",""],["IPOPT_CLASS",""],["IPOPT_COPIED",""],["IPOPT_NUMBER",""],["IPTOS_ECN",""],["IPTOS_PREC",""],["IPTOS_TOS",""],["KERNEL_VERSION",""],["NLA_ALIGN",""],["QCMD",""],["RT_ADDRCLASS",""],["RT_LOCALADDR",""],["RT_TOS",""],["SIGRTMAX",""],["SIGRTMIN",""],["SO_EE_OFFENDER",""],["WCOREDUMP",""],["WEXITSTATUS",""],["WIFCONTINUED",""],["WIFEXITED",""],["WIFSIGNALED",""],["WIFSTOPPED",""],["WSTOPSIG",""],["WTERMSIG",""],["W_EXITCODE",""],["W_STOPCODE",""],["__errno_location",""],["_exit",""],["abort",""],["abs",""],["accept",""],["accept4",""],["access",""],["acct",""],["addmntent",""],["adjtime",""],["adjtimex",""],["aio_cancel",""],["aio_error",""],["aio_fsync",""],["aio_read",""],["aio_return",""],["aio_suspend",""],["aio_write",""],["alarm",""],["asctime_r",""],["atexit",""],["atof",""],["atoi",""],["atol",""],["atoll",""],["backtrace",""],["bind",""],["brk",""],["bsearch",""],["calloc",""],["cfgetispeed",""],["cfgetospeed",""],["cfmakeraw",""],["cfsetispeed",""],["cfsetospeed",""],["cfsetspeed",""],["chdir",""],["chmod",""],["chown",""],["chroot",""],["clearenv",""],["clearerr",""],["clock_adjtime",""],["clock_getcpuclockid",""],["clock_getres",""],["clock_gettime",""],["clock_nanosleep",""],["clock_settime",""],["clone",""],["close",""],["closedir",""],["closelog",""],["connect",""],["copy_file_range",""],["creat",""],["creat64",""],["ctermid",""],["ctime_r",""],["daemon",""],["difftime",""],["dirfd",""],["dirname",""],["dl_iterate_phdr",""],["dladdr",""],["dladdr1",""],["dlclose",""],["dlerror",""],["dlinfo",""],["dlmopen",""],["dlopen",""],["dlsym",""],["drand48",""],["dup",""],["dup2",""],["dup3",""],["duplocale",""],["eaccess",""],["endgrent",""],["endmntent",""],["endpwent",""],["endservent",""],["endspent",""],["endutxent",""],["epoll_create",""],["epoll_create1",""],["epoll_ctl",""],["epoll_pwait",""],["epoll_wait",""],["erand48",""],["euidaccess",""],["eventfd",""],["execl",""],["execle",""],["execlp",""],["execv",""],["execve",""],["execvp",""],["execvpe",""],["exit",""],["explicit_bzero",""],["faccessat",""],["fallocate",""],["fallocate64",""],["fanotify_init",""],["fanotify_mark",""],["fchdir",""],["fchmod",""],["fchmodat",""],["fchown",""],["fchownat",""],["fclose",""],["fcntl",""],["fdatasync",""],["fdopen",""],["fdopendir",""],["feof",""],["ferror",""],["fexecve",""],["fflush",""],["fgetc",""],["fgetgrent_r",""],["fgetpos",""],["fgetpos64",""],["fgetpwent_r",""],["fgets",""],["fgetspent_r",""],["fgetxattr",""],["fileno",""],["flistxattr",""],["flock",""],["fmemopen",""],["fopen",""],["fopen64",""],["fork",""],["forkpty",""],["fpathconf",""],["fprintf",""],["fputc",""],["fputs",""],["fread",""],["fread_unlocked",""],["free",""],["freeaddrinfo",""],["freeifaddrs",""],["freelocale",""],["fremovexattr",""],["freopen",""],["freopen64",""],["fscanf",""],["fseek",""],["fseeko",""],["fseeko64",""],["fsetpos",""],["fsetpos64",""],["fsetxattr",""],["fstat",""],["fstat64",""],["fstatat",""],["fstatat64",""],["fstatfs",""],["fstatfs64",""],["fstatvfs",""],["fstatvfs64",""],["fsync",""],["ftell",""],["ftello",""],["ftello64",""],["ftok",""],["ftruncate",""],["ftruncate64",""],["futimens",""],["futimes",""],["fwrite",""],["gai_strerror",""],["getaddrinfo",""],["getauxval",""],["getchar",""],["getchar_unlocked",""],["getcontext",""],["getcwd",""],["getdomainname",""],["getdtablesize",""],["getegid",""],["getentropy",""],["getenv",""],["geteuid",""],["getgid",""],["getgrent",""],["getgrent_r",""],["getgrgid",""],["getgrgid_r",""],["getgrnam",""],["getgrnam_r",""],["getgrouplist",""],["getgroups",""],["gethostid",""],["gethostname",""],["getifaddrs",""],["getline",""],["getloadavg",""],["getlogin",""],["getmntent",""],["getnameinfo",""],["getopt",""],["getopt_long",""],["getpeername",""],["getpgid",""],["getpgrp",""],["getpid",""],["getppid",""],["getpriority",""],["getprotobyname",""],["getprotobynumber",""],["getpt",""],["getpwent",""],["getpwent_r",""],["getpwnam",""],["getpwnam_r",""],["getpwuid",""],["getpwuid_r",""],["getrandom",""],["getresgid",""],["getresuid",""],["getrlimit",""],["getrlimit64",""],["getrusage",""],["getservbyname",""],["getservbyport",""],["getservent",""],["getsid",""],["getsockname",""],["getsockopt",""],["getspent",""],["getspent_r",""],["getspnam",""],["getspnam_r",""],["gettid",""],["gettimeofday",""],["getuid",""],["getutxent",""],["getutxid",""],["getutxline",""],["getxattr",""],["glob",""],["glob64",""],["globfree",""],["globfree64",""],["gmtime",""],["gmtime_r",""],["gnu_basename","GNU version of `basename(3)`, defined in `string.h`."],["gnu_get_libc_release",""],["gnu_get_libc_version",""],["grantpt",""],["hasmntopt",""],["hstrerror",""],["iconv",""],["iconv_close",""],["iconv_open",""],["if_freenameindex",""],["if_indextoname",""],["if_nameindex",""],["if_nametoindex",""],["initgroups",""],["inotify_add_watch",""],["inotify_init",""],["inotify_init1",""],["inotify_rm_watch",""],["ioctl",""],["ioperm",""],["iopl",""],["isalnum",""],["isalpha",""],["isatty",""],["isblank",""],["iscntrl",""],["isdigit",""],["isgraph",""],["islower",""],["isprint",""],["ispunct",""],["isspace",""],["isupper",""],["isxdigit",""],["jrand48",""],["kill",""],["killpg",""],["labs",""],["lchown",""],["lcong48",""],["lgetxattr",""],["link",""],["linkat",""],["lio_listio",""],["listen",""],["listxattr",""],["llistxattr",""],["localeconv",""],["localtime",""],["localtime_r",""],["lockf",""],["login_tty",""],["lrand48",""],["lremovexattr",""],["lseek",""],["lseek64",""],["lsetxattr",""],["lstat",""],["lstat64",""],["lutimes",""],["madvise",""],["major",""],["makecontext",""],["makedev",""],["mallinfo",""],["mallinfo2",""],["malloc",""],["malloc_info",""],["malloc_trim",""],["malloc_usable_size",""],["mallopt",""],["memalign",""],["memchr",""],["memcmp",""],["memcpy",""],["memfd_create",""],["memmem",""],["memmove",""],["memrchr",""],["memset",""],["mincore",""],["minor",""],["mkdir",""],["mkdirat",""],["mkdtemp",""],["mkfifo",""],["mkfifoat",""],["mknod",""],["mknodat",""],["mkostemp",""],["mkostemps",""],["mkstemp",""],["mkstemps",""],["mktime",""],["mlock",""],["mlock2",""],["mlockall",""],["mmap",""],["mmap64",""],["mount",""],["mprotect",""],["mq_close",""],["mq_getattr",""],["mq_open",""],["mq_receive",""],["mq_send",""],["mq_setattr",""],["mq_timedreceive",""],["mq_timedsend",""],["mq_unlink",""],["mrand48",""],["mremap",""],["msgctl",""],["msgget",""],["msgrcv",""],["msgsnd",""],["msync",""],["munlock",""],["munlockall",""],["munmap",""],["nanosleep",""],["newlocale",""],["nice",""],["nl_langinfo",""],["nl_langinfo_l",""],["nrand48",""],["ntp_adjtime",""],["ntp_gettime",""],["open",""],["open64",""],["open_memstream",""],["open_wmemstream",""],["openat",""],["openat64",""],["opendir",""],["openlog",""],["openpty",""],["pathconf",""],["pause",""],["pclose",""],["perror",""],["personality",""],["pipe",""],["pipe2",""],["poll",""],["popen",""],["posix_basename","POSIX version of `basename(3)`, defined in `libgen.h`."],["posix_fadvise",""],["posix_fadvise64",""],["posix_fallocate",""],["posix_fallocate64",""],["posix_madvise",""],["posix_memalign",""],["posix_openpt",""],["posix_spawn",""],["posix_spawn_file_actions_addclose",""],["posix_spawn_file_actions_adddup2",""],["posix_spawn_file_actions_addopen",""],["posix_spawn_file_actions_destroy",""],["posix_spawn_file_actions_init",""],["posix_spawnattr_destroy",""],["posix_spawnattr_getflags",""],["posix_spawnattr_getpgroup",""],["posix_spawnattr_getschedparam",""],["posix_spawnattr_getschedpolicy",""],["posix_spawnattr_getsigdefault",""],["posix_spawnattr_getsigmask",""],["posix_spawnattr_init",""],["posix_spawnattr_setflags",""],["posix_spawnattr_setpgroup",""],["posix_spawnattr_setschedparam",""],["posix_spawnattr_setschedpolicy",""],["posix_spawnattr_setsigdefault",""],["posix_spawnattr_setsigmask",""],["posix_spawnp",""],["ppoll",""],["prctl",""],["pread",""],["pread64",""],["preadv",""],["preadv2",""],["preadv64",""],["preadv64v2",""],["printf",""],["prlimit",""],["prlimit64",""],["process_vm_readv",""],["process_vm_writev",""],["pselect",""],["pthread_atfork",""],["pthread_attr_destroy",""],["pthread_attr_getaffinity_np",""],["pthread_attr_getguardsize",""],["pthread_attr_getstack",""],["pthread_attr_init",""],["pthread_attr_setaffinity_np",""],["pthread_attr_setdetachstate",""],["pthread_attr_setstacksize",""],["pthread_cancel",""],["pthread_cond_broadcast",""],["pthread_cond_destroy",""],["pthread_cond_init",""],["pthread_cond_signal",""],["pthread_cond_timedwait",""],["pthread_cond_wait",""],["pthread_condattr_destroy",""],["pthread_condattr_getclock",""],["pthread_condattr_getpshared",""],["pthread_condattr_init",""],["pthread_condattr_setclock",""],["pthread_condattr_setpshared",""],["pthread_create",""],["pthread_detach",""],["pthread_exit",""],["pthread_getaffinity_np",""],["pthread_getattr_np",""],["pthread_getcpuclockid",""],["pthread_getname_np",""],["pthread_getschedparam",""],["pthread_getspecific",""],["pthread_join",""],["pthread_key_create",""],["pthread_key_delete",""],["pthread_kill",""],["pthread_mutex_consistent",""],["pthread_mutex_destroy",""],["pthread_mutex_init",""],["pthread_mutex_lock",""],["pthread_mutex_timedlock",""],["pthread_mutex_trylock",""],["pthread_mutex_unlock",""],["pthread_mutexattr_destroy",""],["pthread_mutexattr_getprotocol",""],["pthread_mutexattr_getpshared",""],["pthread_mutexattr_getrobust",""],["pthread_mutexattr_init",""],["pthread_mutexattr_setprotocol",""],["pthread_mutexattr_setpshared",""],["pthread_mutexattr_setrobust",""],["pthread_mutexattr_settype",""],["pthread_rwlock_destroy",""],["pthread_rwlock_init",""],["pthread_rwlock_rdlock",""],["pthread_rwlock_tryrdlock",""],["pthread_rwlock_trywrlock",""],["pthread_rwlock_unlock",""],["pthread_rwlock_wrlock",""],["pthread_rwlockattr_destroy",""],["pthread_rwlockattr_getkind_np",""],["pthread_rwlockattr_getpshared",""],["pthread_rwlockattr_init",""],["pthread_rwlockattr_setkind_np",""],["pthread_rwlockattr_setpshared",""],["pthread_self",""],["pthread_setaffinity_np",""],["pthread_setname_np",""],["pthread_setschedparam",""],["pthread_setschedprio",""],["pthread_setspecific",""],["pthread_sigmask",""],["pthread_sigqueue",""],["pthread_spin_destroy",""],["pthread_spin_init",""],["pthread_spin_lock",""],["pthread_spin_trylock",""],["pthread_spin_unlock",""],["ptrace",""],["ptsname",""],["ptsname_r",""],["putchar",""],["putchar_unlocked",""],["putenv",""],["puts",""],["pututxline",""],["pwrite",""],["pwrite64",""],["pwritev",""],["pwritev2",""],["pwritev64",""],["pwritev64v2",""],["qsort",""],["qsort_r",""],["quotactl",""],["raise",""],["rand",""],["read",""],["readahead",""],["readdir",""],["readdir64",""],["readdir64_r",""],["readdir_r","The 64-bit libc on Solaris and illumos only has readdir_r. If a 32-bit Solaris or illumos target is ever created, it should use __posix_readdir_r. See libc(3LIB) on Solaris or illumos: https:\/\/illumos.org\/man\/3lib\/libc https:\/\/docs.oracle.com\/cd\/E36784_01\/html\/E36873\/libc-3lib.html https:\/\/www.unix.com\/man-page\/opensolaris\/3LIB\/libc\/"],["readlink",""],["readlinkat",""],["readv",""],["realloc",""],["reallocarray",""],["realpath",""],["reboot",""],["recv",""],["recvfrom",""],["recvmmsg",""],["recvmsg",""],["regcomp",""],["regerror",""],["regexec",""],["regfree",""],["remap_file_pages",""],["remove",""],["removexattr",""],["rename",""],["renameat",""],["renameat2",""],["res_init",""],["rewind",""],["rewinddir",""],["rmdir",""],["sbrk",""],["scanf",""],["sched_get_priority_max",""],["sched_get_priority_min",""],["sched_getaffinity",""],["sched_getcpu",""],["sched_getparam",""],["sched_getscheduler",""],["sched_rr_get_interval",""],["sched_setaffinity",""],["sched_setparam",""],["sched_setscheduler",""],["sched_yield",""],["seed48",""],["seekdir",""],["select",""],["sem_close",""],["sem_destroy",""],["sem_getvalue",""],["sem_init",""],["sem_open",""],["sem_post",""],["sem_timedwait",""],["sem_trywait",""],["sem_unlink",""],["sem_wait",""],["semctl",""],["semget",""],["semop",""],["send",""],["sendfile",""],["sendfile64",""],["sendmmsg",""],["sendmsg",""],["sendto",""],["setbuf",""],["setcontext",""],["setdomainname",""],["setegid",""],["setenv",""],["seteuid",""],["setfsgid",""],["setfsuid",""],["setgid",""],["setgrent",""],["setgroups",""],["sethostid",""],["sethostname",""],["setlocale",""],["setlogmask",""],["setmntent",""],["setns",""],["setpgid",""],["setpriority",""],["setpwent",""],["setregid",""],["setresgid",""],["setresuid",""],["setreuid",""],["setrlimit",""],["setrlimit64",""],["setservent",""],["setsid",""],["setsockopt",""],["setspent",""],["settimeofday",""],["setuid",""],["setutxent",""],["setvbuf",""],["setxattr",""],["sgetspent_r",""],["shm_open",""],["shm_unlink",""],["shmat",""],["shmctl",""],["shmdt",""],["shmget",""],["shutdown",""],["sigaction",""],["sigaddset",""],["sigaltstack",""],["sigdelset",""],["sigemptyset",""],["sigfillset",""],["sigismember",""],["signal",""],["signalfd",""],["sigpending",""],["sigprocmask",""],["sigsuspend",""],["sigtimedwait",""],["sigwait",""],["sigwaitinfo",""],["sleep",""],["snprintf",""],["socket",""],["socketpair",""],["splice",""],["sprintf",""],["srand",""],["srand48",""],["sscanf",""],["stat",""],["stat64",""],["statfs",""],["statfs64",""],["statvfs",""],["statvfs64",""],["statx",""],["stpcpy",""],["stpncpy",""],["strcasecmp",""],["strcasestr",""],["strcat",""],["strchr",""],["strcmp",""],["strcoll",""],["strcpy",""],["strcspn",""],["strdup",""],["strerror",""],["strerror_r",""],["strftime",""],["strlen",""],["strncasecmp",""],["strncat",""],["strncmp",""],["strncpy",""],["strndup",""],["strnlen",""],["strpbrk",""],["strptime",""],["strrchr",""],["strsignal",""],["strspn",""],["strstr",""],["strtod",""],["strtof",""],["strtok",""],["strtok_r",""],["strtol",""],["strtoll",""],["strtoul",""],["strtoull",""],["strxfrm",""],["swapcontext",""],["swapoff",""],["swapon",""],["symlink",""],["symlinkat",""],["sync",""],["sync_file_range",""],["syncfs",""],["syscall",""],["sysconf",""],["sysctl",""],["sysinfo",""],["syslog",""],["system",""],["tcdrain",""],["tcflow",""],["tcflush",""],["tcgetattr",""],["tcgetpgrp",""],["tcgetsid",""],["tcsendbreak",""],["tcsetattr",""],["tcsetpgrp",""],["tee",""],["telldir",""],["time",""],["timegm",""],["timer_create",""],["timer_delete",""],["timer_getoverrun",""],["timer_gettime",""],["timer_settime",""],["timerfd_create",""],["timerfd_gettime",""],["timerfd_settime",""],["times",""],["tmpfile",""],["tmpfile64",""],["tmpnam",""],["tolower",""],["toupper",""],["truncate",""],["truncate64",""],["ttyname",""],["ttyname_r",""],["umask",""],["umount",""],["umount2",""],["uname",""],["ungetc",""],["unlink",""],["unlinkat",""],["unlockpt",""],["unsetenv",""],["unshare",""],["uselocale",""],["usleep",""],["utime",""],["utimensat",""],["utimes",""],["utmpname",""],["utmpxname",""],["vfork",""],["vhangup",""],["vmsplice",""],["wait",""],["wait4",""],["waitid",""],["waitpid",""],["wcslen",""],["wcstombs",""],["wmemchr",""],["write",""],["writev",""]],"struct":[["Dl_info",""],["Elf32_Chdr",""],["Elf32_Ehdr",""],["Elf32_Phdr",""],["Elf32_Shdr",""],["Elf32_Sym",""],["Elf64_Chdr",""],["Elf64_Ehdr",""],["Elf64_Phdr",""],["Elf64_Shdr",""],["Elf64_Sym",""],["__c_anonymous_ifru_map",""],["__c_anonymous_ptrace_syscall_info_entry",""],["__c_anonymous_ptrace_syscall_info_exit",""],["__c_anonymous_ptrace_syscall_info_seccomp",""],["__c_anonymous_sockaddr_can_j1939",""],["__c_anonymous_sockaddr_can_tp",""],["__exit_status",""],["__timeval",""],["_libc_fpstate",""],["_libc_fpxreg",""],["_libc_xmmreg",""],["addrinfo",""],["af_alg_iv","WARNING: The `PartialEq`, `Eq` and `Hash` implementations of this type are unsound and will be removed in the future."],["aiocb",""],["arpd_request",""],["arphdr",""],["arpreq",""],["arpreq_old",""],["can_filter",""],["can_frame",""],["canfd_frame",""],["clone_args",""],["cmsghdr",""],["cpu_set_t",""],["dirent",""],["dirent64",""],["dl_phdr_info",""],["dqblk",""],["epoll_event",""],["fanotify_event_metadata",""],["fanotify_response",""],["fd_set",""],["ff_condition_effect",""],["ff_constant_effect",""],["ff_effect",""],["ff_envelope",""],["ff_periodic_effect",""],["ff_ramp_effect",""],["ff_replay",""],["ff_rumble_effect",""],["ff_trigger",""],["file_clone_range",""],["flock",""],["flock64",""],["fsid_t",""],["genlmsghdr",""],["glob64_t",""],["glob_t",""],["group",""],["hostent",""],["if_nameindex",""],["ifaddrs",""],["ifreq",""],["in6_addr",""],["in6_ifreq",""],["in6_pktinfo",""],["in6_rtmsg",""],["in_addr",""],["in_pktinfo",""],["inotify_event",""],["input_absinfo",""],["input_event",""],["input_id",""],["input_keymap_entry",""],["input_mask",""],["iovec",""],["ip_mreq",""],["ip_mreq_source",""],["ip_mreqn",""],["ipc_perm",""],["ipv6_mreq",""],["itimerspec",""],["itimerval",""],["j1939_filter",""],["lconv",""],["linger",""],["mallinfo",""],["mallinfo2",""],["max_align_t",""],["mcontext_t",""],["mmsghdr",""],["mntent",""],["mq_attr",""],["msghdr",""],["msginfo",""],["msqid_ds",""],["nl_mmap_hdr",""],["nl_mmap_req",""],["nl_pktinfo",""],["nlattr",""],["nlmsgerr",""],["nlmsghdr",""],["ntptimeval",""],["open_how",""],["option",""],["packet_mreq",""],["passwd",""],["pollfd",""],["posix_spawn_file_actions_t",""],["posix_spawnattr_t",""],["protoent",""],["pthread_attr_t",""],["pthread_cond_t",""],["pthread_condattr_t",""],["pthread_mutex_t",""],["pthread_mutexattr_t",""],["pthread_rwlock_t",""],["pthread_rwlockattr_t",""],["ptrace_peeksiginfo_args",""],["ptrace_rseq_configuration",""],["ptrace_syscall_info",""],["regex_t",""],["regmatch_t",""],["rlimit",""],["rlimit64",""],["rtentry",""],["rusage",""],["sched_param",""],["seccomp_data",""],["seccomp_notif_sizes",""],["sem_t",""],["sembuf",""],["semid_ds",""],["seminfo",""],["servent",""],["shmid_ds",""],["sigaction",""],["sigevent",""],["siginfo_t",""],["signalfd_siginfo",""],["sigset_t",""],["sigval",""],["sock_extended_err",""],["sock_filter",""],["sock_fprog",""],["sock_txtime",""],["sockaddr",""],["sockaddr_alg",""],["sockaddr_can",""],["sockaddr_in",""],["sockaddr_in6",""],["sockaddr_ll",""],["sockaddr_nl",""],["sockaddr_storage",""],["sockaddr_un",""],["sockaddr_vm",""],["spwd",""],["stack_t",""],["stat",""],["stat64",""],["statfs",""],["statfs64",""],["statvfs",""],["statvfs64",""],["statx",""],["statx_timestamp",""],["sysinfo",""],["termios",""],["termios2",""],["timespec",""],["timeval",""],["timex",""],["tm",""],["tms",""],["ucontext_t",""],["ucred",""],["uinput_abs_setup",""],["uinput_ff_erase",""],["uinput_ff_upload",""],["uinput_setup",""],["uinput_user_dev",""],["user",""],["user_fpregs_struct",""],["user_regs_struct",""],["utimbuf",""],["utmpx",""],["utsname",""],["winsize",""]],"type":[["Elf32_Addr",""],["Elf32_Half",""],["Elf32_Off",""],["Elf32_Section",""],["Elf32_Word",""],["Elf64_Addr",""],["Elf64_Half",""],["Elf64_Off",""],["Elf64_Section",""],["Elf64_Sxword",""],["Elf64_Word",""],["Elf64_Xword",""],["Lmid_t",""],["__fsword_t",""],["__priority_which_t",""],["__rlimit_resource_t",""],["__s16",""],["__s32",""],["__s64",""],["__syscall_ulong_t",""],["__u16",""],["__u32",""],["__u64",""],["__u8",""],["blkcnt64_t",""],["blkcnt_t",""],["blksize_t",""],["c_char",""],["c_double",""],["c_float",""],["c_int",""],["c_long",""],["c_longlong",""],["c_schar",""],["c_short",""],["c_uchar",""],["c_uint",""],["c_ulong",""],["c_ulonglong",""],["c_ushort",""],["can_err_mask_t",""],["canid_t",""],["cc_t",""],["clock_t",""],["clockid_t",""],["dev_t",""],["fsblkcnt_t",""],["fsfilcnt_t",""],["gid_t",""],["greg_t",""],["iconv_t",""],["id_t",""],["idtype_t",""],["in_addr_t",""],["in_port_t",""],["ino64_t",""],["ino_t",""],["int16_t",""],["int32_t",""],["int64_t",""],["int8_t",""],["intmax_t",""],["intptr_t",""],["key_t",""],["locale_t",""],["loff_t",""],["mode_t",""],["mqd_t",""],["msglen_t",""],["msgqnum_t",""],["name_t",""],["nfds_t",""],["nl_item",""],["nlink_t",""],["off64_t",""],["off_t",""],["pgn_t",""],["pid_t",""],["priority_t",""],["pthread_key_t",""],["pthread_spinlock_t",""],["pthread_t",""],["ptrdiff_t",""],["regoff_t",""],["rlim64_t",""],["rlim_t",""],["sa_family_t",""],["shmatt_t",""],["sighandler_t",""],["size_t",""],["socklen_t",""],["speed_t",""],["ssize_t",""],["suseconds_t",""],["tcflag_t",""],["time_t",""],["timer_t",""],["uid_t",""],["uint16_t",""],["uint32_t",""],["uint64_t",""],["uint8_t",""],["uintmax_t",""],["uintptr_t",""],["useconds_t",""],["wchar_t",""]],"union":[["__c_anonymous_ifr_ifru",""],["__c_anonymous_ptrace_syscall_info_data",""],["__c_anonymous_sockaddr_can_can_addr",""]]};/;" p class:window.SIDEBAR_ITEMS
|
||
struct guessing_game/target/doc/ppv_lite86/x86_64/sidebar-items.js /^window.SIDEBAR_ITEMS = {"struct":[["Avx2Machine",""],["NoA1",""],["NoA2",""],["NoNI",""],["NoS3",""],["NoS4",""],["SseMachine",""],["YesA1",""],["YesA2",""],["YesNI",""],["YesS3",""],["YesS4",""]],"type":[["AVX","AVX but not AVX2: only 128-bit integer operations, but use VEX versions of everything to avoid expensive SSE\/VEX conflicts."],["AVX2",""],["SSE2",""],["SSE41",""],["SSSE3",""]],"union":[["vec128_storage","Generic wrapper for unparameterized storage of any of the possible impls. Converting into and out of this type should be essentially free, although it may be more aligned than a particular impl requires."],["vec256_storage",""],["vec512_storage",""]]};/;" p class:window.SIDEBAR_ITEMS
|
||
struct guessing_game/target/doc/rand/distributions/sidebar-items.js /^window.SIDEBAR_ITEMS = {"enum":[["BernoulliError","Error type returned from `Bernoulli::new`."],["WeightedError","Error type returned from `WeightedIndex::new`."]],"mod":[["uniform","A distribution uniformly sampling numbers within a given range."],["weighted","Weighted index sampling"]],"struct":[["Alphanumeric","Sample a `u8`, uniformly distributed over ASCII letters and numbers: a-z, A-Z and 0-9."],["Bernoulli","The Bernoulli distribution."],["DistIter","An iterator that generates random values of `T` with distribution `D`, using `R` as the source of randomness."],["DistMap","A distribution of values of type `S` derived from the distribution `D` by mapping its output of type `T` through the closure `F`."],["Open01","A distribution to sample floating point numbers uniformly in the open interval `(0, 1)`, i.e. not including either endpoint."],["OpenClosed01","A distribution to sample floating point numbers uniformly in the half-open interval `(0, 1]`, i.e. including 1 but not 0."],["Slice","A distribution to sample items uniformly from a slice."],["Standard","A generic random value distribution, implemented for many primitive types. Usually generates values with a numerically uniform distribution, and with a range appropriate to the type."],["Uniform","Sample values uniformly between two bounds."],["WeightedIndex","A distribution using weighted sampling of discrete items"]],"trait":[["DistString","`String` sampler"],["Distribution","Types (distributions) that can be used to create a random instance of `T`."]]};/;" p class:window.SIDEBAR_ITEMS
|
||
struct guessing_game/target/doc/rand/distributions/uniform/sidebar-items.js /^window.SIDEBAR_ITEMS = {"struct":[["Uniform","Sample values uniformly between two bounds."],["UniformChar","The back-end implementing [`UniformSampler`] for `char`."],["UniformDuration","The back-end implementing [`UniformSampler`] for `Duration`."],["UniformFloat","The back-end implementing [`UniformSampler`] for floating-point types."],["UniformInt","The back-end implementing [`UniformSampler`] for integer types."]],"trait":[["SampleBorrow","Helper trait similar to `Borrow` but implemented only for SampleUniform and references to SampleUniform in order to resolve ambiguity issues."],["SampleRange","Range that supports generating a single sample efficiently."],["SampleUniform","Helper trait for creating objects using the correct implementation of [`UniformSampler`] for the sampling type."],["UniformSampler","Helper trait handling actual uniform sampling."]]};/;" p class:window.SIDEBAR_ITEMS
|
||
struct guessing_game/target/doc/rand/distributions/weighted/alias_method/sidebar-items.js /^window.SIDEBAR_ITEMS = {"struct":[["WeightedIndex",""]],"trait":[["Weight",""]]};/;" p class:window.SIDEBAR_ITEMS
|
||
struct guessing_game/target/doc/rand/distributions/weighted/sidebar-items.js /^window.SIDEBAR_ITEMS = {"enum":[["WeightedError","Error type returned from `WeightedIndex::new`."]],"mod":[["alias_method",""]],"struct":[["WeightedIndex","A distribution using weighted sampling of discrete items"]]};/;" p class:window.SIDEBAR_ITEMS
|
||
struct guessing_game/target/doc/rand/rngs/adapter/sidebar-items.js /^window.SIDEBAR_ITEMS = {"struct":[["ReadError","`ReadRng` error type"],["ReadRng","An RNG that reads random bytes straight from any type supporting [`std::io::Read`], for example files."],["ReseedingRng","A wrapper around any PRNG that implements `BlockRngCore`, that adds the ability to reseed it."]]};/;" p class:window.SIDEBAR_ITEMS
|
||
struct guessing_game/target/doc/rand/rngs/mock/sidebar-items.js /^window.SIDEBAR_ITEMS = {"struct":[["StepRng","A simple implementation of `RngCore` for testing purposes."]]};/;" p class:window.SIDEBAR_ITEMS
|
||
struct guessing_game/target/doc/rand/rngs/sidebar-items.js /^window.SIDEBAR_ITEMS = {"mod":[["adapter","Wrappers \/ adapters forming RNGs"],["mock","Mock random number generator"]],"struct":[["OsRng","A random number generator that retrieves randomness from the operating system."],["StdRng","The standard RNG. The PRNG algorithm in `StdRng` is chosen to be efficient on the current platform, to be statistically strong and unpredictable (meaning a cryptographically secure PRNG)."],["ThreadRng","A reference to the thread-local generator"]]};/;" p class:window.SIDEBAR_ITEMS
|
||
struct guessing_game/target/doc/rand/seq/sidebar-items.js /^window.SIDEBAR_ITEMS = {"mod":[["index","Low-level API for sampling indices"]],"struct":[["SliceChooseIter","An iterator over multiple slice elements."]],"trait":[["IteratorRandom","Extension trait on iterators, providing random sampling methods."],["SliceRandom","Extension trait on slices, providing random mutation and sampling methods."]]};/;" p class:window.SIDEBAR_ITEMS
|
||
struct guessing_game/target/doc/rand/sidebar-items.js /^window.SIDEBAR_ITEMS = {"fn":[["random","Generates a random value using the thread-local random number generator."],["thread_rng","Retrieve the lazily-initialized thread-local random number generator, seeded by the system. Intended to be used in method chaining style, e.g. `thread_rng().gen::<i32>()`, or cached locally, e.g. `let mut rng = thread_rng();`. Invoked by the `Default` trait, making `ThreadRng::default()` equivalent."]],"mod":[["distributions","Generating random samples from probability distributions"],["prelude","Convenience re-export of common members"],["rngs","Random number generators and adapters"],["seq","Sequence-related functionality"]],"struct":[["Error","Error type of random number generators"]],"trait":[["CryptoRng","A marker trait used to indicate that an [`RngCore`] or `BlockRngCore` implementation is supposed to be cryptographically secure."],["Fill","Types which may be filled with random data"],["Rng","An automatically-implemented extension trait on [`RngCore`] providing high-level generic methods for sampling values and other convenience methods."],["RngCore","The core of a random number generator."],["SeedableRng","A random number generator that can be explicitly seeded."]]};/;" p class:window.SIDEBAR_ITEMS
|
||
struct guessing_game/target/doc/rand_chacha/sidebar-items.js /^window.SIDEBAR_ITEMS = {"struct":[["ChaCha12Core","ChaCha with 12 rounds"],["ChaCha12Rng","A cryptographically secure random number generator that uses the ChaCha algorithm."],["ChaCha20Core","ChaCha with 20 rounds"],["ChaCha20Rng","A cryptographically secure random number generator that uses the ChaCha algorithm."],["ChaCha8Core","ChaCha with 8 rounds"],["ChaCha8Rng","A cryptographically secure random number generator that uses the ChaCha algorithm."]],"type":[["ChaChaCore","ChaCha with 20 rounds, low-level interface"],["ChaChaRng","ChaCha with 20 rounds"]]};/;" p class:window.SIDEBAR_ITEMS
|
||
struct guessing_game/target/doc/rand_core/block/sidebar-items.js /^window.SIDEBAR_ITEMS = {"struct":[["BlockRng","A wrapper type implementing [`RngCore`] for some type implementing [`BlockRngCore`] with `u32` array buffer; i.e. this can be used to implement a full RNG from just a `generate` function."],["BlockRng64","A wrapper type implementing [`RngCore`] for some type implementing [`BlockRngCore`] with `u64` array buffer; i.e. this can be used to implement a full RNG from just a `generate` function."]],"trait":[["BlockRngCore","A trait for RNGs which do not generate random numbers individually, but in blocks (typically `[u32; N]`). This technique is commonly used by cryptographic RNGs to improve performance."]]};/;" p class:window.SIDEBAR_ITEMS
|
||
struct guessing_game/target/doc/rand_core/sidebar-items.js /^window.SIDEBAR_ITEMS = {"mod":[["block","The `BlockRngCore` trait and implementation helpers"],["impls","Helper functions for implementing `RngCore` functions."],["le","Little-Endian utilities"]],"struct":[["Error","Error type of random number generators"],["OsRng","A random number generator that retrieves randomness from the operating system."]],"trait":[["CryptoRng","A marker trait used to indicate that an [`RngCore`] or `BlockRngCore` implementation is supposed to be cryptographically secure."],["CryptoRngCore","An extension trait that is automatically implemented for any type implementing [`RngCore`] and [`CryptoRng`]."],["RngCore","The core of a random number generator."],["SeedableRng","A random number generator that can be explicitly seeded."]]};/;" p class:window.SIDEBAR_ITEMS
|
||
switchDisplayedElement guessing_game/target/doc/static.files/main-c55e1eb52e1886b4.js /^"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.type="text\/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("\/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"))};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="<h3 class=\\"search-loading\\">"+searchState.loadingText+"<\/h3>";searchState.showResults(search)},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(\/^#\/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`<a href="index.html#${id}">${longty}<\/a>`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const item of filtered){const name=item[0];const desc=item[1];let path;if(shortty==="mod"){path=name+"\/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("\/").pop();const link=document.createElement("a");link.href=path;link.title=desc;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=script?script.getAttribute("data-ignore-extern-crates"):"";for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"\/index.html";if(window.rootPath!==".\/"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\\n").length;const elems=[];for(let i=0;i<count;++i){elems.push(i+1)}const node=document.createElement("pre");addClass(node,"example-line-numbers");node.innerHTML=elems.join("\\n");parent.insertBefore(node,x)})};window.rustdoc_remove_line_numbers_from_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}let oldSidebarScrollPosition=null;window.rustdocMobileScrollLock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(window.innerWidth<=window.RUSTDOC_MOBILE_BREAKPOINT){oldSidebarScrollPosition=window.scrollY;document.body.style.width=`${document.body.offsetWidth}px`;document.body.style.position="fixed";document.body.style.top=`-${oldSidebarScrollPosition}px`;if(mobile_topbar){mobile_topbar.style.top=`${oldSidebarScrollPosition}px`;mobile_topbar.style.position="relative"}}else{oldSidebarScrollPosition=null}};window.rustdocMobileScrollUnlock=function(){const mobile_topbar=document.querySelector(".mobile-topbar");if(oldSidebarScrollPosition!==null){document.body.style.width="";document.body.style.position="";document.body.style.top="";if(mobile_topbar){mobile_topbar.style.top="";mobile_topbar.style.position=""}window.scrollTo(0,oldSidebarScrollPosition);oldSidebarScrollPosition=null}};function showSidebar(){window.hideAllModals(false);window.rustdocMobileScrollLock();const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){window.rustdocMobileScrollUnlock();const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.innerWidth>window.RUSTDOC_MOBILE_BREAKPOINT&&oldSidebarScrollPosition!==null){hideSidebar()}if(window.CURRENT_NOTABLE_ELEMENT){const base=window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE;const force_visible=base.NOTABLE_FORCE_VISIBLE;hideNotable(false);if(force_visible){showNotable(base);base.NOTABLE_FORCE_VISIBLE=true}}});function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showNotable(e){if(!window.NOTABLE_TRAITS){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showNotable() called on page without any notable traits!")}}if(window.CURRENT_NOTABLE_ELEMENT&&window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE===e){return}window.hideAllModals(false);const ty=e.getAttribute("data-ty");const wrapper=document.createElement("div");wrapper.innerHTML="<div class=\\"docblock\\">"+window.NOTABLE_TRAITS[ty]+"<\/div>";wrapper.className="notable popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideNotable;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_NOTABLE_ELEMENT=wrapper;window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE=e;wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,e)){hideNotable(true)}}}function notableBlurHandler(event){if(window.CURRENT_NOTABLE_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE)){setTimeout(()=>hideNotable(false),0)}}function hideNotable(focus){if(window.CURRENT_NOTABLE_ELEMENT){if(window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE){if(focus){window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus()}window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_NOTABLE_ELEMENT);window.CURRENT_NOTABLE_ELEMENT=null}}onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.NOTABLE_FORCE_VISIBLE=this.NOTABLE_FORCE_VISIBLE?false:true;if(window.CURRENT_NOTABLE_ELEMENT&&!this.NOTABLE_FORCE_VISIBLE){hideNotable(true)}else{showNotable(this);window.CURRENT_NOTABLE_ELEMENT.setAttribute("tabindex","0");window.CURRENT_NOTABLE_ELEMENT.focus();window.CURRENT_NOTABLE_ELEMENT.onblur=notableBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}showNotable(this)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.NOTABLE_FORCE_VISIBLE&&!elemIsInParent(event.relatedTarget,window.CURRENT_NOTABLE_ELEMENT)){hideNotable(true)}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \\$/;" f
|
||
switchTheme guessing_game/target/doc/static.files/storage-d43fa987303ecbbb.js /^"use strict";const darkThemes=["dark","ayu"];window.currentTheme=document.getElementById("themeStyle");window.mainTheme=document.getElementById("mainThemeStyle");window.RUSTDOC_MOBILE_BREAKPOINT=700;const settingsDataset=(function(){const settingsElement=document.getElementById("default-settings");if(settingsElement===null){return null}const dataset=settingsElement.dataset;if(dataset===undefined){return null}return dataset})();function getSettingValue(settingName){const current=getCurrentValue(settingName);if(current!==null){return current}if(settingsDataset!==null){const def=settingsDataset[settingName.replace(\/-\/g,"_")];if(def!==undefined){return def}}return null}const localStoredTheme=getSettingValue("theme");const savedHref=[];function hasClass(elem,className){return elem&&elem.classList&&elem.classList.contains(className)}function addClass(elem,className){if(!elem||!elem.classList){return}elem.classList.add(className)}function removeClass(elem,className){if(!elem||!elem.classList){return}elem.classList.remove(className)}function onEach(arr,func,reversed){if(arr&&arr.length>0&&func){if(reversed){const length=arr.length;for(let i=length-1;i>=0;--i){if(func(arr[i])){return true}}}else{for(const elem of arr){if(func(elem)){return true}}}}return false}function onEachLazy(lazyArray,func,reversed){return onEach(Array.prototype.slice.call(lazyArray),func,reversed)}function updateLocalStorage(name,value){try{window.localStorage.setItem("rustdoc-"+name,value)}catch(e){}}function getCurrentValue(name){try{return window.localStorage.getItem("rustdoc-"+name)}catch(e){return null}}function switchTheme(styleElem,mainStyleElem,newThemeName,saveTheme){if(saveTheme){updateLocalStorage("theme",newThemeName)}if(savedHref.length===0){onEachLazy(document.getElementsByTagName("link"),el=>{savedHref.push(el.href)})}const newHref=savedHref.find(url=>{const m=url.match(\/static\\.files\\\/(.*)-[a-f0-9]{16}\\.css$\/);if(m&&m[1]===newThemeName){return true}const m2=url.match(\/\\\/([^\/]*)\\.css$\/);if(m2&&m2[1].startsWith(newThemeName)){return true}});if(newHref&&newHref!==styleElem.href){styleElem.href=newHref}}function useSystemTheme(value){if(value===undefined){value=true}updateLocalStorage("use-system-theme",value);const toggle=document.getElementById("use-system-theme");if(toggle&&toggle instanceof HTMLInputElement){toggle.checked=value}}const updateSystemTheme=(function(){if(!window.matchMedia){return()=>{const cssTheme=getComputedStyle(document.documentElement).getPropertyValue("content");switchTheme(window.currentTheme,window.mainTheme,JSON.parse(cssTheme)||"light",true)}}const mql=window.matchMedia("(prefers-color-scheme: dark)");function handlePreferenceChange(mql){const use=theme=>{switchTheme(window.currentTheme,window.mainTheme,theme,true)};if(getSettingValue("use-system-theme")!=="false"){const lightTheme=getSettingValue("preferred-light-theme")||"light";const darkTheme=getSettingValue("preferred-dark-theme")||"dark";if(mql.matches){use(darkTheme)}else{use(lightTheme)}}else{use(getSettingValue("theme"))}}mql.addListener(handlePreferenceChange);return()=>{handlePreferenceChange(mql)}})();function switchToSavedTheme(){switchTheme(window.currentTheme,window.mainTheme,getSettingValue("theme")||"light",false)}if(getSettingValue("use-system-theme")!=="false"&&window.matchMedia){if(getSettingValue("use-system-theme")===null&&getSettingValue("preferred-dark-theme")===null&&darkThemes.indexOf(localStoredTheme)>=0){updateLocalStorage("preferred-dark-theme",localStoredTheme)}updateSystemTheme()}else{switchToSavedTheme()}if(getSettingValue("source-sidebar-show")==="true"){addClass(document.documentElement,"source-sidebar-expanded")}window.addEventListener("pageshow",ev=>{if(ev.persisted){setTimeout(switchToSavedTheme,0)}})/;" f
|
||
switchToSavedTheme guessing_game/target/doc/static.files/storage-d43fa987303ecbbb.js /^"use strict";const darkThemes=["dark","ayu"];window.currentTheme=document.getElementById("themeStyle");window.mainTheme=document.getElementById("mainThemeStyle");window.RUSTDOC_MOBILE_BREAKPOINT=700;const settingsDataset=(function(){const settingsElement=document.getElementById("default-settings");if(settingsElement===null){return null}const dataset=settingsElement.dataset;if(dataset===undefined){return null}return dataset})();function getSettingValue(settingName){const current=getCurrentValue(settingName);if(current!==null){return current}if(settingsDataset!==null){const def=settingsDataset[settingName.replace(\/-\/g,"_")];if(def!==undefined){return def}}return null}const localStoredTheme=getSettingValue("theme");const savedHref=[];function hasClass(elem,className){return elem&&elem.classList&&elem.classList.contains(className)}function addClass(elem,className){if(!elem||!elem.classList){return}elem.classList.add(className)}function removeClass(elem,className){if(!elem||!elem.classList){return}elem.classList.remove(className)}function onEach(arr,func,reversed){if(arr&&arr.length>0&&func){if(reversed){const length=arr.length;for(let i=length-1;i>=0;--i){if(func(arr[i])){return true}}}else{for(const elem of arr){if(func(elem)){return true}}}}return false}function onEachLazy(lazyArray,func,reversed){return onEach(Array.prototype.slice.call(lazyArray),func,reversed)}function updateLocalStorage(name,value){try{window.localStorage.setItem("rustdoc-"+name,value)}catch(e){}}function getCurrentValue(name){try{return window.localStorage.getItem("rustdoc-"+name)}catch(e){return null}}function switchTheme(styleElem,mainStyleElem,newThemeName,saveTheme){if(saveTheme){updateLocalStorage("theme",newThemeName)}if(savedHref.length===0){onEachLazy(document.getElementsByTagName("link"),el=>{savedHref.push(el.href)})}const newHref=savedHref.find(url=>{const m=url.match(\/static\\.files\\\/(.*)-[a-f0-9]{16}\\.css$\/);if(m&&m[1]===newThemeName){return true}const m2=url.match(\/\\\/([^\/]*)\\.css$\/);if(m2&&m2[1].startsWith(newThemeName)){return true}});if(newHref&&newHref!==styleElem.href){styleElem.href=newHref}}function useSystemTheme(value){if(value===undefined){value=true}updateLocalStorage("use-system-theme",value);const toggle=document.getElementById("use-system-theme");if(toggle&&toggle instanceof HTMLInputElement){toggle.checked=value}}const updateSystemTheme=(function(){if(!window.matchMedia){return()=>{const cssTheme=getComputedStyle(document.documentElement).getPropertyValue("content");switchTheme(window.currentTheme,window.mainTheme,JSON.parse(cssTheme)||"light",true)}}const mql=window.matchMedia("(prefers-color-scheme: dark)");function handlePreferenceChange(mql){const use=theme=>{switchTheme(window.currentTheme,window.mainTheme,theme,true)};if(getSettingValue("use-system-theme")!=="false"){const lightTheme=getSettingValue("preferred-light-theme")||"light";const darkTheme=getSettingValue("preferred-dark-theme")||"dark";if(mql.matches){use(darkTheme)}else{use(lightTheme)}}else{use(getSettingValue("theme"))}}mql.addListener(handlePreferenceChange);return()=>{handlePreferenceChange(mql)}})();function switchToSavedTheme(){switchTheme(window.currentTheme,window.mainTheme,getSettingValue("theme")||"light",false)}if(getSettingValue("use-system-theme")!=="false"&&window.matchMedia){if(getSettingValue("use-system-theme")===null&&getSettingValue("preferred-dark-theme")===null&&darkThemes.indexOf(localStoredTheme)>=0){updateLocalStorage("preferred-dark-theme",localStoredTheme)}updateSystemTheme()}else{switchToSavedTheme()}if(getSettingValue("source-sidebar-show")==="true"){addClass(document.documentElement,"source-sidebar-expanded")}window.addEventListener("pageshow",ev=>{if(ev.persisted){setTimeout(switchToSavedTheme,0)}})/;" f
|
||
toggleSidebar guessing_game/target/doc/static.files/source-script-5cf2e01a42cc9858.js /^"use strict";(function(){const rootPath=document.getElementById("rustdoc-vars").attributes["data-root-path"].value;const NAME_OFFSET=0;const DIRS_OFFSET=1;const FILES_OFFSET=2;function closeSidebarIfMobile(){if(window.innerWidth<window.RUSTDOC_MOBILE_BREAKPOINT){updateLocalStorage("source-sidebar-show","false")}}function createDirEntry(elem,parent,fullPath,hasFoundFile){const dirEntry=document.createElement("details");const summary=document.createElement("summary");dirEntry.className="dir-entry";fullPath+=elem[NAME_OFFSET]+"\/";summary.innerText=elem[NAME_OFFSET];dirEntry.appendChild(summary);const folders=document.createElement("div");folders.className="folders";if(elem[DIRS_OFFSET]){for(const dir of elem[DIRS_OFFSET]){if(createDirEntry(dir,folders,fullPath,false)){dirEntry.open=true;hasFoundFile=true}}}dirEntry.appendChild(folders);const files=document.createElement("div");files.className="files";if(elem[FILES_OFFSET]){for(const file_text of elem[FILES_OFFSET]){const file=document.createElement("a");file.innerText=file_text;file.href=rootPath+"src\/"+fullPath+file_text+".html";file.addEventListener("click",closeSidebarIfMobile);const w=window.location.href.split("#")[0];if(!hasFoundFile&&w===file.href){file.className="selected";dirEntry.open=true;hasFoundFile=true}files.appendChild(file)}}dirEntry.appendChild(files);parent.appendChild(dirEntry);return hasFoundFile}function toggleSidebar(){const child=this.parentNode.children[0];if(child.innerText===">"){window.rustdocMobileScrollLock();addClass(document.documentElement,"source-sidebar-expanded");child.innerText="<";updateLocalStorage("source-sidebar-show","true")}else{window.rustdocMobileScrollUnlock();removeClass(document.documentElement,"source-sidebar-expanded");child.innerText=">";updateLocalStorage("source-sidebar-show","false")}}function createSidebarToggle(){const sidebarToggle=document.createElement("div");sidebarToggle.id="sidebar-toggle";const inner=document.createElement("button");if(getCurrentValue("source-sidebar-show")==="true"){inner.innerText="<"}else{inner.innerText=">"}inner.onclick=toggleSidebar;sidebarToggle.appendChild(inner);return sidebarToggle}function createSourceSidebar(){const container=document.querySelector("nav.sidebar");const sidebarToggle=createSidebarToggle();container.insertBefore(sidebarToggle,container.firstChild);const sidebar=document.createElement("div");sidebar.id="source-sidebar";let hasFoundFile=false;const title=document.createElement("div");title.className="title";title.innerText="Files";sidebar.appendChild(title);Object.keys(sourcesIndex).forEach(key=>{sourcesIndex[key][NAME_OFFSET]=key;hasFoundFile=createDirEntry(sourcesIndex[key],sidebar,"",hasFoundFile)});container.appendChild(sidebar);const selected_elem=sidebar.getElementsByClassName("selected")[0];if(typeof selected_elem!=="undefined"){selected_elem.focus()}}const lineNumbersRegex=\/^#?(\\d+)(?:-(\\d+))?$\/;function highlightSourceLines(match){if(typeof match==="undefined"){match=window.location.hash.match(lineNumbersRegex)}if(!match){return}let from=parseInt(match[1],10);let to=from;if(typeof match[2]!=="undefined"){to=parseInt(match[2],10)}if(to<from){const tmp=to;to=from;from=tmp}let elem=document.getElementById(from);if(!elem){return}const x=document.getElementById(from);if(x){x.scrollIntoView()}onEachLazy(document.getElementsByClassName("src-line-numbers"),e=>{onEachLazy(e.getElementsByTagName("a"),i_e=>{removeClass(i_e,"line-highlighted")})});for(let i=from;i<=to;++i){elem=document.getElementById(i);if(!elem){break}addClass(elem,"line-highlighted")}}const handleSourceHighlight=(function(){let prev_line_id=0;const set_fragment=name=>{const x=window.scrollX,y=window.scrollY;if(browserSupportsHistoryApi()){history.replaceState(null,null,"#"+name);highlightSourceLines()}else{location.replace("#"+name)}window.scrollTo(x,y)};return ev=>{let cur_line_id=parseInt(ev.target.id,10);if(isNaN(cur_line_id)||ev.ctrlKey||ev.altKey||ev.metaKey){return}ev.preventDefault();if(ev.shiftKey&&prev_line_id){if(prev_line_id>cur_line_id){const tmp=prev_line_id;prev_line_id=cur_line_id;cur_line_id=tmp}set_fragment(prev_line_id+"-"+cur_line_id)}else{prev_line_id=cur_line_id;set_fragment(cur_line_id)}}}());window.addEventListener("hashchange",()=>{const match=window.location.hash.match(lineNumbersRegex);if(match){return highlightSourceLines(match)}});onEachLazy(document.getElementsByClassName("src-line-numbers"),el=>{el.addEventListener("click",handleSourceHighlight)});highlightSourceLines();window.createSourceSidebar=createSourceSidebar})()/;" f
|
||
totalElems guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" p class:const
|
||
trait guessing_game/target/doc/ppv_lite86/sidebar-items.js /^window.SIDEBAR_ITEMS = {"macro":[["dispatch","Generate the full set of optimized implementations to take advantage of the most important hardware feature sets."],["dispatch_light128","Generate only the basic implementations necessary to be able to operate efficiently on 128-bit vectors on this platfrom. For x86-64, that would mean SSE2 and AVX."],["dispatch_light256","Generate only the basic implementations necessary to be able to operate efficiently on 256-bit vectors on this platfrom. For x86-64, that would mean SSE2, AVX, and AVX2."]],"mod":[["x86_64",""]],"trait":[["AndNot",""],["ArithOps","Ops that depend on word size"],["BSwap",""],["BitOps0","Ops that are independent of word size and endian"],["BitOps128",""],["BitOps32",""],["BitOps64",""],["LaneWords4","A vector composed one or more lanes each composed of four words."],["Machine",""],["MultiLane","A vector composed of multiple 128-bit lanes."],["RotateEachWord128",""],["RotateEachWord32",""],["RotateEachWord64",""],["Store",""],["StoreBytes",""],["Swap64","Exchange neigboring ranges of bits of the specified size"],["UnsafeFrom",""],["VZip","Combine single vectors into a multi-lane vector."],["Vec2","A vector composed of two elements, which may be words or themselves vectors."],["Vec4","A vector composed of four elements, which may be words or themselves vectors."],["Vec4Ext","Vec4 functions which may not be implemented yet for all Vec4 types. NOTE: functions in this trait may be moved to Vec4 in any patch release. To avoid breakage, import Vec4Ext only together with Vec4, and don’t qualify its methods."],["Vector",""],["Words4","A vector composed of four words; depending on their size, operations may cross lanes."],["u128x1",""],["u128x2",""],["u128x4",""],["u32x4",""],["u32x4x2",""],["u32x4x4",""],["u64x2",""],["u64x2x2",""],["u64x2x4",""],["u64x4",""]]};/;" p class:window.SIDEBAR_ITEMS
|
||
trait guessing_game/target/doc/rand/distributions/sidebar-items.js /^window.SIDEBAR_ITEMS = {"enum":[["BernoulliError","Error type returned from `Bernoulli::new`."],["WeightedError","Error type returned from `WeightedIndex::new`."]],"mod":[["uniform","A distribution uniformly sampling numbers within a given range."],["weighted","Weighted index sampling"]],"struct":[["Alphanumeric","Sample a `u8`, uniformly distributed over ASCII letters and numbers: a-z, A-Z and 0-9."],["Bernoulli","The Bernoulli distribution."],["DistIter","An iterator that generates random values of `T` with distribution `D`, using `R` as the source of randomness."],["DistMap","A distribution of values of type `S` derived from the distribution `D` by mapping its output of type `T` through the closure `F`."],["Open01","A distribution to sample floating point numbers uniformly in the open interval `(0, 1)`, i.e. not including either endpoint."],["OpenClosed01","A distribution to sample floating point numbers uniformly in the half-open interval `(0, 1]`, i.e. including 1 but not 0."],["Slice","A distribution to sample items uniformly from a slice."],["Standard","A generic random value distribution, implemented for many primitive types. Usually generates values with a numerically uniform distribution, and with a range appropriate to the type."],["Uniform","Sample values uniformly between two bounds."],["WeightedIndex","A distribution using weighted sampling of discrete items"]],"trait":[["DistString","`String` sampler"],["Distribution","Types (distributions) that can be used to create a random instance of `T`."]]};/;" p class:window.SIDEBAR_ITEMS
|
||
trait guessing_game/target/doc/rand/distributions/uniform/sidebar-items.js /^window.SIDEBAR_ITEMS = {"struct":[["Uniform","Sample values uniformly between two bounds."],["UniformChar","The back-end implementing [`UniformSampler`] for `char`."],["UniformDuration","The back-end implementing [`UniformSampler`] for `Duration`."],["UniformFloat","The back-end implementing [`UniformSampler`] for floating-point types."],["UniformInt","The back-end implementing [`UniformSampler`] for integer types."]],"trait":[["SampleBorrow","Helper trait similar to `Borrow` but implemented only for SampleUniform and references to SampleUniform in order to resolve ambiguity issues."],["SampleRange","Range that supports generating a single sample efficiently."],["SampleUniform","Helper trait for creating objects using the correct implementation of [`UniformSampler`] for the sampling type."],["UniformSampler","Helper trait handling actual uniform sampling."]]};/;" p class:window.SIDEBAR_ITEMS
|
||
trait guessing_game/target/doc/rand/distributions/weighted/alias_method/sidebar-items.js /^window.SIDEBAR_ITEMS = {"struct":[["WeightedIndex",""]],"trait":[["Weight",""]]};/;" p class:window.SIDEBAR_ITEMS
|
||
trait guessing_game/target/doc/rand/seq/sidebar-items.js /^window.SIDEBAR_ITEMS = {"mod":[["index","Low-level API for sampling indices"]],"struct":[["SliceChooseIter","An iterator over multiple slice elements."]],"trait":[["IteratorRandom","Extension trait on iterators, providing random sampling methods."],["SliceRandom","Extension trait on slices, providing random mutation and sampling methods."]]};/;" p class:window.SIDEBAR_ITEMS
|
||
trait guessing_game/target/doc/rand/sidebar-items.js /^window.SIDEBAR_ITEMS = {"fn":[["random","Generates a random value using the thread-local random number generator."],["thread_rng","Retrieve the lazily-initialized thread-local random number generator, seeded by the system. Intended to be used in method chaining style, e.g. `thread_rng().gen::<i32>()`, or cached locally, e.g. `let mut rng = thread_rng();`. Invoked by the `Default` trait, making `ThreadRng::default()` equivalent."]],"mod":[["distributions","Generating random samples from probability distributions"],["prelude","Convenience re-export of common members"],["rngs","Random number generators and adapters"],["seq","Sequence-related functionality"]],"struct":[["Error","Error type of random number generators"]],"trait":[["CryptoRng","A marker trait used to indicate that an [`RngCore`] or `BlockRngCore` implementation is supposed to be cryptographically secure."],["Fill","Types which may be filled with random data"],["Rng","An automatically-implemented extension trait on [`RngCore`] providing high-level generic methods for sampling values and other convenience methods."],["RngCore","The core of a random number generator."],["SeedableRng","A random number generator that can be explicitly seeded."]]};/;" p class:window.SIDEBAR_ITEMS
|
||
trait guessing_game/target/doc/rand_core/block/sidebar-items.js /^window.SIDEBAR_ITEMS = {"struct":[["BlockRng","A wrapper type implementing [`RngCore`] for some type implementing [`BlockRngCore`] with `u32` array buffer; i.e. this can be used to implement a full RNG from just a `generate` function."],["BlockRng64","A wrapper type implementing [`RngCore`] for some type implementing [`BlockRngCore`] with `u64` array buffer; i.e. this can be used to implement a full RNG from just a `generate` function."]],"trait":[["BlockRngCore","A trait for RNGs which do not generate random numbers individually, but in blocks (typically `[u32; N]`). This technique is commonly used by cryptographic RNGs to improve performance."]]};/;" p class:window.SIDEBAR_ITEMS
|
||
trait guessing_game/target/doc/rand_core/sidebar-items.js /^window.SIDEBAR_ITEMS = {"mod":[["block","The `BlockRngCore` trait and implementation helpers"],["impls","Helper functions for implementing `RngCore` functions."],["le","Little-Endian utilities"]],"struct":[["Error","Error type of random number generators"],["OsRng","A random number generator that retrieves randomness from the operating system."]],"trait":[["CryptoRng","A marker trait used to indicate that an [`RngCore`] or `BlockRngCore` implementation is supposed to be cryptographically secure."],["CryptoRngCore","An extension trait that is automatically implemented for any type implementing [`RngCore`] and [`CryptoRng`]."],["RngCore","The core of a random number generator."],["SeedableRng","A random number generator that can be explicitly seeded."]]};/;" p class:window.SIDEBAR_ITEMS
|
||
transformResults guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:execQuery
|
||
type guessing_game/target/doc/libc/sidebar-items.js /^window.SIDEBAR_ITEMS = {"constant":[["ABDAY_1",""],["ABDAY_2",""],["ABDAY_3",""],["ABDAY_4",""],["ABDAY_5",""],["ABDAY_6",""],["ABDAY_7",""],["ABMON_1",""],["ABMON_10",""],["ABMON_11",""],["ABMON_12",""],["ABMON_2",""],["ABMON_3",""],["ABMON_4",""],["ABMON_5",""],["ABMON_6",""],["ABMON_7",""],["ABMON_8",""],["ABMON_9",""],["ABS_CNT",""],["ABS_MAX",""],["ACCOUNTING",""],["ADDR_COMPAT_LAYOUT",""],["ADDR_LIMIT_32BIT",""],["ADDR_LIMIT_3GB",""],["ADDR_NO_RANDOMIZE",""],["ADFS_SUPER_MAGIC",""],["ADJ_ESTERROR",""],["ADJ_FREQUENCY",""],["ADJ_MAXERROR",""],["ADJ_MICRO",""],["ADJ_NANO",""],["ADJ_OFFSET",""],["ADJ_OFFSET_SINGLESHOT",""],["ADJ_OFFSET_SS_READ",""],["ADJ_SETOFFSET",""],["ADJ_STATUS",""],["ADJ_TAI",""],["ADJ_TICK",""],["ADJ_TIMECONST",""],["AFFS_SUPER_MAGIC",""],["AFS_SUPER_MAGIC",""],["AF_ALG",""],["AF_APPLETALK",""],["AF_ASH",""],["AF_ATMPVC",""],["AF_ATMSVC",""],["AF_AX25",""],["AF_BLUETOOTH",""],["AF_BRIDGE",""],["AF_CAIF",""],["AF_CAN",""],["AF_DECnet",""],["AF_ECONET",""],["AF_IB",""],["AF_IEEE802154",""],["AF_INET",""],["AF_INET6",""],["AF_IPX",""],["AF_IRDA",""],["AF_ISDN",""],["AF_IUCV",""],["AF_KEY",""],["AF_LLC",""],["AF_LOCAL",""],["AF_MPLS",""],["AF_NETBEUI",""],["AF_NETLINK",""],["AF_NETROM",""],["AF_NFC",""],["AF_PACKET",""],["AF_PHONET",""],["AF_PPPOX",""],["AF_RDS",""],["AF_ROSE",""],["AF_ROUTE",""],["AF_RXRPC",""],["AF_SECURITY",""],["AF_SNA",""],["AF_TIPC",""],["AF_UNIX",""],["AF_UNSPEC",""],["AF_VSOCK",""],["AF_WANPIPE",""],["AF_X25",""],["AF_XDP",""],["AIO_ALLDONE",""],["AIO_CANCELED",""],["AIO_NOTCANCELED",""],["AI_ADDRCONFIG",""],["AI_ALL",""],["AI_CANONNAME",""],["AI_NUMERICHOST",""],["AI_NUMERICSERV",""],["AI_PASSIVE",""],["AI_V4MAPPED",""],["ALG_OP_DECRYPT",""],["ALG_OP_ENCRYPT",""],["ALG_SET_AEAD_ASSOCLEN",""],["ALG_SET_AEAD_AUTHSIZE",""],["ALG_SET_IV",""],["ALG_SET_KEY",""],["ALG_SET_OP",""],["ALT_DIGITS",""],["AM_STR",""],["ARPD_FLUSH",""],["ARPD_LOOKUP",""],["ARPD_UPDATE",""],["ARPHRD_ADAPT",""],["ARPHRD_APPLETLK",""],["ARPHRD_ARCNET",""],["ARPHRD_ASH",""],["ARPHRD_ATM",""],["ARPHRD_AX25",""],["ARPHRD_BIF",""],["ARPHRD_CAN",""],["ARPHRD_CHAOS",""],["ARPHRD_CISCO",""],["ARPHRD_CSLIP",""],["ARPHRD_CSLIP6",""],["ARPHRD_DDCMP",""],["ARPHRD_DLCI",""],["ARPHRD_ECONET",""],["ARPHRD_EETHER",""],["ARPHRD_ETHER",""],["ARPHRD_EUI64",""],["ARPHRD_FCAL",""],["ARPHRD_FCFABRIC",""],["ARPHRD_FCPL",""],["ARPHRD_FCPP",""],["ARPHRD_FDDI",""],["ARPHRD_FRAD",""],["ARPHRD_HDLC",""],["ARPHRD_HIPPI",""],["ARPHRD_HWX25",""],["ARPHRD_IEEE1394",""],["ARPHRD_IEEE802",""],["ARPHRD_IEEE80211",""],["ARPHRD_IEEE80211_PRISM",""],["ARPHRD_IEEE80211_RADIOTAP",""],["ARPHRD_IEEE802154",""],["ARPHRD_IEEE802_TR",""],["ARPHRD_INFINIBAND",""],["ARPHRD_IPDDP",""],["ARPHRD_IPGRE",""],["ARPHRD_IRDA",""],["ARPHRD_LAPB",""],["ARPHRD_LOCALTLK",""],["ARPHRD_LOOPBACK",""],["ARPHRD_METRICOM",""],["ARPHRD_NETROM",""],["ARPHRD_NONE",""],["ARPHRD_PIMREG",""],["ARPHRD_PPP",""],["ARPHRD_PRONET",""],["ARPHRD_RAWHDLC",""],["ARPHRD_ROSE",""],["ARPHRD_RSRVD",""],["ARPHRD_SIT",""],["ARPHRD_SKIP",""],["ARPHRD_SLIP",""],["ARPHRD_SLIP6",""],["ARPHRD_TUNNEL",""],["ARPHRD_TUNNEL6",""],["ARPHRD_VOID",""],["ARPHRD_X25",""],["ARPOP_InREPLY",""],["ARPOP_InREQUEST",""],["ARPOP_NAK",""],["ARPOP_REPLY",""],["ARPOP_REQUEST",""],["ARPOP_RREPLY",""],["ARPOP_RREQUEST",""],["ATF_COM",""],["ATF_DONTPUB",""],["ATF_MAGIC",""],["ATF_NETMASK",""],["ATF_PERM",""],["ATF_PUBL",""],["ATF_USETRAILERS",""],["AT_BASE",""],["AT_BASE_PLATFORM",""],["AT_CLKTCK",""],["AT_EACCESS",""],["AT_EGID",""],["AT_EMPTY_PATH",""],["AT_ENTRY",""],["AT_EUID",""],["AT_EXECFD",""],["AT_EXECFN",""],["AT_FDCWD",""],["AT_FLAGS",""],["AT_GID",""],["AT_HWCAP",""],["AT_HWCAP2",""],["AT_IGNORE",""],["AT_NOTELF",""],["AT_NO_AUTOMOUNT",""],["AT_NULL",""],["AT_PAGESZ",""],["AT_PHDR",""],["AT_PHENT",""],["AT_PHNUM",""],["AT_PLATFORM",""],["AT_RANDOM",""],["AT_REMOVEDIR",""],["AT_SECURE",""],["AT_STATX_DONT_SYNC",""],["AT_STATX_FORCE_SYNC",""],["AT_STATX_SYNC_AS_STAT",""],["AT_STATX_SYNC_TYPE",""],["AT_SYMLINK_FOLLOW",""],["AT_SYMLINK_NOFOLLOW",""],["AT_SYSINFO_EHDR",""],["AT_UID",""],["AUTOFS_SUPER_MAGIC",""],["B0",""],["B1000000",""],["B110",""],["B115200",""],["B1152000",""],["B1200",""],["B134",""],["B150",""],["B1500000",""],["B1800",""],["B19200",""],["B200",""],["B2000000",""],["B230400",""],["B2400",""],["B2500000",""],["B300",""],["B3000000",""],["B3500000",""],["B38400",""],["B4000000",""],["B460800",""],["B4800",""],["B50",""],["B500000",""],["B57600",""],["B576000",""],["B600",""],["B75",""],["B921600",""],["B9600",""],["BINDERFS_SUPER_MAGIC",""],["BLKIOMIN",""],["BLKIOOPT",""],["BLKPBSZGET",""],["BLKSSZGET",""],["BOOT_TIME",""],["BOTHER",""],["BPF_ABS",""],["BPF_ADD",""],["BPF_ALU",""],["BPF_AND",""],["BPF_B",""],["BPF_DIV",""],["BPF_FS_MAGIC",""],["BPF_H",""],["BPF_IMM",""],["BPF_IND",""],["BPF_JA",""],["BPF_JEQ",""],["BPF_JGE",""],["BPF_JGT",""],["BPF_JMP",""],["BPF_JSET",""],["BPF_K",""],["BPF_LD",""],["BPF_LDX",""],["BPF_LEN",""],["BPF_LL_OFF",""],["BPF_LSH",""],["BPF_MAXINSNS",""],["BPF_MEM",""],["BPF_MEMWORDS",""],["BPF_MISC",""],["BPF_MOD",""],["BPF_MSH",""],["BPF_MUL",""],["BPF_NEG",""],["BPF_NET_OFF",""],["BPF_OR",""],["BPF_RET",""],["BPF_RSH",""],["BPF_ST",""],["BPF_STX",""],["BPF_SUB",""],["BPF_W",""],["BPF_X",""],["BPF_XOR",""],["BRKINT",""],["BS0",""],["BS1",""],["BSDLY",""],["BTRFS_SUPER_MAGIC",""],["BUFSIZ",""],["BUS_ADRALN",""],["BUS_ADRERR",""],["BUS_MCEERR_AO",""],["BUS_MCEERR_AR",""],["BUS_OBJERR",""],["CANFD_BRS",""],["CANFD_ESI",""],["CANFD_MAX_DLC",""],["CANFD_MAX_DLEN",""],["CANFD_MTU",""],["CAN_BCM",""],["CAN_EFF_FLAG",""],["CAN_EFF_ID_BITS",""],["CAN_EFF_MASK",""],["CAN_ERR_FLAG",""],["CAN_ERR_MASK",""],["CAN_INV_FILTER",""],["CAN_ISOTP",""],["CAN_J1939",""],["CAN_MAX_DLC",""],["CAN_MAX_DLEN",""],["CAN_MCNET",""],["CAN_MTU",""],["CAN_NPROTO",""],["CAN_RAW",""],["CAN_RAW_ERR_FILTER",""],["CAN_RAW_FD_FRAMES",""],["CAN_RAW_FILTER",""],["CAN_RAW_FILTER_MAX",""],["CAN_RAW_JOIN_FILTERS",""],["CAN_RAW_LOOPBACK",""],["CAN_RAW_RECV_OWN_MSGS",""],["CAN_RTR_FLAG",""],["CAN_SFF_ID_BITS",""],["CAN_SFF_MASK",""],["CAN_TP16",""],["CAN_TP20",""],["CBAUD",""],["CBAUDEX",""],["CGROUP2_SUPER_MAGIC",""],["CGROUP_SUPER_MAGIC",""],["CIBAUD",""],["CLD_CONTINUED",""],["CLD_DUMPED",""],["CLD_EXITED",""],["CLD_KILLED",""],["CLD_STOPPED",""],["CLD_TRAPPED",""],["CLOCAL",""],["CLOCK_BOOTTIME",""],["CLOCK_BOOTTIME_ALARM",""],["CLOCK_MONOTONIC",""],["CLOCK_MONOTONIC_COARSE",""],["CLOCK_MONOTONIC_RAW",""],["CLOCK_PROCESS_CPUTIME_ID",""],["CLOCK_REALTIME",""],["CLOCK_REALTIME_ALARM",""],["CLOCK_REALTIME_COARSE",""],["CLOCK_TAI",""],["CLOCK_THREAD_CPUTIME_ID",""],["CLONE_CHILD_CLEARTID",""],["CLONE_CHILD_SETTID",""],["CLONE_DETACHED",""],["CLONE_FILES",""],["CLONE_FS",""],["CLONE_IO",""],["CLONE_NEWCGROUP",""],["CLONE_NEWIPC",""],["CLONE_NEWNET",""],["CLONE_NEWNS",""],["CLONE_NEWPID",""],["CLONE_NEWUSER",""],["CLONE_NEWUTS",""],["CLONE_PARENT",""],["CLONE_PARENT_SETTID",""],["CLONE_PIDFD",""],["CLONE_PTRACE",""],["CLONE_SETTLS",""],["CLONE_SIGHAND",""],["CLONE_SYSVSEM",""],["CLONE_THREAD",""],["CLONE_UNTRACED",""],["CLONE_VFORK",""],["CLONE_VM",""],["CLOSE_RANGE_CLOEXEC",""],["CLOSE_RANGE_UNSHARE",""],["CMSPAR",""],["CODA_SUPER_MAGIC",""],["CODESET",""],["CPU_SETSIZE",""],["CR0",""],["CR1",""],["CR2",""],["CR3",""],["CRAMFS_MAGIC",""],["CRDLY",""],["CREAD",""],["CRNCYSTR",""],["CRTSCTS",""],["CS",""],["CS5",""],["CS6",""],["CS7",""],["CS8",""],["CSIZE",""],["CSTOPB",""],["CTRL_ATTR_FAMILY_ID",""],["CTRL_ATTR_FAMILY_NAME",""],["CTRL_ATTR_HDRSIZE",""],["CTRL_ATTR_MAXATTR",""],["CTRL_ATTR_MCAST_GROUPS",""],["CTRL_ATTR_MCAST_GRP_ID",""],["CTRL_ATTR_MCAST_GRP_NAME",""],["CTRL_ATTR_MCAST_GRP_UNSPEC",""],["CTRL_ATTR_OPS",""],["CTRL_ATTR_OP_FLAGS",""],["CTRL_ATTR_OP_ID",""],["CTRL_ATTR_OP_UNSPEC",""],["CTRL_ATTR_UNSPEC",""],["CTRL_ATTR_VERSION",""],["CTRL_CMD_DELFAMILY",""],["CTRL_CMD_DELMCAST_GRP",""],["CTRL_CMD_DELOPS",""],["CTRL_CMD_GETFAMILY",""],["CTRL_CMD_GETMCAST_GRP",""],["CTRL_CMD_GETOPS",""],["CTRL_CMD_NEWFAMILY",""],["CTRL_CMD_NEWMCAST_GRP",""],["CTRL_CMD_NEWOPS",""],["CTRL_CMD_UNSPEC",""],["DAY_1",""],["DAY_2",""],["DAY_3",""],["DAY_4",""],["DAY_5",""],["DAY_6",""],["DAY_7",""],["DCCP_SERVICE_LIST_MAX_LEN","maximum number of services provided on the same listening port"],["DCCP_SOCKOPT_AVAILABLE_CCIDS",""],["DCCP_SOCKOPT_CCID",""],["DCCP_SOCKOPT_CCID_RX_INFO",""],["DCCP_SOCKOPT_CCID_TX_INFO",""],["DCCP_SOCKOPT_CHANGE_L",""],["DCCP_SOCKOPT_CHANGE_R",""],["DCCP_SOCKOPT_GET_CUR_MPS",""],["DCCP_SOCKOPT_PACKET_SIZE",""],["DCCP_SOCKOPT_QPOLICY_ID",""],["DCCP_SOCKOPT_QPOLICY_TXQLEN",""],["DCCP_SOCKOPT_RECV_CSCOV",""],["DCCP_SOCKOPT_RX_CCID",""],["DCCP_SOCKOPT_SEND_CSCOV",""],["DCCP_SOCKOPT_SERVER_TIMEWAIT",""],["DCCP_SOCKOPT_SERVICE",""],["DCCP_SOCKOPT_TX_CCID",""],["DEAD_PROCESS",""],["DEBUGFS_MAGIC",""],["DEVPTS_SUPER_MAGIC",""],["DS",""],["DT_BLK",""],["DT_CHR",""],["DT_DIR",""],["DT_FIFO",""],["DT_LNK",""],["DT_REG",""],["DT_SOCK",""],["DT_UNKNOWN",""],["D_FMT",""],["D_T_FMT",""],["E2BIG",""],["EACCES",""],["EADDRINUSE",""],["EADDRNOTAVAIL",""],["EADV",""],["EAFNOSUPPORT",""],["EAGAIN",""],["EAI_AGAIN",""],["EAI_BADFLAGS",""],["EAI_FAIL",""],["EAI_FAMILY",""],["EAI_MEMORY",""],["EAI_NODATA",""],["EAI_NONAME",""],["EAI_OVERFLOW",""],["EAI_SERVICE",""],["EAI_SOCKTYPE",""],["EAI_SYSTEM",""],["EALREADY",""],["EBADE",""],["EBADF",""],["EBADFD",""],["EBADMSG",""],["EBADR",""],["EBADRQC",""],["EBADSLT",""],["EBFONT",""],["EBUSY",""],["ECANCELED",""],["ECHILD",""],["ECHO",""],["ECHOCTL",""],["ECHOE",""],["ECHOK",""],["ECHOKE",""],["ECHONL",""],["ECHOPRT",""],["ECHRNG",""],["ECOMM",""],["ECONNABORTED",""],["ECONNREFUSED",""],["ECONNRESET",""],["ECRYPTFS_SUPER_MAGIC",""],["EDEADLK",""],["EDEADLOCK",""],["EDESTADDRREQ",""],["EDOM",""],["EDOTDOT",""],["EDQUOT",""],["EEXIST",""],["EFAULT",""],["EFBIG",""],["EFD_CLOEXEC",""],["EFD_NONBLOCK",""],["EFD_SEMAPHORE",""],["EFLAGS",""],["EFS_SUPER_MAGIC",""],["EHOSTDOWN",""],["EHOSTUNREACH",""],["EHWPOISON",""],["EIDRM",""],["EILSEQ",""],["EINPROGRESS",""],["EINTR",""],["EINVAL",""],["EIO",""],["EISCONN",""],["EISDIR",""],["EISNAM",""],["EI_ABIVERSION",""],["EI_CLASS",""],["EI_DATA",""],["EI_MAG0",""],["EI_MAG1",""],["EI_MAG2",""],["EI_MAG3",""],["EI_NIDENT",""],["EI_OSABI",""],["EI_PAD",""],["EI_VERSION",""],["EKEYEXPIRED",""],["EKEYREJECTED",""],["EKEYREVOKED",""],["EL2HLT",""],["EL2NSYNC",""],["EL3HLT",""],["EL3RST",""],["ELFCLASS32",""],["ELFCLASS64",""],["ELFCLASSNONE",""],["ELFCLASSNUM",""],["ELFDATA2LSB",""],["ELFDATA2MSB",""],["ELFDATANONE",""],["ELFDATANUM",""],["ELFMAG0",""],["ELFMAG1",""],["ELFMAG2",""],["ELFMAG3",""],["ELFOSABI_AIX",""],["ELFOSABI_ARM",""],["ELFOSABI_ARM_AEABI",""],["ELFOSABI_FREEBSD",""],["ELFOSABI_GNU",""],["ELFOSABI_HPUX",""],["ELFOSABI_IRIX",""],["ELFOSABI_LINUX",""],["ELFOSABI_MODESTO",""],["ELFOSABI_NETBSD",""],["ELFOSABI_NONE",""],["ELFOSABI_OPENBSD",""],["ELFOSABI_SOLARIS",""],["ELFOSABI_STANDALONE",""],["ELFOSABI_SYSV",""],["ELFOSABI_TRU64",""],["ELIBACC",""],["ELIBBAD",""],["ELIBEXEC",""],["ELIBMAX",""],["ELIBSCN",""],["ELNRNG",""],["ELOOP",""],["EMEDIUMTYPE",""],["EMFILE",""],["EMLINK",""],["EMPTY",""],["EMSGSIZE",""],["EMULTIHOP",""],["EM_386",""],["EM_68HC05",""],["EM_68HC08",""],["EM_68HC11",""],["EM_68HC12",""],["EM_68HC16",""],["EM_68K",""],["EM_860",""],["EM_88K",""],["EM_960",""],["EM_AARCH64",""],["EM_ALPHA",""],["EM_ARC",""],["EM_ARC_A5",""],["EM_ARM",""],["EM_AVR",""],["EM_COLDFIRE",""],["EM_CRIS",""],["EM_D10V",""],["EM_D30V",""],["EM_FAKE_ALPHA",""],["EM_FIREPATH",""],["EM_FR20",""],["EM_FR30",""],["EM_FX66",""],["EM_H8S",""],["EM_H8_300",""],["EM_H8_300H",""],["EM_H8_500",""],["EM_HUANY",""],["EM_IA_64",""],["EM_JAVELIN",""],["EM_M32",""],["EM_M32R",""],["EM_ME16",""],["EM_MIPS",""],["EM_MIPS_RS3_LE",""],["EM_MIPS_X",""],["EM_MMA",""],["EM_MMIX",""],["EM_MN10200",""],["EM_MN10300",""],["EM_NCPU",""],["EM_NDR1",""],["EM_NONE",""],["EM_OPENRISC",""],["EM_PARISC",""],["EM_PCP",""],["EM_PDSP",""],["EM_PJ",""],["EM_PPC",""],["EM_PPC64",""],["EM_PRISM",""],["EM_RCE",""],["EM_RH32",""],["EM_S370",""],["EM_S390",""],["EM_SH",""],["EM_SPARC",""],["EM_SPARC32PLUS",""],["EM_SPARCV9",""],["EM_ST100",""],["EM_ST19",""],["EM_ST7",""],["EM_ST9PLUS",""],["EM_STARCORE",""],["EM_SVX",""],["EM_TILEGX",""],["EM_TILEPRO",""],["EM_TINYJ",""],["EM_TRICORE",""],["EM_V800",""],["EM_V850",""],["EM_VAX",""],["EM_VPP500",""],["EM_X86_64",""],["EM_XTENSA",""],["EM_ZSP",""],["ENAMETOOLONG",""],["ENAVAIL",""],["ENETDOWN",""],["ENETRESET",""],["ENETUNREACH",""],["ENFILE",""],["ENOANO",""],["ENOATTR",""],["ENOBUFS",""],["ENOCSI",""],["ENODATA",""],["ENODEV",""],["ENOENT",""],["ENOEXEC",""],["ENOKEY",""],["ENOLCK",""],["ENOLINK",""],["ENOMEDIUM",""],["ENOMEM",""],["ENOMSG",""],["ENONET",""],["ENOPKG",""],["ENOPROTOOPT",""],["ENOSPC",""],["ENOSR",""],["ENOSTR",""],["ENOSYS",""],["ENOTBLK",""],["ENOTCONN",""],["ENOTDIR",""],["ENOTEMPTY",""],["ENOTNAM",""],["ENOTRECOVERABLE",""],["ENOTSOCK",""],["ENOTSUP",""],["ENOTTY",""],["ENOTUNIQ",""],["ENXIO",""],["EOF",""],["EOPNOTSUPP",""],["EOVERFLOW",""],["EOWNERDEAD",""],["EPERM",""],["EPFNOSUPPORT",""],["EPIPE",""],["EPOLLERR",""],["EPOLLET",""],["EPOLLEXCLUSIVE",""],["EPOLLHUP",""],["EPOLLIN",""],["EPOLLMSG",""],["EPOLLONESHOT",""],["EPOLLOUT",""],["EPOLLPRI",""],["EPOLLRDBAND",""],["EPOLLRDHUP",""],["EPOLLRDNORM",""],["EPOLLWAKEUP",""],["EPOLLWRBAND",""],["EPOLLWRNORM",""],["EPOLL_CLOEXEC",""],["EPOLL_CTL_ADD",""],["EPOLL_CTL_DEL",""],["EPOLL_CTL_MOD",""],["EPROTO",""],["EPROTONOSUPPORT",""],["EPROTOTYPE",""],["ERA",""],["ERANGE",""],["ERA_D_FMT",""],["ERA_D_T_FMT",""],["ERA_T_FMT",""],["EREMCHG",""],["EREMOTE",""],["EREMOTEIO",""],["ERESTART",""],["ERFKILL",""],["EROFS",""],["ES",""],["ESHUTDOWN",""],["ESOCKTNOSUPPORT",""],["ESPIPE",""],["ESRCH",""],["ESRMNT",""],["ESTALE",""],["ESTRPIPE",""],["ETH_ALEN",""],["ETH_DATA_LEN",""],["ETH_FCS_LEN",""],["ETH_FRAME_LEN",""],["ETH_HLEN",""],["ETH_P_1588",""],["ETH_P_8021AD",""],["ETH_P_8021AH",""],["ETH_P_8021Q",""],["ETH_P_80221",""],["ETH_P_802_2",""],["ETH_P_802_3",""],["ETH_P_802_3_MIN",""],["ETH_P_802_EX1",""],["ETH_P_AARP",""],["ETH_P_AF_IUCV",""],["ETH_P_ALL",""],["ETH_P_AOE",""],["ETH_P_ARCNET",""],["ETH_P_ARP",""],["ETH_P_ATALK",""],["ETH_P_ATMFATE",""],["ETH_P_ATMMPOA",""],["ETH_P_AX25",""],["ETH_P_BATMAN",""],["ETH_P_BPQ",""],["ETH_P_CAIF",""],["ETH_P_CANFD",""],["ETH_P_CONTROL",""],["ETH_P_CUST",""],["ETH_P_DDCMP",""],["ETH_P_DEC",""],["ETH_P_DIAG",""],["ETH_P_DNA_DL",""],["ETH_P_DNA_RC",""],["ETH_P_DNA_RT",""],["ETH_P_DSA",""],["ETH_P_ECONET",""],["ETH_P_EDSA",""],["ETH_P_FCOE",""],["ETH_P_FIP",""],["ETH_P_HDLC",""],["ETH_P_IEEE802154",""],["ETH_P_IEEEPUP",""],["ETH_P_IEEEPUPAT",""],["ETH_P_IP",""],["ETH_P_IPV6",""],["ETH_P_IPX",""],["ETH_P_IRDA",""],["ETH_P_LAT",""],["ETH_P_LINK_CTL",""],["ETH_P_LOCALTALK",""],["ETH_P_LOOP",""],["ETH_P_LOOPBACK",""],["ETH_P_MACSEC",""],["ETH_P_MOBITEX",""],["ETH_P_MPLS_MC",""],["ETH_P_MPLS_UC",""],["ETH_P_MVRP",""],["ETH_P_PAE",""],["ETH_P_PAUSE",""],["ETH_P_PHONET",""],["ETH_P_PPPTALK",""],["ETH_P_PPP_DISC",""],["ETH_P_PPP_MP",""],["ETH_P_PPP_SES",""],["ETH_P_PRP",""],["ETH_P_PUP",""],["ETH_P_PUPAT",""],["ETH_P_QINQ1",""],["ETH_P_QINQ2",""],["ETH_P_QINQ3",""],["ETH_P_RARP",""],["ETH_P_SCA",""],["ETH_P_SLOW",""],["ETH_P_SNAP",""],["ETH_P_TDLS",""],["ETH_P_TEB",""],["ETH_P_TIPC",""],["ETH_P_TRAILER",""],["ETH_P_TR_802_2",""],["ETH_P_WAN_PPP",""],["ETH_P_WCCP",""],["ETH_P_X25",""],["ETH_ZLEN",""],["ETIME",""],["ETIMEDOUT",""],["ETOOMANYREFS",""],["ETXTBSY",""],["ET_CORE",""],["ET_DYN",""],["ET_EXEC",""],["ET_HIOS",""],["ET_HIPROC",""],["ET_LOOS",""],["ET_LOPROC",""],["ET_NONE",""],["ET_NUM",""],["ET_REL",""],["EUCLEAN",""],["EUNATCH",""],["EUSERS",""],["EV_CNT",""],["EV_CURRENT",""],["EV_MAX",""],["EV_NONE",""],["EV_NUM",""],["EWOULDBLOCK",""],["EXDEV",""],["EXFULL",""],["EXIT_FAILURE",""],["EXIT_SUCCESS",""],["EXT2_SUPER_MAGIC",""],["EXT3_SUPER_MAGIC",""],["EXT4_SUPER_MAGIC",""],["EXTA",""],["EXTB",""],["EXTPROC",""],["F2FS_SUPER_MAGIC",""],["FALLOC_FL_COLLAPSE_RANGE",""],["FALLOC_FL_INSERT_RANGE",""],["FALLOC_FL_KEEP_SIZE",""],["FALLOC_FL_PUNCH_HOLE",""],["FALLOC_FL_UNSHARE_RANGE",""],["FALLOC_FL_ZERO_RANGE",""],["FANOTIFY_METADATA_VERSION",""],["FAN_ACCESS",""],["FAN_ACCESS_PERM",""],["FAN_ALLOW",""],["FAN_CLASS_CONTENT",""],["FAN_CLASS_NOTIF",""],["FAN_CLASS_PRE_CONTENT",""],["FAN_CLOEXEC",""],["FAN_CLOSE",""],["FAN_CLOSE_NOWRITE",""],["FAN_CLOSE_WRITE",""],["FAN_DENY",""],["FAN_EVENT_ON_CHILD",""],["FAN_MARK_ADD",""],["FAN_MARK_DONT_FOLLOW",""],["FAN_MARK_FILESYSTEM",""],["FAN_MARK_FLUSH",""],["FAN_MARK_IGNORED_MASK",""],["FAN_MARK_IGNORED_SURV_MODIFY",""],["FAN_MARK_INODE",""],["FAN_MARK_MOUNT",""],["FAN_MARK_ONLYDIR",""],["FAN_MARK_REMOVE",""],["FAN_MODIFY",""],["FAN_NOFD",""],["FAN_NONBLOCK",""],["FAN_ONDIR",""],["FAN_OPEN",""],["FAN_OPEN_PERM",""],["FAN_Q_OVERFLOW",""],["FAN_UNLIMITED_MARKS",""],["FAN_UNLIMITED_QUEUE",""],["FDPIC_FUNCPTRS",""],["FD_CLOEXEC",""],["FD_SETSIZE",""],["FF0",""],["FF1",""],["FFDLY",""],["FF_CNT",""],["FF_MAX",""],["FICLONE",""],["FICLONERANGE",""],["FILENAME_MAX",""],["FIOASYNC",""],["FIOCLEX",""],["FIONBIO",""],["FIONCLEX",""],["FIONREAD",""],["FIOQSIZE",""],["FLUSHO",""],["FOPEN_MAX",""],["FS",""],["FS_BASE",""],["FUSE_SUPER_MAGIC",""],["FUTEXFS_SUPER_MAGIC",""],["FUTEX_CLOCK_REALTIME",""],["FUTEX_CMD_MASK",""],["FUTEX_CMP_REQUEUE",""],["FUTEX_CMP_REQUEUE_PI",""],["FUTEX_FD",""],["FUTEX_LOCK_PI",""],["FUTEX_LOCK_PI2",""],["FUTEX_PRIVATE_FLAG",""],["FUTEX_REQUEUE",""],["FUTEX_TRYLOCK_PI",""],["FUTEX_UNLOCK_PI",""],["FUTEX_WAIT",""],["FUTEX_WAIT_BITSET",""],["FUTEX_WAIT_REQUEUE_PI",""],["FUTEX_WAKE",""],["FUTEX_WAKE_BITSET",""],["FUTEX_WAKE_OP",""],["F_ADD_SEALS",""],["F_CANCELLK",""],["F_DUPFD",""],["F_DUPFD_CLOEXEC",""],["F_GETFD",""],["F_GETFL",""],["F_GETLEASE",""],["F_GETLK",""],["F_GETOWN",""],["F_GETPIPE_SZ",""],["F_GET_SEALS",""],["F_LOCK",""],["F_NOTIFY",""],["F_OFD_GETLK",""],["F_OFD_SETLK",""],["F_OFD_SETLKW",""],["F_OK",""],["F_RDLCK",""],["F_SEAL_FUTURE_WRITE",""],["F_SEAL_GROW",""],["F_SEAL_SEAL",""],["F_SEAL_SHRINK",""],["F_SEAL_WRITE",""],["F_SETFD",""],["F_SETFL",""],["F_SETLEASE",""],["F_SETLK",""],["F_SETLKW",""],["F_SETOWN",""],["F_SETPIPE_SZ",""],["F_TEST",""],["F_TLOCK",""],["F_ULOCK",""],["F_UNLCK",""],["F_WRLCK",""],["GENL_ADMIN_PERM",""],["GENL_CMD_CAP_DO",""],["GENL_CMD_CAP_DUMP",""],["GENL_CMD_CAP_HASPOL",""],["GENL_ID_CTRL",""],["GENL_ID_PMCRAID",""],["GENL_ID_VFS_DQUOT",""],["GENL_MAX_ID",""],["GENL_MIN_ID",""],["GENL_NAMSIZ",""],["GENL_UNS_ADMIN_PERM",""],["GLOB_ABORTED",""],["GLOB_APPEND",""],["GLOB_DOOFFS",""],["GLOB_ERR",""],["GLOB_MARK",""],["GLOB_NOCHECK",""],["GLOB_NOESCAPE",""],["GLOB_NOMATCH",""],["GLOB_NOSORT",""],["GLOB_NOSPACE",""],["GRND_INSECURE",""],["GRND_NONBLOCK",""],["GRND_RANDOM",""],["GRPQUOTA",""],["GS",""],["GS_BASE",""],["HOSTFS_SUPER_MAGIC",""],["HPFS_SUPER_MAGIC",""],["HUGETLBFS_MAGIC",""],["HUGETLB_FLAG_ENCODE_16GB",""],["HUGETLB_FLAG_ENCODE_16MB",""],["HUGETLB_FLAG_ENCODE_1GB",""],["HUGETLB_FLAG_ENCODE_1MB",""],["HUGETLB_FLAG_ENCODE_256MB",""],["HUGETLB_FLAG_ENCODE_2GB",""],["HUGETLB_FLAG_ENCODE_2MB",""],["HUGETLB_FLAG_ENCODE_32MB",""],["HUGETLB_FLAG_ENCODE_512KB",""],["HUGETLB_FLAG_ENCODE_512MB",""],["HUGETLB_FLAG_ENCODE_64KB",""],["HUGETLB_FLAG_ENCODE_8MB",""],["HUGETLB_FLAG_ENCODE_MASK",""],["HUGETLB_FLAG_ENCODE_SHIFT",""],["HUPCL",""],["IBSHIFT",""],["ICANON",""],["ICRNL",""],["IEXTEN",""],["IFA_ADDRESS",""],["IFA_ANYCAST",""],["IFA_BROADCAST",""],["IFA_CACHEINFO",""],["IFA_FLAGS",""],["IFA_F_DADFAILED",""],["IFA_F_DEPRECATED",""],["IFA_F_HOMEADDRESS",""],["IFA_F_MANAGETEMPADDR",""],["IFA_F_MCAUTOJOIN",""],["IFA_F_NODAD",""],["IFA_F_NOPREFIXROUTE",""],["IFA_F_OPTIMISTIC",""],["IFA_F_PERMANENT",""],["IFA_F_SECONDARY",""],["IFA_F_STABLE_PRIVACY",""],["IFA_F_TEMPORARY",""],["IFA_F_TENTATIVE",""],["IFA_LABEL",""],["IFA_LOCAL",""],["IFA_MULTICAST",""],["IFA_UNSPEC",""],["IFF_ALLMULTI",""],["IFF_ATTACH_QUEUE",""],["IFF_AUTOMEDIA",""],["IFF_BROADCAST",""],["IFF_DEBUG",""],["IFF_DETACH_QUEUE",""],["IFF_DORMANT",""],["IFF_DYNAMIC",""],["IFF_ECHO",""],["IFF_LOOPBACK",""],["IFF_LOWER_UP",""],["IFF_MASTER",""],["IFF_MULTICAST",""],["IFF_MULTI_QUEUE",""],["IFF_NOARP",""],["IFF_NOFILTER",""],["IFF_NOTRAILERS",""],["IFF_NO_PI",""],["IFF_ONE_QUEUE",""],["IFF_PERSIST",""],["IFF_POINTOPOINT",""],["IFF_PORTSEL",""],["IFF_PROMISC",""],["IFF_RUNNING",""],["IFF_SLAVE",""],["IFF_TAP",""],["IFF_TUN",""],["IFF_TUN_EXCL",""],["IFF_UP",""],["IFF_VNET_HDR",""],["IFLA_ADDRESS",""],["IFLA_AF_SPEC",""],["IFLA_ALT_IFNAME",""],["IFLA_BROADCAST",""],["IFLA_CARRIER",""],["IFLA_CARRIER_CHANGES",""],["IFLA_CARRIER_DOWN_COUNT",""],["IFLA_CARRIER_UP_COUNT",""],["IFLA_COST",""],["IFLA_EVENT",""],["IFLA_EXT_MASK",""],["IFLA_GROUP",""],["IFLA_GSO_MAX_SEGS",""],["IFLA_GSO_MAX_SIZE",""],["IFLA_IFALIAS",""],["IFLA_IFNAME",""],["IFLA_IF_NETNSID",""],["IFLA_INFO_DATA",""],["IFLA_INFO_KIND",""],["IFLA_INFO_SLAVE_DATA",""],["IFLA_INFO_SLAVE_KIND",""],["IFLA_INFO_UNSPEC",""],["IFLA_INFO_XSTATS",""],["IFLA_LINK",""],["IFLA_LINKINFO",""],["IFLA_LINKMODE",""],["IFLA_LINK_NETNSID",""],["IFLA_MAP",""],["IFLA_MASTER",""],["IFLA_MAX_MTU",""],["IFLA_MIN_MTU",""],["IFLA_MTU",""],["IFLA_NET_NS_FD",""],["IFLA_NET_NS_PID",""],["IFLA_NEW_IFINDEX",""],["IFLA_NEW_NETNSID",""],["IFLA_NUM_RX_QUEUES",""],["IFLA_NUM_TX_QUEUES",""],["IFLA_NUM_VF",""],["IFLA_OPERSTATE",""],["IFLA_PAD",""],["IFLA_PERM_ADDRESS",""],["IFLA_PHYS_PORT_ID",""],["IFLA_PHYS_PORT_NAME",""],["IFLA_PHYS_SWITCH_ID",""],["IFLA_PORT_SELF",""],["IFLA_PRIORITY",""],["IFLA_PROMISCUITY",""],["IFLA_PROP_LIST",""],["IFLA_PROTINFO",""],["IFLA_PROTO_DOWN",""],["IFLA_PROTO_DOWN_REASON",""],["IFLA_QDISC",""],["IFLA_STATS",""],["IFLA_STATS64",""],["IFLA_TARGET_NETNSID",""],["IFLA_TXQLEN",""],["IFLA_UNSPEC",""],["IFLA_VFINFO_LIST",""],["IFLA_VF_PORTS",""],["IFLA_WEIGHT",""],["IFLA_WIRELESS",""],["IFLA_XDP",""],["IFNAMSIZ",""],["IF_NAMESIZE",""],["IGNBRK",""],["IGNCR",""],["IGNPAR",""],["IMAXBEL",""],["INADDR_ANY",""],["INADDR_BROADCAST",""],["INADDR_LOOPBACK",""],["INADDR_NONE",""],["INIT_PROCESS",""],["INLCR",""],["INPCK",""],["INPUT_PROP_CNT",""],["INPUT_PROP_MAX",""],["INT_MAX",""],["INT_MIN",""],["IN_ACCESS",""],["IN_ALL_EVENTS",""],["IN_ATTRIB",""],["IN_CLOEXEC",""],["IN_CLOSE",""],["IN_CLOSE_NOWRITE",""],["IN_CLOSE_WRITE",""],["IN_CREATE",""],["IN_DELETE",""],["IN_DELETE_SELF",""],["IN_DONT_FOLLOW",""],["IN_EXCL_UNLINK",""],["IN_IGNORED",""],["IN_ISDIR",""],["IN_MASK_ADD",""],["IN_MASK_CREATE",""],["IN_MODIFY",""],["IN_MOVE",""],["IN_MOVED_FROM",""],["IN_MOVED_TO",""],["IN_MOVE_SELF",""],["IN_NONBLOCK",""],["IN_ONESHOT",""],["IN_ONLYDIR",""],["IN_OPEN",""],["IN_Q_OVERFLOW",""],["IN_UNMOUNT",""],["IP6T_SO_ORIGINAL_DST",""],["IPC_CREAT",""],["IPC_EXCL",""],["IPC_INFO",""],["IPC_NOWAIT",""],["IPC_PRIVATE",""],["IPC_RMID",""],["IPC_SET",""],["IPC_STAT",""],["IPDEFTTL",""],["IPOPT_CLASS_MASK",""],["IPOPT_CONTROL",""],["IPOPT_COPY",""],["IPOPT_END",""],["IPOPT_EOL",""],["IPOPT_LSRR",""],["IPOPT_MEASUREMENT",""],["IPOPT_MINOFF",""],["IPOPT_NOOP",""],["IPOPT_NOP",""],["IPOPT_NUMBER_MASK",""],["IPOPT_OFFSET",""],["IPOPT_OLEN",""],["IPOPT_OPTVAL",""],["IPOPT_RA",""],["IPOPT_RESERVED1",""],["IPOPT_RESERVED2",""],["IPOPT_RR",""],["IPOPT_SEC",""],["IPOPT_SID",""],["IPOPT_SSRR",""],["IPOPT_TIMESTAMP",""],["IPOPT_TS",""],["IPOPT_TS_PRESPEC",""],["IPOPT_TS_TSANDADDR",""],["IPOPT_TS_TSONLY",""],["IPPROTO_AH","IP6 Auth Header"],["IPPROTO_BEETPH",""],["IPPROTO_COMP","IP Payload Comp. Protocol"],["IPPROTO_DCCP","DCCP"],["IPPROTO_DSTOPTS","IP6 destination option"],["IPPROTO_EGP","exterior gateway protocol"],["IPPROTO_ENCAP","encapsulation header"],["IPPROTO_ESP","IP6 Encap Sec. Payload"],["IPPROTO_FRAGMENT","IP6 fragmentation header"],["IPPROTO_GRE","General Routing Encap."],["IPPROTO_HOPOPTS","Hop-by-hop option header"],["IPPROTO_ICMP",""],["IPPROTO_ICMPV6",""],["IPPROTO_IDP","xns idp"],["IPPROTO_IGMP","group mgmt protocol"],["IPPROTO_IP",""],["IPPROTO_IPIP","for compatibility"],["IPPROTO_IPV6",""],["IPPROTO_MAX",""],["IPPROTO_MH",""],["IPPROTO_MPLS",""],["IPPROTO_MPTCP","Multipath TCP"],["IPPROTO_MTP",""],["IPPROTO_NONE","IP6 no next header"],["IPPROTO_PIM","Protocol indep. multicast"],["IPPROTO_PUP","pup"],["IPPROTO_RAW","raw IP packet"],["IPPROTO_ROUTING","IP6 routing header"],["IPPROTO_RSVP","resource reservation"],["IPPROTO_SCTP","SCTP"],["IPPROTO_TCP",""],["IPPROTO_TP","tp-4 w\/ class negotiation"],["IPPROTO_UDP",""],["IPPROTO_UDPLITE",""],["IPTOS_ECN_CE",""],["IPTOS_ECN_ECT0",""],["IPTOS_ECN_ECT1",""],["IPTOS_ECN_MASK",""],["IPTOS_ECN_NOT_ECT",""],["IPTOS_LOWDELAY",""],["IPTOS_MINCOST",""],["IPTOS_PREC_CRITIC_ECP",""],["IPTOS_PREC_FLASH",""],["IPTOS_PREC_FLASHOVERRIDE",""],["IPTOS_PREC_IMMEDIATE",""],["IPTOS_PREC_INTERNETCONTROL",""],["IPTOS_PREC_MASK",""],["IPTOS_PREC_NETCONTROL",""],["IPTOS_PREC_PRIORITY",""],["IPTOS_PREC_ROUTINE",""],["IPTOS_RELIABILITY",""],["IPTOS_THROUGHPUT",""],["IPTOS_TOS_MASK",""],["IPV6_2292DSTOPTS",""],["IPV6_2292HOPLIMIT",""],["IPV6_2292HOPOPTS",""],["IPV6_2292PKTINFO",""],["IPV6_2292PKTOPTIONS",""],["IPV6_2292RTHDR",""],["IPV6_ADDRFORM",""],["IPV6_ADDR_PREFERENCES",""],["IPV6_ADD_MEMBERSHIP",""],["IPV6_AUTHHDR",""],["IPV6_AUTOFLOWLABEL",""],["IPV6_CHECKSUM",""],["IPV6_DONTFRAG",""],["IPV6_DROP_MEMBERSHIP",""],["IPV6_DSTOPTS",""],["IPV6_FLOWINFO",""],["IPV6_FLOWINFO_FLOWLABEL",""],["IPV6_FLOWINFO_PRIORITY",""],["IPV6_FLOWINFO_SEND",""],["IPV6_FLOWLABEL_MGR",""],["IPV6_FREEBIND",""],["IPV6_HDRINCL",""],["IPV6_HOPLIMIT",""],["IPV6_HOPOPTS",""],["IPV6_IPSEC_POLICY",""],["IPV6_JOIN_ANYCAST",""],["IPV6_LEAVE_ANYCAST",""],["IPV6_MINHOPCOUNT",""],["IPV6_MTU",""],["IPV6_MTU_DISCOVER",""],["IPV6_MULTICAST_ALL",""],["IPV6_MULTICAST_HOPS",""],["IPV6_MULTICAST_IF",""],["IPV6_MULTICAST_LOOP",""],["IPV6_NEXTHOP",""],["IPV6_ORIGDSTADDR",""],["IPV6_PATHMTU",""],["IPV6_PKTINFO",""],["IPV6_PMTUDISC_DO",""],["IPV6_PMTUDISC_DONT",""],["IPV6_PMTUDISC_INTERFACE",""],["IPV6_PMTUDISC_OMIT",""],["IPV6_PMTUDISC_PROBE",""],["IPV6_PMTUDISC_WANT",""],["IPV6_PREFER_SRC_CGA",""],["IPV6_PREFER_SRC_COA",""],["IPV6_PREFER_SRC_HOME",""],["IPV6_PREFER_SRC_NONCGA",""],["IPV6_PREFER_SRC_PUBLIC",""],["IPV6_PREFER_SRC_PUBTMP_DEFAULT",""],["IPV6_PREFER_SRC_TMP",""],["IPV6_RECVDSTOPTS",""],["IPV6_RECVERR",""],["IPV6_RECVFRAGSIZE",""],["IPV6_RECVHOPLIMIT",""],["IPV6_RECVHOPOPTS",""],["IPV6_RECVORIGDSTADDR",""],["IPV6_RECVPATHMTU",""],["IPV6_RECVPKTINFO",""],["IPV6_RECVRTHDR",""],["IPV6_RECVTCLASS",""],["IPV6_ROUTER_ALERT",""],["IPV6_ROUTER_ALERT_ISOLATE",""],["IPV6_RTHDR",""],["IPV6_RTHDRDSTOPTS",""],["IPV6_RTHDR_LOOSE",""],["IPV6_RTHDR_STRICT",""],["IPV6_TCLASS",""],["IPV6_TRANSPARENT",""],["IPV6_UNICAST_HOPS",""],["IPV6_UNICAST_IF",""],["IPV6_V6ONLY",""],["IPV6_XFRM_POLICY",""],["IPVERSION",""],["IP_ADD_MEMBERSHIP",""],["IP_ADD_SOURCE_MEMBERSHIP",""],["IP_BIND_ADDRESS_NO_PORT",""],["IP_BLOCK_SOURCE",""],["IP_CHECKSUM",""],["IP_DEFAULT_MULTICAST_LOOP",""],["IP_DEFAULT_MULTICAST_TTL",""],["IP_DROP_MEMBERSHIP",""],["IP_DROP_SOURCE_MEMBERSHIP",""],["IP_FREEBIND",""],["IP_HDRINCL",""],["IP_IPSEC_POLICY",""],["IP_MINTTL",""],["IP_MSFILTER",""],["IP_MTU",""],["IP_MTU_DISCOVER",""],["IP_MULTICAST_ALL",""],["IP_MULTICAST_IF",""],["IP_MULTICAST_LOOP",""],["IP_MULTICAST_TTL",""],["IP_NODEFRAG",""],["IP_OPTIONS",""],["IP_ORIGDSTADDR",""],["IP_PASSSEC",""],["IP_PKTINFO",""],["IP_PKTOPTIONS",""],["IP_PMTUDISC_DO",""],["IP_PMTUDISC_DONT",""],["IP_PMTUDISC_INTERFACE",""],["IP_PMTUDISC_OMIT",""],["IP_PMTUDISC_PROBE",""],["IP_PMTUDISC_WANT",""],["IP_RECVERR",""],["IP_RECVFRAGSIZE",""],["IP_RECVOPTS",""],["IP_RECVORIGDSTADDR",""],["IP_RECVTOS",""],["IP_RECVTTL",""],["IP_RETOPTS",""],["IP_ROUTER_ALERT",""],["IP_TOS",""],["IP_TRANSPARENT",""],["IP_TTL",""],["IP_UNBLOCK_SOURCE",""],["IP_UNICAST_IF",""],["IP_XFRM_POLICY",""],["ISIG",""],["ISOFS_SUPER_MAGIC",""],["ISTRIP",""],["ITIMER_PROF",""],["ITIMER_REAL",""],["ITIMER_VIRTUAL",""],["IUTF8",""],["IXANY",""],["IXOFF",""],["IXON",""],["J1939_EE_INFO_NONE",""],["J1939_EE_INFO_RX_ABORT",""],["J1939_EE_INFO_RX_DPO",""],["J1939_EE_INFO_RX_RTS",""],["J1939_EE_INFO_TX_ABORT",""],["J1939_FILTER_MAX",""],["J1939_IDLE_ADDR",""],["J1939_MAX_UNICAST_ADDR",""],["J1939_NLA_BYTES_ACKED",""],["J1939_NLA_DEST_ADDR",""],["J1939_NLA_DEST_NAME",""],["J1939_NLA_PAD",""],["J1939_NLA_PGN",""],["J1939_NLA_SRC_ADDR",""],["J1939_NLA_SRC_NAME",""],["J1939_NLA_TOTAL_SIZE",""],["J1939_NO_ADDR",""],["J1939_NO_NAME",""],["J1939_NO_PGN",""],["J1939_PGN_ADDRESS_CLAIMED",""],["J1939_PGN_ADDRESS_COMMANDED",""],["J1939_PGN_MAX",""],["J1939_PGN_PDU1_MAX",""],["J1939_PGN_REQUEST",""],["JFFS2_SUPER_MAGIC",""],["KEYCTL_ASSUME_AUTHORITY",""],["KEYCTL_CAPABILITIES",""],["KEYCTL_CAPS0_BIG_KEY",""],["KEYCTL_CAPS0_CAPABILITIES",""],["KEYCTL_CAPS0_DIFFIE_HELLMAN",""],["KEYCTL_CAPS0_INVALIDATE",""],["KEYCTL_CAPS0_MOVE",""],["KEYCTL_CAPS0_PERSISTENT_KEYRINGS",""],["KEYCTL_CAPS0_PUBLIC_KEY",""],["KEYCTL_CAPS0_RESTRICT_KEYRING",""],["KEYCTL_CAPS1_NS_KEYRING_NAME",""],["KEYCTL_CAPS1_NS_KEY_TAG",""],["KEYCTL_CHOWN",""],["KEYCTL_CLEAR",""],["KEYCTL_DESCRIBE",""],["KEYCTL_DH_COMPUTE",""],["KEYCTL_GET_KEYRING_ID",""],["KEYCTL_GET_PERSISTENT",""],["KEYCTL_GET_SECURITY",""],["KEYCTL_INSTANTIATE",""],["KEYCTL_INSTANTIATE_IOV",""],["KEYCTL_INVALIDATE",""],["KEYCTL_JOIN_SESSION_KEYRING",""],["KEYCTL_LINK",""],["KEYCTL_MOVE",""],["KEYCTL_NEGATE",""],["KEYCTL_PKEY_DECRYPT",""],["KEYCTL_PKEY_ENCRYPT",""],["KEYCTL_PKEY_QUERY",""],["KEYCTL_PKEY_SIGN",""],["KEYCTL_PKEY_VERIFY",""],["KEYCTL_READ",""],["KEYCTL_REJECT",""],["KEYCTL_RESTRICT_KEYRING",""],["KEYCTL_REVOKE",""],["KEYCTL_SEARCH",""],["KEYCTL_SESSION_TO_PARENT",""],["KEYCTL_SETPERM",""],["KEYCTL_SET_REQKEY_KEYRING",""],["KEYCTL_SET_TIMEOUT",""],["KEYCTL_SUPPORTS_DECRYPT",""],["KEYCTL_SUPPORTS_ENCRYPT",""],["KEYCTL_SUPPORTS_SIGN",""],["KEYCTL_SUPPORTS_VERIFY",""],["KEYCTL_UNLINK",""],["KEYCTL_UPDATE",""],["KEY_CNT",""],["KEY_MAX",""],["KEY_REQKEY_DEFL_DEFAULT",""],["KEY_REQKEY_DEFL_GROUP_KEYRING",""],["KEY_REQKEY_DEFL_NO_CHANGE",""],["KEY_REQKEY_DEFL_PROCESS_KEYRING",""],["KEY_REQKEY_DEFL_REQUESTOR_KEYRING",""],["KEY_REQKEY_DEFL_SESSION_KEYRING",""],["KEY_REQKEY_DEFL_THREAD_KEYRING",""],["KEY_REQKEY_DEFL_USER_KEYRING",""],["KEY_REQKEY_DEFL_USER_SESSION_KEYRING",""],["KEY_SPEC_GROUP_KEYRING",""],["KEY_SPEC_PROCESS_KEYRING",""],["KEY_SPEC_REQKEY_AUTH_KEY",""],["KEY_SPEC_REQUESTOR_KEYRING",""],["KEY_SPEC_SESSION_KEYRING",""],["KEY_SPEC_THREAD_KEYRING",""],["KEY_SPEC_USER_KEYRING",""],["KEY_SPEC_USER_SESSION_KEYRING",""],["LC_ADDRESS",""],["LC_ADDRESS_MASK",""],["LC_ALL",""],["LC_ALL_MASK",""],["LC_COLLATE",""],["LC_COLLATE_MASK",""],["LC_CTYPE",""],["LC_CTYPE_MASK",""],["LC_IDENTIFICATION",""],["LC_IDENTIFICATION_MASK",""],["LC_MEASUREMENT",""],["LC_MEASUREMENT_MASK",""],["LC_MESSAGES",""],["LC_MESSAGES_MASK",""],["LC_MONETARY",""],["LC_MONETARY_MASK",""],["LC_NAME",""],["LC_NAME_MASK",""],["LC_NUMERIC",""],["LC_NUMERIC_MASK",""],["LC_PAPER",""],["LC_PAPER_MASK",""],["LC_TELEPHONE",""],["LC_TELEPHONE_MASK",""],["LC_TIME",""],["LC_TIME_MASK",""],["LED_CNT",""],["LED_MAX",""],["LINUX_REBOOT_CMD_CAD_OFF",""],["LINUX_REBOOT_CMD_CAD_ON",""],["LINUX_REBOOT_CMD_HALT",""],["LINUX_REBOOT_CMD_KEXEC",""],["LINUX_REBOOT_CMD_POWER_OFF",""],["LINUX_REBOOT_CMD_RESTART",""],["LINUX_REBOOT_CMD_RESTART2",""],["LINUX_REBOOT_CMD_SW_SUSPEND",""],["LINUX_REBOOT_MAGIC1",""],["LINUX_REBOOT_MAGIC2",""],["LINUX_REBOOT_MAGIC2A",""],["LINUX_REBOOT_MAGIC2B",""],["LINUX_REBOOT_MAGIC2C",""],["LIO_NOP",""],["LIO_NOWAIT",""],["LIO_READ",""],["LIO_WAIT",""],["LIO_WRITE",""],["LM_ID_BASE",""],["LM_ID_NEWLM",""],["LOCK_EX",""],["LOCK_NB",""],["LOCK_SH",""],["LOCK_UN",""],["LOGIN_PROCESS",""],["LOG_ALERT",""],["LOG_AUTH",""],["LOG_AUTHPRIV",""],["LOG_CONS",""],["LOG_CRIT",""],["LOG_CRON",""],["LOG_DAEMON",""],["LOG_DEBUG",""],["LOG_EMERG",""],["LOG_ERR",""],["LOG_FACMASK",""],["LOG_FTP",""],["LOG_INFO",""],["LOG_KERN",""],["LOG_LOCAL0",""],["LOG_LOCAL1",""],["LOG_LOCAL2",""],["LOG_LOCAL3",""],["LOG_LOCAL4",""],["LOG_LOCAL5",""],["LOG_LOCAL6",""],["LOG_LOCAL7",""],["LOG_LPR",""],["LOG_MAIL",""],["LOG_NDELAY",""],["LOG_NEWS",""],["LOG_NFACILITIES",""],["LOG_NOTICE",""],["LOG_NOWAIT",""],["LOG_ODELAY",""],["LOG_PERROR",""],["LOG_PID",""],["LOG_PRIMASK",""],["LOG_SYSLOG",""],["LOG_USER",""],["LOG_UUCP",""],["LOG_WARNING",""],["L_tmpnam",""],["MADV_DODUMP",""],["MADV_DOFORK",""],["MADV_DONTDUMP",""],["MADV_DONTFORK",""],["MADV_DONTNEED",""],["MADV_FREE",""],["MADV_HUGEPAGE",""],["MADV_HWPOISON",""],["MADV_MERGEABLE",""],["MADV_NOHUGEPAGE",""],["MADV_NORMAL",""],["MADV_RANDOM",""],["MADV_REMOVE",""],["MADV_SEQUENTIAL",""],["MADV_SOFT_OFFLINE",""],["MADV_UNMERGEABLE",""],["MADV_WILLNEED",""],["MAP_32BIT",""],["MAP_ANON",""],["MAP_ANONYMOUS",""],["MAP_DENYWRITE",""],["MAP_EXECUTABLE",""],["MAP_FAILED",""],["MAP_FILE",""],["MAP_FIXED",""],["MAP_FIXED_NOREPLACE",""],["MAP_GROWSDOWN",""],["MAP_HUGETLB",""],["MAP_HUGE_16GB",""],["MAP_HUGE_16MB",""],["MAP_HUGE_1GB",""],["MAP_HUGE_1MB",""],["MAP_HUGE_256MB",""],["MAP_HUGE_2GB",""],["MAP_HUGE_2MB",""],["MAP_HUGE_32MB",""],["MAP_HUGE_512KB",""],["MAP_HUGE_512MB",""],["MAP_HUGE_64KB",""],["MAP_HUGE_8MB",""],["MAP_HUGE_MASK",""],["MAP_HUGE_SHIFT",""],["MAP_LOCKED",""],["MAP_NONBLOCK",""],["MAP_NORESERVE",""],["MAP_POPULATE",""],["MAP_PRIVATE",""],["MAP_SHARED",""],["MAP_SHARED_VALIDATE",""],["MAP_STACK",""],["MAP_SYNC",""],["MAP_TYPE",""],["MAXTC",""],["MAXTTL",""],["MAX_ADDR_LEN",""],["MAX_IPOPTLEN",""],["MAX_LINKS",""],["MCAST_BLOCK_SOURCE",""],["MCAST_EXCLUDE",""],["MCAST_INCLUDE",""],["MCAST_JOIN_GROUP",""],["MCAST_JOIN_SOURCE_GROUP",""],["MCAST_LEAVE_GROUP",""],["MCAST_LEAVE_SOURCE_GROUP",""],["MCAST_MSFILTER",""],["MCAST_UNBLOCK_SOURCE",""],["MCL_CURRENT",""],["MCL_FUTURE",""],["MFD_ALLOW_SEALING",""],["MFD_CLOEXEC",""],["MFD_HUGETLB",""],["MFD_HUGE_16GB",""],["MFD_HUGE_16MB",""],["MFD_HUGE_1GB",""],["MFD_HUGE_1MB",""],["MFD_HUGE_256MB",""],["MFD_HUGE_2GB",""],["MFD_HUGE_2MB",""],["MFD_HUGE_32MB",""],["MFD_HUGE_512KB",""],["MFD_HUGE_512MB",""],["MFD_HUGE_64KB",""],["MFD_HUGE_8MB",""],["MFD_HUGE_MASK",""],["MFD_HUGE_SHIFT",""],["MINIX2_SUPER_MAGIC",""],["MINIX2_SUPER_MAGIC2",""],["MINIX3_SUPER_MAGIC",""],["MINIX_SUPER_MAGIC",""],["MINIX_SUPER_MAGIC2",""],["MINSIGSTKSZ",""],["MLOCK_ONFAULT",""],["MMAP_PAGE_ZERO",""],["MNT_DETACH",""],["MNT_EXPIRE",""],["MNT_FORCE",""],["MODULE_INIT_IGNORE_MODVERSIONS",""],["MODULE_INIT_IGNORE_VERMAGIC",""],["MOD_CLKA",""],["MOD_CLKB",""],["MOD_ESTERROR",""],["MOD_FREQUENCY",""],["MOD_MAXERROR",""],["MOD_MICRO",""],["MOD_NANO",""],["MOD_OFFSET",""],["MOD_STATUS",""],["MOD_TAI",""],["MOD_TIMECONST",""],["MON_1",""],["MON_10",""],["MON_11",""],["MON_12",""],["MON_2",""],["MON_3",""],["MON_4",""],["MON_5",""],["MON_6",""],["MON_7",""],["MON_8",""],["MON_9",""],["MPOL_BIND",""],["MPOL_DEFAULT",""],["MPOL_F_NUMA_BALANCING",""],["MPOL_F_RELATIVE_NODES",""],["MPOL_F_STATIC_NODES",""],["MPOL_INTERLEAVE",""],["MPOL_LOCAL",""],["MPOL_PREFERRED",""],["MREMAP_DONTUNMAP",""],["MREMAP_FIXED",""],["MREMAP_MAYMOVE",""],["MSC_CNT",""],["MSC_MAX",""],["MSDOS_SUPER_MAGIC",""],["MSG_CMSG_CLOEXEC",""],["MSG_CONFIRM",""],["MSG_COPY",""],["MSG_CTRUNC",""],["MSG_DONTROUTE",""],["MSG_DONTWAIT",""],["MSG_EOR",""],["MSG_ERRQUEUE",""],["MSG_EXCEPT",""],["MSG_FASTOPEN",""],["MSG_FIN",""],["MSG_INFO",""],["MSG_MORE",""],["MSG_NOERROR",""],["MSG_NOSIGNAL",""],["MSG_OOB",""],["MSG_PEEK",""],["MSG_RST",""],["MSG_STAT",""],["MSG_SYN",""],["MSG_TRUNC",""],["MSG_TRYHARD",""],["MSG_WAITALL",""],["MSG_WAITFORONE",""],["MSG_ZEROCOPY",""],["MS_ACTIVE",""],["MS_ASYNC",""],["MS_BIND",""],["MS_DIRSYNC",""],["MS_INVALIDATE",""],["MS_I_VERSION",""],["MS_KERNMOUNT",""],["MS_LAZYTIME",""],["MS_MANDLOCK",""],["MS_MGC_MSK",""],["MS_MGC_VAL",""],["MS_MOVE",""],["MS_NOATIME",""],["MS_NODEV",""],["MS_NODIRATIME",""],["MS_NOEXEC",""],["MS_NOSUID",""],["MS_NOUSER",""],["MS_POSIXACL",""],["MS_PRIVATE",""],["MS_RDONLY",""],["MS_REC",""],["MS_RELATIME",""],["MS_REMOUNT",""],["MS_RMT_MASK",""],["MS_SHARED",""],["MS_SILENT",""],["MS_SLAVE",""],["MS_STRICTATIME",""],["MS_SYNC",""],["MS_SYNCHRONOUS",""],["MS_UNBINDABLE",""],["M_ARENA_MAX",""],["M_ARENA_TEST",""],["M_CHECK_ACTION",""],["M_GRAIN",""],["M_KEEP",""],["M_MMAP_MAX",""],["M_MMAP_THRESHOLD",""],["M_MXFAST",""],["M_NLBLKS",""],["M_PERTURB",""],["M_TOP_PAD",""],["M_TRIM_THRESHOLD",""],["NCCS",""],["NCP_SUPER_MAGIC",""],["NDA_CACHEINFO",""],["NDA_DST",""],["NDA_IFINDEX",""],["NDA_LINK_NETNSID",""],["NDA_LLADDR",""],["NDA_MASTER",""],["NDA_PORT",""],["NDA_PROBES",""],["NDA_SRC_VNI",""],["NDA_UNSPEC",""],["NDA_VLAN",""],["NDA_VNI",""],["NETLINK_ADD_MEMBERSHIP",""],["NETLINK_AUDIT",""],["NETLINK_BROADCAST_ERROR",""],["NETLINK_CAP_ACK",""],["NETLINK_CONNECTOR",""],["NETLINK_CRYPTO",""],["NETLINK_DNRTMSG",""],["NETLINK_DROP_MEMBERSHIP",""],["NETLINK_ECRYPTFS",""],["NETLINK_EXT_ACK",""],["NETLINK_FIB_LOOKUP",""],["NETLINK_FIREWALL",""],["NETLINK_GENERIC",""],["NETLINK_GET_STRICT_CHK",""],["NETLINK_INET_DIAG",""],["NETLINK_IP6_FW",""],["NETLINK_ISCSI",""],["NETLINK_KOBJECT_UEVENT",""],["NETLINK_LISTEN_ALL_NSID",""],["NETLINK_LIST_MEMBERSHIPS",""],["NETLINK_NETFILTER",""],["NETLINK_NFLOG",""],["NETLINK_NO_ENOBUFS",""],["NETLINK_PKTINFO",""],["NETLINK_RDMA",""],["NETLINK_ROUTE",""],["NETLINK_RX_RING",""],["NETLINK_SCSITRANSPORT",""],["NETLINK_SELINUX",""],["NETLINK_SOCK_DIAG",""],["NETLINK_TX_RING",""],["NETLINK_UNUSED",""],["NETLINK_USERSOCK",""],["NETLINK_XFRM",""],["NEW_TIME",""],["NFNETLINK_V0",""],["NFNLGRP_ACCT_QUOTA",""],["NFNLGRP_CONNTRACK_DESTROY",""],["NFNLGRP_CONNTRACK_EXP_DESTROY",""],["NFNLGRP_CONNTRACK_EXP_NEW",""],["NFNLGRP_CONNTRACK_EXP_UPDATE",""],["NFNLGRP_CONNTRACK_NEW",""],["NFNLGRP_CONNTRACK_UPDATE",""],["NFNLGRP_NFTABLES",""],["NFNLGRP_NFTRACE",""],["NFNLGRP_NONE",""],["NFNL_BATCH_GENID",""],["NFNL_BATCH_UNSPEC",""],["NFNL_MSG_BATCH_BEGIN",""],["NFNL_MSG_BATCH_END",""],["NFNL_SUBSYS_ACCT",""],["NFNL_SUBSYS_COUNT",""],["NFNL_SUBSYS_CTHELPER",""],["NFNL_SUBSYS_CTNETLINK",""],["NFNL_SUBSYS_CTNETLINK_EXP",""],["NFNL_SUBSYS_CTNETLINK_TIMEOUT",""],["NFNL_SUBSYS_HOOK",""],["NFNL_SUBSYS_IPSET",""],["NFNL_SUBSYS_NFTABLES",""],["NFNL_SUBSYS_NFT_COMPAT",""],["NFNL_SUBSYS_NONE",""],["NFNL_SUBSYS_OSF",""],["NFNL_SUBSYS_QUEUE",""],["NFNL_SUBSYS_ULOG",""],["NFPROTO_ARP",""],["NFPROTO_BRIDGE",""],["NFPROTO_DECNET",""],["NFPROTO_INET",""],["NFPROTO_IPV4",""],["NFPROTO_IPV6",""],["NFPROTO_NETDEV",""],["NFPROTO_NUMPROTO",""],["NFPROTO_UNSPEC",""],["NFQA_CAP_LEN",""],["NFQA_CFG_CMD",""],["NFQA_CFG_FLAGS",""],["NFQA_CFG_F_CONNTRACK",""],["NFQA_CFG_F_FAIL_OPEN",""],["NFQA_CFG_F_GSO",""],["NFQA_CFG_F_MAX",""],["NFQA_CFG_F_SECCTX",""],["NFQA_CFG_F_UID_GID",""],["NFQA_CFG_MASK",""],["NFQA_CFG_PARAMS",""],["NFQA_CFG_QUEUE_MAXLEN",""],["NFQA_CFG_UNSPEC",""],["NFQA_CT",""],["NFQA_CT_INFO",""],["NFQA_EXP",""],["NFQA_GID",""],["NFQA_HWADDR",""],["NFQA_IFINDEX_INDEV",""],["NFQA_IFINDEX_OUTDEV",""],["NFQA_IFINDEX_PHYSINDEV",""],["NFQA_IFINDEX_PHYSOUTDEV",""],["NFQA_L2HDR",""],["NFQA_MARK",""],["NFQA_PACKET_HDR",""],["NFQA_PAYLOAD",""],["NFQA_PRIORITY",""],["NFQA_SECCTX",""],["NFQA_SKB_CSUMNOTREADY",""],["NFQA_SKB_CSUM_NOTVERIFIED",""],["NFQA_SKB_GSO",""],["NFQA_SKB_INFO",""],["NFQA_TIMESTAMP",""],["NFQA_UID",""],["NFQA_UNSPEC",""],["NFQA_VERDICT_HDR",""],["NFQA_VLAN",""],["NFQA_VLAN_PROTO",""],["NFQA_VLAN_TCI",""],["NFQA_VLAN_UNSPEC",""],["NFQNL_CFG_CMD_BIND",""],["NFQNL_CFG_CMD_NONE",""],["NFQNL_CFG_CMD_PF_BIND",""],["NFQNL_CFG_CMD_PF_UNBIND",""],["NFQNL_CFG_CMD_UNBIND",""],["NFQNL_COPY_META",""],["NFQNL_COPY_NONE",""],["NFQNL_COPY_PACKET",""],["NFQNL_MSG_CONFIG",""],["NFQNL_MSG_PACKET",""],["NFQNL_MSG_VERDICT",""],["NFQNL_MSG_VERDICT_BATCH",""],["NFS_SUPER_MAGIC",""],["NFT_BREAK",""],["NFT_BYTEORDER_HTON",""],["NFT_BYTEORDER_NTOH",""],["NFT_CHAIN_MAXNAMELEN",""],["NFT_CMP_EQ",""],["NFT_CMP_GT",""],["NFT_CMP_GTE",""],["NFT_CMP_LT",""],["NFT_CMP_LTE",""],["NFT_CMP_NEQ",""],["NFT_CONTINUE",""],["NFT_CT_BYTES",""],["NFT_CT_DIRECTION",""],["NFT_CT_DST",""],["NFT_CT_EXPIRATION",""],["NFT_CT_HELPER",""],["NFT_CT_L3PROTOCOL",""],["NFT_CT_LABELS",""],["NFT_CT_MARK",""],["NFT_CT_PKTS",""],["NFT_CT_PROTOCOL",""],["NFT_CT_PROTO_DST",""],["NFT_CT_PROTO_SRC",""],["NFT_CT_SECMARK",""],["NFT_CT_SRC",""],["NFT_CT_STATE",""],["NFT_CT_STATUS",""],["NFT_DATA_RESERVED_MASK",""],["NFT_DATA_VALUE",""],["NFT_DATA_VALUE_MAXLEN",""],["NFT_DATA_VERDICT",""],["NFT_DYNSET_F_INV",""],["NFT_DYNSET_OP_ADD",""],["NFT_DYNSET_OP_UPDATE",""],["NFT_GOTO",""],["NFT_JUMP",""],["NFT_LIMIT_F_INV",""],["NFT_LIMIT_PKTS",""],["NFT_LIMIT_PKT_BYTES",""],["NFT_LOOKUP_F_INV",""],["NFT_META_BRI_IIFNAME",""],["NFT_META_BRI_OIFNAME",""],["NFT_META_CGROUP",""],["NFT_META_CPU",""],["NFT_META_IIF",""],["NFT_META_IIFGROUP",""],["NFT_META_IIFNAME",""],["NFT_META_IIFTYPE",""],["NFT_META_L4PROTO",""],["NFT_META_LEN",""],["NFT_META_MARK",""],["NFT_META_NFPROTO",""],["NFT_META_NFTRACE",""],["NFT_META_OIF",""],["NFT_META_OIFGROUP",""],["NFT_META_OIFNAME",""],["NFT_META_OIFTYPE",""],["NFT_META_PKTTYPE",""],["NFT_META_PRANDOM",""],["NFT_META_PRIORITY",""],["NFT_META_PROTOCOL",""],["NFT_META_RTCLASSID",""],["NFT_META_SECMARK",""],["NFT_META_SKGID",""],["NFT_META_SKUID",""],["NFT_MSG_DELCHAIN",""],["NFT_MSG_DELOBJ",""],["NFT_MSG_DELRULE",""],["NFT_MSG_DELSET",""],["NFT_MSG_DELSETELEM",""],["NFT_MSG_DELTABLE",""],["NFT_MSG_GETCHAIN",""],["NFT_MSG_GETGEN",""],["NFT_MSG_GETOBJ",""],["NFT_MSG_GETOBJ_RESET",""],["NFT_MSG_GETRULE",""],["NFT_MSG_GETSET",""],["NFT_MSG_GETSETELEM",""],["NFT_MSG_GETTABLE",""],["NFT_MSG_MAX",""],["NFT_MSG_NEWCHAIN",""],["NFT_MSG_NEWGEN",""],["NFT_MSG_NEWOBJ",""],["NFT_MSG_NEWRULE",""],["NFT_MSG_NEWSET",""],["NFT_MSG_NEWSETELEM",""],["NFT_MSG_NEWTABLE",""],["NFT_MSG_TRACE",""],["NFT_NAT_DNAT",""],["NFT_NAT_SNAT",""],["NFT_NG_INCREMENTAL",""],["NFT_NG_RANDOM",""],["NFT_OBJ_MAXNAMELEN",""],["NFT_PAYLOAD_CSUM_INET",""],["NFT_PAYLOAD_CSUM_NONE",""],["NFT_PAYLOAD_LL_HEADER",""],["NFT_PAYLOAD_NETWORK_HEADER",""],["NFT_PAYLOAD_TRANSPORT_HEADER",""],["NFT_QUEUE_FLAG_BYPASS",""],["NFT_QUEUE_FLAG_CPU_FANOUT",""],["NFT_QUEUE_FLAG_MASK",""],["NFT_QUOTA_F_INV",""],["NFT_RANGE_EQ",""],["NFT_RANGE_NEQ",""],["NFT_REG32_00",""],["NFT_REG32_01",""],["NFT_REG32_02",""],["NFT_REG32_03",""],["NFT_REG32_04",""],["NFT_REG32_05",""],["NFT_REG32_06",""],["NFT_REG32_07",""],["NFT_REG32_08",""],["NFT_REG32_09",""],["NFT_REG32_10",""],["NFT_REG32_11",""],["NFT_REG32_12",""],["NFT_REG32_13",""],["NFT_REG32_14",""],["NFT_REG32_15",""],["NFT_REG32_SIZE",""],["NFT_REG_1",""],["NFT_REG_2",""],["NFT_REG_3",""],["NFT_REG_4",""],["NFT_REG_SIZE",""],["NFT_REG_VERDICT",""],["NFT_REJECT_ICMPX_ADMIN_PROHIBITED",""],["NFT_REJECT_ICMPX_HOST_UNREACH",""],["NFT_REJECT_ICMPX_NO_ROUTE",""],["NFT_REJECT_ICMPX_PORT_UNREACH",""],["NFT_REJECT_ICMPX_UNREACH",""],["NFT_REJECT_ICMP_UNREACH",""],["NFT_REJECT_TCP_RST",""],["NFT_RETURN",""],["NFT_SET_ANONYMOUS",""],["NFT_SET_CONSTANT",""],["NFT_SET_ELEM_INTERVAL_END",""],["NFT_SET_EVAL",""],["NFT_SET_INTERVAL",""],["NFT_SET_MAP",""],["NFT_SET_MAXNAMELEN",""],["NFT_SET_POL_MEMORY",""],["NFT_SET_POL_PERFORMANCE",""],["NFT_SET_TIMEOUT",""],["NFT_TABLE_MAXNAMELEN",""],["NFT_TRACETYPE_POLICY",""],["NFT_TRACETYPE_RETURN",""],["NFT_TRACETYPE_RULE",""],["NFT_TRACETYPE_UNSPEC",""],["NFT_USERDATA_MAXLEN",""],["NFULA_CFG_CMD",""],["NFULA_CFG_FLAGS",""],["NFULA_CFG_MODE",""],["NFULA_CFG_NLBUFSIZ",""],["NFULA_CFG_QTHRESH",""],["NFULA_CFG_TIMEOUT",""],["NFULA_CFG_UNSPEC",""],["NFULA_CT",""],["NFULA_CT_INFO",""],["NFULA_GID",""],["NFULA_HWADDR",""],["NFULA_HWHEADER",""],["NFULA_HWLEN",""],["NFULA_HWTYPE",""],["NFULA_IFINDEX_INDEV",""],["NFULA_IFINDEX_OUTDEV",""],["NFULA_IFINDEX_PHYSINDEV",""],["NFULA_IFINDEX_PHYSOUTDEV",""],["NFULA_L2HDR",""],["NFULA_MARK",""],["NFULA_PACKET_HDR",""],["NFULA_PAYLOAD",""],["NFULA_PREFIX",""],["NFULA_SEQ",""],["NFULA_SEQ_GLOBAL",""],["NFULA_TIMESTAMP",""],["NFULA_UID",""],["NFULA_UNSPEC",""],["NFULA_VLAN",""],["NFULA_VLAN_PROTO",""],["NFULA_VLAN_TCI",""],["NFULA_VLAN_UNSPEC",""],["NFULNL_CFG_CMD_BIND",""],["NFULNL_CFG_CMD_NONE",""],["NFULNL_CFG_CMD_PF_BIND",""],["NFULNL_CFG_CMD_PF_UNBIND",""],["NFULNL_CFG_CMD_UNBIND",""],["NFULNL_CFG_F_CONNTRACK",""],["NFULNL_CFG_F_SEQ",""],["NFULNL_CFG_F_SEQ_GLOBAL",""],["NFULNL_COPY_META",""],["NFULNL_COPY_NONE",""],["NFULNL_COPY_PACKET",""],["NFULNL_MSG_CONFIG",""],["NFULNL_MSG_PACKET",""],["NF_ACCEPT",""],["NF_DROP",""],["NF_INET_FORWARD",""],["NF_INET_LOCAL_IN",""],["NF_INET_LOCAL_OUT",""],["NF_INET_NUMHOOKS",""],["NF_INET_POST_ROUTING",""],["NF_INET_PRE_ROUTING",""],["NF_IP6_FORWARD",""],["NF_IP6_LOCAL_IN",""],["NF_IP6_LOCAL_OUT",""],["NF_IP6_NUMHOOKS",""],["NF_IP6_POST_ROUTING",""],["NF_IP6_PRE_ROUTING",""],["NF_IP6_PRI_CONNTRACK",""],["NF_IP6_PRI_CONNTRACK_DEFRAG",""],["NF_IP6_PRI_CONNTRACK_HELPER",""],["NF_IP6_PRI_FILTER",""],["NF_IP6_PRI_FIRST",""],["NF_IP6_PRI_LAST",""],["NF_IP6_PRI_MANGLE",""],["NF_IP6_PRI_NAT_DST",""],["NF_IP6_PRI_NAT_SRC",""],["NF_IP6_PRI_RAW",""],["NF_IP6_PRI_SECURITY",""],["NF_IP6_PRI_SELINUX_FIRST",""],["NF_IP6_PRI_SELINUX_LAST",""],["NF_IP_FORWARD",""],["NF_IP_LOCAL_IN",""],["NF_IP_LOCAL_OUT",""],["NF_IP_NUMHOOKS",""],["NF_IP_POST_ROUTING",""],["NF_IP_PRE_ROUTING",""],["NF_IP_PRI_CONNTRACK",""],["NF_IP_PRI_CONNTRACK_CONFIRM",""],["NF_IP_PRI_CONNTRACK_DEFRAG",""],["NF_IP_PRI_CONNTRACK_HELPER",""],["NF_IP_PRI_FILTER",""],["NF_IP_PRI_FIRST",""],["NF_IP_PRI_LAST",""],["NF_IP_PRI_MANGLE",""],["NF_IP_PRI_NAT_DST",""],["NF_IP_PRI_NAT_SRC",""],["NF_IP_PRI_RAW",""],["NF_IP_PRI_SECURITY",""],["NF_IP_PRI_SELINUX_FIRST",""],["NF_IP_PRI_SELINUX_LAST",""],["NF_MAX_VERDICT",""],["NF_NETDEV_INGRESS",""],["NF_NETDEV_NUMHOOKS",""],["NF_QUEUE",""],["NF_REPEAT",""],["NF_STOLEN",""],["NF_STOP",""],["NF_VERDICT_BITS",""],["NF_VERDICT_FLAG_QUEUE_BYPASS",""],["NF_VERDICT_MASK",""],["NF_VERDICT_QBITS",""],["NF_VERDICT_QMASK",""],["NILFS_SUPER_MAGIC",""],["NI_DGRAM",""],["NI_MAXHOST",""],["NI_NAMEREQD",""],["NI_NOFQDN",""],["NI_NUMERICHOST",""],["NI_NUMERICSERV",""],["NL0",""],["NL1",""],["NLA_ALIGNTO",""],["NLA_F_NESTED",""],["NLA_F_NET_BYTEORDER",""],["NLA_TYPE_MASK",""],["NLDLY",""],["NLMSG_DONE",""],["NLMSG_ERROR",""],["NLMSG_MIN_TYPE",""],["NLMSG_NOOP",""],["NLMSG_OVERRUN",""],["NLM_F_ACK",""],["NLM_F_APPEND",""],["NLM_F_ATOMIC",""],["NLM_F_CREATE",""],["NLM_F_DUMP",""],["NLM_F_DUMP_FILTERED",""],["NLM_F_DUMP_INTR",""],["NLM_F_ECHO",""],["NLM_F_EXCL",""],["NLM_F_MATCH",""],["NLM_F_MULTI",""],["NLM_F_REPLACE",""],["NLM_F_REQUEST",""],["NLM_F_ROOT",""],["NOEXPR",""],["NOFLSH",""],["NOSTR",""],["NSFS_MAGIC",""],["NTF_EXT_LEARNED",""],["NTF_MASTER",""],["NTF_OFFLOADED",""],["NTF_PROXY",""],["NTF_ROUTER",""],["NTF_SELF",""],["NTF_USE",""],["NTP_API",""],["NT_ASRS",""],["NT_AUXV",""],["NT_FPREGSET",""],["NT_GWINDOWS",""],["NT_LWPSINFO",""],["NT_LWPSTATUS",""],["NT_PLATFORM",""],["NT_PRCRED",""],["NT_PRFPREG",""],["NT_PRFPXREG",""],["NT_PRPSINFO",""],["NT_PRSTATUS",""],["NT_PRXREG",""],["NT_PSINFO",""],["NT_PSTATUS",""],["NT_TASKSTRUCT",""],["NT_UTSNAME",""],["NUD_DELAY",""],["NUD_FAILED",""],["NUD_INCOMPLETE",""],["NUD_NOARP",""],["NUD_NONE",""],["NUD_PERMANENT",""],["NUD_PROBE",""],["NUD_REACHABLE",""],["NUD_STALE",""],["OCFS2_SUPER_MAGIC",""],["OCRNL",""],["OFDEL",""],["OFILL",""],["OLCUC",""],["OLD_TIME",""],["ONLCR",""],["ONLRET",""],["ONOCR",""],["OPENPROM_SUPER_MAGIC",""],["OPOST",""],["ORIG_RAX",""],["OVERLAYFS_SUPER_MAGIC",""],["O_ACCMODE",""],["O_APPEND",""],["O_ASYNC",""],["O_CLOEXEC",""],["O_CREAT",""],["O_DIRECT",""],["O_DIRECTORY",""],["O_DSYNC",""],["O_EXCL",""],["O_FSYNC",""],["O_LARGEFILE",""],["O_NDELAY",""],["O_NOATIME",""],["O_NOCTTY",""],["O_NOFOLLOW",""],["O_NONBLOCK",""],["O_PATH",""],["O_RDONLY",""],["O_RDWR",""],["O_RSYNC",""],["O_SYNC",""],["O_TMPFILE",""],["O_TRUNC",""],["O_WRONLY",""],["PACKET_ADD_MEMBERSHIP",""],["PACKET_DROP_MEMBERSHIP",""],["PACKET_MR_ALLMULTI",""],["PACKET_MR_MULTICAST",""],["PACKET_MR_PROMISC",""],["PACKET_MR_UNICAST",""],["PARENB",""],["PARMRK",""],["PARODD",""],["PATH_MAX",""],["PENDIN",""],["PF_ALG",""],["PF_APPLETALK",""],["PF_ASH",""],["PF_ATMPVC",""],["PF_ATMSVC",""],["PF_AX25",""],["PF_BLUETOOTH",""],["PF_BRIDGE",""],["PF_CAIF",""],["PF_CAN",""],["PF_DECnet",""],["PF_ECONET",""],["PF_IB",""],["PF_IEEE802154",""],["PF_INET",""],["PF_INET6",""],["PF_IPX",""],["PF_IRDA",""],["PF_ISDN",""],["PF_IUCV",""],["PF_KEY",""],["PF_LLC",""],["PF_LOCAL",""],["PF_MASKOS",""],["PF_MASKPROC",""],["PF_MPLS",""],["PF_NETBEUI",""],["PF_NETLINK",""],["PF_NETROM",""],["PF_NFC",""],["PF_PACKET",""],["PF_PHONET",""],["PF_PPPOX",""],["PF_R",""],["PF_RDS",""],["PF_ROSE",""],["PF_ROUTE",""],["PF_RXRPC",""],["PF_SECURITY",""],["PF_SNA",""],["PF_TIPC",""],["PF_UNIX",""],["PF_UNSPEC",""],["PF_VSOCK",""],["PF_W",""],["PF_WANPIPE",""],["PF_X",""],["PF_X25",""],["PF_XDP",""],["PIDFD_NONBLOCK",""],["PIPE_BUF",""],["PM_STR",""],["POLLERR",""],["POLLHUP",""],["POLLIN",""],["POLLNVAL",""],["POLLOUT",""],["POLLPRI",""],["POLLRDBAND",""],["POLLRDHUP",""],["POLLRDNORM",""],["POLLWRBAND",""],["POLLWRNORM",""],["POSIX_FADV_DONTNEED",""],["POSIX_FADV_NOREUSE",""],["POSIX_FADV_NORMAL",""],["POSIX_FADV_RANDOM",""],["POSIX_FADV_SEQUENTIAL",""],["POSIX_FADV_WILLNEED",""],["POSIX_MADV_DONTNEED",""],["POSIX_MADV_NORMAL",""],["POSIX_MADV_RANDOM",""],["POSIX_MADV_SEQUENTIAL",""],["POSIX_MADV_WILLNEED",""],["POSIX_SPAWN_RESETIDS",""],["POSIX_SPAWN_SETPGROUP",""],["POSIX_SPAWN_SETSCHEDPARAM",""],["POSIX_SPAWN_SETSCHEDULER",""],["POSIX_SPAWN_SETSID",""],["POSIX_SPAWN_SETSIGDEF",""],["POSIX_SPAWN_SETSIGMASK",""],["POSIX_SPAWN_USEVFORK",""],["PRIO_MAX",""],["PRIO_MIN",""],["PRIO_PGRP",""],["PRIO_PROCESS",""],["PRIO_USER",""],["PROC_SUPER_MAGIC",""],["PROT_EXEC",""],["PROT_GROWSDOWN",""],["PROT_GROWSUP",""],["PROT_NONE",""],["PROT_READ",""],["PROT_WRITE",""],["PR_CAPBSET_DROP",""],["PR_CAPBSET_READ",""],["PR_CAP_AMBIENT",""],["PR_CAP_AMBIENT_CLEAR_ALL",""],["PR_CAP_AMBIENT_IS_SET",""],["PR_CAP_AMBIENT_LOWER",""],["PR_CAP_AMBIENT_RAISE",""],["PR_ENDIAN_BIG",""],["PR_ENDIAN_LITTLE",""],["PR_ENDIAN_PPC_LITTLE",""],["PR_FPEMU_NOPRINT",""],["PR_FPEMU_SIGFPE",""],["PR_FP_EXC_ASYNC",""],["PR_FP_EXC_DISABLED",""],["PR_FP_EXC_DIV",""],["PR_FP_EXC_INV",""],["PR_FP_EXC_NONRECOV",""],["PR_FP_EXC_OVF",""],["PR_FP_EXC_PRECISE",""],["PR_FP_EXC_RES",""],["PR_FP_EXC_SW_ENABLE",""],["PR_FP_EXC_UND",""],["PR_FP_MODE_FR",""],["PR_FP_MODE_FRE",""],["PR_GET_CHILD_SUBREAPER",""],["PR_GET_DUMPABLE",""],["PR_GET_ENDIAN",""],["PR_GET_FPEMU",""],["PR_GET_FPEXC",""],["PR_GET_FP_MODE",""],["PR_GET_KEEPCAPS",""],["PR_GET_NAME",""],["PR_GET_NO_NEW_PRIVS",""],["PR_GET_PDEATHSIG",""],["PR_GET_SECCOMP",""],["PR_GET_SECUREBITS",""],["PR_GET_SPECULATION_CTRL",""],["PR_GET_THP_DISABLE",""],["PR_GET_TID_ADDRESS",""],["PR_GET_TIMERSLACK",""],["PR_GET_TIMING",""],["PR_GET_TSC",""],["PR_GET_UNALIGN",""],["PR_MCE_KILL",""],["PR_MCE_KILL_CLEAR",""],["PR_MCE_KILL_DEFAULT",""],["PR_MCE_KILL_EARLY",""],["PR_MCE_KILL_GET",""],["PR_MCE_KILL_LATE",""],["PR_MCE_KILL_SET",""],["PR_MPX_DISABLE_MANAGEMENT",""],["PR_MPX_ENABLE_MANAGEMENT",""],["PR_SET_CHILD_SUBREAPER",""],["PR_SET_DUMPABLE",""],["PR_SET_ENDIAN",""],["PR_SET_FPEMU",""],["PR_SET_FPEXC",""],["PR_SET_FP_MODE",""],["PR_SET_KEEPCAPS",""],["PR_SET_MM",""],["PR_SET_MM_ARG_END",""],["PR_SET_MM_ARG_START",""],["PR_SET_MM_AUXV",""],["PR_SET_MM_BRK",""],["PR_SET_MM_END_CODE",""],["PR_SET_MM_END_DATA",""],["PR_SET_MM_ENV_END",""],["PR_SET_MM_ENV_START",""],["PR_SET_MM_EXE_FILE",""],["PR_SET_MM_MAP",""],["PR_SET_MM_MAP_SIZE",""],["PR_SET_MM_START_BRK",""],["PR_SET_MM_START_CODE",""],["PR_SET_MM_START_DATA",""],["PR_SET_MM_START_STACK",""],["PR_SET_NAME",""],["PR_SET_NO_NEW_PRIVS",""],["PR_SET_PDEATHSIG",""],["PR_SET_PTRACER",""],["PR_SET_SECCOMP",""],["PR_SET_SECUREBITS",""],["PR_SET_SPECULATION_CTRL",""],["PR_SET_THP_DISABLE",""],["PR_SET_TIMERSLACK",""],["PR_SET_TIMING",""],["PR_SET_TSC",""],["PR_SET_UNALIGN",""],["PR_SET_VMA",""],["PR_SET_VMA_ANON_NAME",""],["PR_SPEC_DISABLE",""],["PR_SPEC_DISABLE_NOEXEC",""],["PR_SPEC_ENABLE",""],["PR_SPEC_FORCE_DISABLE",""],["PR_SPEC_INDIRECT_BRANCH",""],["PR_SPEC_NOT_AFFECTED",""],["PR_SPEC_PRCTL",""],["PR_SPEC_STORE_BYPASS",""],["PR_TASK_PERF_EVENTS_DISABLE",""],["PR_TASK_PERF_EVENTS_ENABLE",""],["PR_TIMING_STATISTICAL",""],["PR_TIMING_TIMESTAMP",""],["PR_TSC_ENABLE",""],["PR_TSC_SIGSEGV",""],["PR_UNALIGN_NOPRINT",""],["PR_UNALIGN_SIGBUS",""],["PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP",""],["PTHREAD_COND_INITIALIZER",""],["PTHREAD_CREATE_DETACHED",""],["PTHREAD_CREATE_JOINABLE",""],["PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP",""],["PTHREAD_MUTEX_ADAPTIVE_NP",""],["PTHREAD_MUTEX_DEFAULT",""],["PTHREAD_MUTEX_ERRORCHECK",""],["PTHREAD_MUTEX_INITIALIZER",""],["PTHREAD_MUTEX_NORMAL",""],["PTHREAD_MUTEX_RECURSIVE",""],["PTHREAD_MUTEX_ROBUST",""],["PTHREAD_MUTEX_STALLED",""],["PTHREAD_PRIO_INHERIT",""],["PTHREAD_PRIO_NONE",""],["PTHREAD_PRIO_PROTECT",""],["PTHREAD_PROCESS_PRIVATE",""],["PTHREAD_PROCESS_SHARED",""],["PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP",""],["PTHREAD_RWLOCK_INITIALIZER",""],["PTHREAD_STACK_MIN",""],["PTRACE_ATTACH",""],["PTRACE_CONT",""],["PTRACE_DETACH",""],["PTRACE_EVENT_CLONE",""],["PTRACE_EVENT_EXEC",""],["PTRACE_EVENT_EXIT",""],["PTRACE_EVENT_FORK",""],["PTRACE_EVENT_SECCOMP",""],["PTRACE_EVENT_STOP",""],["PTRACE_EVENT_VFORK",""],["PTRACE_EVENT_VFORK_DONE",""],["PTRACE_GETEVENTMSG",""],["PTRACE_GETFPREGS",""],["PTRACE_GETFPXREGS",""],["PTRACE_GETREGS",""],["PTRACE_GETREGSET",""],["PTRACE_GETSIGINFO",""],["PTRACE_GET_RSEQ_CONFIGURATION",""],["PTRACE_GET_SYSCALL_INFO",""],["PTRACE_INTERRUPT",""],["PTRACE_KILL",""],["PTRACE_LISTEN",""],["PTRACE_O_EXITKILL",""],["PTRACE_O_MASK",""],["PTRACE_O_SUSPEND_SECCOMP",""],["PTRACE_O_TRACECLONE",""],["PTRACE_O_TRACEEXEC",""],["PTRACE_O_TRACEEXIT",""],["PTRACE_O_TRACEFORK",""],["PTRACE_O_TRACESECCOMP",""],["PTRACE_O_TRACESYSGOOD",""],["PTRACE_O_TRACEVFORK",""],["PTRACE_O_TRACEVFORKDONE",""],["PTRACE_PEEKDATA",""],["PTRACE_PEEKSIGINFO",""],["PTRACE_PEEKSIGINFO_SHARED",""],["PTRACE_PEEKTEXT",""],["PTRACE_PEEKUSER",""],["PTRACE_POKEDATA",""],["PTRACE_POKETEXT",""],["PTRACE_POKEUSER",""],["PTRACE_SEIZE",""],["PTRACE_SETFPREGS",""],["PTRACE_SETFPXREGS",""],["PTRACE_SETOPTIONS",""],["PTRACE_SETREGS",""],["PTRACE_SETREGSET",""],["PTRACE_SETSIGINFO",""],["PTRACE_SINGLESTEP",""],["PTRACE_SYSCALL",""],["PTRACE_SYSEMU",""],["PTRACE_SYSEMU_SINGLESTEP",""],["PTRACE_TRACEME",""],["PT_DYNAMIC",""],["PT_GNU_EH_FRAME",""],["PT_GNU_RELRO",""],["PT_GNU_STACK",""],["PT_HIOS",""],["PT_HIPROC",""],["PT_HISUNW",""],["PT_INTERP",""],["PT_LOAD",""],["PT_LOOS",""],["PT_LOPROC",""],["PT_LOSUNW",""],["PT_NOTE",""],["PT_NULL",""],["PT_NUM",""],["PT_PHDR",""],["PT_SHLIB",""],["PT_SUNWBSS",""],["PT_SUNWSTACK",""],["PT_TLS",""],["P_ALL",""],["P_PGID",""],["P_PID",""],["P_PIDFD",""],["QFMT_VFS_OLD",""],["QFMT_VFS_V0",""],["QFMT_VFS_V1",""],["QIF_ALL",""],["QIF_BLIMITS",""],["QIF_BTIME",""],["QIF_ILIMITS",""],["QIF_INODES",""],["QIF_ITIME",""],["QIF_LIMITS",""],["QIF_SPACE",""],["QIF_TIMES",""],["QIF_USAGE",""],["QNX4_SUPER_MAGIC",""],["QNX6_SUPER_MAGIC",""],["Q_GETFMT",""],["Q_GETINFO",""],["Q_GETQUOTA",""],["Q_QUOTAOFF",""],["Q_QUOTAON",""],["Q_SETINFO",""],["Q_SETQUOTA",""],["Q_SYNC",""],["R10",""],["R11",""],["R12",""],["R13",""],["R14",""],["R15",""],["R8",""],["R9",""],["RADIXCHAR",""],["RAND_MAX",""],["RAX",""],["RBP",""],["RBX",""],["RB_AUTOBOOT",""],["RB_DISABLE_CAD",""],["RB_ENABLE_CAD",""],["RB_HALT_SYSTEM",""],["RB_KEXEC",""],["RB_POWER_OFF",""],["RB_SW_SUSPEND",""],["RCX",""],["RDI",""],["RDTGROUP_SUPER_MAGIC",""],["RDX",""],["READ_IMPLIES_EXEC",""],["REG_BADBR",""],["REG_BADPAT",""],["REG_BADRPT",""],["REG_CR2",""],["REG_CSGSFS",""],["REG_EBRACE",""],["REG_EBRACK",""],["REG_ECOLLATE",""],["REG_ECTYPE",""],["REG_EEND",""],["REG_EESCAPE",""],["REG_EFL",""],["REG_ENOSYS",""],["REG_EPAREN",""],["REG_ERANGE",""],["REG_ERPAREN",""],["REG_ERR",""],["REG_ESIZE",""],["REG_ESPACE",""],["REG_ESUBREG",""],["REG_EXTENDED",""],["REG_ICASE",""],["REG_NEWLINE",""],["REG_NOMATCH",""],["REG_NOSUB",""],["REG_NOTBOL",""],["REG_NOTEOL",""],["REG_OLDMASK",""],["REG_R10",""],["REG_R11",""],["REG_R12",""],["REG_R13",""],["REG_R14",""],["REG_R15",""],["REG_R8",""],["REG_R9",""],["REG_RAX",""],["REG_RBP",""],["REG_RBX",""],["REG_RCX",""],["REG_RDI",""],["REG_RDX",""],["REG_RIP",""],["REG_RSI",""],["REG_RSP",""],["REG_STARTEND",""],["REG_TRAPNO",""],["REISERFS_SUPER_MAGIC",""],["REL_CNT",""],["REL_MAX",""],["RENAME_EXCHANGE",""],["RENAME_NOREPLACE",""],["RENAME_WHITEOUT",""],["REP_CNT",""],["REP_MAX",""],["RESOLVE_BENEATH",""],["RESOLVE_CACHED",""],["RESOLVE_IN_ROOT",""],["RESOLVE_NO_MAGICLINKS",""],["RESOLVE_NO_SYMLINKS",""],["RESOLVE_NO_XDEV",""],["RIP",""],["RLIMIT_AS",""],["RLIMIT_CORE",""],["RLIMIT_CPU",""],["RLIMIT_DATA",""],["RLIMIT_FSIZE",""],["RLIMIT_LOCKS",""],["RLIMIT_MEMLOCK",""],["RLIMIT_MSGQUEUE",""],["RLIMIT_NICE",""],["RLIMIT_NLIMITS",""],["RLIMIT_NOFILE",""],["RLIMIT_NPROC",""],["RLIMIT_RSS",""],["RLIMIT_RTPRIO",""],["RLIMIT_RTTIME",""],["RLIMIT_SIGPENDING",""],["RLIMIT_STACK",""],["RLIM_INFINITY",""],["RLIM_NLIMITS",""],["RLIM_SAVED_CUR",""],["RLIM_SAVED_MAX",""],["RSI",""],["RSP",""],["RTA_CACHEINFO",""],["RTA_DST",""],["RTA_ENCAP",""],["RTA_ENCAP_TYPE",""],["RTA_EXPIRES",""],["RTA_FLOW",""],["RTA_GATEWAY",""],["RTA_IIF",""],["RTA_MARK",""],["RTA_METRICS",""],["RTA_MFC_STATS",""],["RTA_MP_ALGO",""],["RTA_MULTIPATH",""],["RTA_NEWDST",""],["RTA_OIF",""],["RTA_PAD",""],["RTA_PREF",""],["RTA_PREFSRC",""],["RTA_PRIORITY",""],["RTA_PROTOINFO",""],["RTA_SESSION",""],["RTA_SRC",""],["RTA_TABLE",""],["RTA_TTL_PROPAGATE",""],["RTA_UID",""],["RTA_UNSPEC",""],["RTA_VIA",""],["RTCF_DIRECTSRC",""],["RTCF_DOREDIRECT",""],["RTCF_LOG",""],["RTCF_MASQ",""],["RTCF_NAT",""],["RTCF_VALVE",""],["RTF_ADDRCLASSMASK",""],["RTF_ADDRCONF",""],["RTF_ALLONLINK",""],["RTF_BROADCAST",""],["RTF_CACHE",""],["RTF_DEFAULT",""],["RTF_DYNAMIC",""],["RTF_FLOW",""],["RTF_GATEWAY",""],["RTF_HOST",""],["RTF_INTERFACE",""],["RTF_IRTT",""],["RTF_LINKRT",""],["RTF_LOCAL",""],["RTF_MODIFIED",""],["RTF_MSS",""],["RTF_MTU",""],["RTF_MULTICAST",""],["RTF_NAT",""],["RTF_NOFORWARD",""],["RTF_NONEXTHOP",""],["RTF_NOPMTUDISC",""],["RTF_POLICY",""],["RTF_REINSTATE",""],["RTF_REJECT",""],["RTF_STATIC",""],["RTF_THROW",""],["RTF_UP",""],["RTF_WINDOW",""],["RTF_XRESOLVE",""],["RTLD_DEEPBIND",""],["RTLD_DEFAULT",""],["RTLD_DI_CONFIGADDR",""],["RTLD_DI_LINKMAP",""],["RTLD_DI_LMID",""],["RTLD_DI_ORIGIN",""],["RTLD_DI_PROFILENAME",""],["RTLD_DI_PROFILEOUT",""],["RTLD_DI_SERINFO",""],["RTLD_DI_SERINFOSIZE",""],["RTLD_DI_TLS_DATA",""],["RTLD_DI_TLS_MODID",""],["RTLD_GLOBAL",""],["RTLD_LAZY",""],["RTLD_LOCAL",""],["RTLD_NEXT",""],["RTLD_NODELETE",""],["RTLD_NOLOAD",""],["RTLD_NOW",""],["RTMGRP_DECnet_IFADDR",""],["RTMGRP_DECnet_ROUTE",""],["RTMGRP_IPV4_IFADDR",""],["RTMGRP_IPV4_MROUTE",""],["RTMGRP_IPV4_ROUTE",""],["RTMGRP_IPV4_RULE",""],["RTMGRP_IPV6_IFADDR",""],["RTMGRP_IPV6_IFINFO",""],["RTMGRP_IPV6_MROUTE",""],["RTMGRP_IPV6_PREFIX",""],["RTMGRP_IPV6_ROUTE",""],["RTMGRP_LINK",""],["RTMGRP_NEIGH",""],["RTMGRP_NOTIFY",""],["RTMGRP_TC",""],["RTMSG_AR_FAILED",""],["RTMSG_CONTROL",""],["RTMSG_DELDEVICE",""],["RTMSG_DELROUTE",""],["RTMSG_DELRULE",""],["RTMSG_NEWDEVICE",""],["RTMSG_NEWROUTE",""],["RTMSG_NEWRULE",""],["RTMSG_OVERRUN",""],["RTM_DELACTION",""],["RTM_DELADDR",""],["RTM_DELADDRLABEL",""],["RTM_DELLINK",""],["RTM_DELMDB",""],["RTM_DELNEIGH",""],["RTM_DELNETCONF",""],["RTM_DELNSID",""],["RTM_DELQDISC",""],["RTM_DELROUTE",""],["RTM_DELRULE",""],["RTM_DELTCLASS",""],["RTM_DELTFILTER",""],["RTM_F_CLONED",""],["RTM_F_EQUALIZE",""],["RTM_F_FIB_MATCH",""],["RTM_F_LOOKUP_TABLE",""],["RTM_F_NOTIFY",""],["RTM_F_PREFIX",""],["RTM_GETACTION",""],["RTM_GETADDR",""],["RTM_GETADDRLABEL",""],["RTM_GETANYCAST",""],["RTM_GETDCB",""],["RTM_GETLINK",""],["RTM_GETMDB",""],["RTM_GETMULTICAST",""],["RTM_GETNEIGH",""],["RTM_GETNEIGHTBL",""],["RTM_GETNETCONF",""],["RTM_GETNSID",""],["RTM_GETQDISC",""],["RTM_GETROUTE",""],["RTM_GETRULE",""],["RTM_GETSTATS",""],["RTM_GETTCLASS",""],["RTM_GETTFILTER",""],["RTM_NEWACTION",""],["RTM_NEWADDR",""],["RTM_NEWADDRLABEL",""],["RTM_NEWCACHEREPORT",""],["RTM_NEWLINK",""],["RTM_NEWMDB",""],["RTM_NEWNDUSEROPT",""],["RTM_NEWNEIGH",""],["RTM_NEWNEIGHTBL",""],["RTM_NEWNETCONF",""],["RTM_NEWNSID",""],["RTM_NEWPREFIX",""],["RTM_NEWQDISC",""],["RTM_NEWROUTE",""],["RTM_NEWRULE",""],["RTM_NEWSTATS",""],["RTM_NEWTCLASS",""],["RTM_NEWTFILTER",""],["RTM_SETDCB",""],["RTM_SETLINK",""],["RTM_SETNEIGHTBL",""],["RTNLGRP_BRVLAN",""],["RTNLGRP_DCB",""],["RTNLGRP_DECnet_IFADDR",""],["RTNLGRP_DECnet_ROUTE",""],["RTNLGRP_DECnet_RULE",""],["RTNLGRP_IPV4_IFADDR",""],["RTNLGRP_IPV4_MROUTE",""],["RTNLGRP_IPV4_MROUTE_R",""],["RTNLGRP_IPV4_NETCONF",""],["RTNLGRP_IPV4_ROUTE",""],["RTNLGRP_IPV4_RULE",""],["RTNLGRP_IPV6_IFADDR",""],["RTNLGRP_IPV6_IFINFO",""],["RTNLGRP_IPV6_MROUTE",""],["RTNLGRP_IPV6_MROUTE_R",""],["RTNLGRP_IPV6_NETCONF",""],["RTNLGRP_IPV6_PREFIX",""],["RTNLGRP_IPV6_ROUTE",""],["RTNLGRP_IPV6_RULE",""],["RTNLGRP_LINK",""],["RTNLGRP_MCTP_IFADDR",""],["RTNLGRP_MDB",""],["RTNLGRP_MPLS_NETCONF",""],["RTNLGRP_MPLS_ROUTE",""],["RTNLGRP_ND_USEROPT",""],["RTNLGRP_NEIGH",""],["RTNLGRP_NEXTHOP",""],["RTNLGRP_NONE",""],["RTNLGRP_NOP2",""],["RTNLGRP_NOP4",""],["RTNLGRP_NOTIFY",""],["RTNLGRP_NSID",""],["RTNLGRP_PHONET_IFADDR",""],["RTNLGRP_PHONET_ROUTE",""],["RTNLGRP_STATS",""],["RTNLGRP_TC",""],["RTNLGRP_TUNNEL",""],["RTN_ANYCAST",""],["RTN_BLACKHOLE",""],["RTN_BROADCAST",""],["RTN_LOCAL",""],["RTN_MULTICAST",""],["RTN_NAT",""],["RTN_PROHIBIT",""],["RTN_THROW",""],["RTN_UNICAST",""],["RTN_UNREACHABLE",""],["RTN_UNSPEC",""],["RTN_XRESOLVE",""],["RTPROT_BOOT",""],["RTPROT_KERNEL",""],["RTPROT_REDIRECT",""],["RTPROT_STATIC",""],["RTPROT_UNSPEC",""],["RT_CLASS_DEFAULT",""],["RT_CLASS_LOCAL",""],["RT_CLASS_MAIN",""],["RT_CLASS_MAX",""],["RT_CLASS_UNSPEC",""],["RT_SCOPE_HOST",""],["RT_SCOPE_LINK",""],["RT_SCOPE_NOWHERE",""],["RT_SCOPE_SITE",""],["RT_SCOPE_UNIVERSE",""],["RT_TABLE_COMPAT",""],["RT_TABLE_DEFAULT",""],["RT_TABLE_LOCAL",""],["RT_TABLE_MAIN",""],["RT_TABLE_UNSPEC",""],["RUN_LVL",""],["RUSAGE_CHILDREN",""],["RUSAGE_SELF",""],["RUSAGE_THREAD",""],["RWF_APPEND",""],["RWF_DSYNC",""],["RWF_HIPRI",""],["RWF_NOWAIT",""],["RWF_SYNC",""],["R_OK",""],["SA_NOCLDSTOP",""],["SA_NOCLDWAIT",""],["SA_NODEFER",""],["SA_ONSTACK",""],["SA_RESETHAND",""],["SA_RESTART",""],["SA_SIGINFO",""],["SCHED_BATCH",""],["SCHED_FIFO",""],["SCHED_IDLE",""],["SCHED_OTHER",""],["SCHED_RESET_ON_FORK",""],["SCHED_RR",""],["SCM_CREDENTIALS",""],["SCM_J1939_DEST_ADDR",""],["SCM_J1939_DEST_NAME",""],["SCM_J1939_ERRQUEUE",""],["SCM_J1939_PRIO",""],["SCM_RIGHTS",""],["SCM_TIMESTAMP",""],["SCM_TIMESTAMPING",""],["SCM_TIMESTAMPING_OPT_STATS",""],["SCM_TIMESTAMPING_PKTINFO",""],["SCM_TIMESTAMPNS",""],["SCM_TXTIME",""],["SCM_WIFI_STATUS",""],["SECCOMP_FILTER_FLAG_LOG",""],["SECCOMP_FILTER_FLAG_SPEC_ALLOW",""],["SECCOMP_FILTER_FLAG_TSYNC",""],["SECCOMP_GET_ACTION_AVAIL",""],["SECCOMP_GET_NOTIF_SIZES",""],["SECCOMP_MODE_DISABLED",""],["SECCOMP_MODE_FILTER",""],["SECCOMP_MODE_STRICT",""],["SECCOMP_RET_ACTION",""],["SECCOMP_RET_ACTION_FULL",""],["SECCOMP_RET_ALLOW",""],["SECCOMP_RET_DATA",""],["SECCOMP_RET_ERRNO",""],["SECCOMP_RET_KILL",""],["SECCOMP_RET_KILL_PROCESS",""],["SECCOMP_RET_KILL_THREAD",""],["SECCOMP_RET_LOG",""],["SECCOMP_RET_TRACE",""],["SECCOMP_RET_TRAP",""],["SECCOMP_SET_MODE_FILTER",""],["SECCOMP_SET_MODE_STRICT",""],["SECURITYFS_MAGIC",""],["SEEK_CUR",""],["SEEK_DATA",""],["SEEK_END",""],["SEEK_HOLE",""],["SEEK_SET",""],["SELFMAG",""],["SELINUX_MAGIC",""],["SEM_FAILED",""],["SFD_CLOEXEC",""],["SFD_NONBLOCK",""],["SHM_EXEC",""],["SHM_HUGETLB",""],["SHM_LOCK",""],["SHM_NORESERVE",""],["SHM_R",""],["SHM_RDONLY",""],["SHM_REMAP",""],["SHM_RND",""],["SHM_UNLOCK",""],["SHM_W",""],["SHORT_INODE",""],["SHUT_RD",""],["SHUT_RDWR",""],["SHUT_WR",""],["SIGABRT",""],["SIGALRM",""],["SIGBUS",""],["SIGCHLD",""],["SIGCONT",""],["SIGEV_NONE",""],["SIGEV_SIGNAL",""],["SIGEV_THREAD",""],["SIGEV_THREAD_ID",""],["SIGFPE",""],["SIGHUP",""],["SIGILL",""],["SIGINT",""],["SIGIO",""],["SIGIOT",""],["SIGKILL",""],["SIGPIPE",""],["SIGPOLL",""],["SIGPROF",""],["SIGPWR",""],["SIGQUIT",""],["SIGSEGV",""],["SIGSTKFLT",""],["SIGSTKSZ",""],["SIGSTOP",""],["SIGSYS",""],["SIGTERM",""],["SIGTRAP",""],["SIGTSTP",""],["SIGTTIN",""],["SIGTTOU",""],["SIGUNUSED",""],["SIGURG",""],["SIGUSR1",""],["SIGUSR2",""],["SIGVTALRM",""],["SIGWINCH",""],["SIGXCPU",""],["SIGXFSZ",""],["SIG_BLOCK",""],["SIG_DFL",""],["SIG_ERR",""],["SIG_IGN",""],["SIG_SETMASK",""],["SIG_UNBLOCK",""],["SIOCADDMULTI",""],["SIOCADDRT",""],["SIOCDARP",""],["SIOCDELMULTI",""],["SIOCDELRT",""],["SIOCDIFADDR",""],["SIOCDRARP",""],["SIOCETHTOOL",""],["SIOCGARP",""],["SIOCGIFADDR",""],["SIOCGIFBR",""],["SIOCGIFBRDADDR",""],["SIOCGIFCONF",""],["SIOCGIFCOUNT",""],["SIOCGIFDSTADDR",""],["SIOCGIFENCAP",""],["SIOCGIFFLAGS",""],["SIOCGIFHWADDR",""],["SIOCGIFINDEX",""],["SIOCGIFMAP",""],["SIOCGIFMEM",""],["SIOCGIFMETRIC",""],["SIOCGIFMTU",""],["SIOCGIFNAME",""],["SIOCGIFNETMASK",""],["SIOCGIFPFLAGS",""],["SIOCGIFSLAVE",""],["SIOCGIFTXQLEN",""],["SIOCGMIIPHY",""],["SIOCGMIIREG",""],["SIOCGRARP",""],["SIOCGSKNS",""],["SIOCOUTQNSD",""],["SIOCSARP",""],["SIOCSIFADDR",""],["SIOCSIFBR",""],["SIOCSIFBRDADDR",""],["SIOCSIFDSTADDR",""],["SIOCSIFENCAP",""],["SIOCSIFFLAGS",""],["SIOCSIFHWADDR",""],["SIOCSIFHWBROADCAST",""],["SIOCSIFLINK",""],["SIOCSIFMAP",""],["SIOCSIFMEM",""],["SIOCSIFMETRIC",""],["SIOCSIFMTU",""],["SIOCSIFNETMASK",""],["SIOCSIFPFLAGS",""],["SIOCSIFSLAVE",""],["SIOCSIFTXQLEN",""],["SIOCSMIIREG",""],["SIOCSRARP",""],["SIOCWANDEV",""],["SIOGIFINDEX",""],["SI_LOAD_SHIFT",""],["SKF_AD_ALU_XOR_X",""],["SKF_AD_CPU",""],["SKF_AD_HATYPE",""],["SKF_AD_IFINDEX",""],["SKF_AD_MARK",""],["SKF_AD_MAX",""],["SKF_AD_NLATTR",""],["SKF_AD_NLATTR_NEST",""],["SKF_AD_OFF",""],["SKF_AD_PAY_OFFSET",""],["SKF_AD_PKTTYPE",""],["SKF_AD_PROTOCOL",""],["SKF_AD_QUEUE",""],["SKF_AD_RANDOM",""],["SKF_AD_RXHASH",""],["SKF_AD_VLAN_TAG",""],["SKF_AD_VLAN_TAG_PRESENT",""],["SKF_AD_VLAN_TPID",""],["SKF_LL_OFF",""],["SKF_NET_OFF",""],["SK_MEMINFO_BACKLOG",""],["SK_MEMINFO_DROPS",""],["SK_MEMINFO_FWD_ALLOC",""],["SK_MEMINFO_OPTMEM",""],["SK_MEMINFO_RCVBUF",""],["SK_MEMINFO_RMEM_ALLOC",""],["SK_MEMINFO_SNDBUF",""],["SK_MEMINFO_WMEM_ALLOC",""],["SK_MEMINFO_WMEM_QUEUED",""],["SMACK_MAGIC",""],["SMB_SUPER_MAGIC",""],["SND_CNT",""],["SND_MAX",""],["SOCK_CLOEXEC",""],["SOCK_DCCP",""],["SOCK_DGRAM",""],["SOCK_NONBLOCK",""],["SOCK_PACKET",""],["SOCK_RAW",""],["SOCK_RDM",""],["SOCK_SEQPACKET",""],["SOCK_STREAM",""],["SOF_TIMESTAMPING_OPT_CMSG",""],["SOF_TIMESTAMPING_OPT_ID",""],["SOF_TIMESTAMPING_OPT_PKTINFO",""],["SOF_TIMESTAMPING_OPT_STATS",""],["SOF_TIMESTAMPING_OPT_TSONLY",""],["SOF_TIMESTAMPING_OPT_TX_SWHW",""],["SOF_TIMESTAMPING_RAW_HARDWARE",""],["SOF_TIMESTAMPING_RX_HARDWARE",""],["SOF_TIMESTAMPING_RX_SOFTWARE",""],["SOF_TIMESTAMPING_SOFTWARE",""],["SOF_TIMESTAMPING_SYS_HARDWARE",""],["SOF_TIMESTAMPING_TX_ACK",""],["SOF_TIMESTAMPING_TX_HARDWARE",""],["SOF_TIMESTAMPING_TX_SCHED",""],["SOF_TIMESTAMPING_TX_SOFTWARE",""],["SOF_TXTIME_DEADLINE_MODE",""],["SOF_TXTIME_REPORT_ERRORS",""],["SOL_AAL",""],["SOL_ALG",""],["SOL_ATM",""],["SOL_BLUETOOTH",""],["SOL_CAIF",""],["SOL_CAN_BASE",""],["SOL_CAN_J1939",""],["SOL_CAN_RAW",""],["SOL_DCCP",""],["SOL_DECNET",""],["SOL_ICMPV6",""],["SOL_IP",""],["SOL_IPV6",""],["SOL_IRDA",""],["SOL_IUCV",""],["SOL_LLC",""],["SOL_NETBEUI",""],["SOL_NETLINK",""],["SOL_NFC",""],["SOL_PACKET",""],["SOL_PNPIPE",""],["SOL_PPPOL2TP",""],["SOL_RAW",""],["SOL_RDS",""],["SOL_RXRPC",""],["SOL_SOCKET",""],["SOL_TCP",""],["SOL_TIPC",""],["SOL_UDP",""],["SOL_X25",""],["SOL_XDP",""],["SOMAXCONN",""],["SO_ACCEPTCONN",""],["SO_ATTACH_BPF",""],["SO_ATTACH_FILTER",""],["SO_ATTACH_REUSEPORT_CBPF",""],["SO_ATTACH_REUSEPORT_EBPF",""],["SO_BINDTODEVICE",""],["SO_BINDTOIFINDEX",""],["SO_BPF_EXTENSIONS",""],["SO_BROADCAST",""],["SO_BSDCOMPAT",""],["SO_BUSY_POLL",""],["SO_CNX_ADVICE",""],["SO_COOKIE",""],["SO_DEBUG",""],["SO_DETACH_BPF",""],["SO_DETACH_FILTER",""],["SO_DETACH_REUSEPORT_BPF",""],["SO_DOMAIN",""],["SO_DONTROUTE",""],["SO_EE_ORIGIN_ICMP",""],["SO_EE_ORIGIN_ICMP6",""],["SO_EE_ORIGIN_LOCAL",""],["SO_EE_ORIGIN_NONE",""],["SO_EE_ORIGIN_TIMESTAMPING",""],["SO_EE_ORIGIN_TXSTATUS",""],["SO_ERROR",""],["SO_GET_FILTER",""],["SO_INCOMING_CPU",""],["SO_INCOMING_NAPI_ID",""],["SO_J1939_ERRQUEUE",""],["SO_J1939_FILTER",""],["SO_J1939_PROMISC",""],["SO_J1939_SEND_PRIO",""],["SO_KEEPALIVE",""],["SO_LINGER",""],["SO_LOCK_FILTER",""],["SO_MARK",""],["SO_MAX_PACING_RATE",""],["SO_MEMINFO",""],["SO_NOFCS",""],["SO_NO_CHECK",""],["SO_OOBINLINE",""],["SO_ORIGINAL_DST",""],["SO_PASSCRED",""],["SO_PASSSEC",""],["SO_PEEK_OFF",""],["SO_PEERCRED",""],["SO_PEERGROUPS",""],["SO_PEERNAME",""],["SO_PEERSEC",""],["SO_PRIORITY",""],["SO_PROTOCOL",""],["SO_RCVBUF",""],["SO_RCVBUFFORCE",""],["SO_RCVLOWAT",""],["SO_RCVTIMEO",""],["SO_RCVTIMEO_NEW",""],["SO_REUSEADDR",""],["SO_REUSEPORT",""],["SO_RXQ_OVFL",""],["SO_SECURITY_AUTHENTICATION",""],["SO_SECURITY_ENCRYPTION_NETWORK",""],["SO_SECURITY_ENCRYPTION_TRANSPORT",""],["SO_SELECT_ERR_QUEUE",""],["SO_SNDBUF",""],["SO_SNDBUFFORCE",""],["SO_SNDLOWAT",""],["SO_SNDTIMEO",""],["SO_SNDTIMEO_NEW",""],["SO_TIMESTAMP",""],["SO_TIMESTAMPING",""],["SO_TIMESTAMPING_NEW",""],["SO_TIMESTAMPNS",""],["SO_TIMESTAMPNS_NEW",""],["SO_TIMESTAMP_NEW",""],["SO_TXTIME",""],["SO_TYPE",""],["SO_WIFI_STATUS",""],["SO_ZEROCOPY",""],["SPLICE_F_GIFT",""],["SPLICE_F_MORE",""],["SPLICE_F_MOVE",""],["SPLICE_F_NONBLOCK",""],["SS",""],["SS_DISABLE",""],["SS_ONSTACK",""],["STATX_ALL",""],["STATX_ATIME",""],["STATX_ATTR_APPEND",""],["STATX_ATTR_AUTOMOUNT",""],["STATX_ATTR_COMPRESSED",""],["STATX_ATTR_DAX",""],["STATX_ATTR_ENCRYPTED",""],["STATX_ATTR_IMMUTABLE",""],["STATX_ATTR_MOUNT_ROOT",""],["STATX_ATTR_NODUMP",""],["STATX_ATTR_VERITY",""],["STATX_BASIC_STATS",""],["STATX_BLOCKS",""],["STATX_BTIME",""],["STATX_CTIME",""],["STATX_GID",""],["STATX_INO",""],["STATX_MNT_ID",""],["STATX_MODE",""],["STATX_MTIME",""],["STATX_NLINK",""],["STATX_SIZE",""],["STATX_TYPE",""],["STATX_UID",""],["STATX__RESERVED",""],["STA_CLK",""],["STA_CLOCKERR",""],["STA_DEL",""],["STA_FLL",""],["STA_FREQHOLD",""],["STA_INS",""],["STA_MODE",""],["STA_NANO",""],["STA_PLL",""],["STA_PPSERROR",""],["STA_PPSFREQ",""],["STA_PPSJITTER",""],["STA_PPSSIGNAL",""],["STA_PPSTIME",""],["STA_PPSWANDER",""],["STA_RONLY",""],["STA_UNSYNC",""],["STDERR_FILENO",""],["STDIN_FILENO",""],["STDOUT_FILENO",""],["STICKY_TIMEOUTS",""],["ST_APPEND",""],["ST_IMMUTABLE",""],["ST_MANDLOCK",""],["ST_NOATIME",""],["ST_NODEV",""],["ST_NODIRATIME",""],["ST_NOEXEC",""],["ST_NOSUID",""],["ST_RDONLY",""],["ST_RELATIME",""],["ST_SYNCHRONOUS",""],["ST_WRITE",""],["SW_CNT",""],["SW_MAX",""],["SYNC_FILE_RANGE_WAIT_AFTER",""],["SYNC_FILE_RANGE_WAIT_BEFORE",""],["SYNC_FILE_RANGE_WRITE",""],["SYN_CNT",""],["SYN_MAX",""],["SYSFS_MAGIC",""],["SYS__sysctl",""],["SYS_accept",""],["SYS_accept4",""],["SYS_access",""],["SYS_acct",""],["SYS_add_key",""],["SYS_adjtimex",""],["SYS_afs_syscall",""],["SYS_alarm",""],["SYS_arch_prctl",""],["SYS_bind",""],["SYS_bpf",""],["SYS_brk",""],["SYS_capget",""],["SYS_capset",""],["SYS_chdir",""],["SYS_chmod",""],["SYS_chown",""],["SYS_chroot",""],["SYS_clock_adjtime",""],["SYS_clock_getres",""],["SYS_clock_gettime",""],["SYS_clock_nanosleep",""],["SYS_clock_settime",""],["SYS_clone",""],["SYS_clone3",""],["SYS_close",""],["SYS_close_range",""],["SYS_connect",""],["SYS_copy_file_range",""],["SYS_creat",""],["SYS_create_module",""],["SYS_delete_module",""],["SYS_dup",""],["SYS_dup2",""],["SYS_dup3",""],["SYS_epoll_create",""],["SYS_epoll_create1",""],["SYS_epoll_ctl",""],["SYS_epoll_ctl_old",""],["SYS_epoll_pwait",""],["SYS_epoll_pwait2",""],["SYS_epoll_wait",""],["SYS_epoll_wait_old",""],["SYS_eventfd",""],["SYS_eventfd2",""],["SYS_execve",""],["SYS_execveat",""],["SYS_exit",""],["SYS_exit_group",""],["SYS_faccessat",""],["SYS_faccessat2",""],["SYS_fadvise64",""],["SYS_fallocate",""],["SYS_fanotify_init",""],["SYS_fanotify_mark",""],["SYS_fchdir",""],["SYS_fchmod",""],["SYS_fchmodat",""],["SYS_fchown",""],["SYS_fchownat",""],["SYS_fcntl",""],["SYS_fdatasync",""],["SYS_fgetxattr",""],["SYS_finit_module",""],["SYS_flistxattr",""],["SYS_flock",""],["SYS_fork",""],["SYS_fremovexattr",""],["SYS_fsconfig",""],["SYS_fsetxattr",""],["SYS_fsmount",""],["SYS_fsopen",""],["SYS_fspick",""],["SYS_fstat",""],["SYS_fstatfs",""],["SYS_fsync",""],["SYS_ftruncate",""],["SYS_futex",""],["SYS_futex_waitv",""],["SYS_futimesat",""],["SYS_get_kernel_syms",""],["SYS_get_mempolicy",""],["SYS_get_robust_list",""],["SYS_get_thread_area",""],["SYS_getcpu",""],["SYS_getcwd",""],["SYS_getdents",""],["SYS_getdents64",""],["SYS_getegid",""],["SYS_geteuid",""],["SYS_getgid",""],["SYS_getgroups",""],["SYS_getitimer",""],["SYS_getpeername",""],["SYS_getpgid",""],["SYS_getpgrp",""],["SYS_getpid",""],["SYS_getpmsg",""],["SYS_getppid",""],["SYS_getpriority",""],["SYS_getrandom",""],["SYS_getresgid",""],["SYS_getresuid",""],["SYS_getrlimit",""],["SYS_getrusage",""],["SYS_getsid",""],["SYS_getsockname",""],["SYS_getsockopt",""],["SYS_gettid",""],["SYS_gettimeofday",""],["SYS_getuid",""],["SYS_getxattr",""],["SYS_init_module",""],["SYS_inotify_add_watch",""],["SYS_inotify_init",""],["SYS_inotify_init1",""],["SYS_inotify_rm_watch",""],["SYS_io_cancel",""],["SYS_io_destroy",""],["SYS_io_getevents",""],["SYS_io_setup",""],["SYS_io_submit",""],["SYS_io_uring_enter",""],["SYS_io_uring_register",""],["SYS_io_uring_setup",""],["SYS_ioctl",""],["SYS_ioperm",""],["SYS_iopl",""],["SYS_ioprio_get",""],["SYS_ioprio_set",""],["SYS_kcmp",""],["SYS_kexec_file_load",""],["SYS_kexec_load",""],["SYS_keyctl",""],["SYS_kill",""],["SYS_landlock_add_rule",""],["SYS_landlock_create_ruleset",""],["SYS_landlock_restrict_self",""],["SYS_lchown",""],["SYS_lgetxattr",""],["SYS_link",""],["SYS_linkat",""],["SYS_listen",""],["SYS_listxattr",""],["SYS_llistxattr",""],["SYS_lookup_dcookie",""],["SYS_lremovexattr",""],["SYS_lseek",""],["SYS_lsetxattr",""],["SYS_lstat",""],["SYS_madvise",""],["SYS_mbind",""],["SYS_membarrier",""],["SYS_memfd_create",""],["SYS_memfd_secret",""],["SYS_migrate_pages",""],["SYS_mincore",""],["SYS_mkdir",""],["SYS_mkdirat",""],["SYS_mknod",""],["SYS_mknodat",""],["SYS_mlock",""],["SYS_mlock2",""],["SYS_mlockall",""],["SYS_mmap",""],["SYS_modify_ldt",""],["SYS_mount",""],["SYS_mount_setattr",""],["SYS_move_mount",""],["SYS_move_pages",""],["SYS_mprotect",""],["SYS_mq_getsetattr",""],["SYS_mq_notify",""],["SYS_mq_open",""],["SYS_mq_timedreceive",""],["SYS_mq_timedsend",""],["SYS_mq_unlink",""],["SYS_mremap",""],["SYS_msgctl",""],["SYS_msgget",""],["SYS_msgrcv",""],["SYS_msgsnd",""],["SYS_msync",""],["SYS_munlock",""],["SYS_munlockall",""],["SYS_munmap",""],["SYS_name_to_handle_at",""],["SYS_nanosleep",""],["SYS_newfstatat",""],["SYS_nfsservctl",""],["SYS_open",""],["SYS_open_by_handle_at",""],["SYS_open_tree",""],["SYS_openat",""],["SYS_openat2",""],["SYS_pause",""],["SYS_perf_event_open",""],["SYS_personality",""],["SYS_pidfd_getfd",""],["SYS_pidfd_open",""],["SYS_pidfd_send_signal",""],["SYS_pipe",""],["SYS_pipe2",""],["SYS_pivot_root",""],["SYS_pkey_alloc",""],["SYS_pkey_free",""],["SYS_pkey_mprotect",""],["SYS_poll",""],["SYS_ppoll",""],["SYS_prctl",""],["SYS_pread64",""],["SYS_preadv",""],["SYS_preadv2",""],["SYS_prlimit64",""],["SYS_process_madvise",""],["SYS_process_mrelease",""],["SYS_process_vm_readv",""],["SYS_process_vm_writev",""],["SYS_pselect6",""],["SYS_ptrace",""],["SYS_putpmsg",""],["SYS_pwrite64",""],["SYS_pwritev",""],["SYS_pwritev2",""],["SYS_query_module",""],["SYS_quotactl",""],["SYS_quotactl_fd",""],["SYS_read",""],["SYS_readahead",""],["SYS_readlink",""],["SYS_readlinkat",""],["SYS_readv",""],["SYS_reboot",""],["SYS_recvfrom",""],["SYS_recvmmsg",""],["SYS_recvmsg",""],["SYS_remap_file_pages",""],["SYS_removexattr",""],["SYS_rename",""],["SYS_renameat",""],["SYS_renameat2",""],["SYS_request_key",""],["SYS_restart_syscall",""],["SYS_rmdir",""],["SYS_rseq",""],["SYS_rt_sigaction",""],["SYS_rt_sigpending",""],["SYS_rt_sigprocmask",""],["SYS_rt_sigqueueinfo",""],["SYS_rt_sigreturn",""],["SYS_rt_sigsuspend",""],["SYS_rt_sigtimedwait",""],["SYS_rt_tgsigqueueinfo",""],["SYS_sched_get_priority_max",""],["SYS_sched_get_priority_min",""],["SYS_sched_getaffinity",""],["SYS_sched_getattr",""],["SYS_sched_getparam",""],["SYS_sched_getscheduler",""],["SYS_sched_rr_get_interval",""],["SYS_sched_setaffinity",""],["SYS_sched_setattr",""],["SYS_sched_setparam",""],["SYS_sched_setscheduler",""],["SYS_sched_yield",""],["SYS_seccomp",""],["SYS_security",""],["SYS_select",""],["SYS_semctl",""],["SYS_semget",""],["SYS_semop",""],["SYS_semtimedop",""],["SYS_sendfile",""],["SYS_sendmmsg",""],["SYS_sendmsg",""],["SYS_sendto",""],["SYS_set_mempolicy",""],["SYS_set_mempolicy_home_node",""],["SYS_set_robust_list",""],["SYS_set_thread_area",""],["SYS_set_tid_address",""],["SYS_setdomainname",""],["SYS_setfsgid",""],["SYS_setfsuid",""],["SYS_setgid",""],["SYS_setgroups",""],["SYS_sethostname",""],["SYS_setitimer",""],["SYS_setns",""],["SYS_setpgid",""],["SYS_setpriority",""],["SYS_setregid",""],["SYS_setresgid",""],["SYS_setresuid",""],["SYS_setreuid",""],["SYS_setrlimit",""],["SYS_setsid",""],["SYS_setsockopt",""],["SYS_settimeofday",""],["SYS_setuid",""],["SYS_setxattr",""],["SYS_shmat",""],["SYS_shmctl",""],["SYS_shmdt",""],["SYS_shmget",""],["SYS_shutdown",""],["SYS_sigaltstack",""],["SYS_signalfd",""],["SYS_signalfd4",""],["SYS_socket",""],["SYS_socketpair",""],["SYS_splice",""],["SYS_stat",""],["SYS_statfs",""],["SYS_statx",""],["SYS_swapoff",""],["SYS_swapon",""],["SYS_symlink",""],["SYS_symlinkat",""],["SYS_sync",""],["SYS_sync_file_range",""],["SYS_syncfs",""],["SYS_sysfs",""],["SYS_sysinfo",""],["SYS_syslog",""],["SYS_tee",""],["SYS_tgkill",""],["SYS_time",""],["SYS_timer_create",""],["SYS_timer_delete",""],["SYS_timer_getoverrun",""],["SYS_timer_gettime",""],["SYS_timer_settime",""],["SYS_timerfd_create",""],["SYS_timerfd_gettime",""],["SYS_timerfd_settime",""],["SYS_times",""],["SYS_tkill",""],["SYS_truncate",""],["SYS_tuxcall",""],["SYS_umask",""],["SYS_umount2",""],["SYS_uname",""],["SYS_unlink",""],["SYS_unlinkat",""],["SYS_unshare",""],["SYS_uselib",""],["SYS_userfaultfd",""],["SYS_ustat",""],["SYS_utime",""],["SYS_utimensat",""],["SYS_utimes",""],["SYS_vfork",""],["SYS_vhangup",""],["SYS_vmsplice",""],["SYS_vserver",""],["SYS_wait4",""],["SYS_waitid",""],["SYS_write",""],["SYS_writev",""],["S_IEXEC",""],["S_IFBLK",""],["S_IFCHR",""],["S_IFDIR",""],["S_IFIFO",""],["S_IFLNK",""],["S_IFMT",""],["S_IFREG",""],["S_IFSOCK",""],["S_IREAD",""],["S_IRGRP",""],["S_IROTH",""],["S_IRUSR",""],["S_IRWXG",""],["S_IRWXO",""],["S_IRWXU",""],["S_ISGID",""],["S_ISUID",""],["S_ISVTX",""],["S_IWGRP",""],["S_IWOTH",""],["S_IWRITE",""],["S_IWUSR",""],["S_IXGRP",""],["S_IXOTH",""],["S_IXUSR",""],["TAB0",""],["TAB1",""],["TAB2",""],["TAB3",""],["TABDLY",""],["TCA_CHAIN",""],["TCA_DUMP_INVISIBLE",""],["TCA_FCNT",""],["TCA_HW_OFFLOAD",""],["TCA_KIND",""],["TCA_OPTIONS",""],["TCA_PAD",""],["TCA_RATE",""],["TCA_STAB",""],["TCA_STATS",""],["TCA_STATS2",""],["TCA_UNSPEC",""],["TCA_XSTATS",""],["TCFLSH",""],["TCGETA",""],["TCGETS",""],["TCGETS2",""],["TCGETX",""],["TCIFLUSH",""],["TCIOFF",""],["TCIOFLUSH",""],["TCION",""],["TCOFLUSH",""],["TCOOFF",""],["TCOON",""],["TCP_CC_INFO",""],["TCP_CM_INQ",""],["TCP_CONGESTION",""],["TCP_COOKIE_TRANSACTIONS",""],["TCP_CORK",""],["TCP_DEFER_ACCEPT",""],["TCP_FASTOPEN",""],["TCP_FASTOPEN_CONNECT",""],["TCP_FASTOPEN_KEY",""],["TCP_FASTOPEN_NO_COOKIE",""],["TCP_INFO",""],["TCP_INQ",""],["TCP_KEEPCNT",""],["TCP_KEEPIDLE",""],["TCP_KEEPINTVL",""],["TCP_LINGER2",""],["TCP_MAXSEG",""],["TCP_MD5SIG",""],["TCP_MD5SIG_EXT",""],["TCP_NODELAY",""],["TCP_NOTSENT_LOWAT",""],["TCP_QUEUE_SEQ",""],["TCP_QUICKACK",""],["TCP_REPAIR",""],["TCP_REPAIR_OPTIONS",""],["TCP_REPAIR_QUEUE",""],["TCP_REPAIR_WINDOW",""],["TCP_SAVED_SYN",""],["TCP_SAVE_SYN",""],["TCP_SYNCNT",""],["TCP_THIN_DUPACK",""],["TCP_THIN_LINEAR_TIMEOUTS",""],["TCP_TIMESTAMP",""],["TCP_ULP",""],["TCP_USER_TIMEOUT",""],["TCP_WINDOW_CLAMP",""],["TCP_ZEROCOPY_RECEIVE",""],["TCSADRAIN",""],["TCSAFLUSH",""],["TCSANOW",""],["TCSBRK",""],["TCSBRKP",""],["TCSETA",""],["TCSETAF",""],["TCSETAW",""],["TCSETS",""],["TCSETS2",""],["TCSETSF",""],["TCSETSF2",""],["TCSETSW",""],["TCSETSW2",""],["TCSETX",""],["TCSETXF",""],["TCSETXW",""],["TCXONC",""],["TFD_CLOEXEC",""],["TFD_NONBLOCK",""],["TFD_TIMER_ABSTIME",""],["TFD_TIMER_CANCEL_ON_SET",""],["THOUSEP",""],["TIMER_ABSTIME",""],["TIME_BAD",""],["TIME_DEL",""],["TIME_ERROR",""],["TIME_INS",""],["TIME_OK",""],["TIME_OOP",""],["TIME_WAIT",""],["TIOCCBRK",""],["TIOCCONS",""],["TIOCEXCL",""],["TIOCGDEV",""],["TIOCGETD",""],["TIOCGEXCL",""],["TIOCGICOUNT",""],["TIOCGLCKTRMIOS",""],["TIOCGPGRP",""],["TIOCGPKT",""],["TIOCGPTLCK",""],["TIOCGPTN",""],["TIOCGPTPEER",""],["TIOCGRS485",""],["TIOCGSERIAL",""],["TIOCGSID",""],["TIOCGSOFTCAR",""],["TIOCGWINSZ",""],["TIOCINQ",""],["TIOCLINUX",""],["TIOCMBIC",""],["TIOCMBIS",""],["TIOCMGET",""],["TIOCMIWAIT",""],["TIOCMSET",""],["TIOCM_CAR",""],["TIOCM_CD",""],["TIOCM_CTS",""],["TIOCM_DSR",""],["TIOCM_DTR",""],["TIOCM_LE",""],["TIOCM_RI",""],["TIOCM_RNG",""],["TIOCM_RTS",""],["TIOCM_SR",""],["TIOCM_ST",""],["TIOCNOTTY",""],["TIOCNXCL",""],["TIOCOUTQ",""],["TIOCPKT",""],["TIOCSBRK",""],["TIOCSCTTY",""],["TIOCSERCONFIG",""],["TIOCSERGETLSR",""],["TIOCSERGETMULTI",""],["TIOCSERGSTRUCT",""],["TIOCSERGWILD",""],["TIOCSERSETMULTI",""],["TIOCSERSWILD",""],["TIOCSETD",""],["TIOCSIG",""],["TIOCSLCKTRMIOS",""],["TIOCSPGRP",""],["TIOCSPTLCK",""],["TIOCSRS485",""],["TIOCSSERIAL",""],["TIOCSSOFTCAR",""],["TIOCSTI",""],["TIOCSWINSZ",""],["TIOCVHANGUP",""],["TMPFS_MAGIC",""],["TMP_MAX",""],["TOSTOP",""],["TRACEFS_MAGIC",""],["TUN_READQ_SIZE",""],["TUN_TAP_DEV",""],["TUN_TUN_DEV",""],["TUN_TYPE_MASK",""],["T_FMT",""],["T_FMT_AMPM",""],["UDF_SUPER_MAGIC",""],["UDP_CORK",""],["UDP_ENCAP",""],["UDP_GRO",""],["UDP_NO_CHECK6_RX",""],["UDP_NO_CHECK6_TX",""],["UDP_SEGMENT",""],["UINPUT_MAX_NAME_SIZE",""],["UINPUT_VERSION",""],["UIO_MAXIOV",""],["UMOUNT_NOFOLLOW",""],["UNAME26",""],["USBDEVICE_SUPER_MAGIC",""],["USER_PROCESS",""],["USRQUOTA",""],["UTIME_NOW",""],["UTIME_OMIT",""],["VDISCARD",""],["VEOF",""],["VEOL",""],["VEOL2",""],["VERASE",""],["VINTR",""],["VKILL",""],["VLNEXT",""],["VMADDR_CID_ANY",""],["VMADDR_CID_HOST",""],["VMADDR_CID_HYPERVISOR",""],["VMADDR_CID_LOCAL",""],["VMADDR_CID_RESERVED",""],["VMADDR_PORT_ANY",""],["VMIN",""],["VQUIT",""],["VREPRINT",""],["VSTART",""],["VSTOP",""],["VSUSP",""],["VSWTC",""],["VT0",""],["VT1",""],["VTDLY",""],["VTIME",""],["VWERASE",""],["WCONTINUED",""],["WEXITED",""],["WHOLE_SECONDS",""],["WNOHANG",""],["WNOWAIT",""],["WSTOPPED",""],["WUNTRACED",""],["W_OK",""],["XATTR_CREATE",""],["XATTR_REPLACE",""],["XENFS_SUPER_MAGIC",""],["XFS_SUPER_MAGIC",""],["XTABS",""],["X_OK",""],["YESEXPR",""],["YESSTR",""],["_IOFBF",""],["_IOLBF",""],["_IONBF",""],["_PC_2_SYMLINKS",""],["_PC_ALLOC_SIZE_MIN",""],["_PC_ASYNC_IO",""],["_PC_CHOWN_RESTRICTED",""],["_PC_FILESIZEBITS",""],["_PC_LINK_MAX",""],["_PC_MAX_CANON",""],["_PC_MAX_INPUT",""],["_PC_NAME_MAX",""],["_PC_NO_TRUNC",""],["_PC_PATH_MAX",""],["_PC_PIPE_BUF",""],["_PC_PRIO_IO",""],["_PC_REC_INCR_XFER_SIZE",""],["_PC_REC_MAX_XFER_SIZE",""],["_PC_REC_MIN_XFER_SIZE",""],["_PC_REC_XFER_ALIGN",""],["_PC_SOCK_MAXBUF",""],["_PC_SYMLINK_MAX",""],["_PC_SYNC_IO",""],["_PC_VDISABLE",""],["_POSIX_VDISABLE",""],["_SC_2_CHAR_TERM",""],["_SC_2_C_BIND",""],["_SC_2_C_DEV",""],["_SC_2_C_VERSION",""],["_SC_2_FORT_DEV",""],["_SC_2_FORT_RUN",""],["_SC_2_LOCALEDEF",""],["_SC_2_PBS",""],["_SC_2_PBS_ACCOUNTING",""],["_SC_2_PBS_CHECKPOINT",""],["_SC_2_PBS_LOCATE",""],["_SC_2_PBS_MESSAGE",""],["_SC_2_PBS_TRACK",""],["_SC_2_SW_DEV",""],["_SC_2_UPE",""],["_SC_2_VERSION",""],["_SC_ADVISORY_INFO",""],["_SC_AIO_LISTIO_MAX",""],["_SC_AIO_MAX",""],["_SC_AIO_PRIO_DELTA_MAX",""],["_SC_ARG_MAX",""],["_SC_ASYNCHRONOUS_IO",""],["_SC_ATEXIT_MAX",""],["_SC_AVPHYS_PAGES",""],["_SC_BARRIERS",""],["_SC_BASE",""],["_SC_BC_BASE_MAX",""],["_SC_BC_DIM_MAX",""],["_SC_BC_SCALE_MAX",""],["_SC_BC_STRING_MAX",""],["_SC_CHARCLASS_NAME_MAX",""],["_SC_CHAR_BIT",""],["_SC_CHAR_MAX",""],["_SC_CHAR_MIN",""],["_SC_CHILD_MAX",""],["_SC_CLK_TCK",""],["_SC_CLOCK_SELECTION",""],["_SC_COLL_WEIGHTS_MAX",""],["_SC_CPUTIME",""],["_SC_C_LANG_SUPPORT",""],["_SC_C_LANG_SUPPORT_R",""],["_SC_DELAYTIMER_MAX",""],["_SC_DEVICE_IO",""],["_SC_DEVICE_SPECIFIC",""],["_SC_DEVICE_SPECIFIC_R",""],["_SC_EQUIV_CLASS_MAX",""],["_SC_EXPR_NEST_MAX",""],["_SC_FD_MGMT",""],["_SC_FIFO",""],["_SC_FILE_ATTRIBUTES",""],["_SC_FILE_LOCKING",""],["_SC_FILE_SYSTEM",""],["_SC_FSYNC",""],["_SC_GETGR_R_SIZE_MAX",""],["_SC_GETPW_R_SIZE_MAX",""],["_SC_HOST_NAME_MAX",""],["_SC_INT_MAX",""],["_SC_INT_MIN",""],["_SC_IOV_MAX",""],["_SC_IPV6",""],["_SC_JOB_CONTROL",""],["_SC_LEVEL1_DCACHE_ASSOC",""],["_SC_LEVEL1_DCACHE_LINESIZE",""],["_SC_LEVEL1_DCACHE_SIZE",""],["_SC_LEVEL1_ICACHE_ASSOC",""],["_SC_LEVEL1_ICACHE_LINESIZE",""],["_SC_LEVEL1_ICACHE_SIZE",""],["_SC_LEVEL2_CACHE_ASSOC",""],["_SC_LEVEL2_CACHE_LINESIZE",""],["_SC_LEVEL2_CACHE_SIZE",""],["_SC_LEVEL3_CACHE_ASSOC",""],["_SC_LEVEL3_CACHE_LINESIZE",""],["_SC_LEVEL3_CACHE_SIZE",""],["_SC_LEVEL4_CACHE_ASSOC",""],["_SC_LEVEL4_CACHE_LINESIZE",""],["_SC_LEVEL4_CACHE_SIZE",""],["_SC_LINE_MAX",""],["_SC_LOGIN_NAME_MAX",""],["_SC_LONG_BIT",""],["_SC_MAPPED_FILES",""],["_SC_MB_LEN_MAX",""],["_SC_MEMLOCK",""],["_SC_MEMLOCK_RANGE",""],["_SC_MEMORY_PROTECTION",""],["_SC_MESSAGE_PASSING",""],["_SC_MONOTONIC_CLOCK",""],["_SC_MQ_OPEN_MAX",""],["_SC_MQ_PRIO_MAX",""],["_SC_MULTI_PROCESS",""],["_SC_NETWORKING",""],["_SC_NGROUPS_MAX",""],["_SC_NL_ARGMAX",""],["_SC_NL_LANGMAX",""],["_SC_NL_MSGMAX",""],["_SC_NL_NMAX",""],["_SC_NL_SETMAX",""],["_SC_NL_TEXTMAX",""],["_SC_NPROCESSORS_CONF",""],["_SC_NPROCESSORS_ONLN",""],["_SC_NZERO",""],["_SC_OPEN_MAX",""],["_SC_PAGESIZE",""],["_SC_PAGE_SIZE",""],["_SC_PASS_MAX",""],["_SC_PHYS_PAGES",""],["_SC_PII",""],["_SC_PII_INTERNET",""],["_SC_PII_INTERNET_DGRAM",""],["_SC_PII_INTERNET_STREAM",""],["_SC_PII_OSI",""],["_SC_PII_OSI_CLTS",""],["_SC_PII_OSI_COTS",""],["_SC_PII_OSI_M",""],["_SC_PII_SOCKET",""],["_SC_PII_XTI",""],["_SC_PIPE",""],["_SC_POLL",""],["_SC_PRIORITIZED_IO",""],["_SC_PRIORITY_SCHEDULING",""],["_SC_RAW_SOCKETS",""],["_SC_READER_WRITER_LOCKS",""],["_SC_REALTIME_SIGNALS",""],["_SC_REGEXP",""],["_SC_REGEX_VERSION",""],["_SC_RE_DUP_MAX",""],["_SC_RTSIG_MAX",""],["_SC_SAVED_IDS",""],["_SC_SCHAR_MAX",""],["_SC_SCHAR_MIN",""],["_SC_SELECT",""],["_SC_SEMAPHORES",""],["_SC_SEM_NSEMS_MAX",""],["_SC_SEM_VALUE_MAX",""],["_SC_SHARED_MEMORY_OBJECTS",""],["_SC_SHELL",""],["_SC_SHRT_MAX",""],["_SC_SHRT_MIN",""],["_SC_SIGNALS",""],["_SC_SIGQUEUE_MAX",""],["_SC_SINGLE_PROCESS",""],["_SC_SPAWN",""],["_SC_SPIN_LOCKS",""],["_SC_SPORADIC_SERVER",""],["_SC_SSIZE_MAX",""],["_SC_SS_REPL_MAX",""],["_SC_STREAMS",""],["_SC_STREAM_MAX",""],["_SC_SYMLOOP_MAX",""],["_SC_SYNCHRONIZED_IO",""],["_SC_SYSTEM_DATABASE",""],["_SC_SYSTEM_DATABASE_R",""],["_SC_THREADS",""],["_SC_THREAD_ATTR_STACKADDR",""],["_SC_THREAD_ATTR_STACKSIZE",""],["_SC_THREAD_CPUTIME",""],["_SC_THREAD_DESTRUCTOR_ITERATIONS",""],["_SC_THREAD_KEYS_MAX",""],["_SC_THREAD_PRIORITY_SCHEDULING",""],["_SC_THREAD_PRIO_INHERIT",""],["_SC_THREAD_PRIO_PROTECT",""],["_SC_THREAD_PROCESS_SHARED",""],["_SC_THREAD_ROBUST_PRIO_INHERIT",""],["_SC_THREAD_ROBUST_PRIO_PROTECT",""],["_SC_THREAD_SAFE_FUNCTIONS",""],["_SC_THREAD_SPORADIC_SERVER",""],["_SC_THREAD_STACK_MIN",""],["_SC_THREAD_THREADS_MAX",""],["_SC_TIMEOUTS",""],["_SC_TIMERS",""],["_SC_TIMER_MAX",""],["_SC_TRACE",""],["_SC_TRACE_EVENT_FILTER",""],["_SC_TRACE_EVENT_NAME_MAX",""],["_SC_TRACE_INHERIT",""],["_SC_TRACE_LOG",""],["_SC_TRACE_NAME_MAX",""],["_SC_TRACE_SYS_MAX",""],["_SC_TRACE_USER_EVENT_MAX",""],["_SC_TTY_NAME_MAX",""],["_SC_TYPED_MEMORY_OBJECTS",""],["_SC_TZNAME_MAX",""],["_SC_T_IOV_MAX",""],["_SC_UCHAR_MAX",""],["_SC_UINT_MAX",""],["_SC_UIO_MAXIOV",""],["_SC_ULONG_MAX",""],["_SC_USER_GROUPS",""],["_SC_USER_GROUPS_R",""],["_SC_USHRT_MAX",""],["_SC_V6_ILP32_OFF32",""],["_SC_V6_ILP32_OFFBIG",""],["_SC_V6_LP64_OFF64",""],["_SC_V6_LPBIG_OFFBIG",""],["_SC_V7_ILP32_OFF32",""],["_SC_V7_ILP32_OFFBIG",""],["_SC_V7_LP64_OFF64",""],["_SC_V7_LPBIG_OFFBIG",""],["_SC_VERSION",""],["_SC_WORD_BIT",""],["_SC_XBS5_ILP32_OFF32",""],["_SC_XBS5_ILP32_OFFBIG",""],["_SC_XBS5_LP64_OFF64",""],["_SC_XBS5_LPBIG_OFFBIG",""],["_SC_XOPEN_CRYPT",""],["_SC_XOPEN_ENH_I18N",""],["_SC_XOPEN_LEGACY",""],["_SC_XOPEN_REALTIME",""],["_SC_XOPEN_REALTIME_THREADS",""],["_SC_XOPEN_SHM",""],["_SC_XOPEN_STREAMS",""],["_SC_XOPEN_UNIX",""],["_SC_XOPEN_VERSION",""],["_SC_XOPEN_XCU_VERSION",""],["_SC_XOPEN_XPG2",""],["_SC_XOPEN_XPG3",""],["_SC_XOPEN_XPG4",""],["__NFT_REG_MAX",""],["__SIZEOF_PTHREAD_CONDATTR_T",""],["__SIZEOF_PTHREAD_COND_T",""],["__SIZEOF_PTHREAD_MUTEXATTR_T",""],["__SIZEOF_PTHREAD_MUTEX_T",""],["__SIZEOF_PTHREAD_RWLOCKATTR_T",""],["__SIZEOF_PTHREAD_RWLOCK_T",""],["__UT_HOSTSIZE",""],["__UT_LINESIZE",""],["__UT_NAMESIZE",""],["__WALL",""],["__WCLONE",""],["__WNOTHREAD",""]],"enum":[["DIR",""],["FILE",""],["c_void","Equivalent to C’s `void` type when used as a [pointer]."],["fpos64_t",""],["fpos_t",""],["timezone",""]],"fn":[["BPF_JUMP",""],["BPF_MISCOP",""],["BPF_RVAL",""],["BPF_STMT",""],["CMSG_DATA",""],["CMSG_FIRSTHDR",""],["CMSG_LEN",""],["CMSG_NXTHDR",""],["CMSG_SPACE",""],["CPU_ALLOC_SIZE",""],["CPU_CLR",""],["CPU_COUNT",""],["CPU_COUNT_S",""],["CPU_EQUAL",""],["CPU_ISSET",""],["CPU_SET",""],["CPU_ZERO",""],["FD_CLR",""],["FD_ISSET",""],["FD_SET",""],["FD_ZERO",""],["IPOPT_CLASS",""],["IPOPT_COPIED",""],["IPOPT_NUMBER",""],["IPTOS_ECN",""],["IPTOS_PREC",""],["IPTOS_TOS",""],["KERNEL_VERSION",""],["NLA_ALIGN",""],["QCMD",""],["RT_ADDRCLASS",""],["RT_LOCALADDR",""],["RT_TOS",""],["SIGRTMAX",""],["SIGRTMIN",""],["SO_EE_OFFENDER",""],["WCOREDUMP",""],["WEXITSTATUS",""],["WIFCONTINUED",""],["WIFEXITED",""],["WIFSIGNALED",""],["WIFSTOPPED",""],["WSTOPSIG",""],["WTERMSIG",""],["W_EXITCODE",""],["W_STOPCODE",""],["__errno_location",""],["_exit",""],["abort",""],["abs",""],["accept",""],["accept4",""],["access",""],["acct",""],["addmntent",""],["adjtime",""],["adjtimex",""],["aio_cancel",""],["aio_error",""],["aio_fsync",""],["aio_read",""],["aio_return",""],["aio_suspend",""],["aio_write",""],["alarm",""],["asctime_r",""],["atexit",""],["atof",""],["atoi",""],["atol",""],["atoll",""],["backtrace",""],["bind",""],["brk",""],["bsearch",""],["calloc",""],["cfgetispeed",""],["cfgetospeed",""],["cfmakeraw",""],["cfsetispeed",""],["cfsetospeed",""],["cfsetspeed",""],["chdir",""],["chmod",""],["chown",""],["chroot",""],["clearenv",""],["clearerr",""],["clock_adjtime",""],["clock_getcpuclockid",""],["clock_getres",""],["clock_gettime",""],["clock_nanosleep",""],["clock_settime",""],["clone",""],["close",""],["closedir",""],["closelog",""],["connect",""],["copy_file_range",""],["creat",""],["creat64",""],["ctermid",""],["ctime_r",""],["daemon",""],["difftime",""],["dirfd",""],["dirname",""],["dl_iterate_phdr",""],["dladdr",""],["dladdr1",""],["dlclose",""],["dlerror",""],["dlinfo",""],["dlmopen",""],["dlopen",""],["dlsym",""],["drand48",""],["dup",""],["dup2",""],["dup3",""],["duplocale",""],["eaccess",""],["endgrent",""],["endmntent",""],["endpwent",""],["endservent",""],["endspent",""],["endutxent",""],["epoll_create",""],["epoll_create1",""],["epoll_ctl",""],["epoll_pwait",""],["epoll_wait",""],["erand48",""],["euidaccess",""],["eventfd",""],["execl",""],["execle",""],["execlp",""],["execv",""],["execve",""],["execvp",""],["execvpe",""],["exit",""],["explicit_bzero",""],["faccessat",""],["fallocate",""],["fallocate64",""],["fanotify_init",""],["fanotify_mark",""],["fchdir",""],["fchmod",""],["fchmodat",""],["fchown",""],["fchownat",""],["fclose",""],["fcntl",""],["fdatasync",""],["fdopen",""],["fdopendir",""],["feof",""],["ferror",""],["fexecve",""],["fflush",""],["fgetc",""],["fgetgrent_r",""],["fgetpos",""],["fgetpos64",""],["fgetpwent_r",""],["fgets",""],["fgetspent_r",""],["fgetxattr",""],["fileno",""],["flistxattr",""],["flock",""],["fmemopen",""],["fopen",""],["fopen64",""],["fork",""],["forkpty",""],["fpathconf",""],["fprintf",""],["fputc",""],["fputs",""],["fread",""],["fread_unlocked",""],["free",""],["freeaddrinfo",""],["freeifaddrs",""],["freelocale",""],["fremovexattr",""],["freopen",""],["freopen64",""],["fscanf",""],["fseek",""],["fseeko",""],["fseeko64",""],["fsetpos",""],["fsetpos64",""],["fsetxattr",""],["fstat",""],["fstat64",""],["fstatat",""],["fstatat64",""],["fstatfs",""],["fstatfs64",""],["fstatvfs",""],["fstatvfs64",""],["fsync",""],["ftell",""],["ftello",""],["ftello64",""],["ftok",""],["ftruncate",""],["ftruncate64",""],["futimens",""],["futimes",""],["fwrite",""],["gai_strerror",""],["getaddrinfo",""],["getauxval",""],["getchar",""],["getchar_unlocked",""],["getcontext",""],["getcwd",""],["getdomainname",""],["getdtablesize",""],["getegid",""],["getentropy",""],["getenv",""],["geteuid",""],["getgid",""],["getgrent",""],["getgrent_r",""],["getgrgid",""],["getgrgid_r",""],["getgrnam",""],["getgrnam_r",""],["getgrouplist",""],["getgroups",""],["gethostid",""],["gethostname",""],["getifaddrs",""],["getline",""],["getloadavg",""],["getlogin",""],["getmntent",""],["getnameinfo",""],["getopt",""],["getopt_long",""],["getpeername",""],["getpgid",""],["getpgrp",""],["getpid",""],["getppid",""],["getpriority",""],["getprotobyname",""],["getprotobynumber",""],["getpt",""],["getpwent",""],["getpwent_r",""],["getpwnam",""],["getpwnam_r",""],["getpwuid",""],["getpwuid_r",""],["getrandom",""],["getresgid",""],["getresuid",""],["getrlimit",""],["getrlimit64",""],["getrusage",""],["getservbyname",""],["getservbyport",""],["getservent",""],["getsid",""],["getsockname",""],["getsockopt",""],["getspent",""],["getspent_r",""],["getspnam",""],["getspnam_r",""],["gettid",""],["gettimeofday",""],["getuid",""],["getutxent",""],["getutxid",""],["getutxline",""],["getxattr",""],["glob",""],["glob64",""],["globfree",""],["globfree64",""],["gmtime",""],["gmtime_r",""],["gnu_basename","GNU version of `basename(3)`, defined in `string.h`."],["gnu_get_libc_release",""],["gnu_get_libc_version",""],["grantpt",""],["hasmntopt",""],["hstrerror",""],["iconv",""],["iconv_close",""],["iconv_open",""],["if_freenameindex",""],["if_indextoname",""],["if_nameindex",""],["if_nametoindex",""],["initgroups",""],["inotify_add_watch",""],["inotify_init",""],["inotify_init1",""],["inotify_rm_watch",""],["ioctl",""],["ioperm",""],["iopl",""],["isalnum",""],["isalpha",""],["isatty",""],["isblank",""],["iscntrl",""],["isdigit",""],["isgraph",""],["islower",""],["isprint",""],["ispunct",""],["isspace",""],["isupper",""],["isxdigit",""],["jrand48",""],["kill",""],["killpg",""],["labs",""],["lchown",""],["lcong48",""],["lgetxattr",""],["link",""],["linkat",""],["lio_listio",""],["listen",""],["listxattr",""],["llistxattr",""],["localeconv",""],["localtime",""],["localtime_r",""],["lockf",""],["login_tty",""],["lrand48",""],["lremovexattr",""],["lseek",""],["lseek64",""],["lsetxattr",""],["lstat",""],["lstat64",""],["lutimes",""],["madvise",""],["major",""],["makecontext",""],["makedev",""],["mallinfo",""],["mallinfo2",""],["malloc",""],["malloc_info",""],["malloc_trim",""],["malloc_usable_size",""],["mallopt",""],["memalign",""],["memchr",""],["memcmp",""],["memcpy",""],["memfd_create",""],["memmem",""],["memmove",""],["memrchr",""],["memset",""],["mincore",""],["minor",""],["mkdir",""],["mkdirat",""],["mkdtemp",""],["mkfifo",""],["mkfifoat",""],["mknod",""],["mknodat",""],["mkostemp",""],["mkostemps",""],["mkstemp",""],["mkstemps",""],["mktime",""],["mlock",""],["mlock2",""],["mlockall",""],["mmap",""],["mmap64",""],["mount",""],["mprotect",""],["mq_close",""],["mq_getattr",""],["mq_open",""],["mq_receive",""],["mq_send",""],["mq_setattr",""],["mq_timedreceive",""],["mq_timedsend",""],["mq_unlink",""],["mrand48",""],["mremap",""],["msgctl",""],["msgget",""],["msgrcv",""],["msgsnd",""],["msync",""],["munlock",""],["munlockall",""],["munmap",""],["nanosleep",""],["newlocale",""],["nice",""],["nl_langinfo",""],["nl_langinfo_l",""],["nrand48",""],["ntp_adjtime",""],["ntp_gettime",""],["open",""],["open64",""],["open_memstream",""],["open_wmemstream",""],["openat",""],["openat64",""],["opendir",""],["openlog",""],["openpty",""],["pathconf",""],["pause",""],["pclose",""],["perror",""],["personality",""],["pipe",""],["pipe2",""],["poll",""],["popen",""],["posix_basename","POSIX version of `basename(3)`, defined in `libgen.h`."],["posix_fadvise",""],["posix_fadvise64",""],["posix_fallocate",""],["posix_fallocate64",""],["posix_madvise",""],["posix_memalign",""],["posix_openpt",""],["posix_spawn",""],["posix_spawn_file_actions_addclose",""],["posix_spawn_file_actions_adddup2",""],["posix_spawn_file_actions_addopen",""],["posix_spawn_file_actions_destroy",""],["posix_spawn_file_actions_init",""],["posix_spawnattr_destroy",""],["posix_spawnattr_getflags",""],["posix_spawnattr_getpgroup",""],["posix_spawnattr_getschedparam",""],["posix_spawnattr_getschedpolicy",""],["posix_spawnattr_getsigdefault",""],["posix_spawnattr_getsigmask",""],["posix_spawnattr_init",""],["posix_spawnattr_setflags",""],["posix_spawnattr_setpgroup",""],["posix_spawnattr_setschedparam",""],["posix_spawnattr_setschedpolicy",""],["posix_spawnattr_setsigdefault",""],["posix_spawnattr_setsigmask",""],["posix_spawnp",""],["ppoll",""],["prctl",""],["pread",""],["pread64",""],["preadv",""],["preadv2",""],["preadv64",""],["preadv64v2",""],["printf",""],["prlimit",""],["prlimit64",""],["process_vm_readv",""],["process_vm_writev",""],["pselect",""],["pthread_atfork",""],["pthread_attr_destroy",""],["pthread_attr_getaffinity_np",""],["pthread_attr_getguardsize",""],["pthread_attr_getstack",""],["pthread_attr_init",""],["pthread_attr_setaffinity_np",""],["pthread_attr_setdetachstate",""],["pthread_attr_setstacksize",""],["pthread_cancel",""],["pthread_cond_broadcast",""],["pthread_cond_destroy",""],["pthread_cond_init",""],["pthread_cond_signal",""],["pthread_cond_timedwait",""],["pthread_cond_wait",""],["pthread_condattr_destroy",""],["pthread_condattr_getclock",""],["pthread_condattr_getpshared",""],["pthread_condattr_init",""],["pthread_condattr_setclock",""],["pthread_condattr_setpshared",""],["pthread_create",""],["pthread_detach",""],["pthread_exit",""],["pthread_getaffinity_np",""],["pthread_getattr_np",""],["pthread_getcpuclockid",""],["pthread_getname_np",""],["pthread_getschedparam",""],["pthread_getspecific",""],["pthread_join",""],["pthread_key_create",""],["pthread_key_delete",""],["pthread_kill",""],["pthread_mutex_consistent",""],["pthread_mutex_destroy",""],["pthread_mutex_init",""],["pthread_mutex_lock",""],["pthread_mutex_timedlock",""],["pthread_mutex_trylock",""],["pthread_mutex_unlock",""],["pthread_mutexattr_destroy",""],["pthread_mutexattr_getprotocol",""],["pthread_mutexattr_getpshared",""],["pthread_mutexattr_getrobust",""],["pthread_mutexattr_init",""],["pthread_mutexattr_setprotocol",""],["pthread_mutexattr_setpshared",""],["pthread_mutexattr_setrobust",""],["pthread_mutexattr_settype",""],["pthread_rwlock_destroy",""],["pthread_rwlock_init",""],["pthread_rwlock_rdlock",""],["pthread_rwlock_tryrdlock",""],["pthread_rwlock_trywrlock",""],["pthread_rwlock_unlock",""],["pthread_rwlock_wrlock",""],["pthread_rwlockattr_destroy",""],["pthread_rwlockattr_getkind_np",""],["pthread_rwlockattr_getpshared",""],["pthread_rwlockattr_init",""],["pthread_rwlockattr_setkind_np",""],["pthread_rwlockattr_setpshared",""],["pthread_self",""],["pthread_setaffinity_np",""],["pthread_setname_np",""],["pthread_setschedparam",""],["pthread_setschedprio",""],["pthread_setspecific",""],["pthread_sigmask",""],["pthread_sigqueue",""],["pthread_spin_destroy",""],["pthread_spin_init",""],["pthread_spin_lock",""],["pthread_spin_trylock",""],["pthread_spin_unlock",""],["ptrace",""],["ptsname",""],["ptsname_r",""],["putchar",""],["putchar_unlocked",""],["putenv",""],["puts",""],["pututxline",""],["pwrite",""],["pwrite64",""],["pwritev",""],["pwritev2",""],["pwritev64",""],["pwritev64v2",""],["qsort",""],["qsort_r",""],["quotactl",""],["raise",""],["rand",""],["read",""],["readahead",""],["readdir",""],["readdir64",""],["readdir64_r",""],["readdir_r","The 64-bit libc on Solaris and illumos only has readdir_r. If a 32-bit Solaris or illumos target is ever created, it should use __posix_readdir_r. See libc(3LIB) on Solaris or illumos: https:\/\/illumos.org\/man\/3lib\/libc https:\/\/docs.oracle.com\/cd\/E36784_01\/html\/E36873\/libc-3lib.html https:\/\/www.unix.com\/man-page\/opensolaris\/3LIB\/libc\/"],["readlink",""],["readlinkat",""],["readv",""],["realloc",""],["reallocarray",""],["realpath",""],["reboot",""],["recv",""],["recvfrom",""],["recvmmsg",""],["recvmsg",""],["regcomp",""],["regerror",""],["regexec",""],["regfree",""],["remap_file_pages",""],["remove",""],["removexattr",""],["rename",""],["renameat",""],["renameat2",""],["res_init",""],["rewind",""],["rewinddir",""],["rmdir",""],["sbrk",""],["scanf",""],["sched_get_priority_max",""],["sched_get_priority_min",""],["sched_getaffinity",""],["sched_getcpu",""],["sched_getparam",""],["sched_getscheduler",""],["sched_rr_get_interval",""],["sched_setaffinity",""],["sched_setparam",""],["sched_setscheduler",""],["sched_yield",""],["seed48",""],["seekdir",""],["select",""],["sem_close",""],["sem_destroy",""],["sem_getvalue",""],["sem_init",""],["sem_open",""],["sem_post",""],["sem_timedwait",""],["sem_trywait",""],["sem_unlink",""],["sem_wait",""],["semctl",""],["semget",""],["semop",""],["send",""],["sendfile",""],["sendfile64",""],["sendmmsg",""],["sendmsg",""],["sendto",""],["setbuf",""],["setcontext",""],["setdomainname",""],["setegid",""],["setenv",""],["seteuid",""],["setfsgid",""],["setfsuid",""],["setgid",""],["setgrent",""],["setgroups",""],["sethostid",""],["sethostname",""],["setlocale",""],["setlogmask",""],["setmntent",""],["setns",""],["setpgid",""],["setpriority",""],["setpwent",""],["setregid",""],["setresgid",""],["setresuid",""],["setreuid",""],["setrlimit",""],["setrlimit64",""],["setservent",""],["setsid",""],["setsockopt",""],["setspent",""],["settimeofday",""],["setuid",""],["setutxent",""],["setvbuf",""],["setxattr",""],["sgetspent_r",""],["shm_open",""],["shm_unlink",""],["shmat",""],["shmctl",""],["shmdt",""],["shmget",""],["shutdown",""],["sigaction",""],["sigaddset",""],["sigaltstack",""],["sigdelset",""],["sigemptyset",""],["sigfillset",""],["sigismember",""],["signal",""],["signalfd",""],["sigpending",""],["sigprocmask",""],["sigsuspend",""],["sigtimedwait",""],["sigwait",""],["sigwaitinfo",""],["sleep",""],["snprintf",""],["socket",""],["socketpair",""],["splice",""],["sprintf",""],["srand",""],["srand48",""],["sscanf",""],["stat",""],["stat64",""],["statfs",""],["statfs64",""],["statvfs",""],["statvfs64",""],["statx",""],["stpcpy",""],["stpncpy",""],["strcasecmp",""],["strcasestr",""],["strcat",""],["strchr",""],["strcmp",""],["strcoll",""],["strcpy",""],["strcspn",""],["strdup",""],["strerror",""],["strerror_r",""],["strftime",""],["strlen",""],["strncasecmp",""],["strncat",""],["strncmp",""],["strncpy",""],["strndup",""],["strnlen",""],["strpbrk",""],["strptime",""],["strrchr",""],["strsignal",""],["strspn",""],["strstr",""],["strtod",""],["strtof",""],["strtok",""],["strtok_r",""],["strtol",""],["strtoll",""],["strtoul",""],["strtoull",""],["strxfrm",""],["swapcontext",""],["swapoff",""],["swapon",""],["symlink",""],["symlinkat",""],["sync",""],["sync_file_range",""],["syncfs",""],["syscall",""],["sysconf",""],["sysctl",""],["sysinfo",""],["syslog",""],["system",""],["tcdrain",""],["tcflow",""],["tcflush",""],["tcgetattr",""],["tcgetpgrp",""],["tcgetsid",""],["tcsendbreak",""],["tcsetattr",""],["tcsetpgrp",""],["tee",""],["telldir",""],["time",""],["timegm",""],["timer_create",""],["timer_delete",""],["timer_getoverrun",""],["timer_gettime",""],["timer_settime",""],["timerfd_create",""],["timerfd_gettime",""],["timerfd_settime",""],["times",""],["tmpfile",""],["tmpfile64",""],["tmpnam",""],["tolower",""],["toupper",""],["truncate",""],["truncate64",""],["ttyname",""],["ttyname_r",""],["umask",""],["umount",""],["umount2",""],["uname",""],["ungetc",""],["unlink",""],["unlinkat",""],["unlockpt",""],["unsetenv",""],["unshare",""],["uselocale",""],["usleep",""],["utime",""],["utimensat",""],["utimes",""],["utmpname",""],["utmpxname",""],["vfork",""],["vhangup",""],["vmsplice",""],["wait",""],["wait4",""],["waitid",""],["waitpid",""],["wcslen",""],["wcstombs",""],["wmemchr",""],["write",""],["writev",""]],"struct":[["Dl_info",""],["Elf32_Chdr",""],["Elf32_Ehdr",""],["Elf32_Phdr",""],["Elf32_Shdr",""],["Elf32_Sym",""],["Elf64_Chdr",""],["Elf64_Ehdr",""],["Elf64_Phdr",""],["Elf64_Shdr",""],["Elf64_Sym",""],["__c_anonymous_ifru_map",""],["__c_anonymous_ptrace_syscall_info_entry",""],["__c_anonymous_ptrace_syscall_info_exit",""],["__c_anonymous_ptrace_syscall_info_seccomp",""],["__c_anonymous_sockaddr_can_j1939",""],["__c_anonymous_sockaddr_can_tp",""],["__exit_status",""],["__timeval",""],["_libc_fpstate",""],["_libc_fpxreg",""],["_libc_xmmreg",""],["addrinfo",""],["af_alg_iv","WARNING: The `PartialEq`, `Eq` and `Hash` implementations of this type are unsound and will be removed in the future."],["aiocb",""],["arpd_request",""],["arphdr",""],["arpreq",""],["arpreq_old",""],["can_filter",""],["can_frame",""],["canfd_frame",""],["clone_args",""],["cmsghdr",""],["cpu_set_t",""],["dirent",""],["dirent64",""],["dl_phdr_info",""],["dqblk",""],["epoll_event",""],["fanotify_event_metadata",""],["fanotify_response",""],["fd_set",""],["ff_condition_effect",""],["ff_constant_effect",""],["ff_effect",""],["ff_envelope",""],["ff_periodic_effect",""],["ff_ramp_effect",""],["ff_replay",""],["ff_rumble_effect",""],["ff_trigger",""],["file_clone_range",""],["flock",""],["flock64",""],["fsid_t",""],["genlmsghdr",""],["glob64_t",""],["glob_t",""],["group",""],["hostent",""],["if_nameindex",""],["ifaddrs",""],["ifreq",""],["in6_addr",""],["in6_ifreq",""],["in6_pktinfo",""],["in6_rtmsg",""],["in_addr",""],["in_pktinfo",""],["inotify_event",""],["input_absinfo",""],["input_event",""],["input_id",""],["input_keymap_entry",""],["input_mask",""],["iovec",""],["ip_mreq",""],["ip_mreq_source",""],["ip_mreqn",""],["ipc_perm",""],["ipv6_mreq",""],["itimerspec",""],["itimerval",""],["j1939_filter",""],["lconv",""],["linger",""],["mallinfo",""],["mallinfo2",""],["max_align_t",""],["mcontext_t",""],["mmsghdr",""],["mntent",""],["mq_attr",""],["msghdr",""],["msginfo",""],["msqid_ds",""],["nl_mmap_hdr",""],["nl_mmap_req",""],["nl_pktinfo",""],["nlattr",""],["nlmsgerr",""],["nlmsghdr",""],["ntptimeval",""],["open_how",""],["option",""],["packet_mreq",""],["passwd",""],["pollfd",""],["posix_spawn_file_actions_t",""],["posix_spawnattr_t",""],["protoent",""],["pthread_attr_t",""],["pthread_cond_t",""],["pthread_condattr_t",""],["pthread_mutex_t",""],["pthread_mutexattr_t",""],["pthread_rwlock_t",""],["pthread_rwlockattr_t",""],["ptrace_peeksiginfo_args",""],["ptrace_rseq_configuration",""],["ptrace_syscall_info",""],["regex_t",""],["regmatch_t",""],["rlimit",""],["rlimit64",""],["rtentry",""],["rusage",""],["sched_param",""],["seccomp_data",""],["seccomp_notif_sizes",""],["sem_t",""],["sembuf",""],["semid_ds",""],["seminfo",""],["servent",""],["shmid_ds",""],["sigaction",""],["sigevent",""],["siginfo_t",""],["signalfd_siginfo",""],["sigset_t",""],["sigval",""],["sock_extended_err",""],["sock_filter",""],["sock_fprog",""],["sock_txtime",""],["sockaddr",""],["sockaddr_alg",""],["sockaddr_can",""],["sockaddr_in",""],["sockaddr_in6",""],["sockaddr_ll",""],["sockaddr_nl",""],["sockaddr_storage",""],["sockaddr_un",""],["sockaddr_vm",""],["spwd",""],["stack_t",""],["stat",""],["stat64",""],["statfs",""],["statfs64",""],["statvfs",""],["statvfs64",""],["statx",""],["statx_timestamp",""],["sysinfo",""],["termios",""],["termios2",""],["timespec",""],["timeval",""],["timex",""],["tm",""],["tms",""],["ucontext_t",""],["ucred",""],["uinput_abs_setup",""],["uinput_ff_erase",""],["uinput_ff_upload",""],["uinput_setup",""],["uinput_user_dev",""],["user",""],["user_fpregs_struct",""],["user_regs_struct",""],["utimbuf",""],["utmpx",""],["utsname",""],["winsize",""]],"type":[["Elf32_Addr",""],["Elf32_Half",""],["Elf32_Off",""],["Elf32_Section",""],["Elf32_Word",""],["Elf64_Addr",""],["Elf64_Half",""],["Elf64_Off",""],["Elf64_Section",""],["Elf64_Sxword",""],["Elf64_Word",""],["Elf64_Xword",""],["Lmid_t",""],["__fsword_t",""],["__priority_which_t",""],["__rlimit_resource_t",""],["__s16",""],["__s32",""],["__s64",""],["__syscall_ulong_t",""],["__u16",""],["__u32",""],["__u64",""],["__u8",""],["blkcnt64_t",""],["blkcnt_t",""],["blksize_t",""],["c_char",""],["c_double",""],["c_float",""],["c_int",""],["c_long",""],["c_longlong",""],["c_schar",""],["c_short",""],["c_uchar",""],["c_uint",""],["c_ulong",""],["c_ulonglong",""],["c_ushort",""],["can_err_mask_t",""],["canid_t",""],["cc_t",""],["clock_t",""],["clockid_t",""],["dev_t",""],["fsblkcnt_t",""],["fsfilcnt_t",""],["gid_t",""],["greg_t",""],["iconv_t",""],["id_t",""],["idtype_t",""],["in_addr_t",""],["in_port_t",""],["ino64_t",""],["ino_t",""],["int16_t",""],["int32_t",""],["int64_t",""],["int8_t",""],["intmax_t",""],["intptr_t",""],["key_t",""],["locale_t",""],["loff_t",""],["mode_t",""],["mqd_t",""],["msglen_t",""],["msgqnum_t",""],["name_t",""],["nfds_t",""],["nl_item",""],["nlink_t",""],["off64_t",""],["off_t",""],["pgn_t",""],["pid_t",""],["priority_t",""],["pthread_key_t",""],["pthread_spinlock_t",""],["pthread_t",""],["ptrdiff_t",""],["regoff_t",""],["rlim64_t",""],["rlim_t",""],["sa_family_t",""],["shmatt_t",""],["sighandler_t",""],["size_t",""],["socklen_t",""],["speed_t",""],["ssize_t",""],["suseconds_t",""],["tcflag_t",""],["time_t",""],["timer_t",""],["uid_t",""],["uint16_t",""],["uint32_t",""],["uint64_t",""],["uint8_t",""],["uintmax_t",""],["uintptr_t",""],["useconds_t",""],["wchar_t",""]],"union":[["__c_anonymous_ifr_ifru",""],["__c_anonymous_ptrace_syscall_info_data",""],["__c_anonymous_sockaddr_can_can_addr",""]]};/;" p class:window.SIDEBAR_ITEMS
|
||
type guessing_game/target/doc/ppv_lite86/x86_64/sidebar-items.js /^window.SIDEBAR_ITEMS = {"struct":[["Avx2Machine",""],["NoA1",""],["NoA2",""],["NoNI",""],["NoS3",""],["NoS4",""],["SseMachine",""],["YesA1",""],["YesA2",""],["YesNI",""],["YesS3",""],["YesS4",""]],"type":[["AVX","AVX but not AVX2: only 128-bit integer operations, but use VEX versions of everything to avoid expensive SSE\/VEX conflicts."],["AVX2",""],["SSE2",""],["SSE41",""],["SSSE3",""]],"union":[["vec128_storage","Generic wrapper for unparameterized storage of any of the possible impls. Converting into and out of this type should be essentially free, although it may be more aligned than a particular impl requires."],["vec256_storage",""],["vec512_storage",""]]};/;" p class:window.SIDEBAR_ITEMS
|
||
type guessing_game/target/doc/rand_chacha/sidebar-items.js /^window.SIDEBAR_ITEMS = {"struct":[["ChaCha12Core","ChaCha with 12 rounds"],["ChaCha12Rng","A cryptographically secure random number generator that uses the ChaCha algorithm."],["ChaCha20Core","ChaCha with 20 rounds"],["ChaCha20Rng","A cryptographically secure random number generator that uses the ChaCha algorithm."],["ChaCha8Core","ChaCha with 8 rounds"],["ChaCha8Rng","A cryptographically secure random number generator that uses the ChaCha algorithm."]],"type":[["ChaChaCore","ChaCha with 20 rounds, low-level interface"],["ChaChaRng","ChaCha with 20 rounds"]]};/;" p class:window.SIDEBAR_ITEMS
|
||
typeFilter guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" p class:const
|
||
typePassesFilter guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f function:execQuery
|
||
union guessing_game/target/doc/libc/sidebar-items.js /^window.SIDEBAR_ITEMS = {"constant":[["ABDAY_1",""],["ABDAY_2",""],["ABDAY_3",""],["ABDAY_4",""],["ABDAY_5",""],["ABDAY_6",""],["ABDAY_7",""],["ABMON_1",""],["ABMON_10",""],["ABMON_11",""],["ABMON_12",""],["ABMON_2",""],["ABMON_3",""],["ABMON_4",""],["ABMON_5",""],["ABMON_6",""],["ABMON_7",""],["ABMON_8",""],["ABMON_9",""],["ABS_CNT",""],["ABS_MAX",""],["ACCOUNTING",""],["ADDR_COMPAT_LAYOUT",""],["ADDR_LIMIT_32BIT",""],["ADDR_LIMIT_3GB",""],["ADDR_NO_RANDOMIZE",""],["ADFS_SUPER_MAGIC",""],["ADJ_ESTERROR",""],["ADJ_FREQUENCY",""],["ADJ_MAXERROR",""],["ADJ_MICRO",""],["ADJ_NANO",""],["ADJ_OFFSET",""],["ADJ_OFFSET_SINGLESHOT",""],["ADJ_OFFSET_SS_READ",""],["ADJ_SETOFFSET",""],["ADJ_STATUS",""],["ADJ_TAI",""],["ADJ_TICK",""],["ADJ_TIMECONST",""],["AFFS_SUPER_MAGIC",""],["AFS_SUPER_MAGIC",""],["AF_ALG",""],["AF_APPLETALK",""],["AF_ASH",""],["AF_ATMPVC",""],["AF_ATMSVC",""],["AF_AX25",""],["AF_BLUETOOTH",""],["AF_BRIDGE",""],["AF_CAIF",""],["AF_CAN",""],["AF_DECnet",""],["AF_ECONET",""],["AF_IB",""],["AF_IEEE802154",""],["AF_INET",""],["AF_INET6",""],["AF_IPX",""],["AF_IRDA",""],["AF_ISDN",""],["AF_IUCV",""],["AF_KEY",""],["AF_LLC",""],["AF_LOCAL",""],["AF_MPLS",""],["AF_NETBEUI",""],["AF_NETLINK",""],["AF_NETROM",""],["AF_NFC",""],["AF_PACKET",""],["AF_PHONET",""],["AF_PPPOX",""],["AF_RDS",""],["AF_ROSE",""],["AF_ROUTE",""],["AF_RXRPC",""],["AF_SECURITY",""],["AF_SNA",""],["AF_TIPC",""],["AF_UNIX",""],["AF_UNSPEC",""],["AF_VSOCK",""],["AF_WANPIPE",""],["AF_X25",""],["AF_XDP",""],["AIO_ALLDONE",""],["AIO_CANCELED",""],["AIO_NOTCANCELED",""],["AI_ADDRCONFIG",""],["AI_ALL",""],["AI_CANONNAME",""],["AI_NUMERICHOST",""],["AI_NUMERICSERV",""],["AI_PASSIVE",""],["AI_V4MAPPED",""],["ALG_OP_DECRYPT",""],["ALG_OP_ENCRYPT",""],["ALG_SET_AEAD_ASSOCLEN",""],["ALG_SET_AEAD_AUTHSIZE",""],["ALG_SET_IV",""],["ALG_SET_KEY",""],["ALG_SET_OP",""],["ALT_DIGITS",""],["AM_STR",""],["ARPD_FLUSH",""],["ARPD_LOOKUP",""],["ARPD_UPDATE",""],["ARPHRD_ADAPT",""],["ARPHRD_APPLETLK",""],["ARPHRD_ARCNET",""],["ARPHRD_ASH",""],["ARPHRD_ATM",""],["ARPHRD_AX25",""],["ARPHRD_BIF",""],["ARPHRD_CAN",""],["ARPHRD_CHAOS",""],["ARPHRD_CISCO",""],["ARPHRD_CSLIP",""],["ARPHRD_CSLIP6",""],["ARPHRD_DDCMP",""],["ARPHRD_DLCI",""],["ARPHRD_ECONET",""],["ARPHRD_EETHER",""],["ARPHRD_ETHER",""],["ARPHRD_EUI64",""],["ARPHRD_FCAL",""],["ARPHRD_FCFABRIC",""],["ARPHRD_FCPL",""],["ARPHRD_FCPP",""],["ARPHRD_FDDI",""],["ARPHRD_FRAD",""],["ARPHRD_HDLC",""],["ARPHRD_HIPPI",""],["ARPHRD_HWX25",""],["ARPHRD_IEEE1394",""],["ARPHRD_IEEE802",""],["ARPHRD_IEEE80211",""],["ARPHRD_IEEE80211_PRISM",""],["ARPHRD_IEEE80211_RADIOTAP",""],["ARPHRD_IEEE802154",""],["ARPHRD_IEEE802_TR",""],["ARPHRD_INFINIBAND",""],["ARPHRD_IPDDP",""],["ARPHRD_IPGRE",""],["ARPHRD_IRDA",""],["ARPHRD_LAPB",""],["ARPHRD_LOCALTLK",""],["ARPHRD_LOOPBACK",""],["ARPHRD_METRICOM",""],["ARPHRD_NETROM",""],["ARPHRD_NONE",""],["ARPHRD_PIMREG",""],["ARPHRD_PPP",""],["ARPHRD_PRONET",""],["ARPHRD_RAWHDLC",""],["ARPHRD_ROSE",""],["ARPHRD_RSRVD",""],["ARPHRD_SIT",""],["ARPHRD_SKIP",""],["ARPHRD_SLIP",""],["ARPHRD_SLIP6",""],["ARPHRD_TUNNEL",""],["ARPHRD_TUNNEL6",""],["ARPHRD_VOID",""],["ARPHRD_X25",""],["ARPOP_InREPLY",""],["ARPOP_InREQUEST",""],["ARPOP_NAK",""],["ARPOP_REPLY",""],["ARPOP_REQUEST",""],["ARPOP_RREPLY",""],["ARPOP_RREQUEST",""],["ATF_COM",""],["ATF_DONTPUB",""],["ATF_MAGIC",""],["ATF_NETMASK",""],["ATF_PERM",""],["ATF_PUBL",""],["ATF_USETRAILERS",""],["AT_BASE",""],["AT_BASE_PLATFORM",""],["AT_CLKTCK",""],["AT_EACCESS",""],["AT_EGID",""],["AT_EMPTY_PATH",""],["AT_ENTRY",""],["AT_EUID",""],["AT_EXECFD",""],["AT_EXECFN",""],["AT_FDCWD",""],["AT_FLAGS",""],["AT_GID",""],["AT_HWCAP",""],["AT_HWCAP2",""],["AT_IGNORE",""],["AT_NOTELF",""],["AT_NO_AUTOMOUNT",""],["AT_NULL",""],["AT_PAGESZ",""],["AT_PHDR",""],["AT_PHENT",""],["AT_PHNUM",""],["AT_PLATFORM",""],["AT_RANDOM",""],["AT_REMOVEDIR",""],["AT_SECURE",""],["AT_STATX_DONT_SYNC",""],["AT_STATX_FORCE_SYNC",""],["AT_STATX_SYNC_AS_STAT",""],["AT_STATX_SYNC_TYPE",""],["AT_SYMLINK_FOLLOW",""],["AT_SYMLINK_NOFOLLOW",""],["AT_SYSINFO_EHDR",""],["AT_UID",""],["AUTOFS_SUPER_MAGIC",""],["B0",""],["B1000000",""],["B110",""],["B115200",""],["B1152000",""],["B1200",""],["B134",""],["B150",""],["B1500000",""],["B1800",""],["B19200",""],["B200",""],["B2000000",""],["B230400",""],["B2400",""],["B2500000",""],["B300",""],["B3000000",""],["B3500000",""],["B38400",""],["B4000000",""],["B460800",""],["B4800",""],["B50",""],["B500000",""],["B57600",""],["B576000",""],["B600",""],["B75",""],["B921600",""],["B9600",""],["BINDERFS_SUPER_MAGIC",""],["BLKIOMIN",""],["BLKIOOPT",""],["BLKPBSZGET",""],["BLKSSZGET",""],["BOOT_TIME",""],["BOTHER",""],["BPF_ABS",""],["BPF_ADD",""],["BPF_ALU",""],["BPF_AND",""],["BPF_B",""],["BPF_DIV",""],["BPF_FS_MAGIC",""],["BPF_H",""],["BPF_IMM",""],["BPF_IND",""],["BPF_JA",""],["BPF_JEQ",""],["BPF_JGE",""],["BPF_JGT",""],["BPF_JMP",""],["BPF_JSET",""],["BPF_K",""],["BPF_LD",""],["BPF_LDX",""],["BPF_LEN",""],["BPF_LL_OFF",""],["BPF_LSH",""],["BPF_MAXINSNS",""],["BPF_MEM",""],["BPF_MEMWORDS",""],["BPF_MISC",""],["BPF_MOD",""],["BPF_MSH",""],["BPF_MUL",""],["BPF_NEG",""],["BPF_NET_OFF",""],["BPF_OR",""],["BPF_RET",""],["BPF_RSH",""],["BPF_ST",""],["BPF_STX",""],["BPF_SUB",""],["BPF_W",""],["BPF_X",""],["BPF_XOR",""],["BRKINT",""],["BS0",""],["BS1",""],["BSDLY",""],["BTRFS_SUPER_MAGIC",""],["BUFSIZ",""],["BUS_ADRALN",""],["BUS_ADRERR",""],["BUS_MCEERR_AO",""],["BUS_MCEERR_AR",""],["BUS_OBJERR",""],["CANFD_BRS",""],["CANFD_ESI",""],["CANFD_MAX_DLC",""],["CANFD_MAX_DLEN",""],["CANFD_MTU",""],["CAN_BCM",""],["CAN_EFF_FLAG",""],["CAN_EFF_ID_BITS",""],["CAN_EFF_MASK",""],["CAN_ERR_FLAG",""],["CAN_ERR_MASK",""],["CAN_INV_FILTER",""],["CAN_ISOTP",""],["CAN_J1939",""],["CAN_MAX_DLC",""],["CAN_MAX_DLEN",""],["CAN_MCNET",""],["CAN_MTU",""],["CAN_NPROTO",""],["CAN_RAW",""],["CAN_RAW_ERR_FILTER",""],["CAN_RAW_FD_FRAMES",""],["CAN_RAW_FILTER",""],["CAN_RAW_FILTER_MAX",""],["CAN_RAW_JOIN_FILTERS",""],["CAN_RAW_LOOPBACK",""],["CAN_RAW_RECV_OWN_MSGS",""],["CAN_RTR_FLAG",""],["CAN_SFF_ID_BITS",""],["CAN_SFF_MASK",""],["CAN_TP16",""],["CAN_TP20",""],["CBAUD",""],["CBAUDEX",""],["CGROUP2_SUPER_MAGIC",""],["CGROUP_SUPER_MAGIC",""],["CIBAUD",""],["CLD_CONTINUED",""],["CLD_DUMPED",""],["CLD_EXITED",""],["CLD_KILLED",""],["CLD_STOPPED",""],["CLD_TRAPPED",""],["CLOCAL",""],["CLOCK_BOOTTIME",""],["CLOCK_BOOTTIME_ALARM",""],["CLOCK_MONOTONIC",""],["CLOCK_MONOTONIC_COARSE",""],["CLOCK_MONOTONIC_RAW",""],["CLOCK_PROCESS_CPUTIME_ID",""],["CLOCK_REALTIME",""],["CLOCK_REALTIME_ALARM",""],["CLOCK_REALTIME_COARSE",""],["CLOCK_TAI",""],["CLOCK_THREAD_CPUTIME_ID",""],["CLONE_CHILD_CLEARTID",""],["CLONE_CHILD_SETTID",""],["CLONE_DETACHED",""],["CLONE_FILES",""],["CLONE_FS",""],["CLONE_IO",""],["CLONE_NEWCGROUP",""],["CLONE_NEWIPC",""],["CLONE_NEWNET",""],["CLONE_NEWNS",""],["CLONE_NEWPID",""],["CLONE_NEWUSER",""],["CLONE_NEWUTS",""],["CLONE_PARENT",""],["CLONE_PARENT_SETTID",""],["CLONE_PIDFD",""],["CLONE_PTRACE",""],["CLONE_SETTLS",""],["CLONE_SIGHAND",""],["CLONE_SYSVSEM",""],["CLONE_THREAD",""],["CLONE_UNTRACED",""],["CLONE_VFORK",""],["CLONE_VM",""],["CLOSE_RANGE_CLOEXEC",""],["CLOSE_RANGE_UNSHARE",""],["CMSPAR",""],["CODA_SUPER_MAGIC",""],["CODESET",""],["CPU_SETSIZE",""],["CR0",""],["CR1",""],["CR2",""],["CR3",""],["CRAMFS_MAGIC",""],["CRDLY",""],["CREAD",""],["CRNCYSTR",""],["CRTSCTS",""],["CS",""],["CS5",""],["CS6",""],["CS7",""],["CS8",""],["CSIZE",""],["CSTOPB",""],["CTRL_ATTR_FAMILY_ID",""],["CTRL_ATTR_FAMILY_NAME",""],["CTRL_ATTR_HDRSIZE",""],["CTRL_ATTR_MAXATTR",""],["CTRL_ATTR_MCAST_GROUPS",""],["CTRL_ATTR_MCAST_GRP_ID",""],["CTRL_ATTR_MCAST_GRP_NAME",""],["CTRL_ATTR_MCAST_GRP_UNSPEC",""],["CTRL_ATTR_OPS",""],["CTRL_ATTR_OP_FLAGS",""],["CTRL_ATTR_OP_ID",""],["CTRL_ATTR_OP_UNSPEC",""],["CTRL_ATTR_UNSPEC",""],["CTRL_ATTR_VERSION",""],["CTRL_CMD_DELFAMILY",""],["CTRL_CMD_DELMCAST_GRP",""],["CTRL_CMD_DELOPS",""],["CTRL_CMD_GETFAMILY",""],["CTRL_CMD_GETMCAST_GRP",""],["CTRL_CMD_GETOPS",""],["CTRL_CMD_NEWFAMILY",""],["CTRL_CMD_NEWMCAST_GRP",""],["CTRL_CMD_NEWOPS",""],["CTRL_CMD_UNSPEC",""],["DAY_1",""],["DAY_2",""],["DAY_3",""],["DAY_4",""],["DAY_5",""],["DAY_6",""],["DAY_7",""],["DCCP_SERVICE_LIST_MAX_LEN","maximum number of services provided on the same listening port"],["DCCP_SOCKOPT_AVAILABLE_CCIDS",""],["DCCP_SOCKOPT_CCID",""],["DCCP_SOCKOPT_CCID_RX_INFO",""],["DCCP_SOCKOPT_CCID_TX_INFO",""],["DCCP_SOCKOPT_CHANGE_L",""],["DCCP_SOCKOPT_CHANGE_R",""],["DCCP_SOCKOPT_GET_CUR_MPS",""],["DCCP_SOCKOPT_PACKET_SIZE",""],["DCCP_SOCKOPT_QPOLICY_ID",""],["DCCP_SOCKOPT_QPOLICY_TXQLEN",""],["DCCP_SOCKOPT_RECV_CSCOV",""],["DCCP_SOCKOPT_RX_CCID",""],["DCCP_SOCKOPT_SEND_CSCOV",""],["DCCP_SOCKOPT_SERVER_TIMEWAIT",""],["DCCP_SOCKOPT_SERVICE",""],["DCCP_SOCKOPT_TX_CCID",""],["DEAD_PROCESS",""],["DEBUGFS_MAGIC",""],["DEVPTS_SUPER_MAGIC",""],["DS",""],["DT_BLK",""],["DT_CHR",""],["DT_DIR",""],["DT_FIFO",""],["DT_LNK",""],["DT_REG",""],["DT_SOCK",""],["DT_UNKNOWN",""],["D_FMT",""],["D_T_FMT",""],["E2BIG",""],["EACCES",""],["EADDRINUSE",""],["EADDRNOTAVAIL",""],["EADV",""],["EAFNOSUPPORT",""],["EAGAIN",""],["EAI_AGAIN",""],["EAI_BADFLAGS",""],["EAI_FAIL",""],["EAI_FAMILY",""],["EAI_MEMORY",""],["EAI_NODATA",""],["EAI_NONAME",""],["EAI_OVERFLOW",""],["EAI_SERVICE",""],["EAI_SOCKTYPE",""],["EAI_SYSTEM",""],["EALREADY",""],["EBADE",""],["EBADF",""],["EBADFD",""],["EBADMSG",""],["EBADR",""],["EBADRQC",""],["EBADSLT",""],["EBFONT",""],["EBUSY",""],["ECANCELED",""],["ECHILD",""],["ECHO",""],["ECHOCTL",""],["ECHOE",""],["ECHOK",""],["ECHOKE",""],["ECHONL",""],["ECHOPRT",""],["ECHRNG",""],["ECOMM",""],["ECONNABORTED",""],["ECONNREFUSED",""],["ECONNRESET",""],["ECRYPTFS_SUPER_MAGIC",""],["EDEADLK",""],["EDEADLOCK",""],["EDESTADDRREQ",""],["EDOM",""],["EDOTDOT",""],["EDQUOT",""],["EEXIST",""],["EFAULT",""],["EFBIG",""],["EFD_CLOEXEC",""],["EFD_NONBLOCK",""],["EFD_SEMAPHORE",""],["EFLAGS",""],["EFS_SUPER_MAGIC",""],["EHOSTDOWN",""],["EHOSTUNREACH",""],["EHWPOISON",""],["EIDRM",""],["EILSEQ",""],["EINPROGRESS",""],["EINTR",""],["EINVAL",""],["EIO",""],["EISCONN",""],["EISDIR",""],["EISNAM",""],["EI_ABIVERSION",""],["EI_CLASS",""],["EI_DATA",""],["EI_MAG0",""],["EI_MAG1",""],["EI_MAG2",""],["EI_MAG3",""],["EI_NIDENT",""],["EI_OSABI",""],["EI_PAD",""],["EI_VERSION",""],["EKEYEXPIRED",""],["EKEYREJECTED",""],["EKEYREVOKED",""],["EL2HLT",""],["EL2NSYNC",""],["EL3HLT",""],["EL3RST",""],["ELFCLASS32",""],["ELFCLASS64",""],["ELFCLASSNONE",""],["ELFCLASSNUM",""],["ELFDATA2LSB",""],["ELFDATA2MSB",""],["ELFDATANONE",""],["ELFDATANUM",""],["ELFMAG0",""],["ELFMAG1",""],["ELFMAG2",""],["ELFMAG3",""],["ELFOSABI_AIX",""],["ELFOSABI_ARM",""],["ELFOSABI_ARM_AEABI",""],["ELFOSABI_FREEBSD",""],["ELFOSABI_GNU",""],["ELFOSABI_HPUX",""],["ELFOSABI_IRIX",""],["ELFOSABI_LINUX",""],["ELFOSABI_MODESTO",""],["ELFOSABI_NETBSD",""],["ELFOSABI_NONE",""],["ELFOSABI_OPENBSD",""],["ELFOSABI_SOLARIS",""],["ELFOSABI_STANDALONE",""],["ELFOSABI_SYSV",""],["ELFOSABI_TRU64",""],["ELIBACC",""],["ELIBBAD",""],["ELIBEXEC",""],["ELIBMAX",""],["ELIBSCN",""],["ELNRNG",""],["ELOOP",""],["EMEDIUMTYPE",""],["EMFILE",""],["EMLINK",""],["EMPTY",""],["EMSGSIZE",""],["EMULTIHOP",""],["EM_386",""],["EM_68HC05",""],["EM_68HC08",""],["EM_68HC11",""],["EM_68HC12",""],["EM_68HC16",""],["EM_68K",""],["EM_860",""],["EM_88K",""],["EM_960",""],["EM_AARCH64",""],["EM_ALPHA",""],["EM_ARC",""],["EM_ARC_A5",""],["EM_ARM",""],["EM_AVR",""],["EM_COLDFIRE",""],["EM_CRIS",""],["EM_D10V",""],["EM_D30V",""],["EM_FAKE_ALPHA",""],["EM_FIREPATH",""],["EM_FR20",""],["EM_FR30",""],["EM_FX66",""],["EM_H8S",""],["EM_H8_300",""],["EM_H8_300H",""],["EM_H8_500",""],["EM_HUANY",""],["EM_IA_64",""],["EM_JAVELIN",""],["EM_M32",""],["EM_M32R",""],["EM_ME16",""],["EM_MIPS",""],["EM_MIPS_RS3_LE",""],["EM_MIPS_X",""],["EM_MMA",""],["EM_MMIX",""],["EM_MN10200",""],["EM_MN10300",""],["EM_NCPU",""],["EM_NDR1",""],["EM_NONE",""],["EM_OPENRISC",""],["EM_PARISC",""],["EM_PCP",""],["EM_PDSP",""],["EM_PJ",""],["EM_PPC",""],["EM_PPC64",""],["EM_PRISM",""],["EM_RCE",""],["EM_RH32",""],["EM_S370",""],["EM_S390",""],["EM_SH",""],["EM_SPARC",""],["EM_SPARC32PLUS",""],["EM_SPARCV9",""],["EM_ST100",""],["EM_ST19",""],["EM_ST7",""],["EM_ST9PLUS",""],["EM_STARCORE",""],["EM_SVX",""],["EM_TILEGX",""],["EM_TILEPRO",""],["EM_TINYJ",""],["EM_TRICORE",""],["EM_V800",""],["EM_V850",""],["EM_VAX",""],["EM_VPP500",""],["EM_X86_64",""],["EM_XTENSA",""],["EM_ZSP",""],["ENAMETOOLONG",""],["ENAVAIL",""],["ENETDOWN",""],["ENETRESET",""],["ENETUNREACH",""],["ENFILE",""],["ENOANO",""],["ENOATTR",""],["ENOBUFS",""],["ENOCSI",""],["ENODATA",""],["ENODEV",""],["ENOENT",""],["ENOEXEC",""],["ENOKEY",""],["ENOLCK",""],["ENOLINK",""],["ENOMEDIUM",""],["ENOMEM",""],["ENOMSG",""],["ENONET",""],["ENOPKG",""],["ENOPROTOOPT",""],["ENOSPC",""],["ENOSR",""],["ENOSTR",""],["ENOSYS",""],["ENOTBLK",""],["ENOTCONN",""],["ENOTDIR",""],["ENOTEMPTY",""],["ENOTNAM",""],["ENOTRECOVERABLE",""],["ENOTSOCK",""],["ENOTSUP",""],["ENOTTY",""],["ENOTUNIQ",""],["ENXIO",""],["EOF",""],["EOPNOTSUPP",""],["EOVERFLOW",""],["EOWNERDEAD",""],["EPERM",""],["EPFNOSUPPORT",""],["EPIPE",""],["EPOLLERR",""],["EPOLLET",""],["EPOLLEXCLUSIVE",""],["EPOLLHUP",""],["EPOLLIN",""],["EPOLLMSG",""],["EPOLLONESHOT",""],["EPOLLOUT",""],["EPOLLPRI",""],["EPOLLRDBAND",""],["EPOLLRDHUP",""],["EPOLLRDNORM",""],["EPOLLWAKEUP",""],["EPOLLWRBAND",""],["EPOLLWRNORM",""],["EPOLL_CLOEXEC",""],["EPOLL_CTL_ADD",""],["EPOLL_CTL_DEL",""],["EPOLL_CTL_MOD",""],["EPROTO",""],["EPROTONOSUPPORT",""],["EPROTOTYPE",""],["ERA",""],["ERANGE",""],["ERA_D_FMT",""],["ERA_D_T_FMT",""],["ERA_T_FMT",""],["EREMCHG",""],["EREMOTE",""],["EREMOTEIO",""],["ERESTART",""],["ERFKILL",""],["EROFS",""],["ES",""],["ESHUTDOWN",""],["ESOCKTNOSUPPORT",""],["ESPIPE",""],["ESRCH",""],["ESRMNT",""],["ESTALE",""],["ESTRPIPE",""],["ETH_ALEN",""],["ETH_DATA_LEN",""],["ETH_FCS_LEN",""],["ETH_FRAME_LEN",""],["ETH_HLEN",""],["ETH_P_1588",""],["ETH_P_8021AD",""],["ETH_P_8021AH",""],["ETH_P_8021Q",""],["ETH_P_80221",""],["ETH_P_802_2",""],["ETH_P_802_3",""],["ETH_P_802_3_MIN",""],["ETH_P_802_EX1",""],["ETH_P_AARP",""],["ETH_P_AF_IUCV",""],["ETH_P_ALL",""],["ETH_P_AOE",""],["ETH_P_ARCNET",""],["ETH_P_ARP",""],["ETH_P_ATALK",""],["ETH_P_ATMFATE",""],["ETH_P_ATMMPOA",""],["ETH_P_AX25",""],["ETH_P_BATMAN",""],["ETH_P_BPQ",""],["ETH_P_CAIF",""],["ETH_P_CANFD",""],["ETH_P_CONTROL",""],["ETH_P_CUST",""],["ETH_P_DDCMP",""],["ETH_P_DEC",""],["ETH_P_DIAG",""],["ETH_P_DNA_DL",""],["ETH_P_DNA_RC",""],["ETH_P_DNA_RT",""],["ETH_P_DSA",""],["ETH_P_ECONET",""],["ETH_P_EDSA",""],["ETH_P_FCOE",""],["ETH_P_FIP",""],["ETH_P_HDLC",""],["ETH_P_IEEE802154",""],["ETH_P_IEEEPUP",""],["ETH_P_IEEEPUPAT",""],["ETH_P_IP",""],["ETH_P_IPV6",""],["ETH_P_IPX",""],["ETH_P_IRDA",""],["ETH_P_LAT",""],["ETH_P_LINK_CTL",""],["ETH_P_LOCALTALK",""],["ETH_P_LOOP",""],["ETH_P_LOOPBACK",""],["ETH_P_MACSEC",""],["ETH_P_MOBITEX",""],["ETH_P_MPLS_MC",""],["ETH_P_MPLS_UC",""],["ETH_P_MVRP",""],["ETH_P_PAE",""],["ETH_P_PAUSE",""],["ETH_P_PHONET",""],["ETH_P_PPPTALK",""],["ETH_P_PPP_DISC",""],["ETH_P_PPP_MP",""],["ETH_P_PPP_SES",""],["ETH_P_PRP",""],["ETH_P_PUP",""],["ETH_P_PUPAT",""],["ETH_P_QINQ1",""],["ETH_P_QINQ2",""],["ETH_P_QINQ3",""],["ETH_P_RARP",""],["ETH_P_SCA",""],["ETH_P_SLOW",""],["ETH_P_SNAP",""],["ETH_P_TDLS",""],["ETH_P_TEB",""],["ETH_P_TIPC",""],["ETH_P_TRAILER",""],["ETH_P_TR_802_2",""],["ETH_P_WAN_PPP",""],["ETH_P_WCCP",""],["ETH_P_X25",""],["ETH_ZLEN",""],["ETIME",""],["ETIMEDOUT",""],["ETOOMANYREFS",""],["ETXTBSY",""],["ET_CORE",""],["ET_DYN",""],["ET_EXEC",""],["ET_HIOS",""],["ET_HIPROC",""],["ET_LOOS",""],["ET_LOPROC",""],["ET_NONE",""],["ET_NUM",""],["ET_REL",""],["EUCLEAN",""],["EUNATCH",""],["EUSERS",""],["EV_CNT",""],["EV_CURRENT",""],["EV_MAX",""],["EV_NONE",""],["EV_NUM",""],["EWOULDBLOCK",""],["EXDEV",""],["EXFULL",""],["EXIT_FAILURE",""],["EXIT_SUCCESS",""],["EXT2_SUPER_MAGIC",""],["EXT3_SUPER_MAGIC",""],["EXT4_SUPER_MAGIC",""],["EXTA",""],["EXTB",""],["EXTPROC",""],["F2FS_SUPER_MAGIC",""],["FALLOC_FL_COLLAPSE_RANGE",""],["FALLOC_FL_INSERT_RANGE",""],["FALLOC_FL_KEEP_SIZE",""],["FALLOC_FL_PUNCH_HOLE",""],["FALLOC_FL_UNSHARE_RANGE",""],["FALLOC_FL_ZERO_RANGE",""],["FANOTIFY_METADATA_VERSION",""],["FAN_ACCESS",""],["FAN_ACCESS_PERM",""],["FAN_ALLOW",""],["FAN_CLASS_CONTENT",""],["FAN_CLASS_NOTIF",""],["FAN_CLASS_PRE_CONTENT",""],["FAN_CLOEXEC",""],["FAN_CLOSE",""],["FAN_CLOSE_NOWRITE",""],["FAN_CLOSE_WRITE",""],["FAN_DENY",""],["FAN_EVENT_ON_CHILD",""],["FAN_MARK_ADD",""],["FAN_MARK_DONT_FOLLOW",""],["FAN_MARK_FILESYSTEM",""],["FAN_MARK_FLUSH",""],["FAN_MARK_IGNORED_MASK",""],["FAN_MARK_IGNORED_SURV_MODIFY",""],["FAN_MARK_INODE",""],["FAN_MARK_MOUNT",""],["FAN_MARK_ONLYDIR",""],["FAN_MARK_REMOVE",""],["FAN_MODIFY",""],["FAN_NOFD",""],["FAN_NONBLOCK",""],["FAN_ONDIR",""],["FAN_OPEN",""],["FAN_OPEN_PERM",""],["FAN_Q_OVERFLOW",""],["FAN_UNLIMITED_MARKS",""],["FAN_UNLIMITED_QUEUE",""],["FDPIC_FUNCPTRS",""],["FD_CLOEXEC",""],["FD_SETSIZE",""],["FF0",""],["FF1",""],["FFDLY",""],["FF_CNT",""],["FF_MAX",""],["FICLONE",""],["FICLONERANGE",""],["FILENAME_MAX",""],["FIOASYNC",""],["FIOCLEX",""],["FIONBIO",""],["FIONCLEX",""],["FIONREAD",""],["FIOQSIZE",""],["FLUSHO",""],["FOPEN_MAX",""],["FS",""],["FS_BASE",""],["FUSE_SUPER_MAGIC",""],["FUTEXFS_SUPER_MAGIC",""],["FUTEX_CLOCK_REALTIME",""],["FUTEX_CMD_MASK",""],["FUTEX_CMP_REQUEUE",""],["FUTEX_CMP_REQUEUE_PI",""],["FUTEX_FD",""],["FUTEX_LOCK_PI",""],["FUTEX_LOCK_PI2",""],["FUTEX_PRIVATE_FLAG",""],["FUTEX_REQUEUE",""],["FUTEX_TRYLOCK_PI",""],["FUTEX_UNLOCK_PI",""],["FUTEX_WAIT",""],["FUTEX_WAIT_BITSET",""],["FUTEX_WAIT_REQUEUE_PI",""],["FUTEX_WAKE",""],["FUTEX_WAKE_BITSET",""],["FUTEX_WAKE_OP",""],["F_ADD_SEALS",""],["F_CANCELLK",""],["F_DUPFD",""],["F_DUPFD_CLOEXEC",""],["F_GETFD",""],["F_GETFL",""],["F_GETLEASE",""],["F_GETLK",""],["F_GETOWN",""],["F_GETPIPE_SZ",""],["F_GET_SEALS",""],["F_LOCK",""],["F_NOTIFY",""],["F_OFD_GETLK",""],["F_OFD_SETLK",""],["F_OFD_SETLKW",""],["F_OK",""],["F_RDLCK",""],["F_SEAL_FUTURE_WRITE",""],["F_SEAL_GROW",""],["F_SEAL_SEAL",""],["F_SEAL_SHRINK",""],["F_SEAL_WRITE",""],["F_SETFD",""],["F_SETFL",""],["F_SETLEASE",""],["F_SETLK",""],["F_SETLKW",""],["F_SETOWN",""],["F_SETPIPE_SZ",""],["F_TEST",""],["F_TLOCK",""],["F_ULOCK",""],["F_UNLCK",""],["F_WRLCK",""],["GENL_ADMIN_PERM",""],["GENL_CMD_CAP_DO",""],["GENL_CMD_CAP_DUMP",""],["GENL_CMD_CAP_HASPOL",""],["GENL_ID_CTRL",""],["GENL_ID_PMCRAID",""],["GENL_ID_VFS_DQUOT",""],["GENL_MAX_ID",""],["GENL_MIN_ID",""],["GENL_NAMSIZ",""],["GENL_UNS_ADMIN_PERM",""],["GLOB_ABORTED",""],["GLOB_APPEND",""],["GLOB_DOOFFS",""],["GLOB_ERR",""],["GLOB_MARK",""],["GLOB_NOCHECK",""],["GLOB_NOESCAPE",""],["GLOB_NOMATCH",""],["GLOB_NOSORT",""],["GLOB_NOSPACE",""],["GRND_INSECURE",""],["GRND_NONBLOCK",""],["GRND_RANDOM",""],["GRPQUOTA",""],["GS",""],["GS_BASE",""],["HOSTFS_SUPER_MAGIC",""],["HPFS_SUPER_MAGIC",""],["HUGETLBFS_MAGIC",""],["HUGETLB_FLAG_ENCODE_16GB",""],["HUGETLB_FLAG_ENCODE_16MB",""],["HUGETLB_FLAG_ENCODE_1GB",""],["HUGETLB_FLAG_ENCODE_1MB",""],["HUGETLB_FLAG_ENCODE_256MB",""],["HUGETLB_FLAG_ENCODE_2GB",""],["HUGETLB_FLAG_ENCODE_2MB",""],["HUGETLB_FLAG_ENCODE_32MB",""],["HUGETLB_FLAG_ENCODE_512KB",""],["HUGETLB_FLAG_ENCODE_512MB",""],["HUGETLB_FLAG_ENCODE_64KB",""],["HUGETLB_FLAG_ENCODE_8MB",""],["HUGETLB_FLAG_ENCODE_MASK",""],["HUGETLB_FLAG_ENCODE_SHIFT",""],["HUPCL",""],["IBSHIFT",""],["ICANON",""],["ICRNL",""],["IEXTEN",""],["IFA_ADDRESS",""],["IFA_ANYCAST",""],["IFA_BROADCAST",""],["IFA_CACHEINFO",""],["IFA_FLAGS",""],["IFA_F_DADFAILED",""],["IFA_F_DEPRECATED",""],["IFA_F_HOMEADDRESS",""],["IFA_F_MANAGETEMPADDR",""],["IFA_F_MCAUTOJOIN",""],["IFA_F_NODAD",""],["IFA_F_NOPREFIXROUTE",""],["IFA_F_OPTIMISTIC",""],["IFA_F_PERMANENT",""],["IFA_F_SECONDARY",""],["IFA_F_STABLE_PRIVACY",""],["IFA_F_TEMPORARY",""],["IFA_F_TENTATIVE",""],["IFA_LABEL",""],["IFA_LOCAL",""],["IFA_MULTICAST",""],["IFA_UNSPEC",""],["IFF_ALLMULTI",""],["IFF_ATTACH_QUEUE",""],["IFF_AUTOMEDIA",""],["IFF_BROADCAST",""],["IFF_DEBUG",""],["IFF_DETACH_QUEUE",""],["IFF_DORMANT",""],["IFF_DYNAMIC",""],["IFF_ECHO",""],["IFF_LOOPBACK",""],["IFF_LOWER_UP",""],["IFF_MASTER",""],["IFF_MULTICAST",""],["IFF_MULTI_QUEUE",""],["IFF_NOARP",""],["IFF_NOFILTER",""],["IFF_NOTRAILERS",""],["IFF_NO_PI",""],["IFF_ONE_QUEUE",""],["IFF_PERSIST",""],["IFF_POINTOPOINT",""],["IFF_PORTSEL",""],["IFF_PROMISC",""],["IFF_RUNNING",""],["IFF_SLAVE",""],["IFF_TAP",""],["IFF_TUN",""],["IFF_TUN_EXCL",""],["IFF_UP",""],["IFF_VNET_HDR",""],["IFLA_ADDRESS",""],["IFLA_AF_SPEC",""],["IFLA_ALT_IFNAME",""],["IFLA_BROADCAST",""],["IFLA_CARRIER",""],["IFLA_CARRIER_CHANGES",""],["IFLA_CARRIER_DOWN_COUNT",""],["IFLA_CARRIER_UP_COUNT",""],["IFLA_COST",""],["IFLA_EVENT",""],["IFLA_EXT_MASK",""],["IFLA_GROUP",""],["IFLA_GSO_MAX_SEGS",""],["IFLA_GSO_MAX_SIZE",""],["IFLA_IFALIAS",""],["IFLA_IFNAME",""],["IFLA_IF_NETNSID",""],["IFLA_INFO_DATA",""],["IFLA_INFO_KIND",""],["IFLA_INFO_SLAVE_DATA",""],["IFLA_INFO_SLAVE_KIND",""],["IFLA_INFO_UNSPEC",""],["IFLA_INFO_XSTATS",""],["IFLA_LINK",""],["IFLA_LINKINFO",""],["IFLA_LINKMODE",""],["IFLA_LINK_NETNSID",""],["IFLA_MAP",""],["IFLA_MASTER",""],["IFLA_MAX_MTU",""],["IFLA_MIN_MTU",""],["IFLA_MTU",""],["IFLA_NET_NS_FD",""],["IFLA_NET_NS_PID",""],["IFLA_NEW_IFINDEX",""],["IFLA_NEW_NETNSID",""],["IFLA_NUM_RX_QUEUES",""],["IFLA_NUM_TX_QUEUES",""],["IFLA_NUM_VF",""],["IFLA_OPERSTATE",""],["IFLA_PAD",""],["IFLA_PERM_ADDRESS",""],["IFLA_PHYS_PORT_ID",""],["IFLA_PHYS_PORT_NAME",""],["IFLA_PHYS_SWITCH_ID",""],["IFLA_PORT_SELF",""],["IFLA_PRIORITY",""],["IFLA_PROMISCUITY",""],["IFLA_PROP_LIST",""],["IFLA_PROTINFO",""],["IFLA_PROTO_DOWN",""],["IFLA_PROTO_DOWN_REASON",""],["IFLA_QDISC",""],["IFLA_STATS",""],["IFLA_STATS64",""],["IFLA_TARGET_NETNSID",""],["IFLA_TXQLEN",""],["IFLA_UNSPEC",""],["IFLA_VFINFO_LIST",""],["IFLA_VF_PORTS",""],["IFLA_WEIGHT",""],["IFLA_WIRELESS",""],["IFLA_XDP",""],["IFNAMSIZ",""],["IF_NAMESIZE",""],["IGNBRK",""],["IGNCR",""],["IGNPAR",""],["IMAXBEL",""],["INADDR_ANY",""],["INADDR_BROADCAST",""],["INADDR_LOOPBACK",""],["INADDR_NONE",""],["INIT_PROCESS",""],["INLCR",""],["INPCK",""],["INPUT_PROP_CNT",""],["INPUT_PROP_MAX",""],["INT_MAX",""],["INT_MIN",""],["IN_ACCESS",""],["IN_ALL_EVENTS",""],["IN_ATTRIB",""],["IN_CLOEXEC",""],["IN_CLOSE",""],["IN_CLOSE_NOWRITE",""],["IN_CLOSE_WRITE",""],["IN_CREATE",""],["IN_DELETE",""],["IN_DELETE_SELF",""],["IN_DONT_FOLLOW",""],["IN_EXCL_UNLINK",""],["IN_IGNORED",""],["IN_ISDIR",""],["IN_MASK_ADD",""],["IN_MASK_CREATE",""],["IN_MODIFY",""],["IN_MOVE",""],["IN_MOVED_FROM",""],["IN_MOVED_TO",""],["IN_MOVE_SELF",""],["IN_NONBLOCK",""],["IN_ONESHOT",""],["IN_ONLYDIR",""],["IN_OPEN",""],["IN_Q_OVERFLOW",""],["IN_UNMOUNT",""],["IP6T_SO_ORIGINAL_DST",""],["IPC_CREAT",""],["IPC_EXCL",""],["IPC_INFO",""],["IPC_NOWAIT",""],["IPC_PRIVATE",""],["IPC_RMID",""],["IPC_SET",""],["IPC_STAT",""],["IPDEFTTL",""],["IPOPT_CLASS_MASK",""],["IPOPT_CONTROL",""],["IPOPT_COPY",""],["IPOPT_END",""],["IPOPT_EOL",""],["IPOPT_LSRR",""],["IPOPT_MEASUREMENT",""],["IPOPT_MINOFF",""],["IPOPT_NOOP",""],["IPOPT_NOP",""],["IPOPT_NUMBER_MASK",""],["IPOPT_OFFSET",""],["IPOPT_OLEN",""],["IPOPT_OPTVAL",""],["IPOPT_RA",""],["IPOPT_RESERVED1",""],["IPOPT_RESERVED2",""],["IPOPT_RR",""],["IPOPT_SEC",""],["IPOPT_SID",""],["IPOPT_SSRR",""],["IPOPT_TIMESTAMP",""],["IPOPT_TS",""],["IPOPT_TS_PRESPEC",""],["IPOPT_TS_TSANDADDR",""],["IPOPT_TS_TSONLY",""],["IPPROTO_AH","IP6 Auth Header"],["IPPROTO_BEETPH",""],["IPPROTO_COMP","IP Payload Comp. Protocol"],["IPPROTO_DCCP","DCCP"],["IPPROTO_DSTOPTS","IP6 destination option"],["IPPROTO_EGP","exterior gateway protocol"],["IPPROTO_ENCAP","encapsulation header"],["IPPROTO_ESP","IP6 Encap Sec. Payload"],["IPPROTO_FRAGMENT","IP6 fragmentation header"],["IPPROTO_GRE","General Routing Encap."],["IPPROTO_HOPOPTS","Hop-by-hop option header"],["IPPROTO_ICMP",""],["IPPROTO_ICMPV6",""],["IPPROTO_IDP","xns idp"],["IPPROTO_IGMP","group mgmt protocol"],["IPPROTO_IP",""],["IPPROTO_IPIP","for compatibility"],["IPPROTO_IPV6",""],["IPPROTO_MAX",""],["IPPROTO_MH",""],["IPPROTO_MPLS",""],["IPPROTO_MPTCP","Multipath TCP"],["IPPROTO_MTP",""],["IPPROTO_NONE","IP6 no next header"],["IPPROTO_PIM","Protocol indep. multicast"],["IPPROTO_PUP","pup"],["IPPROTO_RAW","raw IP packet"],["IPPROTO_ROUTING","IP6 routing header"],["IPPROTO_RSVP","resource reservation"],["IPPROTO_SCTP","SCTP"],["IPPROTO_TCP",""],["IPPROTO_TP","tp-4 w\/ class negotiation"],["IPPROTO_UDP",""],["IPPROTO_UDPLITE",""],["IPTOS_ECN_CE",""],["IPTOS_ECN_ECT0",""],["IPTOS_ECN_ECT1",""],["IPTOS_ECN_MASK",""],["IPTOS_ECN_NOT_ECT",""],["IPTOS_LOWDELAY",""],["IPTOS_MINCOST",""],["IPTOS_PREC_CRITIC_ECP",""],["IPTOS_PREC_FLASH",""],["IPTOS_PREC_FLASHOVERRIDE",""],["IPTOS_PREC_IMMEDIATE",""],["IPTOS_PREC_INTERNETCONTROL",""],["IPTOS_PREC_MASK",""],["IPTOS_PREC_NETCONTROL",""],["IPTOS_PREC_PRIORITY",""],["IPTOS_PREC_ROUTINE",""],["IPTOS_RELIABILITY",""],["IPTOS_THROUGHPUT",""],["IPTOS_TOS_MASK",""],["IPV6_2292DSTOPTS",""],["IPV6_2292HOPLIMIT",""],["IPV6_2292HOPOPTS",""],["IPV6_2292PKTINFO",""],["IPV6_2292PKTOPTIONS",""],["IPV6_2292RTHDR",""],["IPV6_ADDRFORM",""],["IPV6_ADDR_PREFERENCES",""],["IPV6_ADD_MEMBERSHIP",""],["IPV6_AUTHHDR",""],["IPV6_AUTOFLOWLABEL",""],["IPV6_CHECKSUM",""],["IPV6_DONTFRAG",""],["IPV6_DROP_MEMBERSHIP",""],["IPV6_DSTOPTS",""],["IPV6_FLOWINFO",""],["IPV6_FLOWINFO_FLOWLABEL",""],["IPV6_FLOWINFO_PRIORITY",""],["IPV6_FLOWINFO_SEND",""],["IPV6_FLOWLABEL_MGR",""],["IPV6_FREEBIND",""],["IPV6_HDRINCL",""],["IPV6_HOPLIMIT",""],["IPV6_HOPOPTS",""],["IPV6_IPSEC_POLICY",""],["IPV6_JOIN_ANYCAST",""],["IPV6_LEAVE_ANYCAST",""],["IPV6_MINHOPCOUNT",""],["IPV6_MTU",""],["IPV6_MTU_DISCOVER",""],["IPV6_MULTICAST_ALL",""],["IPV6_MULTICAST_HOPS",""],["IPV6_MULTICAST_IF",""],["IPV6_MULTICAST_LOOP",""],["IPV6_NEXTHOP",""],["IPV6_ORIGDSTADDR",""],["IPV6_PATHMTU",""],["IPV6_PKTINFO",""],["IPV6_PMTUDISC_DO",""],["IPV6_PMTUDISC_DONT",""],["IPV6_PMTUDISC_INTERFACE",""],["IPV6_PMTUDISC_OMIT",""],["IPV6_PMTUDISC_PROBE",""],["IPV6_PMTUDISC_WANT",""],["IPV6_PREFER_SRC_CGA",""],["IPV6_PREFER_SRC_COA",""],["IPV6_PREFER_SRC_HOME",""],["IPV6_PREFER_SRC_NONCGA",""],["IPV6_PREFER_SRC_PUBLIC",""],["IPV6_PREFER_SRC_PUBTMP_DEFAULT",""],["IPV6_PREFER_SRC_TMP",""],["IPV6_RECVDSTOPTS",""],["IPV6_RECVERR",""],["IPV6_RECVFRAGSIZE",""],["IPV6_RECVHOPLIMIT",""],["IPV6_RECVHOPOPTS",""],["IPV6_RECVORIGDSTADDR",""],["IPV6_RECVPATHMTU",""],["IPV6_RECVPKTINFO",""],["IPV6_RECVRTHDR",""],["IPV6_RECVTCLASS",""],["IPV6_ROUTER_ALERT",""],["IPV6_ROUTER_ALERT_ISOLATE",""],["IPV6_RTHDR",""],["IPV6_RTHDRDSTOPTS",""],["IPV6_RTHDR_LOOSE",""],["IPV6_RTHDR_STRICT",""],["IPV6_TCLASS",""],["IPV6_TRANSPARENT",""],["IPV6_UNICAST_HOPS",""],["IPV6_UNICAST_IF",""],["IPV6_V6ONLY",""],["IPV6_XFRM_POLICY",""],["IPVERSION",""],["IP_ADD_MEMBERSHIP",""],["IP_ADD_SOURCE_MEMBERSHIP",""],["IP_BIND_ADDRESS_NO_PORT",""],["IP_BLOCK_SOURCE",""],["IP_CHECKSUM",""],["IP_DEFAULT_MULTICAST_LOOP",""],["IP_DEFAULT_MULTICAST_TTL",""],["IP_DROP_MEMBERSHIP",""],["IP_DROP_SOURCE_MEMBERSHIP",""],["IP_FREEBIND",""],["IP_HDRINCL",""],["IP_IPSEC_POLICY",""],["IP_MINTTL",""],["IP_MSFILTER",""],["IP_MTU",""],["IP_MTU_DISCOVER",""],["IP_MULTICAST_ALL",""],["IP_MULTICAST_IF",""],["IP_MULTICAST_LOOP",""],["IP_MULTICAST_TTL",""],["IP_NODEFRAG",""],["IP_OPTIONS",""],["IP_ORIGDSTADDR",""],["IP_PASSSEC",""],["IP_PKTINFO",""],["IP_PKTOPTIONS",""],["IP_PMTUDISC_DO",""],["IP_PMTUDISC_DONT",""],["IP_PMTUDISC_INTERFACE",""],["IP_PMTUDISC_OMIT",""],["IP_PMTUDISC_PROBE",""],["IP_PMTUDISC_WANT",""],["IP_RECVERR",""],["IP_RECVFRAGSIZE",""],["IP_RECVOPTS",""],["IP_RECVORIGDSTADDR",""],["IP_RECVTOS",""],["IP_RECVTTL",""],["IP_RETOPTS",""],["IP_ROUTER_ALERT",""],["IP_TOS",""],["IP_TRANSPARENT",""],["IP_TTL",""],["IP_UNBLOCK_SOURCE",""],["IP_UNICAST_IF",""],["IP_XFRM_POLICY",""],["ISIG",""],["ISOFS_SUPER_MAGIC",""],["ISTRIP",""],["ITIMER_PROF",""],["ITIMER_REAL",""],["ITIMER_VIRTUAL",""],["IUTF8",""],["IXANY",""],["IXOFF",""],["IXON",""],["J1939_EE_INFO_NONE",""],["J1939_EE_INFO_RX_ABORT",""],["J1939_EE_INFO_RX_DPO",""],["J1939_EE_INFO_RX_RTS",""],["J1939_EE_INFO_TX_ABORT",""],["J1939_FILTER_MAX",""],["J1939_IDLE_ADDR",""],["J1939_MAX_UNICAST_ADDR",""],["J1939_NLA_BYTES_ACKED",""],["J1939_NLA_DEST_ADDR",""],["J1939_NLA_DEST_NAME",""],["J1939_NLA_PAD",""],["J1939_NLA_PGN",""],["J1939_NLA_SRC_ADDR",""],["J1939_NLA_SRC_NAME",""],["J1939_NLA_TOTAL_SIZE",""],["J1939_NO_ADDR",""],["J1939_NO_NAME",""],["J1939_NO_PGN",""],["J1939_PGN_ADDRESS_CLAIMED",""],["J1939_PGN_ADDRESS_COMMANDED",""],["J1939_PGN_MAX",""],["J1939_PGN_PDU1_MAX",""],["J1939_PGN_REQUEST",""],["JFFS2_SUPER_MAGIC",""],["KEYCTL_ASSUME_AUTHORITY",""],["KEYCTL_CAPABILITIES",""],["KEYCTL_CAPS0_BIG_KEY",""],["KEYCTL_CAPS0_CAPABILITIES",""],["KEYCTL_CAPS0_DIFFIE_HELLMAN",""],["KEYCTL_CAPS0_INVALIDATE",""],["KEYCTL_CAPS0_MOVE",""],["KEYCTL_CAPS0_PERSISTENT_KEYRINGS",""],["KEYCTL_CAPS0_PUBLIC_KEY",""],["KEYCTL_CAPS0_RESTRICT_KEYRING",""],["KEYCTL_CAPS1_NS_KEYRING_NAME",""],["KEYCTL_CAPS1_NS_KEY_TAG",""],["KEYCTL_CHOWN",""],["KEYCTL_CLEAR",""],["KEYCTL_DESCRIBE",""],["KEYCTL_DH_COMPUTE",""],["KEYCTL_GET_KEYRING_ID",""],["KEYCTL_GET_PERSISTENT",""],["KEYCTL_GET_SECURITY",""],["KEYCTL_INSTANTIATE",""],["KEYCTL_INSTANTIATE_IOV",""],["KEYCTL_INVALIDATE",""],["KEYCTL_JOIN_SESSION_KEYRING",""],["KEYCTL_LINK",""],["KEYCTL_MOVE",""],["KEYCTL_NEGATE",""],["KEYCTL_PKEY_DECRYPT",""],["KEYCTL_PKEY_ENCRYPT",""],["KEYCTL_PKEY_QUERY",""],["KEYCTL_PKEY_SIGN",""],["KEYCTL_PKEY_VERIFY",""],["KEYCTL_READ",""],["KEYCTL_REJECT",""],["KEYCTL_RESTRICT_KEYRING",""],["KEYCTL_REVOKE",""],["KEYCTL_SEARCH",""],["KEYCTL_SESSION_TO_PARENT",""],["KEYCTL_SETPERM",""],["KEYCTL_SET_REQKEY_KEYRING",""],["KEYCTL_SET_TIMEOUT",""],["KEYCTL_SUPPORTS_DECRYPT",""],["KEYCTL_SUPPORTS_ENCRYPT",""],["KEYCTL_SUPPORTS_SIGN",""],["KEYCTL_SUPPORTS_VERIFY",""],["KEYCTL_UNLINK",""],["KEYCTL_UPDATE",""],["KEY_CNT",""],["KEY_MAX",""],["KEY_REQKEY_DEFL_DEFAULT",""],["KEY_REQKEY_DEFL_GROUP_KEYRING",""],["KEY_REQKEY_DEFL_NO_CHANGE",""],["KEY_REQKEY_DEFL_PROCESS_KEYRING",""],["KEY_REQKEY_DEFL_REQUESTOR_KEYRING",""],["KEY_REQKEY_DEFL_SESSION_KEYRING",""],["KEY_REQKEY_DEFL_THREAD_KEYRING",""],["KEY_REQKEY_DEFL_USER_KEYRING",""],["KEY_REQKEY_DEFL_USER_SESSION_KEYRING",""],["KEY_SPEC_GROUP_KEYRING",""],["KEY_SPEC_PROCESS_KEYRING",""],["KEY_SPEC_REQKEY_AUTH_KEY",""],["KEY_SPEC_REQUESTOR_KEYRING",""],["KEY_SPEC_SESSION_KEYRING",""],["KEY_SPEC_THREAD_KEYRING",""],["KEY_SPEC_USER_KEYRING",""],["KEY_SPEC_USER_SESSION_KEYRING",""],["LC_ADDRESS",""],["LC_ADDRESS_MASK",""],["LC_ALL",""],["LC_ALL_MASK",""],["LC_COLLATE",""],["LC_COLLATE_MASK",""],["LC_CTYPE",""],["LC_CTYPE_MASK",""],["LC_IDENTIFICATION",""],["LC_IDENTIFICATION_MASK",""],["LC_MEASUREMENT",""],["LC_MEASUREMENT_MASK",""],["LC_MESSAGES",""],["LC_MESSAGES_MASK",""],["LC_MONETARY",""],["LC_MONETARY_MASK",""],["LC_NAME",""],["LC_NAME_MASK",""],["LC_NUMERIC",""],["LC_NUMERIC_MASK",""],["LC_PAPER",""],["LC_PAPER_MASK",""],["LC_TELEPHONE",""],["LC_TELEPHONE_MASK",""],["LC_TIME",""],["LC_TIME_MASK",""],["LED_CNT",""],["LED_MAX",""],["LINUX_REBOOT_CMD_CAD_OFF",""],["LINUX_REBOOT_CMD_CAD_ON",""],["LINUX_REBOOT_CMD_HALT",""],["LINUX_REBOOT_CMD_KEXEC",""],["LINUX_REBOOT_CMD_POWER_OFF",""],["LINUX_REBOOT_CMD_RESTART",""],["LINUX_REBOOT_CMD_RESTART2",""],["LINUX_REBOOT_CMD_SW_SUSPEND",""],["LINUX_REBOOT_MAGIC1",""],["LINUX_REBOOT_MAGIC2",""],["LINUX_REBOOT_MAGIC2A",""],["LINUX_REBOOT_MAGIC2B",""],["LINUX_REBOOT_MAGIC2C",""],["LIO_NOP",""],["LIO_NOWAIT",""],["LIO_READ",""],["LIO_WAIT",""],["LIO_WRITE",""],["LM_ID_BASE",""],["LM_ID_NEWLM",""],["LOCK_EX",""],["LOCK_NB",""],["LOCK_SH",""],["LOCK_UN",""],["LOGIN_PROCESS",""],["LOG_ALERT",""],["LOG_AUTH",""],["LOG_AUTHPRIV",""],["LOG_CONS",""],["LOG_CRIT",""],["LOG_CRON",""],["LOG_DAEMON",""],["LOG_DEBUG",""],["LOG_EMERG",""],["LOG_ERR",""],["LOG_FACMASK",""],["LOG_FTP",""],["LOG_INFO",""],["LOG_KERN",""],["LOG_LOCAL0",""],["LOG_LOCAL1",""],["LOG_LOCAL2",""],["LOG_LOCAL3",""],["LOG_LOCAL4",""],["LOG_LOCAL5",""],["LOG_LOCAL6",""],["LOG_LOCAL7",""],["LOG_LPR",""],["LOG_MAIL",""],["LOG_NDELAY",""],["LOG_NEWS",""],["LOG_NFACILITIES",""],["LOG_NOTICE",""],["LOG_NOWAIT",""],["LOG_ODELAY",""],["LOG_PERROR",""],["LOG_PID",""],["LOG_PRIMASK",""],["LOG_SYSLOG",""],["LOG_USER",""],["LOG_UUCP",""],["LOG_WARNING",""],["L_tmpnam",""],["MADV_DODUMP",""],["MADV_DOFORK",""],["MADV_DONTDUMP",""],["MADV_DONTFORK",""],["MADV_DONTNEED",""],["MADV_FREE",""],["MADV_HUGEPAGE",""],["MADV_HWPOISON",""],["MADV_MERGEABLE",""],["MADV_NOHUGEPAGE",""],["MADV_NORMAL",""],["MADV_RANDOM",""],["MADV_REMOVE",""],["MADV_SEQUENTIAL",""],["MADV_SOFT_OFFLINE",""],["MADV_UNMERGEABLE",""],["MADV_WILLNEED",""],["MAP_32BIT",""],["MAP_ANON",""],["MAP_ANONYMOUS",""],["MAP_DENYWRITE",""],["MAP_EXECUTABLE",""],["MAP_FAILED",""],["MAP_FILE",""],["MAP_FIXED",""],["MAP_FIXED_NOREPLACE",""],["MAP_GROWSDOWN",""],["MAP_HUGETLB",""],["MAP_HUGE_16GB",""],["MAP_HUGE_16MB",""],["MAP_HUGE_1GB",""],["MAP_HUGE_1MB",""],["MAP_HUGE_256MB",""],["MAP_HUGE_2GB",""],["MAP_HUGE_2MB",""],["MAP_HUGE_32MB",""],["MAP_HUGE_512KB",""],["MAP_HUGE_512MB",""],["MAP_HUGE_64KB",""],["MAP_HUGE_8MB",""],["MAP_HUGE_MASK",""],["MAP_HUGE_SHIFT",""],["MAP_LOCKED",""],["MAP_NONBLOCK",""],["MAP_NORESERVE",""],["MAP_POPULATE",""],["MAP_PRIVATE",""],["MAP_SHARED",""],["MAP_SHARED_VALIDATE",""],["MAP_STACK",""],["MAP_SYNC",""],["MAP_TYPE",""],["MAXTC",""],["MAXTTL",""],["MAX_ADDR_LEN",""],["MAX_IPOPTLEN",""],["MAX_LINKS",""],["MCAST_BLOCK_SOURCE",""],["MCAST_EXCLUDE",""],["MCAST_INCLUDE",""],["MCAST_JOIN_GROUP",""],["MCAST_JOIN_SOURCE_GROUP",""],["MCAST_LEAVE_GROUP",""],["MCAST_LEAVE_SOURCE_GROUP",""],["MCAST_MSFILTER",""],["MCAST_UNBLOCK_SOURCE",""],["MCL_CURRENT",""],["MCL_FUTURE",""],["MFD_ALLOW_SEALING",""],["MFD_CLOEXEC",""],["MFD_HUGETLB",""],["MFD_HUGE_16GB",""],["MFD_HUGE_16MB",""],["MFD_HUGE_1GB",""],["MFD_HUGE_1MB",""],["MFD_HUGE_256MB",""],["MFD_HUGE_2GB",""],["MFD_HUGE_2MB",""],["MFD_HUGE_32MB",""],["MFD_HUGE_512KB",""],["MFD_HUGE_512MB",""],["MFD_HUGE_64KB",""],["MFD_HUGE_8MB",""],["MFD_HUGE_MASK",""],["MFD_HUGE_SHIFT",""],["MINIX2_SUPER_MAGIC",""],["MINIX2_SUPER_MAGIC2",""],["MINIX3_SUPER_MAGIC",""],["MINIX_SUPER_MAGIC",""],["MINIX_SUPER_MAGIC2",""],["MINSIGSTKSZ",""],["MLOCK_ONFAULT",""],["MMAP_PAGE_ZERO",""],["MNT_DETACH",""],["MNT_EXPIRE",""],["MNT_FORCE",""],["MODULE_INIT_IGNORE_MODVERSIONS",""],["MODULE_INIT_IGNORE_VERMAGIC",""],["MOD_CLKA",""],["MOD_CLKB",""],["MOD_ESTERROR",""],["MOD_FREQUENCY",""],["MOD_MAXERROR",""],["MOD_MICRO",""],["MOD_NANO",""],["MOD_OFFSET",""],["MOD_STATUS",""],["MOD_TAI",""],["MOD_TIMECONST",""],["MON_1",""],["MON_10",""],["MON_11",""],["MON_12",""],["MON_2",""],["MON_3",""],["MON_4",""],["MON_5",""],["MON_6",""],["MON_7",""],["MON_8",""],["MON_9",""],["MPOL_BIND",""],["MPOL_DEFAULT",""],["MPOL_F_NUMA_BALANCING",""],["MPOL_F_RELATIVE_NODES",""],["MPOL_F_STATIC_NODES",""],["MPOL_INTERLEAVE",""],["MPOL_LOCAL",""],["MPOL_PREFERRED",""],["MREMAP_DONTUNMAP",""],["MREMAP_FIXED",""],["MREMAP_MAYMOVE",""],["MSC_CNT",""],["MSC_MAX",""],["MSDOS_SUPER_MAGIC",""],["MSG_CMSG_CLOEXEC",""],["MSG_CONFIRM",""],["MSG_COPY",""],["MSG_CTRUNC",""],["MSG_DONTROUTE",""],["MSG_DONTWAIT",""],["MSG_EOR",""],["MSG_ERRQUEUE",""],["MSG_EXCEPT",""],["MSG_FASTOPEN",""],["MSG_FIN",""],["MSG_INFO",""],["MSG_MORE",""],["MSG_NOERROR",""],["MSG_NOSIGNAL",""],["MSG_OOB",""],["MSG_PEEK",""],["MSG_RST",""],["MSG_STAT",""],["MSG_SYN",""],["MSG_TRUNC",""],["MSG_TRYHARD",""],["MSG_WAITALL",""],["MSG_WAITFORONE",""],["MSG_ZEROCOPY",""],["MS_ACTIVE",""],["MS_ASYNC",""],["MS_BIND",""],["MS_DIRSYNC",""],["MS_INVALIDATE",""],["MS_I_VERSION",""],["MS_KERNMOUNT",""],["MS_LAZYTIME",""],["MS_MANDLOCK",""],["MS_MGC_MSK",""],["MS_MGC_VAL",""],["MS_MOVE",""],["MS_NOATIME",""],["MS_NODEV",""],["MS_NODIRATIME",""],["MS_NOEXEC",""],["MS_NOSUID",""],["MS_NOUSER",""],["MS_POSIXACL",""],["MS_PRIVATE",""],["MS_RDONLY",""],["MS_REC",""],["MS_RELATIME",""],["MS_REMOUNT",""],["MS_RMT_MASK",""],["MS_SHARED",""],["MS_SILENT",""],["MS_SLAVE",""],["MS_STRICTATIME",""],["MS_SYNC",""],["MS_SYNCHRONOUS",""],["MS_UNBINDABLE",""],["M_ARENA_MAX",""],["M_ARENA_TEST",""],["M_CHECK_ACTION",""],["M_GRAIN",""],["M_KEEP",""],["M_MMAP_MAX",""],["M_MMAP_THRESHOLD",""],["M_MXFAST",""],["M_NLBLKS",""],["M_PERTURB",""],["M_TOP_PAD",""],["M_TRIM_THRESHOLD",""],["NCCS",""],["NCP_SUPER_MAGIC",""],["NDA_CACHEINFO",""],["NDA_DST",""],["NDA_IFINDEX",""],["NDA_LINK_NETNSID",""],["NDA_LLADDR",""],["NDA_MASTER",""],["NDA_PORT",""],["NDA_PROBES",""],["NDA_SRC_VNI",""],["NDA_UNSPEC",""],["NDA_VLAN",""],["NDA_VNI",""],["NETLINK_ADD_MEMBERSHIP",""],["NETLINK_AUDIT",""],["NETLINK_BROADCAST_ERROR",""],["NETLINK_CAP_ACK",""],["NETLINK_CONNECTOR",""],["NETLINK_CRYPTO",""],["NETLINK_DNRTMSG",""],["NETLINK_DROP_MEMBERSHIP",""],["NETLINK_ECRYPTFS",""],["NETLINK_EXT_ACK",""],["NETLINK_FIB_LOOKUP",""],["NETLINK_FIREWALL",""],["NETLINK_GENERIC",""],["NETLINK_GET_STRICT_CHK",""],["NETLINK_INET_DIAG",""],["NETLINK_IP6_FW",""],["NETLINK_ISCSI",""],["NETLINK_KOBJECT_UEVENT",""],["NETLINK_LISTEN_ALL_NSID",""],["NETLINK_LIST_MEMBERSHIPS",""],["NETLINK_NETFILTER",""],["NETLINK_NFLOG",""],["NETLINK_NO_ENOBUFS",""],["NETLINK_PKTINFO",""],["NETLINK_RDMA",""],["NETLINK_ROUTE",""],["NETLINK_RX_RING",""],["NETLINK_SCSITRANSPORT",""],["NETLINK_SELINUX",""],["NETLINK_SOCK_DIAG",""],["NETLINK_TX_RING",""],["NETLINK_UNUSED",""],["NETLINK_USERSOCK",""],["NETLINK_XFRM",""],["NEW_TIME",""],["NFNETLINK_V0",""],["NFNLGRP_ACCT_QUOTA",""],["NFNLGRP_CONNTRACK_DESTROY",""],["NFNLGRP_CONNTRACK_EXP_DESTROY",""],["NFNLGRP_CONNTRACK_EXP_NEW",""],["NFNLGRP_CONNTRACK_EXP_UPDATE",""],["NFNLGRP_CONNTRACK_NEW",""],["NFNLGRP_CONNTRACK_UPDATE",""],["NFNLGRP_NFTABLES",""],["NFNLGRP_NFTRACE",""],["NFNLGRP_NONE",""],["NFNL_BATCH_GENID",""],["NFNL_BATCH_UNSPEC",""],["NFNL_MSG_BATCH_BEGIN",""],["NFNL_MSG_BATCH_END",""],["NFNL_SUBSYS_ACCT",""],["NFNL_SUBSYS_COUNT",""],["NFNL_SUBSYS_CTHELPER",""],["NFNL_SUBSYS_CTNETLINK",""],["NFNL_SUBSYS_CTNETLINK_EXP",""],["NFNL_SUBSYS_CTNETLINK_TIMEOUT",""],["NFNL_SUBSYS_HOOK",""],["NFNL_SUBSYS_IPSET",""],["NFNL_SUBSYS_NFTABLES",""],["NFNL_SUBSYS_NFT_COMPAT",""],["NFNL_SUBSYS_NONE",""],["NFNL_SUBSYS_OSF",""],["NFNL_SUBSYS_QUEUE",""],["NFNL_SUBSYS_ULOG",""],["NFPROTO_ARP",""],["NFPROTO_BRIDGE",""],["NFPROTO_DECNET",""],["NFPROTO_INET",""],["NFPROTO_IPV4",""],["NFPROTO_IPV6",""],["NFPROTO_NETDEV",""],["NFPROTO_NUMPROTO",""],["NFPROTO_UNSPEC",""],["NFQA_CAP_LEN",""],["NFQA_CFG_CMD",""],["NFQA_CFG_FLAGS",""],["NFQA_CFG_F_CONNTRACK",""],["NFQA_CFG_F_FAIL_OPEN",""],["NFQA_CFG_F_GSO",""],["NFQA_CFG_F_MAX",""],["NFQA_CFG_F_SECCTX",""],["NFQA_CFG_F_UID_GID",""],["NFQA_CFG_MASK",""],["NFQA_CFG_PARAMS",""],["NFQA_CFG_QUEUE_MAXLEN",""],["NFQA_CFG_UNSPEC",""],["NFQA_CT",""],["NFQA_CT_INFO",""],["NFQA_EXP",""],["NFQA_GID",""],["NFQA_HWADDR",""],["NFQA_IFINDEX_INDEV",""],["NFQA_IFINDEX_OUTDEV",""],["NFQA_IFINDEX_PHYSINDEV",""],["NFQA_IFINDEX_PHYSOUTDEV",""],["NFQA_L2HDR",""],["NFQA_MARK",""],["NFQA_PACKET_HDR",""],["NFQA_PAYLOAD",""],["NFQA_PRIORITY",""],["NFQA_SECCTX",""],["NFQA_SKB_CSUMNOTREADY",""],["NFQA_SKB_CSUM_NOTVERIFIED",""],["NFQA_SKB_GSO",""],["NFQA_SKB_INFO",""],["NFQA_TIMESTAMP",""],["NFQA_UID",""],["NFQA_UNSPEC",""],["NFQA_VERDICT_HDR",""],["NFQA_VLAN",""],["NFQA_VLAN_PROTO",""],["NFQA_VLAN_TCI",""],["NFQA_VLAN_UNSPEC",""],["NFQNL_CFG_CMD_BIND",""],["NFQNL_CFG_CMD_NONE",""],["NFQNL_CFG_CMD_PF_BIND",""],["NFQNL_CFG_CMD_PF_UNBIND",""],["NFQNL_CFG_CMD_UNBIND",""],["NFQNL_COPY_META",""],["NFQNL_COPY_NONE",""],["NFQNL_COPY_PACKET",""],["NFQNL_MSG_CONFIG",""],["NFQNL_MSG_PACKET",""],["NFQNL_MSG_VERDICT",""],["NFQNL_MSG_VERDICT_BATCH",""],["NFS_SUPER_MAGIC",""],["NFT_BREAK",""],["NFT_BYTEORDER_HTON",""],["NFT_BYTEORDER_NTOH",""],["NFT_CHAIN_MAXNAMELEN",""],["NFT_CMP_EQ",""],["NFT_CMP_GT",""],["NFT_CMP_GTE",""],["NFT_CMP_LT",""],["NFT_CMP_LTE",""],["NFT_CMP_NEQ",""],["NFT_CONTINUE",""],["NFT_CT_BYTES",""],["NFT_CT_DIRECTION",""],["NFT_CT_DST",""],["NFT_CT_EXPIRATION",""],["NFT_CT_HELPER",""],["NFT_CT_L3PROTOCOL",""],["NFT_CT_LABELS",""],["NFT_CT_MARK",""],["NFT_CT_PKTS",""],["NFT_CT_PROTOCOL",""],["NFT_CT_PROTO_DST",""],["NFT_CT_PROTO_SRC",""],["NFT_CT_SECMARK",""],["NFT_CT_SRC",""],["NFT_CT_STATE",""],["NFT_CT_STATUS",""],["NFT_DATA_RESERVED_MASK",""],["NFT_DATA_VALUE",""],["NFT_DATA_VALUE_MAXLEN",""],["NFT_DATA_VERDICT",""],["NFT_DYNSET_F_INV",""],["NFT_DYNSET_OP_ADD",""],["NFT_DYNSET_OP_UPDATE",""],["NFT_GOTO",""],["NFT_JUMP",""],["NFT_LIMIT_F_INV",""],["NFT_LIMIT_PKTS",""],["NFT_LIMIT_PKT_BYTES",""],["NFT_LOOKUP_F_INV",""],["NFT_META_BRI_IIFNAME",""],["NFT_META_BRI_OIFNAME",""],["NFT_META_CGROUP",""],["NFT_META_CPU",""],["NFT_META_IIF",""],["NFT_META_IIFGROUP",""],["NFT_META_IIFNAME",""],["NFT_META_IIFTYPE",""],["NFT_META_L4PROTO",""],["NFT_META_LEN",""],["NFT_META_MARK",""],["NFT_META_NFPROTO",""],["NFT_META_NFTRACE",""],["NFT_META_OIF",""],["NFT_META_OIFGROUP",""],["NFT_META_OIFNAME",""],["NFT_META_OIFTYPE",""],["NFT_META_PKTTYPE",""],["NFT_META_PRANDOM",""],["NFT_META_PRIORITY",""],["NFT_META_PROTOCOL",""],["NFT_META_RTCLASSID",""],["NFT_META_SECMARK",""],["NFT_META_SKGID",""],["NFT_META_SKUID",""],["NFT_MSG_DELCHAIN",""],["NFT_MSG_DELOBJ",""],["NFT_MSG_DELRULE",""],["NFT_MSG_DELSET",""],["NFT_MSG_DELSETELEM",""],["NFT_MSG_DELTABLE",""],["NFT_MSG_GETCHAIN",""],["NFT_MSG_GETGEN",""],["NFT_MSG_GETOBJ",""],["NFT_MSG_GETOBJ_RESET",""],["NFT_MSG_GETRULE",""],["NFT_MSG_GETSET",""],["NFT_MSG_GETSETELEM",""],["NFT_MSG_GETTABLE",""],["NFT_MSG_MAX",""],["NFT_MSG_NEWCHAIN",""],["NFT_MSG_NEWGEN",""],["NFT_MSG_NEWOBJ",""],["NFT_MSG_NEWRULE",""],["NFT_MSG_NEWSET",""],["NFT_MSG_NEWSETELEM",""],["NFT_MSG_NEWTABLE",""],["NFT_MSG_TRACE",""],["NFT_NAT_DNAT",""],["NFT_NAT_SNAT",""],["NFT_NG_INCREMENTAL",""],["NFT_NG_RANDOM",""],["NFT_OBJ_MAXNAMELEN",""],["NFT_PAYLOAD_CSUM_INET",""],["NFT_PAYLOAD_CSUM_NONE",""],["NFT_PAYLOAD_LL_HEADER",""],["NFT_PAYLOAD_NETWORK_HEADER",""],["NFT_PAYLOAD_TRANSPORT_HEADER",""],["NFT_QUEUE_FLAG_BYPASS",""],["NFT_QUEUE_FLAG_CPU_FANOUT",""],["NFT_QUEUE_FLAG_MASK",""],["NFT_QUOTA_F_INV",""],["NFT_RANGE_EQ",""],["NFT_RANGE_NEQ",""],["NFT_REG32_00",""],["NFT_REG32_01",""],["NFT_REG32_02",""],["NFT_REG32_03",""],["NFT_REG32_04",""],["NFT_REG32_05",""],["NFT_REG32_06",""],["NFT_REG32_07",""],["NFT_REG32_08",""],["NFT_REG32_09",""],["NFT_REG32_10",""],["NFT_REG32_11",""],["NFT_REG32_12",""],["NFT_REG32_13",""],["NFT_REG32_14",""],["NFT_REG32_15",""],["NFT_REG32_SIZE",""],["NFT_REG_1",""],["NFT_REG_2",""],["NFT_REG_3",""],["NFT_REG_4",""],["NFT_REG_SIZE",""],["NFT_REG_VERDICT",""],["NFT_REJECT_ICMPX_ADMIN_PROHIBITED",""],["NFT_REJECT_ICMPX_HOST_UNREACH",""],["NFT_REJECT_ICMPX_NO_ROUTE",""],["NFT_REJECT_ICMPX_PORT_UNREACH",""],["NFT_REJECT_ICMPX_UNREACH",""],["NFT_REJECT_ICMP_UNREACH",""],["NFT_REJECT_TCP_RST",""],["NFT_RETURN",""],["NFT_SET_ANONYMOUS",""],["NFT_SET_CONSTANT",""],["NFT_SET_ELEM_INTERVAL_END",""],["NFT_SET_EVAL",""],["NFT_SET_INTERVAL",""],["NFT_SET_MAP",""],["NFT_SET_MAXNAMELEN",""],["NFT_SET_POL_MEMORY",""],["NFT_SET_POL_PERFORMANCE",""],["NFT_SET_TIMEOUT",""],["NFT_TABLE_MAXNAMELEN",""],["NFT_TRACETYPE_POLICY",""],["NFT_TRACETYPE_RETURN",""],["NFT_TRACETYPE_RULE",""],["NFT_TRACETYPE_UNSPEC",""],["NFT_USERDATA_MAXLEN",""],["NFULA_CFG_CMD",""],["NFULA_CFG_FLAGS",""],["NFULA_CFG_MODE",""],["NFULA_CFG_NLBUFSIZ",""],["NFULA_CFG_QTHRESH",""],["NFULA_CFG_TIMEOUT",""],["NFULA_CFG_UNSPEC",""],["NFULA_CT",""],["NFULA_CT_INFO",""],["NFULA_GID",""],["NFULA_HWADDR",""],["NFULA_HWHEADER",""],["NFULA_HWLEN",""],["NFULA_HWTYPE",""],["NFULA_IFINDEX_INDEV",""],["NFULA_IFINDEX_OUTDEV",""],["NFULA_IFINDEX_PHYSINDEV",""],["NFULA_IFINDEX_PHYSOUTDEV",""],["NFULA_L2HDR",""],["NFULA_MARK",""],["NFULA_PACKET_HDR",""],["NFULA_PAYLOAD",""],["NFULA_PREFIX",""],["NFULA_SEQ",""],["NFULA_SEQ_GLOBAL",""],["NFULA_TIMESTAMP",""],["NFULA_UID",""],["NFULA_UNSPEC",""],["NFULA_VLAN",""],["NFULA_VLAN_PROTO",""],["NFULA_VLAN_TCI",""],["NFULA_VLAN_UNSPEC",""],["NFULNL_CFG_CMD_BIND",""],["NFULNL_CFG_CMD_NONE",""],["NFULNL_CFG_CMD_PF_BIND",""],["NFULNL_CFG_CMD_PF_UNBIND",""],["NFULNL_CFG_CMD_UNBIND",""],["NFULNL_CFG_F_CONNTRACK",""],["NFULNL_CFG_F_SEQ",""],["NFULNL_CFG_F_SEQ_GLOBAL",""],["NFULNL_COPY_META",""],["NFULNL_COPY_NONE",""],["NFULNL_COPY_PACKET",""],["NFULNL_MSG_CONFIG",""],["NFULNL_MSG_PACKET",""],["NF_ACCEPT",""],["NF_DROP",""],["NF_INET_FORWARD",""],["NF_INET_LOCAL_IN",""],["NF_INET_LOCAL_OUT",""],["NF_INET_NUMHOOKS",""],["NF_INET_POST_ROUTING",""],["NF_INET_PRE_ROUTING",""],["NF_IP6_FORWARD",""],["NF_IP6_LOCAL_IN",""],["NF_IP6_LOCAL_OUT",""],["NF_IP6_NUMHOOKS",""],["NF_IP6_POST_ROUTING",""],["NF_IP6_PRE_ROUTING",""],["NF_IP6_PRI_CONNTRACK",""],["NF_IP6_PRI_CONNTRACK_DEFRAG",""],["NF_IP6_PRI_CONNTRACK_HELPER",""],["NF_IP6_PRI_FILTER",""],["NF_IP6_PRI_FIRST",""],["NF_IP6_PRI_LAST",""],["NF_IP6_PRI_MANGLE",""],["NF_IP6_PRI_NAT_DST",""],["NF_IP6_PRI_NAT_SRC",""],["NF_IP6_PRI_RAW",""],["NF_IP6_PRI_SECURITY",""],["NF_IP6_PRI_SELINUX_FIRST",""],["NF_IP6_PRI_SELINUX_LAST",""],["NF_IP_FORWARD",""],["NF_IP_LOCAL_IN",""],["NF_IP_LOCAL_OUT",""],["NF_IP_NUMHOOKS",""],["NF_IP_POST_ROUTING",""],["NF_IP_PRE_ROUTING",""],["NF_IP_PRI_CONNTRACK",""],["NF_IP_PRI_CONNTRACK_CONFIRM",""],["NF_IP_PRI_CONNTRACK_DEFRAG",""],["NF_IP_PRI_CONNTRACK_HELPER",""],["NF_IP_PRI_FILTER",""],["NF_IP_PRI_FIRST",""],["NF_IP_PRI_LAST",""],["NF_IP_PRI_MANGLE",""],["NF_IP_PRI_NAT_DST",""],["NF_IP_PRI_NAT_SRC",""],["NF_IP_PRI_RAW",""],["NF_IP_PRI_SECURITY",""],["NF_IP_PRI_SELINUX_FIRST",""],["NF_IP_PRI_SELINUX_LAST",""],["NF_MAX_VERDICT",""],["NF_NETDEV_INGRESS",""],["NF_NETDEV_NUMHOOKS",""],["NF_QUEUE",""],["NF_REPEAT",""],["NF_STOLEN",""],["NF_STOP",""],["NF_VERDICT_BITS",""],["NF_VERDICT_FLAG_QUEUE_BYPASS",""],["NF_VERDICT_MASK",""],["NF_VERDICT_QBITS",""],["NF_VERDICT_QMASK",""],["NILFS_SUPER_MAGIC",""],["NI_DGRAM",""],["NI_MAXHOST",""],["NI_NAMEREQD",""],["NI_NOFQDN",""],["NI_NUMERICHOST",""],["NI_NUMERICSERV",""],["NL0",""],["NL1",""],["NLA_ALIGNTO",""],["NLA_F_NESTED",""],["NLA_F_NET_BYTEORDER",""],["NLA_TYPE_MASK",""],["NLDLY",""],["NLMSG_DONE",""],["NLMSG_ERROR",""],["NLMSG_MIN_TYPE",""],["NLMSG_NOOP",""],["NLMSG_OVERRUN",""],["NLM_F_ACK",""],["NLM_F_APPEND",""],["NLM_F_ATOMIC",""],["NLM_F_CREATE",""],["NLM_F_DUMP",""],["NLM_F_DUMP_FILTERED",""],["NLM_F_DUMP_INTR",""],["NLM_F_ECHO",""],["NLM_F_EXCL",""],["NLM_F_MATCH",""],["NLM_F_MULTI",""],["NLM_F_REPLACE",""],["NLM_F_REQUEST",""],["NLM_F_ROOT",""],["NOEXPR",""],["NOFLSH",""],["NOSTR",""],["NSFS_MAGIC",""],["NTF_EXT_LEARNED",""],["NTF_MASTER",""],["NTF_OFFLOADED",""],["NTF_PROXY",""],["NTF_ROUTER",""],["NTF_SELF",""],["NTF_USE",""],["NTP_API",""],["NT_ASRS",""],["NT_AUXV",""],["NT_FPREGSET",""],["NT_GWINDOWS",""],["NT_LWPSINFO",""],["NT_LWPSTATUS",""],["NT_PLATFORM",""],["NT_PRCRED",""],["NT_PRFPREG",""],["NT_PRFPXREG",""],["NT_PRPSINFO",""],["NT_PRSTATUS",""],["NT_PRXREG",""],["NT_PSINFO",""],["NT_PSTATUS",""],["NT_TASKSTRUCT",""],["NT_UTSNAME",""],["NUD_DELAY",""],["NUD_FAILED",""],["NUD_INCOMPLETE",""],["NUD_NOARP",""],["NUD_NONE",""],["NUD_PERMANENT",""],["NUD_PROBE",""],["NUD_REACHABLE",""],["NUD_STALE",""],["OCFS2_SUPER_MAGIC",""],["OCRNL",""],["OFDEL",""],["OFILL",""],["OLCUC",""],["OLD_TIME",""],["ONLCR",""],["ONLRET",""],["ONOCR",""],["OPENPROM_SUPER_MAGIC",""],["OPOST",""],["ORIG_RAX",""],["OVERLAYFS_SUPER_MAGIC",""],["O_ACCMODE",""],["O_APPEND",""],["O_ASYNC",""],["O_CLOEXEC",""],["O_CREAT",""],["O_DIRECT",""],["O_DIRECTORY",""],["O_DSYNC",""],["O_EXCL",""],["O_FSYNC",""],["O_LARGEFILE",""],["O_NDELAY",""],["O_NOATIME",""],["O_NOCTTY",""],["O_NOFOLLOW",""],["O_NONBLOCK",""],["O_PATH",""],["O_RDONLY",""],["O_RDWR",""],["O_RSYNC",""],["O_SYNC",""],["O_TMPFILE",""],["O_TRUNC",""],["O_WRONLY",""],["PACKET_ADD_MEMBERSHIP",""],["PACKET_DROP_MEMBERSHIP",""],["PACKET_MR_ALLMULTI",""],["PACKET_MR_MULTICAST",""],["PACKET_MR_PROMISC",""],["PACKET_MR_UNICAST",""],["PARENB",""],["PARMRK",""],["PARODD",""],["PATH_MAX",""],["PENDIN",""],["PF_ALG",""],["PF_APPLETALK",""],["PF_ASH",""],["PF_ATMPVC",""],["PF_ATMSVC",""],["PF_AX25",""],["PF_BLUETOOTH",""],["PF_BRIDGE",""],["PF_CAIF",""],["PF_CAN",""],["PF_DECnet",""],["PF_ECONET",""],["PF_IB",""],["PF_IEEE802154",""],["PF_INET",""],["PF_INET6",""],["PF_IPX",""],["PF_IRDA",""],["PF_ISDN",""],["PF_IUCV",""],["PF_KEY",""],["PF_LLC",""],["PF_LOCAL",""],["PF_MASKOS",""],["PF_MASKPROC",""],["PF_MPLS",""],["PF_NETBEUI",""],["PF_NETLINK",""],["PF_NETROM",""],["PF_NFC",""],["PF_PACKET",""],["PF_PHONET",""],["PF_PPPOX",""],["PF_R",""],["PF_RDS",""],["PF_ROSE",""],["PF_ROUTE",""],["PF_RXRPC",""],["PF_SECURITY",""],["PF_SNA",""],["PF_TIPC",""],["PF_UNIX",""],["PF_UNSPEC",""],["PF_VSOCK",""],["PF_W",""],["PF_WANPIPE",""],["PF_X",""],["PF_X25",""],["PF_XDP",""],["PIDFD_NONBLOCK",""],["PIPE_BUF",""],["PM_STR",""],["POLLERR",""],["POLLHUP",""],["POLLIN",""],["POLLNVAL",""],["POLLOUT",""],["POLLPRI",""],["POLLRDBAND",""],["POLLRDHUP",""],["POLLRDNORM",""],["POLLWRBAND",""],["POLLWRNORM",""],["POSIX_FADV_DONTNEED",""],["POSIX_FADV_NOREUSE",""],["POSIX_FADV_NORMAL",""],["POSIX_FADV_RANDOM",""],["POSIX_FADV_SEQUENTIAL",""],["POSIX_FADV_WILLNEED",""],["POSIX_MADV_DONTNEED",""],["POSIX_MADV_NORMAL",""],["POSIX_MADV_RANDOM",""],["POSIX_MADV_SEQUENTIAL",""],["POSIX_MADV_WILLNEED",""],["POSIX_SPAWN_RESETIDS",""],["POSIX_SPAWN_SETPGROUP",""],["POSIX_SPAWN_SETSCHEDPARAM",""],["POSIX_SPAWN_SETSCHEDULER",""],["POSIX_SPAWN_SETSID",""],["POSIX_SPAWN_SETSIGDEF",""],["POSIX_SPAWN_SETSIGMASK",""],["POSIX_SPAWN_USEVFORK",""],["PRIO_MAX",""],["PRIO_MIN",""],["PRIO_PGRP",""],["PRIO_PROCESS",""],["PRIO_USER",""],["PROC_SUPER_MAGIC",""],["PROT_EXEC",""],["PROT_GROWSDOWN",""],["PROT_GROWSUP",""],["PROT_NONE",""],["PROT_READ",""],["PROT_WRITE",""],["PR_CAPBSET_DROP",""],["PR_CAPBSET_READ",""],["PR_CAP_AMBIENT",""],["PR_CAP_AMBIENT_CLEAR_ALL",""],["PR_CAP_AMBIENT_IS_SET",""],["PR_CAP_AMBIENT_LOWER",""],["PR_CAP_AMBIENT_RAISE",""],["PR_ENDIAN_BIG",""],["PR_ENDIAN_LITTLE",""],["PR_ENDIAN_PPC_LITTLE",""],["PR_FPEMU_NOPRINT",""],["PR_FPEMU_SIGFPE",""],["PR_FP_EXC_ASYNC",""],["PR_FP_EXC_DISABLED",""],["PR_FP_EXC_DIV",""],["PR_FP_EXC_INV",""],["PR_FP_EXC_NONRECOV",""],["PR_FP_EXC_OVF",""],["PR_FP_EXC_PRECISE",""],["PR_FP_EXC_RES",""],["PR_FP_EXC_SW_ENABLE",""],["PR_FP_EXC_UND",""],["PR_FP_MODE_FR",""],["PR_FP_MODE_FRE",""],["PR_GET_CHILD_SUBREAPER",""],["PR_GET_DUMPABLE",""],["PR_GET_ENDIAN",""],["PR_GET_FPEMU",""],["PR_GET_FPEXC",""],["PR_GET_FP_MODE",""],["PR_GET_KEEPCAPS",""],["PR_GET_NAME",""],["PR_GET_NO_NEW_PRIVS",""],["PR_GET_PDEATHSIG",""],["PR_GET_SECCOMP",""],["PR_GET_SECUREBITS",""],["PR_GET_SPECULATION_CTRL",""],["PR_GET_THP_DISABLE",""],["PR_GET_TID_ADDRESS",""],["PR_GET_TIMERSLACK",""],["PR_GET_TIMING",""],["PR_GET_TSC",""],["PR_GET_UNALIGN",""],["PR_MCE_KILL",""],["PR_MCE_KILL_CLEAR",""],["PR_MCE_KILL_DEFAULT",""],["PR_MCE_KILL_EARLY",""],["PR_MCE_KILL_GET",""],["PR_MCE_KILL_LATE",""],["PR_MCE_KILL_SET",""],["PR_MPX_DISABLE_MANAGEMENT",""],["PR_MPX_ENABLE_MANAGEMENT",""],["PR_SET_CHILD_SUBREAPER",""],["PR_SET_DUMPABLE",""],["PR_SET_ENDIAN",""],["PR_SET_FPEMU",""],["PR_SET_FPEXC",""],["PR_SET_FP_MODE",""],["PR_SET_KEEPCAPS",""],["PR_SET_MM",""],["PR_SET_MM_ARG_END",""],["PR_SET_MM_ARG_START",""],["PR_SET_MM_AUXV",""],["PR_SET_MM_BRK",""],["PR_SET_MM_END_CODE",""],["PR_SET_MM_END_DATA",""],["PR_SET_MM_ENV_END",""],["PR_SET_MM_ENV_START",""],["PR_SET_MM_EXE_FILE",""],["PR_SET_MM_MAP",""],["PR_SET_MM_MAP_SIZE",""],["PR_SET_MM_START_BRK",""],["PR_SET_MM_START_CODE",""],["PR_SET_MM_START_DATA",""],["PR_SET_MM_START_STACK",""],["PR_SET_NAME",""],["PR_SET_NO_NEW_PRIVS",""],["PR_SET_PDEATHSIG",""],["PR_SET_PTRACER",""],["PR_SET_SECCOMP",""],["PR_SET_SECUREBITS",""],["PR_SET_SPECULATION_CTRL",""],["PR_SET_THP_DISABLE",""],["PR_SET_TIMERSLACK",""],["PR_SET_TIMING",""],["PR_SET_TSC",""],["PR_SET_UNALIGN",""],["PR_SET_VMA",""],["PR_SET_VMA_ANON_NAME",""],["PR_SPEC_DISABLE",""],["PR_SPEC_DISABLE_NOEXEC",""],["PR_SPEC_ENABLE",""],["PR_SPEC_FORCE_DISABLE",""],["PR_SPEC_INDIRECT_BRANCH",""],["PR_SPEC_NOT_AFFECTED",""],["PR_SPEC_PRCTL",""],["PR_SPEC_STORE_BYPASS",""],["PR_TASK_PERF_EVENTS_DISABLE",""],["PR_TASK_PERF_EVENTS_ENABLE",""],["PR_TIMING_STATISTICAL",""],["PR_TIMING_TIMESTAMP",""],["PR_TSC_ENABLE",""],["PR_TSC_SIGSEGV",""],["PR_UNALIGN_NOPRINT",""],["PR_UNALIGN_SIGBUS",""],["PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP",""],["PTHREAD_COND_INITIALIZER",""],["PTHREAD_CREATE_DETACHED",""],["PTHREAD_CREATE_JOINABLE",""],["PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP",""],["PTHREAD_MUTEX_ADAPTIVE_NP",""],["PTHREAD_MUTEX_DEFAULT",""],["PTHREAD_MUTEX_ERRORCHECK",""],["PTHREAD_MUTEX_INITIALIZER",""],["PTHREAD_MUTEX_NORMAL",""],["PTHREAD_MUTEX_RECURSIVE",""],["PTHREAD_MUTEX_ROBUST",""],["PTHREAD_MUTEX_STALLED",""],["PTHREAD_PRIO_INHERIT",""],["PTHREAD_PRIO_NONE",""],["PTHREAD_PRIO_PROTECT",""],["PTHREAD_PROCESS_PRIVATE",""],["PTHREAD_PROCESS_SHARED",""],["PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP",""],["PTHREAD_RWLOCK_INITIALIZER",""],["PTHREAD_STACK_MIN",""],["PTRACE_ATTACH",""],["PTRACE_CONT",""],["PTRACE_DETACH",""],["PTRACE_EVENT_CLONE",""],["PTRACE_EVENT_EXEC",""],["PTRACE_EVENT_EXIT",""],["PTRACE_EVENT_FORK",""],["PTRACE_EVENT_SECCOMP",""],["PTRACE_EVENT_STOP",""],["PTRACE_EVENT_VFORK",""],["PTRACE_EVENT_VFORK_DONE",""],["PTRACE_GETEVENTMSG",""],["PTRACE_GETFPREGS",""],["PTRACE_GETFPXREGS",""],["PTRACE_GETREGS",""],["PTRACE_GETREGSET",""],["PTRACE_GETSIGINFO",""],["PTRACE_GET_RSEQ_CONFIGURATION",""],["PTRACE_GET_SYSCALL_INFO",""],["PTRACE_INTERRUPT",""],["PTRACE_KILL",""],["PTRACE_LISTEN",""],["PTRACE_O_EXITKILL",""],["PTRACE_O_MASK",""],["PTRACE_O_SUSPEND_SECCOMP",""],["PTRACE_O_TRACECLONE",""],["PTRACE_O_TRACEEXEC",""],["PTRACE_O_TRACEEXIT",""],["PTRACE_O_TRACEFORK",""],["PTRACE_O_TRACESECCOMP",""],["PTRACE_O_TRACESYSGOOD",""],["PTRACE_O_TRACEVFORK",""],["PTRACE_O_TRACEVFORKDONE",""],["PTRACE_PEEKDATA",""],["PTRACE_PEEKSIGINFO",""],["PTRACE_PEEKSIGINFO_SHARED",""],["PTRACE_PEEKTEXT",""],["PTRACE_PEEKUSER",""],["PTRACE_POKEDATA",""],["PTRACE_POKETEXT",""],["PTRACE_POKEUSER",""],["PTRACE_SEIZE",""],["PTRACE_SETFPREGS",""],["PTRACE_SETFPXREGS",""],["PTRACE_SETOPTIONS",""],["PTRACE_SETREGS",""],["PTRACE_SETREGSET",""],["PTRACE_SETSIGINFO",""],["PTRACE_SINGLESTEP",""],["PTRACE_SYSCALL",""],["PTRACE_SYSEMU",""],["PTRACE_SYSEMU_SINGLESTEP",""],["PTRACE_TRACEME",""],["PT_DYNAMIC",""],["PT_GNU_EH_FRAME",""],["PT_GNU_RELRO",""],["PT_GNU_STACK",""],["PT_HIOS",""],["PT_HIPROC",""],["PT_HISUNW",""],["PT_INTERP",""],["PT_LOAD",""],["PT_LOOS",""],["PT_LOPROC",""],["PT_LOSUNW",""],["PT_NOTE",""],["PT_NULL",""],["PT_NUM",""],["PT_PHDR",""],["PT_SHLIB",""],["PT_SUNWBSS",""],["PT_SUNWSTACK",""],["PT_TLS",""],["P_ALL",""],["P_PGID",""],["P_PID",""],["P_PIDFD",""],["QFMT_VFS_OLD",""],["QFMT_VFS_V0",""],["QFMT_VFS_V1",""],["QIF_ALL",""],["QIF_BLIMITS",""],["QIF_BTIME",""],["QIF_ILIMITS",""],["QIF_INODES",""],["QIF_ITIME",""],["QIF_LIMITS",""],["QIF_SPACE",""],["QIF_TIMES",""],["QIF_USAGE",""],["QNX4_SUPER_MAGIC",""],["QNX6_SUPER_MAGIC",""],["Q_GETFMT",""],["Q_GETINFO",""],["Q_GETQUOTA",""],["Q_QUOTAOFF",""],["Q_QUOTAON",""],["Q_SETINFO",""],["Q_SETQUOTA",""],["Q_SYNC",""],["R10",""],["R11",""],["R12",""],["R13",""],["R14",""],["R15",""],["R8",""],["R9",""],["RADIXCHAR",""],["RAND_MAX",""],["RAX",""],["RBP",""],["RBX",""],["RB_AUTOBOOT",""],["RB_DISABLE_CAD",""],["RB_ENABLE_CAD",""],["RB_HALT_SYSTEM",""],["RB_KEXEC",""],["RB_POWER_OFF",""],["RB_SW_SUSPEND",""],["RCX",""],["RDI",""],["RDTGROUP_SUPER_MAGIC",""],["RDX",""],["READ_IMPLIES_EXEC",""],["REG_BADBR",""],["REG_BADPAT",""],["REG_BADRPT",""],["REG_CR2",""],["REG_CSGSFS",""],["REG_EBRACE",""],["REG_EBRACK",""],["REG_ECOLLATE",""],["REG_ECTYPE",""],["REG_EEND",""],["REG_EESCAPE",""],["REG_EFL",""],["REG_ENOSYS",""],["REG_EPAREN",""],["REG_ERANGE",""],["REG_ERPAREN",""],["REG_ERR",""],["REG_ESIZE",""],["REG_ESPACE",""],["REG_ESUBREG",""],["REG_EXTENDED",""],["REG_ICASE",""],["REG_NEWLINE",""],["REG_NOMATCH",""],["REG_NOSUB",""],["REG_NOTBOL",""],["REG_NOTEOL",""],["REG_OLDMASK",""],["REG_R10",""],["REG_R11",""],["REG_R12",""],["REG_R13",""],["REG_R14",""],["REG_R15",""],["REG_R8",""],["REG_R9",""],["REG_RAX",""],["REG_RBP",""],["REG_RBX",""],["REG_RCX",""],["REG_RDI",""],["REG_RDX",""],["REG_RIP",""],["REG_RSI",""],["REG_RSP",""],["REG_STARTEND",""],["REG_TRAPNO",""],["REISERFS_SUPER_MAGIC",""],["REL_CNT",""],["REL_MAX",""],["RENAME_EXCHANGE",""],["RENAME_NOREPLACE",""],["RENAME_WHITEOUT",""],["REP_CNT",""],["REP_MAX",""],["RESOLVE_BENEATH",""],["RESOLVE_CACHED",""],["RESOLVE_IN_ROOT",""],["RESOLVE_NO_MAGICLINKS",""],["RESOLVE_NO_SYMLINKS",""],["RESOLVE_NO_XDEV",""],["RIP",""],["RLIMIT_AS",""],["RLIMIT_CORE",""],["RLIMIT_CPU",""],["RLIMIT_DATA",""],["RLIMIT_FSIZE",""],["RLIMIT_LOCKS",""],["RLIMIT_MEMLOCK",""],["RLIMIT_MSGQUEUE",""],["RLIMIT_NICE",""],["RLIMIT_NLIMITS",""],["RLIMIT_NOFILE",""],["RLIMIT_NPROC",""],["RLIMIT_RSS",""],["RLIMIT_RTPRIO",""],["RLIMIT_RTTIME",""],["RLIMIT_SIGPENDING",""],["RLIMIT_STACK",""],["RLIM_INFINITY",""],["RLIM_NLIMITS",""],["RLIM_SAVED_CUR",""],["RLIM_SAVED_MAX",""],["RSI",""],["RSP",""],["RTA_CACHEINFO",""],["RTA_DST",""],["RTA_ENCAP",""],["RTA_ENCAP_TYPE",""],["RTA_EXPIRES",""],["RTA_FLOW",""],["RTA_GATEWAY",""],["RTA_IIF",""],["RTA_MARK",""],["RTA_METRICS",""],["RTA_MFC_STATS",""],["RTA_MP_ALGO",""],["RTA_MULTIPATH",""],["RTA_NEWDST",""],["RTA_OIF",""],["RTA_PAD",""],["RTA_PREF",""],["RTA_PREFSRC",""],["RTA_PRIORITY",""],["RTA_PROTOINFO",""],["RTA_SESSION",""],["RTA_SRC",""],["RTA_TABLE",""],["RTA_TTL_PROPAGATE",""],["RTA_UID",""],["RTA_UNSPEC",""],["RTA_VIA",""],["RTCF_DIRECTSRC",""],["RTCF_DOREDIRECT",""],["RTCF_LOG",""],["RTCF_MASQ",""],["RTCF_NAT",""],["RTCF_VALVE",""],["RTF_ADDRCLASSMASK",""],["RTF_ADDRCONF",""],["RTF_ALLONLINK",""],["RTF_BROADCAST",""],["RTF_CACHE",""],["RTF_DEFAULT",""],["RTF_DYNAMIC",""],["RTF_FLOW",""],["RTF_GATEWAY",""],["RTF_HOST",""],["RTF_INTERFACE",""],["RTF_IRTT",""],["RTF_LINKRT",""],["RTF_LOCAL",""],["RTF_MODIFIED",""],["RTF_MSS",""],["RTF_MTU",""],["RTF_MULTICAST",""],["RTF_NAT",""],["RTF_NOFORWARD",""],["RTF_NONEXTHOP",""],["RTF_NOPMTUDISC",""],["RTF_POLICY",""],["RTF_REINSTATE",""],["RTF_REJECT",""],["RTF_STATIC",""],["RTF_THROW",""],["RTF_UP",""],["RTF_WINDOW",""],["RTF_XRESOLVE",""],["RTLD_DEEPBIND",""],["RTLD_DEFAULT",""],["RTLD_DI_CONFIGADDR",""],["RTLD_DI_LINKMAP",""],["RTLD_DI_LMID",""],["RTLD_DI_ORIGIN",""],["RTLD_DI_PROFILENAME",""],["RTLD_DI_PROFILEOUT",""],["RTLD_DI_SERINFO",""],["RTLD_DI_SERINFOSIZE",""],["RTLD_DI_TLS_DATA",""],["RTLD_DI_TLS_MODID",""],["RTLD_GLOBAL",""],["RTLD_LAZY",""],["RTLD_LOCAL",""],["RTLD_NEXT",""],["RTLD_NODELETE",""],["RTLD_NOLOAD",""],["RTLD_NOW",""],["RTMGRP_DECnet_IFADDR",""],["RTMGRP_DECnet_ROUTE",""],["RTMGRP_IPV4_IFADDR",""],["RTMGRP_IPV4_MROUTE",""],["RTMGRP_IPV4_ROUTE",""],["RTMGRP_IPV4_RULE",""],["RTMGRP_IPV6_IFADDR",""],["RTMGRP_IPV6_IFINFO",""],["RTMGRP_IPV6_MROUTE",""],["RTMGRP_IPV6_PREFIX",""],["RTMGRP_IPV6_ROUTE",""],["RTMGRP_LINK",""],["RTMGRP_NEIGH",""],["RTMGRP_NOTIFY",""],["RTMGRP_TC",""],["RTMSG_AR_FAILED",""],["RTMSG_CONTROL",""],["RTMSG_DELDEVICE",""],["RTMSG_DELROUTE",""],["RTMSG_DELRULE",""],["RTMSG_NEWDEVICE",""],["RTMSG_NEWROUTE",""],["RTMSG_NEWRULE",""],["RTMSG_OVERRUN",""],["RTM_DELACTION",""],["RTM_DELADDR",""],["RTM_DELADDRLABEL",""],["RTM_DELLINK",""],["RTM_DELMDB",""],["RTM_DELNEIGH",""],["RTM_DELNETCONF",""],["RTM_DELNSID",""],["RTM_DELQDISC",""],["RTM_DELROUTE",""],["RTM_DELRULE",""],["RTM_DELTCLASS",""],["RTM_DELTFILTER",""],["RTM_F_CLONED",""],["RTM_F_EQUALIZE",""],["RTM_F_FIB_MATCH",""],["RTM_F_LOOKUP_TABLE",""],["RTM_F_NOTIFY",""],["RTM_F_PREFIX",""],["RTM_GETACTION",""],["RTM_GETADDR",""],["RTM_GETADDRLABEL",""],["RTM_GETANYCAST",""],["RTM_GETDCB",""],["RTM_GETLINK",""],["RTM_GETMDB",""],["RTM_GETMULTICAST",""],["RTM_GETNEIGH",""],["RTM_GETNEIGHTBL",""],["RTM_GETNETCONF",""],["RTM_GETNSID",""],["RTM_GETQDISC",""],["RTM_GETROUTE",""],["RTM_GETRULE",""],["RTM_GETSTATS",""],["RTM_GETTCLASS",""],["RTM_GETTFILTER",""],["RTM_NEWACTION",""],["RTM_NEWADDR",""],["RTM_NEWADDRLABEL",""],["RTM_NEWCACHEREPORT",""],["RTM_NEWLINK",""],["RTM_NEWMDB",""],["RTM_NEWNDUSEROPT",""],["RTM_NEWNEIGH",""],["RTM_NEWNEIGHTBL",""],["RTM_NEWNETCONF",""],["RTM_NEWNSID",""],["RTM_NEWPREFIX",""],["RTM_NEWQDISC",""],["RTM_NEWROUTE",""],["RTM_NEWRULE",""],["RTM_NEWSTATS",""],["RTM_NEWTCLASS",""],["RTM_NEWTFILTER",""],["RTM_SETDCB",""],["RTM_SETLINK",""],["RTM_SETNEIGHTBL",""],["RTNLGRP_BRVLAN",""],["RTNLGRP_DCB",""],["RTNLGRP_DECnet_IFADDR",""],["RTNLGRP_DECnet_ROUTE",""],["RTNLGRP_DECnet_RULE",""],["RTNLGRP_IPV4_IFADDR",""],["RTNLGRP_IPV4_MROUTE",""],["RTNLGRP_IPV4_MROUTE_R",""],["RTNLGRP_IPV4_NETCONF",""],["RTNLGRP_IPV4_ROUTE",""],["RTNLGRP_IPV4_RULE",""],["RTNLGRP_IPV6_IFADDR",""],["RTNLGRP_IPV6_IFINFO",""],["RTNLGRP_IPV6_MROUTE",""],["RTNLGRP_IPV6_MROUTE_R",""],["RTNLGRP_IPV6_NETCONF",""],["RTNLGRP_IPV6_PREFIX",""],["RTNLGRP_IPV6_ROUTE",""],["RTNLGRP_IPV6_RULE",""],["RTNLGRP_LINK",""],["RTNLGRP_MCTP_IFADDR",""],["RTNLGRP_MDB",""],["RTNLGRP_MPLS_NETCONF",""],["RTNLGRP_MPLS_ROUTE",""],["RTNLGRP_ND_USEROPT",""],["RTNLGRP_NEIGH",""],["RTNLGRP_NEXTHOP",""],["RTNLGRP_NONE",""],["RTNLGRP_NOP2",""],["RTNLGRP_NOP4",""],["RTNLGRP_NOTIFY",""],["RTNLGRP_NSID",""],["RTNLGRP_PHONET_IFADDR",""],["RTNLGRP_PHONET_ROUTE",""],["RTNLGRP_STATS",""],["RTNLGRP_TC",""],["RTNLGRP_TUNNEL",""],["RTN_ANYCAST",""],["RTN_BLACKHOLE",""],["RTN_BROADCAST",""],["RTN_LOCAL",""],["RTN_MULTICAST",""],["RTN_NAT",""],["RTN_PROHIBIT",""],["RTN_THROW",""],["RTN_UNICAST",""],["RTN_UNREACHABLE",""],["RTN_UNSPEC",""],["RTN_XRESOLVE",""],["RTPROT_BOOT",""],["RTPROT_KERNEL",""],["RTPROT_REDIRECT",""],["RTPROT_STATIC",""],["RTPROT_UNSPEC",""],["RT_CLASS_DEFAULT",""],["RT_CLASS_LOCAL",""],["RT_CLASS_MAIN",""],["RT_CLASS_MAX",""],["RT_CLASS_UNSPEC",""],["RT_SCOPE_HOST",""],["RT_SCOPE_LINK",""],["RT_SCOPE_NOWHERE",""],["RT_SCOPE_SITE",""],["RT_SCOPE_UNIVERSE",""],["RT_TABLE_COMPAT",""],["RT_TABLE_DEFAULT",""],["RT_TABLE_LOCAL",""],["RT_TABLE_MAIN",""],["RT_TABLE_UNSPEC",""],["RUN_LVL",""],["RUSAGE_CHILDREN",""],["RUSAGE_SELF",""],["RUSAGE_THREAD",""],["RWF_APPEND",""],["RWF_DSYNC",""],["RWF_HIPRI",""],["RWF_NOWAIT",""],["RWF_SYNC",""],["R_OK",""],["SA_NOCLDSTOP",""],["SA_NOCLDWAIT",""],["SA_NODEFER",""],["SA_ONSTACK",""],["SA_RESETHAND",""],["SA_RESTART",""],["SA_SIGINFO",""],["SCHED_BATCH",""],["SCHED_FIFO",""],["SCHED_IDLE",""],["SCHED_OTHER",""],["SCHED_RESET_ON_FORK",""],["SCHED_RR",""],["SCM_CREDENTIALS",""],["SCM_J1939_DEST_ADDR",""],["SCM_J1939_DEST_NAME",""],["SCM_J1939_ERRQUEUE",""],["SCM_J1939_PRIO",""],["SCM_RIGHTS",""],["SCM_TIMESTAMP",""],["SCM_TIMESTAMPING",""],["SCM_TIMESTAMPING_OPT_STATS",""],["SCM_TIMESTAMPING_PKTINFO",""],["SCM_TIMESTAMPNS",""],["SCM_TXTIME",""],["SCM_WIFI_STATUS",""],["SECCOMP_FILTER_FLAG_LOG",""],["SECCOMP_FILTER_FLAG_SPEC_ALLOW",""],["SECCOMP_FILTER_FLAG_TSYNC",""],["SECCOMP_GET_ACTION_AVAIL",""],["SECCOMP_GET_NOTIF_SIZES",""],["SECCOMP_MODE_DISABLED",""],["SECCOMP_MODE_FILTER",""],["SECCOMP_MODE_STRICT",""],["SECCOMP_RET_ACTION",""],["SECCOMP_RET_ACTION_FULL",""],["SECCOMP_RET_ALLOW",""],["SECCOMP_RET_DATA",""],["SECCOMP_RET_ERRNO",""],["SECCOMP_RET_KILL",""],["SECCOMP_RET_KILL_PROCESS",""],["SECCOMP_RET_KILL_THREAD",""],["SECCOMP_RET_LOG",""],["SECCOMP_RET_TRACE",""],["SECCOMP_RET_TRAP",""],["SECCOMP_SET_MODE_FILTER",""],["SECCOMP_SET_MODE_STRICT",""],["SECURITYFS_MAGIC",""],["SEEK_CUR",""],["SEEK_DATA",""],["SEEK_END",""],["SEEK_HOLE",""],["SEEK_SET",""],["SELFMAG",""],["SELINUX_MAGIC",""],["SEM_FAILED",""],["SFD_CLOEXEC",""],["SFD_NONBLOCK",""],["SHM_EXEC",""],["SHM_HUGETLB",""],["SHM_LOCK",""],["SHM_NORESERVE",""],["SHM_R",""],["SHM_RDONLY",""],["SHM_REMAP",""],["SHM_RND",""],["SHM_UNLOCK",""],["SHM_W",""],["SHORT_INODE",""],["SHUT_RD",""],["SHUT_RDWR",""],["SHUT_WR",""],["SIGABRT",""],["SIGALRM",""],["SIGBUS",""],["SIGCHLD",""],["SIGCONT",""],["SIGEV_NONE",""],["SIGEV_SIGNAL",""],["SIGEV_THREAD",""],["SIGEV_THREAD_ID",""],["SIGFPE",""],["SIGHUP",""],["SIGILL",""],["SIGINT",""],["SIGIO",""],["SIGIOT",""],["SIGKILL",""],["SIGPIPE",""],["SIGPOLL",""],["SIGPROF",""],["SIGPWR",""],["SIGQUIT",""],["SIGSEGV",""],["SIGSTKFLT",""],["SIGSTKSZ",""],["SIGSTOP",""],["SIGSYS",""],["SIGTERM",""],["SIGTRAP",""],["SIGTSTP",""],["SIGTTIN",""],["SIGTTOU",""],["SIGUNUSED",""],["SIGURG",""],["SIGUSR1",""],["SIGUSR2",""],["SIGVTALRM",""],["SIGWINCH",""],["SIGXCPU",""],["SIGXFSZ",""],["SIG_BLOCK",""],["SIG_DFL",""],["SIG_ERR",""],["SIG_IGN",""],["SIG_SETMASK",""],["SIG_UNBLOCK",""],["SIOCADDMULTI",""],["SIOCADDRT",""],["SIOCDARP",""],["SIOCDELMULTI",""],["SIOCDELRT",""],["SIOCDIFADDR",""],["SIOCDRARP",""],["SIOCETHTOOL",""],["SIOCGARP",""],["SIOCGIFADDR",""],["SIOCGIFBR",""],["SIOCGIFBRDADDR",""],["SIOCGIFCONF",""],["SIOCGIFCOUNT",""],["SIOCGIFDSTADDR",""],["SIOCGIFENCAP",""],["SIOCGIFFLAGS",""],["SIOCGIFHWADDR",""],["SIOCGIFINDEX",""],["SIOCGIFMAP",""],["SIOCGIFMEM",""],["SIOCGIFMETRIC",""],["SIOCGIFMTU",""],["SIOCGIFNAME",""],["SIOCGIFNETMASK",""],["SIOCGIFPFLAGS",""],["SIOCGIFSLAVE",""],["SIOCGIFTXQLEN",""],["SIOCGMIIPHY",""],["SIOCGMIIREG",""],["SIOCGRARP",""],["SIOCGSKNS",""],["SIOCOUTQNSD",""],["SIOCSARP",""],["SIOCSIFADDR",""],["SIOCSIFBR",""],["SIOCSIFBRDADDR",""],["SIOCSIFDSTADDR",""],["SIOCSIFENCAP",""],["SIOCSIFFLAGS",""],["SIOCSIFHWADDR",""],["SIOCSIFHWBROADCAST",""],["SIOCSIFLINK",""],["SIOCSIFMAP",""],["SIOCSIFMEM",""],["SIOCSIFMETRIC",""],["SIOCSIFMTU",""],["SIOCSIFNETMASK",""],["SIOCSIFPFLAGS",""],["SIOCSIFSLAVE",""],["SIOCSIFTXQLEN",""],["SIOCSMIIREG",""],["SIOCSRARP",""],["SIOCWANDEV",""],["SIOGIFINDEX",""],["SI_LOAD_SHIFT",""],["SKF_AD_ALU_XOR_X",""],["SKF_AD_CPU",""],["SKF_AD_HATYPE",""],["SKF_AD_IFINDEX",""],["SKF_AD_MARK",""],["SKF_AD_MAX",""],["SKF_AD_NLATTR",""],["SKF_AD_NLATTR_NEST",""],["SKF_AD_OFF",""],["SKF_AD_PAY_OFFSET",""],["SKF_AD_PKTTYPE",""],["SKF_AD_PROTOCOL",""],["SKF_AD_QUEUE",""],["SKF_AD_RANDOM",""],["SKF_AD_RXHASH",""],["SKF_AD_VLAN_TAG",""],["SKF_AD_VLAN_TAG_PRESENT",""],["SKF_AD_VLAN_TPID",""],["SKF_LL_OFF",""],["SKF_NET_OFF",""],["SK_MEMINFO_BACKLOG",""],["SK_MEMINFO_DROPS",""],["SK_MEMINFO_FWD_ALLOC",""],["SK_MEMINFO_OPTMEM",""],["SK_MEMINFO_RCVBUF",""],["SK_MEMINFO_RMEM_ALLOC",""],["SK_MEMINFO_SNDBUF",""],["SK_MEMINFO_WMEM_ALLOC",""],["SK_MEMINFO_WMEM_QUEUED",""],["SMACK_MAGIC",""],["SMB_SUPER_MAGIC",""],["SND_CNT",""],["SND_MAX",""],["SOCK_CLOEXEC",""],["SOCK_DCCP",""],["SOCK_DGRAM",""],["SOCK_NONBLOCK",""],["SOCK_PACKET",""],["SOCK_RAW",""],["SOCK_RDM",""],["SOCK_SEQPACKET",""],["SOCK_STREAM",""],["SOF_TIMESTAMPING_OPT_CMSG",""],["SOF_TIMESTAMPING_OPT_ID",""],["SOF_TIMESTAMPING_OPT_PKTINFO",""],["SOF_TIMESTAMPING_OPT_STATS",""],["SOF_TIMESTAMPING_OPT_TSONLY",""],["SOF_TIMESTAMPING_OPT_TX_SWHW",""],["SOF_TIMESTAMPING_RAW_HARDWARE",""],["SOF_TIMESTAMPING_RX_HARDWARE",""],["SOF_TIMESTAMPING_RX_SOFTWARE",""],["SOF_TIMESTAMPING_SOFTWARE",""],["SOF_TIMESTAMPING_SYS_HARDWARE",""],["SOF_TIMESTAMPING_TX_ACK",""],["SOF_TIMESTAMPING_TX_HARDWARE",""],["SOF_TIMESTAMPING_TX_SCHED",""],["SOF_TIMESTAMPING_TX_SOFTWARE",""],["SOF_TXTIME_DEADLINE_MODE",""],["SOF_TXTIME_REPORT_ERRORS",""],["SOL_AAL",""],["SOL_ALG",""],["SOL_ATM",""],["SOL_BLUETOOTH",""],["SOL_CAIF",""],["SOL_CAN_BASE",""],["SOL_CAN_J1939",""],["SOL_CAN_RAW",""],["SOL_DCCP",""],["SOL_DECNET",""],["SOL_ICMPV6",""],["SOL_IP",""],["SOL_IPV6",""],["SOL_IRDA",""],["SOL_IUCV",""],["SOL_LLC",""],["SOL_NETBEUI",""],["SOL_NETLINK",""],["SOL_NFC",""],["SOL_PACKET",""],["SOL_PNPIPE",""],["SOL_PPPOL2TP",""],["SOL_RAW",""],["SOL_RDS",""],["SOL_RXRPC",""],["SOL_SOCKET",""],["SOL_TCP",""],["SOL_TIPC",""],["SOL_UDP",""],["SOL_X25",""],["SOL_XDP",""],["SOMAXCONN",""],["SO_ACCEPTCONN",""],["SO_ATTACH_BPF",""],["SO_ATTACH_FILTER",""],["SO_ATTACH_REUSEPORT_CBPF",""],["SO_ATTACH_REUSEPORT_EBPF",""],["SO_BINDTODEVICE",""],["SO_BINDTOIFINDEX",""],["SO_BPF_EXTENSIONS",""],["SO_BROADCAST",""],["SO_BSDCOMPAT",""],["SO_BUSY_POLL",""],["SO_CNX_ADVICE",""],["SO_COOKIE",""],["SO_DEBUG",""],["SO_DETACH_BPF",""],["SO_DETACH_FILTER",""],["SO_DETACH_REUSEPORT_BPF",""],["SO_DOMAIN",""],["SO_DONTROUTE",""],["SO_EE_ORIGIN_ICMP",""],["SO_EE_ORIGIN_ICMP6",""],["SO_EE_ORIGIN_LOCAL",""],["SO_EE_ORIGIN_NONE",""],["SO_EE_ORIGIN_TIMESTAMPING",""],["SO_EE_ORIGIN_TXSTATUS",""],["SO_ERROR",""],["SO_GET_FILTER",""],["SO_INCOMING_CPU",""],["SO_INCOMING_NAPI_ID",""],["SO_J1939_ERRQUEUE",""],["SO_J1939_FILTER",""],["SO_J1939_PROMISC",""],["SO_J1939_SEND_PRIO",""],["SO_KEEPALIVE",""],["SO_LINGER",""],["SO_LOCK_FILTER",""],["SO_MARK",""],["SO_MAX_PACING_RATE",""],["SO_MEMINFO",""],["SO_NOFCS",""],["SO_NO_CHECK",""],["SO_OOBINLINE",""],["SO_ORIGINAL_DST",""],["SO_PASSCRED",""],["SO_PASSSEC",""],["SO_PEEK_OFF",""],["SO_PEERCRED",""],["SO_PEERGROUPS",""],["SO_PEERNAME",""],["SO_PEERSEC",""],["SO_PRIORITY",""],["SO_PROTOCOL",""],["SO_RCVBUF",""],["SO_RCVBUFFORCE",""],["SO_RCVLOWAT",""],["SO_RCVTIMEO",""],["SO_RCVTIMEO_NEW",""],["SO_REUSEADDR",""],["SO_REUSEPORT",""],["SO_RXQ_OVFL",""],["SO_SECURITY_AUTHENTICATION",""],["SO_SECURITY_ENCRYPTION_NETWORK",""],["SO_SECURITY_ENCRYPTION_TRANSPORT",""],["SO_SELECT_ERR_QUEUE",""],["SO_SNDBUF",""],["SO_SNDBUFFORCE",""],["SO_SNDLOWAT",""],["SO_SNDTIMEO",""],["SO_SNDTIMEO_NEW",""],["SO_TIMESTAMP",""],["SO_TIMESTAMPING",""],["SO_TIMESTAMPING_NEW",""],["SO_TIMESTAMPNS",""],["SO_TIMESTAMPNS_NEW",""],["SO_TIMESTAMP_NEW",""],["SO_TXTIME",""],["SO_TYPE",""],["SO_WIFI_STATUS",""],["SO_ZEROCOPY",""],["SPLICE_F_GIFT",""],["SPLICE_F_MORE",""],["SPLICE_F_MOVE",""],["SPLICE_F_NONBLOCK",""],["SS",""],["SS_DISABLE",""],["SS_ONSTACK",""],["STATX_ALL",""],["STATX_ATIME",""],["STATX_ATTR_APPEND",""],["STATX_ATTR_AUTOMOUNT",""],["STATX_ATTR_COMPRESSED",""],["STATX_ATTR_DAX",""],["STATX_ATTR_ENCRYPTED",""],["STATX_ATTR_IMMUTABLE",""],["STATX_ATTR_MOUNT_ROOT",""],["STATX_ATTR_NODUMP",""],["STATX_ATTR_VERITY",""],["STATX_BASIC_STATS",""],["STATX_BLOCKS",""],["STATX_BTIME",""],["STATX_CTIME",""],["STATX_GID",""],["STATX_INO",""],["STATX_MNT_ID",""],["STATX_MODE",""],["STATX_MTIME",""],["STATX_NLINK",""],["STATX_SIZE",""],["STATX_TYPE",""],["STATX_UID",""],["STATX__RESERVED",""],["STA_CLK",""],["STA_CLOCKERR",""],["STA_DEL",""],["STA_FLL",""],["STA_FREQHOLD",""],["STA_INS",""],["STA_MODE",""],["STA_NANO",""],["STA_PLL",""],["STA_PPSERROR",""],["STA_PPSFREQ",""],["STA_PPSJITTER",""],["STA_PPSSIGNAL",""],["STA_PPSTIME",""],["STA_PPSWANDER",""],["STA_RONLY",""],["STA_UNSYNC",""],["STDERR_FILENO",""],["STDIN_FILENO",""],["STDOUT_FILENO",""],["STICKY_TIMEOUTS",""],["ST_APPEND",""],["ST_IMMUTABLE",""],["ST_MANDLOCK",""],["ST_NOATIME",""],["ST_NODEV",""],["ST_NODIRATIME",""],["ST_NOEXEC",""],["ST_NOSUID",""],["ST_RDONLY",""],["ST_RELATIME",""],["ST_SYNCHRONOUS",""],["ST_WRITE",""],["SW_CNT",""],["SW_MAX",""],["SYNC_FILE_RANGE_WAIT_AFTER",""],["SYNC_FILE_RANGE_WAIT_BEFORE",""],["SYNC_FILE_RANGE_WRITE",""],["SYN_CNT",""],["SYN_MAX",""],["SYSFS_MAGIC",""],["SYS__sysctl",""],["SYS_accept",""],["SYS_accept4",""],["SYS_access",""],["SYS_acct",""],["SYS_add_key",""],["SYS_adjtimex",""],["SYS_afs_syscall",""],["SYS_alarm",""],["SYS_arch_prctl",""],["SYS_bind",""],["SYS_bpf",""],["SYS_brk",""],["SYS_capget",""],["SYS_capset",""],["SYS_chdir",""],["SYS_chmod",""],["SYS_chown",""],["SYS_chroot",""],["SYS_clock_adjtime",""],["SYS_clock_getres",""],["SYS_clock_gettime",""],["SYS_clock_nanosleep",""],["SYS_clock_settime",""],["SYS_clone",""],["SYS_clone3",""],["SYS_close",""],["SYS_close_range",""],["SYS_connect",""],["SYS_copy_file_range",""],["SYS_creat",""],["SYS_create_module",""],["SYS_delete_module",""],["SYS_dup",""],["SYS_dup2",""],["SYS_dup3",""],["SYS_epoll_create",""],["SYS_epoll_create1",""],["SYS_epoll_ctl",""],["SYS_epoll_ctl_old",""],["SYS_epoll_pwait",""],["SYS_epoll_pwait2",""],["SYS_epoll_wait",""],["SYS_epoll_wait_old",""],["SYS_eventfd",""],["SYS_eventfd2",""],["SYS_execve",""],["SYS_execveat",""],["SYS_exit",""],["SYS_exit_group",""],["SYS_faccessat",""],["SYS_faccessat2",""],["SYS_fadvise64",""],["SYS_fallocate",""],["SYS_fanotify_init",""],["SYS_fanotify_mark",""],["SYS_fchdir",""],["SYS_fchmod",""],["SYS_fchmodat",""],["SYS_fchown",""],["SYS_fchownat",""],["SYS_fcntl",""],["SYS_fdatasync",""],["SYS_fgetxattr",""],["SYS_finit_module",""],["SYS_flistxattr",""],["SYS_flock",""],["SYS_fork",""],["SYS_fremovexattr",""],["SYS_fsconfig",""],["SYS_fsetxattr",""],["SYS_fsmount",""],["SYS_fsopen",""],["SYS_fspick",""],["SYS_fstat",""],["SYS_fstatfs",""],["SYS_fsync",""],["SYS_ftruncate",""],["SYS_futex",""],["SYS_futex_waitv",""],["SYS_futimesat",""],["SYS_get_kernel_syms",""],["SYS_get_mempolicy",""],["SYS_get_robust_list",""],["SYS_get_thread_area",""],["SYS_getcpu",""],["SYS_getcwd",""],["SYS_getdents",""],["SYS_getdents64",""],["SYS_getegid",""],["SYS_geteuid",""],["SYS_getgid",""],["SYS_getgroups",""],["SYS_getitimer",""],["SYS_getpeername",""],["SYS_getpgid",""],["SYS_getpgrp",""],["SYS_getpid",""],["SYS_getpmsg",""],["SYS_getppid",""],["SYS_getpriority",""],["SYS_getrandom",""],["SYS_getresgid",""],["SYS_getresuid",""],["SYS_getrlimit",""],["SYS_getrusage",""],["SYS_getsid",""],["SYS_getsockname",""],["SYS_getsockopt",""],["SYS_gettid",""],["SYS_gettimeofday",""],["SYS_getuid",""],["SYS_getxattr",""],["SYS_init_module",""],["SYS_inotify_add_watch",""],["SYS_inotify_init",""],["SYS_inotify_init1",""],["SYS_inotify_rm_watch",""],["SYS_io_cancel",""],["SYS_io_destroy",""],["SYS_io_getevents",""],["SYS_io_setup",""],["SYS_io_submit",""],["SYS_io_uring_enter",""],["SYS_io_uring_register",""],["SYS_io_uring_setup",""],["SYS_ioctl",""],["SYS_ioperm",""],["SYS_iopl",""],["SYS_ioprio_get",""],["SYS_ioprio_set",""],["SYS_kcmp",""],["SYS_kexec_file_load",""],["SYS_kexec_load",""],["SYS_keyctl",""],["SYS_kill",""],["SYS_landlock_add_rule",""],["SYS_landlock_create_ruleset",""],["SYS_landlock_restrict_self",""],["SYS_lchown",""],["SYS_lgetxattr",""],["SYS_link",""],["SYS_linkat",""],["SYS_listen",""],["SYS_listxattr",""],["SYS_llistxattr",""],["SYS_lookup_dcookie",""],["SYS_lremovexattr",""],["SYS_lseek",""],["SYS_lsetxattr",""],["SYS_lstat",""],["SYS_madvise",""],["SYS_mbind",""],["SYS_membarrier",""],["SYS_memfd_create",""],["SYS_memfd_secret",""],["SYS_migrate_pages",""],["SYS_mincore",""],["SYS_mkdir",""],["SYS_mkdirat",""],["SYS_mknod",""],["SYS_mknodat",""],["SYS_mlock",""],["SYS_mlock2",""],["SYS_mlockall",""],["SYS_mmap",""],["SYS_modify_ldt",""],["SYS_mount",""],["SYS_mount_setattr",""],["SYS_move_mount",""],["SYS_move_pages",""],["SYS_mprotect",""],["SYS_mq_getsetattr",""],["SYS_mq_notify",""],["SYS_mq_open",""],["SYS_mq_timedreceive",""],["SYS_mq_timedsend",""],["SYS_mq_unlink",""],["SYS_mremap",""],["SYS_msgctl",""],["SYS_msgget",""],["SYS_msgrcv",""],["SYS_msgsnd",""],["SYS_msync",""],["SYS_munlock",""],["SYS_munlockall",""],["SYS_munmap",""],["SYS_name_to_handle_at",""],["SYS_nanosleep",""],["SYS_newfstatat",""],["SYS_nfsservctl",""],["SYS_open",""],["SYS_open_by_handle_at",""],["SYS_open_tree",""],["SYS_openat",""],["SYS_openat2",""],["SYS_pause",""],["SYS_perf_event_open",""],["SYS_personality",""],["SYS_pidfd_getfd",""],["SYS_pidfd_open",""],["SYS_pidfd_send_signal",""],["SYS_pipe",""],["SYS_pipe2",""],["SYS_pivot_root",""],["SYS_pkey_alloc",""],["SYS_pkey_free",""],["SYS_pkey_mprotect",""],["SYS_poll",""],["SYS_ppoll",""],["SYS_prctl",""],["SYS_pread64",""],["SYS_preadv",""],["SYS_preadv2",""],["SYS_prlimit64",""],["SYS_process_madvise",""],["SYS_process_mrelease",""],["SYS_process_vm_readv",""],["SYS_process_vm_writev",""],["SYS_pselect6",""],["SYS_ptrace",""],["SYS_putpmsg",""],["SYS_pwrite64",""],["SYS_pwritev",""],["SYS_pwritev2",""],["SYS_query_module",""],["SYS_quotactl",""],["SYS_quotactl_fd",""],["SYS_read",""],["SYS_readahead",""],["SYS_readlink",""],["SYS_readlinkat",""],["SYS_readv",""],["SYS_reboot",""],["SYS_recvfrom",""],["SYS_recvmmsg",""],["SYS_recvmsg",""],["SYS_remap_file_pages",""],["SYS_removexattr",""],["SYS_rename",""],["SYS_renameat",""],["SYS_renameat2",""],["SYS_request_key",""],["SYS_restart_syscall",""],["SYS_rmdir",""],["SYS_rseq",""],["SYS_rt_sigaction",""],["SYS_rt_sigpending",""],["SYS_rt_sigprocmask",""],["SYS_rt_sigqueueinfo",""],["SYS_rt_sigreturn",""],["SYS_rt_sigsuspend",""],["SYS_rt_sigtimedwait",""],["SYS_rt_tgsigqueueinfo",""],["SYS_sched_get_priority_max",""],["SYS_sched_get_priority_min",""],["SYS_sched_getaffinity",""],["SYS_sched_getattr",""],["SYS_sched_getparam",""],["SYS_sched_getscheduler",""],["SYS_sched_rr_get_interval",""],["SYS_sched_setaffinity",""],["SYS_sched_setattr",""],["SYS_sched_setparam",""],["SYS_sched_setscheduler",""],["SYS_sched_yield",""],["SYS_seccomp",""],["SYS_security",""],["SYS_select",""],["SYS_semctl",""],["SYS_semget",""],["SYS_semop",""],["SYS_semtimedop",""],["SYS_sendfile",""],["SYS_sendmmsg",""],["SYS_sendmsg",""],["SYS_sendto",""],["SYS_set_mempolicy",""],["SYS_set_mempolicy_home_node",""],["SYS_set_robust_list",""],["SYS_set_thread_area",""],["SYS_set_tid_address",""],["SYS_setdomainname",""],["SYS_setfsgid",""],["SYS_setfsuid",""],["SYS_setgid",""],["SYS_setgroups",""],["SYS_sethostname",""],["SYS_setitimer",""],["SYS_setns",""],["SYS_setpgid",""],["SYS_setpriority",""],["SYS_setregid",""],["SYS_setresgid",""],["SYS_setresuid",""],["SYS_setreuid",""],["SYS_setrlimit",""],["SYS_setsid",""],["SYS_setsockopt",""],["SYS_settimeofday",""],["SYS_setuid",""],["SYS_setxattr",""],["SYS_shmat",""],["SYS_shmctl",""],["SYS_shmdt",""],["SYS_shmget",""],["SYS_shutdown",""],["SYS_sigaltstack",""],["SYS_signalfd",""],["SYS_signalfd4",""],["SYS_socket",""],["SYS_socketpair",""],["SYS_splice",""],["SYS_stat",""],["SYS_statfs",""],["SYS_statx",""],["SYS_swapoff",""],["SYS_swapon",""],["SYS_symlink",""],["SYS_symlinkat",""],["SYS_sync",""],["SYS_sync_file_range",""],["SYS_syncfs",""],["SYS_sysfs",""],["SYS_sysinfo",""],["SYS_syslog",""],["SYS_tee",""],["SYS_tgkill",""],["SYS_time",""],["SYS_timer_create",""],["SYS_timer_delete",""],["SYS_timer_getoverrun",""],["SYS_timer_gettime",""],["SYS_timer_settime",""],["SYS_timerfd_create",""],["SYS_timerfd_gettime",""],["SYS_timerfd_settime",""],["SYS_times",""],["SYS_tkill",""],["SYS_truncate",""],["SYS_tuxcall",""],["SYS_umask",""],["SYS_umount2",""],["SYS_uname",""],["SYS_unlink",""],["SYS_unlinkat",""],["SYS_unshare",""],["SYS_uselib",""],["SYS_userfaultfd",""],["SYS_ustat",""],["SYS_utime",""],["SYS_utimensat",""],["SYS_utimes",""],["SYS_vfork",""],["SYS_vhangup",""],["SYS_vmsplice",""],["SYS_vserver",""],["SYS_wait4",""],["SYS_waitid",""],["SYS_write",""],["SYS_writev",""],["S_IEXEC",""],["S_IFBLK",""],["S_IFCHR",""],["S_IFDIR",""],["S_IFIFO",""],["S_IFLNK",""],["S_IFMT",""],["S_IFREG",""],["S_IFSOCK",""],["S_IREAD",""],["S_IRGRP",""],["S_IROTH",""],["S_IRUSR",""],["S_IRWXG",""],["S_IRWXO",""],["S_IRWXU",""],["S_ISGID",""],["S_ISUID",""],["S_ISVTX",""],["S_IWGRP",""],["S_IWOTH",""],["S_IWRITE",""],["S_IWUSR",""],["S_IXGRP",""],["S_IXOTH",""],["S_IXUSR",""],["TAB0",""],["TAB1",""],["TAB2",""],["TAB3",""],["TABDLY",""],["TCA_CHAIN",""],["TCA_DUMP_INVISIBLE",""],["TCA_FCNT",""],["TCA_HW_OFFLOAD",""],["TCA_KIND",""],["TCA_OPTIONS",""],["TCA_PAD",""],["TCA_RATE",""],["TCA_STAB",""],["TCA_STATS",""],["TCA_STATS2",""],["TCA_UNSPEC",""],["TCA_XSTATS",""],["TCFLSH",""],["TCGETA",""],["TCGETS",""],["TCGETS2",""],["TCGETX",""],["TCIFLUSH",""],["TCIOFF",""],["TCIOFLUSH",""],["TCION",""],["TCOFLUSH",""],["TCOOFF",""],["TCOON",""],["TCP_CC_INFO",""],["TCP_CM_INQ",""],["TCP_CONGESTION",""],["TCP_COOKIE_TRANSACTIONS",""],["TCP_CORK",""],["TCP_DEFER_ACCEPT",""],["TCP_FASTOPEN",""],["TCP_FASTOPEN_CONNECT",""],["TCP_FASTOPEN_KEY",""],["TCP_FASTOPEN_NO_COOKIE",""],["TCP_INFO",""],["TCP_INQ",""],["TCP_KEEPCNT",""],["TCP_KEEPIDLE",""],["TCP_KEEPINTVL",""],["TCP_LINGER2",""],["TCP_MAXSEG",""],["TCP_MD5SIG",""],["TCP_MD5SIG_EXT",""],["TCP_NODELAY",""],["TCP_NOTSENT_LOWAT",""],["TCP_QUEUE_SEQ",""],["TCP_QUICKACK",""],["TCP_REPAIR",""],["TCP_REPAIR_OPTIONS",""],["TCP_REPAIR_QUEUE",""],["TCP_REPAIR_WINDOW",""],["TCP_SAVED_SYN",""],["TCP_SAVE_SYN",""],["TCP_SYNCNT",""],["TCP_THIN_DUPACK",""],["TCP_THIN_LINEAR_TIMEOUTS",""],["TCP_TIMESTAMP",""],["TCP_ULP",""],["TCP_USER_TIMEOUT",""],["TCP_WINDOW_CLAMP",""],["TCP_ZEROCOPY_RECEIVE",""],["TCSADRAIN",""],["TCSAFLUSH",""],["TCSANOW",""],["TCSBRK",""],["TCSBRKP",""],["TCSETA",""],["TCSETAF",""],["TCSETAW",""],["TCSETS",""],["TCSETS2",""],["TCSETSF",""],["TCSETSF2",""],["TCSETSW",""],["TCSETSW2",""],["TCSETX",""],["TCSETXF",""],["TCSETXW",""],["TCXONC",""],["TFD_CLOEXEC",""],["TFD_NONBLOCK",""],["TFD_TIMER_ABSTIME",""],["TFD_TIMER_CANCEL_ON_SET",""],["THOUSEP",""],["TIMER_ABSTIME",""],["TIME_BAD",""],["TIME_DEL",""],["TIME_ERROR",""],["TIME_INS",""],["TIME_OK",""],["TIME_OOP",""],["TIME_WAIT",""],["TIOCCBRK",""],["TIOCCONS",""],["TIOCEXCL",""],["TIOCGDEV",""],["TIOCGETD",""],["TIOCGEXCL",""],["TIOCGICOUNT",""],["TIOCGLCKTRMIOS",""],["TIOCGPGRP",""],["TIOCGPKT",""],["TIOCGPTLCK",""],["TIOCGPTN",""],["TIOCGPTPEER",""],["TIOCGRS485",""],["TIOCGSERIAL",""],["TIOCGSID",""],["TIOCGSOFTCAR",""],["TIOCGWINSZ",""],["TIOCINQ",""],["TIOCLINUX",""],["TIOCMBIC",""],["TIOCMBIS",""],["TIOCMGET",""],["TIOCMIWAIT",""],["TIOCMSET",""],["TIOCM_CAR",""],["TIOCM_CD",""],["TIOCM_CTS",""],["TIOCM_DSR",""],["TIOCM_DTR",""],["TIOCM_LE",""],["TIOCM_RI",""],["TIOCM_RNG",""],["TIOCM_RTS",""],["TIOCM_SR",""],["TIOCM_ST",""],["TIOCNOTTY",""],["TIOCNXCL",""],["TIOCOUTQ",""],["TIOCPKT",""],["TIOCSBRK",""],["TIOCSCTTY",""],["TIOCSERCONFIG",""],["TIOCSERGETLSR",""],["TIOCSERGETMULTI",""],["TIOCSERGSTRUCT",""],["TIOCSERGWILD",""],["TIOCSERSETMULTI",""],["TIOCSERSWILD",""],["TIOCSETD",""],["TIOCSIG",""],["TIOCSLCKTRMIOS",""],["TIOCSPGRP",""],["TIOCSPTLCK",""],["TIOCSRS485",""],["TIOCSSERIAL",""],["TIOCSSOFTCAR",""],["TIOCSTI",""],["TIOCSWINSZ",""],["TIOCVHANGUP",""],["TMPFS_MAGIC",""],["TMP_MAX",""],["TOSTOP",""],["TRACEFS_MAGIC",""],["TUN_READQ_SIZE",""],["TUN_TAP_DEV",""],["TUN_TUN_DEV",""],["TUN_TYPE_MASK",""],["T_FMT",""],["T_FMT_AMPM",""],["UDF_SUPER_MAGIC",""],["UDP_CORK",""],["UDP_ENCAP",""],["UDP_GRO",""],["UDP_NO_CHECK6_RX",""],["UDP_NO_CHECK6_TX",""],["UDP_SEGMENT",""],["UINPUT_MAX_NAME_SIZE",""],["UINPUT_VERSION",""],["UIO_MAXIOV",""],["UMOUNT_NOFOLLOW",""],["UNAME26",""],["USBDEVICE_SUPER_MAGIC",""],["USER_PROCESS",""],["USRQUOTA",""],["UTIME_NOW",""],["UTIME_OMIT",""],["VDISCARD",""],["VEOF",""],["VEOL",""],["VEOL2",""],["VERASE",""],["VINTR",""],["VKILL",""],["VLNEXT",""],["VMADDR_CID_ANY",""],["VMADDR_CID_HOST",""],["VMADDR_CID_HYPERVISOR",""],["VMADDR_CID_LOCAL",""],["VMADDR_CID_RESERVED",""],["VMADDR_PORT_ANY",""],["VMIN",""],["VQUIT",""],["VREPRINT",""],["VSTART",""],["VSTOP",""],["VSUSP",""],["VSWTC",""],["VT0",""],["VT1",""],["VTDLY",""],["VTIME",""],["VWERASE",""],["WCONTINUED",""],["WEXITED",""],["WHOLE_SECONDS",""],["WNOHANG",""],["WNOWAIT",""],["WSTOPPED",""],["WUNTRACED",""],["W_OK",""],["XATTR_CREATE",""],["XATTR_REPLACE",""],["XENFS_SUPER_MAGIC",""],["XFS_SUPER_MAGIC",""],["XTABS",""],["X_OK",""],["YESEXPR",""],["YESSTR",""],["_IOFBF",""],["_IOLBF",""],["_IONBF",""],["_PC_2_SYMLINKS",""],["_PC_ALLOC_SIZE_MIN",""],["_PC_ASYNC_IO",""],["_PC_CHOWN_RESTRICTED",""],["_PC_FILESIZEBITS",""],["_PC_LINK_MAX",""],["_PC_MAX_CANON",""],["_PC_MAX_INPUT",""],["_PC_NAME_MAX",""],["_PC_NO_TRUNC",""],["_PC_PATH_MAX",""],["_PC_PIPE_BUF",""],["_PC_PRIO_IO",""],["_PC_REC_INCR_XFER_SIZE",""],["_PC_REC_MAX_XFER_SIZE",""],["_PC_REC_MIN_XFER_SIZE",""],["_PC_REC_XFER_ALIGN",""],["_PC_SOCK_MAXBUF",""],["_PC_SYMLINK_MAX",""],["_PC_SYNC_IO",""],["_PC_VDISABLE",""],["_POSIX_VDISABLE",""],["_SC_2_CHAR_TERM",""],["_SC_2_C_BIND",""],["_SC_2_C_DEV",""],["_SC_2_C_VERSION",""],["_SC_2_FORT_DEV",""],["_SC_2_FORT_RUN",""],["_SC_2_LOCALEDEF",""],["_SC_2_PBS",""],["_SC_2_PBS_ACCOUNTING",""],["_SC_2_PBS_CHECKPOINT",""],["_SC_2_PBS_LOCATE",""],["_SC_2_PBS_MESSAGE",""],["_SC_2_PBS_TRACK",""],["_SC_2_SW_DEV",""],["_SC_2_UPE",""],["_SC_2_VERSION",""],["_SC_ADVISORY_INFO",""],["_SC_AIO_LISTIO_MAX",""],["_SC_AIO_MAX",""],["_SC_AIO_PRIO_DELTA_MAX",""],["_SC_ARG_MAX",""],["_SC_ASYNCHRONOUS_IO",""],["_SC_ATEXIT_MAX",""],["_SC_AVPHYS_PAGES",""],["_SC_BARRIERS",""],["_SC_BASE",""],["_SC_BC_BASE_MAX",""],["_SC_BC_DIM_MAX",""],["_SC_BC_SCALE_MAX",""],["_SC_BC_STRING_MAX",""],["_SC_CHARCLASS_NAME_MAX",""],["_SC_CHAR_BIT",""],["_SC_CHAR_MAX",""],["_SC_CHAR_MIN",""],["_SC_CHILD_MAX",""],["_SC_CLK_TCK",""],["_SC_CLOCK_SELECTION",""],["_SC_COLL_WEIGHTS_MAX",""],["_SC_CPUTIME",""],["_SC_C_LANG_SUPPORT",""],["_SC_C_LANG_SUPPORT_R",""],["_SC_DELAYTIMER_MAX",""],["_SC_DEVICE_IO",""],["_SC_DEVICE_SPECIFIC",""],["_SC_DEVICE_SPECIFIC_R",""],["_SC_EQUIV_CLASS_MAX",""],["_SC_EXPR_NEST_MAX",""],["_SC_FD_MGMT",""],["_SC_FIFO",""],["_SC_FILE_ATTRIBUTES",""],["_SC_FILE_LOCKING",""],["_SC_FILE_SYSTEM",""],["_SC_FSYNC",""],["_SC_GETGR_R_SIZE_MAX",""],["_SC_GETPW_R_SIZE_MAX",""],["_SC_HOST_NAME_MAX",""],["_SC_INT_MAX",""],["_SC_INT_MIN",""],["_SC_IOV_MAX",""],["_SC_IPV6",""],["_SC_JOB_CONTROL",""],["_SC_LEVEL1_DCACHE_ASSOC",""],["_SC_LEVEL1_DCACHE_LINESIZE",""],["_SC_LEVEL1_DCACHE_SIZE",""],["_SC_LEVEL1_ICACHE_ASSOC",""],["_SC_LEVEL1_ICACHE_LINESIZE",""],["_SC_LEVEL1_ICACHE_SIZE",""],["_SC_LEVEL2_CACHE_ASSOC",""],["_SC_LEVEL2_CACHE_LINESIZE",""],["_SC_LEVEL2_CACHE_SIZE",""],["_SC_LEVEL3_CACHE_ASSOC",""],["_SC_LEVEL3_CACHE_LINESIZE",""],["_SC_LEVEL3_CACHE_SIZE",""],["_SC_LEVEL4_CACHE_ASSOC",""],["_SC_LEVEL4_CACHE_LINESIZE",""],["_SC_LEVEL4_CACHE_SIZE",""],["_SC_LINE_MAX",""],["_SC_LOGIN_NAME_MAX",""],["_SC_LONG_BIT",""],["_SC_MAPPED_FILES",""],["_SC_MB_LEN_MAX",""],["_SC_MEMLOCK",""],["_SC_MEMLOCK_RANGE",""],["_SC_MEMORY_PROTECTION",""],["_SC_MESSAGE_PASSING",""],["_SC_MONOTONIC_CLOCK",""],["_SC_MQ_OPEN_MAX",""],["_SC_MQ_PRIO_MAX",""],["_SC_MULTI_PROCESS",""],["_SC_NETWORKING",""],["_SC_NGROUPS_MAX",""],["_SC_NL_ARGMAX",""],["_SC_NL_LANGMAX",""],["_SC_NL_MSGMAX",""],["_SC_NL_NMAX",""],["_SC_NL_SETMAX",""],["_SC_NL_TEXTMAX",""],["_SC_NPROCESSORS_CONF",""],["_SC_NPROCESSORS_ONLN",""],["_SC_NZERO",""],["_SC_OPEN_MAX",""],["_SC_PAGESIZE",""],["_SC_PAGE_SIZE",""],["_SC_PASS_MAX",""],["_SC_PHYS_PAGES",""],["_SC_PII",""],["_SC_PII_INTERNET",""],["_SC_PII_INTERNET_DGRAM",""],["_SC_PII_INTERNET_STREAM",""],["_SC_PII_OSI",""],["_SC_PII_OSI_CLTS",""],["_SC_PII_OSI_COTS",""],["_SC_PII_OSI_M",""],["_SC_PII_SOCKET",""],["_SC_PII_XTI",""],["_SC_PIPE",""],["_SC_POLL",""],["_SC_PRIORITIZED_IO",""],["_SC_PRIORITY_SCHEDULING",""],["_SC_RAW_SOCKETS",""],["_SC_READER_WRITER_LOCKS",""],["_SC_REALTIME_SIGNALS",""],["_SC_REGEXP",""],["_SC_REGEX_VERSION",""],["_SC_RE_DUP_MAX",""],["_SC_RTSIG_MAX",""],["_SC_SAVED_IDS",""],["_SC_SCHAR_MAX",""],["_SC_SCHAR_MIN",""],["_SC_SELECT",""],["_SC_SEMAPHORES",""],["_SC_SEM_NSEMS_MAX",""],["_SC_SEM_VALUE_MAX",""],["_SC_SHARED_MEMORY_OBJECTS",""],["_SC_SHELL",""],["_SC_SHRT_MAX",""],["_SC_SHRT_MIN",""],["_SC_SIGNALS",""],["_SC_SIGQUEUE_MAX",""],["_SC_SINGLE_PROCESS",""],["_SC_SPAWN",""],["_SC_SPIN_LOCKS",""],["_SC_SPORADIC_SERVER",""],["_SC_SSIZE_MAX",""],["_SC_SS_REPL_MAX",""],["_SC_STREAMS",""],["_SC_STREAM_MAX",""],["_SC_SYMLOOP_MAX",""],["_SC_SYNCHRONIZED_IO",""],["_SC_SYSTEM_DATABASE",""],["_SC_SYSTEM_DATABASE_R",""],["_SC_THREADS",""],["_SC_THREAD_ATTR_STACKADDR",""],["_SC_THREAD_ATTR_STACKSIZE",""],["_SC_THREAD_CPUTIME",""],["_SC_THREAD_DESTRUCTOR_ITERATIONS",""],["_SC_THREAD_KEYS_MAX",""],["_SC_THREAD_PRIORITY_SCHEDULING",""],["_SC_THREAD_PRIO_INHERIT",""],["_SC_THREAD_PRIO_PROTECT",""],["_SC_THREAD_PROCESS_SHARED",""],["_SC_THREAD_ROBUST_PRIO_INHERIT",""],["_SC_THREAD_ROBUST_PRIO_PROTECT",""],["_SC_THREAD_SAFE_FUNCTIONS",""],["_SC_THREAD_SPORADIC_SERVER",""],["_SC_THREAD_STACK_MIN",""],["_SC_THREAD_THREADS_MAX",""],["_SC_TIMEOUTS",""],["_SC_TIMERS",""],["_SC_TIMER_MAX",""],["_SC_TRACE",""],["_SC_TRACE_EVENT_FILTER",""],["_SC_TRACE_EVENT_NAME_MAX",""],["_SC_TRACE_INHERIT",""],["_SC_TRACE_LOG",""],["_SC_TRACE_NAME_MAX",""],["_SC_TRACE_SYS_MAX",""],["_SC_TRACE_USER_EVENT_MAX",""],["_SC_TTY_NAME_MAX",""],["_SC_TYPED_MEMORY_OBJECTS",""],["_SC_TZNAME_MAX",""],["_SC_T_IOV_MAX",""],["_SC_UCHAR_MAX",""],["_SC_UINT_MAX",""],["_SC_UIO_MAXIOV",""],["_SC_ULONG_MAX",""],["_SC_USER_GROUPS",""],["_SC_USER_GROUPS_R",""],["_SC_USHRT_MAX",""],["_SC_V6_ILP32_OFF32",""],["_SC_V6_ILP32_OFFBIG",""],["_SC_V6_LP64_OFF64",""],["_SC_V6_LPBIG_OFFBIG",""],["_SC_V7_ILP32_OFF32",""],["_SC_V7_ILP32_OFFBIG",""],["_SC_V7_LP64_OFF64",""],["_SC_V7_LPBIG_OFFBIG",""],["_SC_VERSION",""],["_SC_WORD_BIT",""],["_SC_XBS5_ILP32_OFF32",""],["_SC_XBS5_ILP32_OFFBIG",""],["_SC_XBS5_LP64_OFF64",""],["_SC_XBS5_LPBIG_OFFBIG",""],["_SC_XOPEN_CRYPT",""],["_SC_XOPEN_ENH_I18N",""],["_SC_XOPEN_LEGACY",""],["_SC_XOPEN_REALTIME",""],["_SC_XOPEN_REALTIME_THREADS",""],["_SC_XOPEN_SHM",""],["_SC_XOPEN_STREAMS",""],["_SC_XOPEN_UNIX",""],["_SC_XOPEN_VERSION",""],["_SC_XOPEN_XCU_VERSION",""],["_SC_XOPEN_XPG2",""],["_SC_XOPEN_XPG3",""],["_SC_XOPEN_XPG4",""],["__NFT_REG_MAX",""],["__SIZEOF_PTHREAD_CONDATTR_T",""],["__SIZEOF_PTHREAD_COND_T",""],["__SIZEOF_PTHREAD_MUTEXATTR_T",""],["__SIZEOF_PTHREAD_MUTEX_T",""],["__SIZEOF_PTHREAD_RWLOCKATTR_T",""],["__SIZEOF_PTHREAD_RWLOCK_T",""],["__UT_HOSTSIZE",""],["__UT_LINESIZE",""],["__UT_NAMESIZE",""],["__WALL",""],["__WCLONE",""],["__WNOTHREAD",""]],"enum":[["DIR",""],["FILE",""],["c_void","Equivalent to C’s `void` type when used as a [pointer]."],["fpos64_t",""],["fpos_t",""],["timezone",""]],"fn":[["BPF_JUMP",""],["BPF_MISCOP",""],["BPF_RVAL",""],["BPF_STMT",""],["CMSG_DATA",""],["CMSG_FIRSTHDR",""],["CMSG_LEN",""],["CMSG_NXTHDR",""],["CMSG_SPACE",""],["CPU_ALLOC_SIZE",""],["CPU_CLR",""],["CPU_COUNT",""],["CPU_COUNT_S",""],["CPU_EQUAL",""],["CPU_ISSET",""],["CPU_SET",""],["CPU_ZERO",""],["FD_CLR",""],["FD_ISSET",""],["FD_SET",""],["FD_ZERO",""],["IPOPT_CLASS",""],["IPOPT_COPIED",""],["IPOPT_NUMBER",""],["IPTOS_ECN",""],["IPTOS_PREC",""],["IPTOS_TOS",""],["KERNEL_VERSION",""],["NLA_ALIGN",""],["QCMD",""],["RT_ADDRCLASS",""],["RT_LOCALADDR",""],["RT_TOS",""],["SIGRTMAX",""],["SIGRTMIN",""],["SO_EE_OFFENDER",""],["WCOREDUMP",""],["WEXITSTATUS",""],["WIFCONTINUED",""],["WIFEXITED",""],["WIFSIGNALED",""],["WIFSTOPPED",""],["WSTOPSIG",""],["WTERMSIG",""],["W_EXITCODE",""],["W_STOPCODE",""],["__errno_location",""],["_exit",""],["abort",""],["abs",""],["accept",""],["accept4",""],["access",""],["acct",""],["addmntent",""],["adjtime",""],["adjtimex",""],["aio_cancel",""],["aio_error",""],["aio_fsync",""],["aio_read",""],["aio_return",""],["aio_suspend",""],["aio_write",""],["alarm",""],["asctime_r",""],["atexit",""],["atof",""],["atoi",""],["atol",""],["atoll",""],["backtrace",""],["bind",""],["brk",""],["bsearch",""],["calloc",""],["cfgetispeed",""],["cfgetospeed",""],["cfmakeraw",""],["cfsetispeed",""],["cfsetospeed",""],["cfsetspeed",""],["chdir",""],["chmod",""],["chown",""],["chroot",""],["clearenv",""],["clearerr",""],["clock_adjtime",""],["clock_getcpuclockid",""],["clock_getres",""],["clock_gettime",""],["clock_nanosleep",""],["clock_settime",""],["clone",""],["close",""],["closedir",""],["closelog",""],["connect",""],["copy_file_range",""],["creat",""],["creat64",""],["ctermid",""],["ctime_r",""],["daemon",""],["difftime",""],["dirfd",""],["dirname",""],["dl_iterate_phdr",""],["dladdr",""],["dladdr1",""],["dlclose",""],["dlerror",""],["dlinfo",""],["dlmopen",""],["dlopen",""],["dlsym",""],["drand48",""],["dup",""],["dup2",""],["dup3",""],["duplocale",""],["eaccess",""],["endgrent",""],["endmntent",""],["endpwent",""],["endservent",""],["endspent",""],["endutxent",""],["epoll_create",""],["epoll_create1",""],["epoll_ctl",""],["epoll_pwait",""],["epoll_wait",""],["erand48",""],["euidaccess",""],["eventfd",""],["execl",""],["execle",""],["execlp",""],["execv",""],["execve",""],["execvp",""],["execvpe",""],["exit",""],["explicit_bzero",""],["faccessat",""],["fallocate",""],["fallocate64",""],["fanotify_init",""],["fanotify_mark",""],["fchdir",""],["fchmod",""],["fchmodat",""],["fchown",""],["fchownat",""],["fclose",""],["fcntl",""],["fdatasync",""],["fdopen",""],["fdopendir",""],["feof",""],["ferror",""],["fexecve",""],["fflush",""],["fgetc",""],["fgetgrent_r",""],["fgetpos",""],["fgetpos64",""],["fgetpwent_r",""],["fgets",""],["fgetspent_r",""],["fgetxattr",""],["fileno",""],["flistxattr",""],["flock",""],["fmemopen",""],["fopen",""],["fopen64",""],["fork",""],["forkpty",""],["fpathconf",""],["fprintf",""],["fputc",""],["fputs",""],["fread",""],["fread_unlocked",""],["free",""],["freeaddrinfo",""],["freeifaddrs",""],["freelocale",""],["fremovexattr",""],["freopen",""],["freopen64",""],["fscanf",""],["fseek",""],["fseeko",""],["fseeko64",""],["fsetpos",""],["fsetpos64",""],["fsetxattr",""],["fstat",""],["fstat64",""],["fstatat",""],["fstatat64",""],["fstatfs",""],["fstatfs64",""],["fstatvfs",""],["fstatvfs64",""],["fsync",""],["ftell",""],["ftello",""],["ftello64",""],["ftok",""],["ftruncate",""],["ftruncate64",""],["futimens",""],["futimes",""],["fwrite",""],["gai_strerror",""],["getaddrinfo",""],["getauxval",""],["getchar",""],["getchar_unlocked",""],["getcontext",""],["getcwd",""],["getdomainname",""],["getdtablesize",""],["getegid",""],["getentropy",""],["getenv",""],["geteuid",""],["getgid",""],["getgrent",""],["getgrent_r",""],["getgrgid",""],["getgrgid_r",""],["getgrnam",""],["getgrnam_r",""],["getgrouplist",""],["getgroups",""],["gethostid",""],["gethostname",""],["getifaddrs",""],["getline",""],["getloadavg",""],["getlogin",""],["getmntent",""],["getnameinfo",""],["getopt",""],["getopt_long",""],["getpeername",""],["getpgid",""],["getpgrp",""],["getpid",""],["getppid",""],["getpriority",""],["getprotobyname",""],["getprotobynumber",""],["getpt",""],["getpwent",""],["getpwent_r",""],["getpwnam",""],["getpwnam_r",""],["getpwuid",""],["getpwuid_r",""],["getrandom",""],["getresgid",""],["getresuid",""],["getrlimit",""],["getrlimit64",""],["getrusage",""],["getservbyname",""],["getservbyport",""],["getservent",""],["getsid",""],["getsockname",""],["getsockopt",""],["getspent",""],["getspent_r",""],["getspnam",""],["getspnam_r",""],["gettid",""],["gettimeofday",""],["getuid",""],["getutxent",""],["getutxid",""],["getutxline",""],["getxattr",""],["glob",""],["glob64",""],["globfree",""],["globfree64",""],["gmtime",""],["gmtime_r",""],["gnu_basename","GNU version of `basename(3)`, defined in `string.h`."],["gnu_get_libc_release",""],["gnu_get_libc_version",""],["grantpt",""],["hasmntopt",""],["hstrerror",""],["iconv",""],["iconv_close",""],["iconv_open",""],["if_freenameindex",""],["if_indextoname",""],["if_nameindex",""],["if_nametoindex",""],["initgroups",""],["inotify_add_watch",""],["inotify_init",""],["inotify_init1",""],["inotify_rm_watch",""],["ioctl",""],["ioperm",""],["iopl",""],["isalnum",""],["isalpha",""],["isatty",""],["isblank",""],["iscntrl",""],["isdigit",""],["isgraph",""],["islower",""],["isprint",""],["ispunct",""],["isspace",""],["isupper",""],["isxdigit",""],["jrand48",""],["kill",""],["killpg",""],["labs",""],["lchown",""],["lcong48",""],["lgetxattr",""],["link",""],["linkat",""],["lio_listio",""],["listen",""],["listxattr",""],["llistxattr",""],["localeconv",""],["localtime",""],["localtime_r",""],["lockf",""],["login_tty",""],["lrand48",""],["lremovexattr",""],["lseek",""],["lseek64",""],["lsetxattr",""],["lstat",""],["lstat64",""],["lutimes",""],["madvise",""],["major",""],["makecontext",""],["makedev",""],["mallinfo",""],["mallinfo2",""],["malloc",""],["malloc_info",""],["malloc_trim",""],["malloc_usable_size",""],["mallopt",""],["memalign",""],["memchr",""],["memcmp",""],["memcpy",""],["memfd_create",""],["memmem",""],["memmove",""],["memrchr",""],["memset",""],["mincore",""],["minor",""],["mkdir",""],["mkdirat",""],["mkdtemp",""],["mkfifo",""],["mkfifoat",""],["mknod",""],["mknodat",""],["mkostemp",""],["mkostemps",""],["mkstemp",""],["mkstemps",""],["mktime",""],["mlock",""],["mlock2",""],["mlockall",""],["mmap",""],["mmap64",""],["mount",""],["mprotect",""],["mq_close",""],["mq_getattr",""],["mq_open",""],["mq_receive",""],["mq_send",""],["mq_setattr",""],["mq_timedreceive",""],["mq_timedsend",""],["mq_unlink",""],["mrand48",""],["mremap",""],["msgctl",""],["msgget",""],["msgrcv",""],["msgsnd",""],["msync",""],["munlock",""],["munlockall",""],["munmap",""],["nanosleep",""],["newlocale",""],["nice",""],["nl_langinfo",""],["nl_langinfo_l",""],["nrand48",""],["ntp_adjtime",""],["ntp_gettime",""],["open",""],["open64",""],["open_memstream",""],["open_wmemstream",""],["openat",""],["openat64",""],["opendir",""],["openlog",""],["openpty",""],["pathconf",""],["pause",""],["pclose",""],["perror",""],["personality",""],["pipe",""],["pipe2",""],["poll",""],["popen",""],["posix_basename","POSIX version of `basename(3)`, defined in `libgen.h`."],["posix_fadvise",""],["posix_fadvise64",""],["posix_fallocate",""],["posix_fallocate64",""],["posix_madvise",""],["posix_memalign",""],["posix_openpt",""],["posix_spawn",""],["posix_spawn_file_actions_addclose",""],["posix_spawn_file_actions_adddup2",""],["posix_spawn_file_actions_addopen",""],["posix_spawn_file_actions_destroy",""],["posix_spawn_file_actions_init",""],["posix_spawnattr_destroy",""],["posix_spawnattr_getflags",""],["posix_spawnattr_getpgroup",""],["posix_spawnattr_getschedparam",""],["posix_spawnattr_getschedpolicy",""],["posix_spawnattr_getsigdefault",""],["posix_spawnattr_getsigmask",""],["posix_spawnattr_init",""],["posix_spawnattr_setflags",""],["posix_spawnattr_setpgroup",""],["posix_spawnattr_setschedparam",""],["posix_spawnattr_setschedpolicy",""],["posix_spawnattr_setsigdefault",""],["posix_spawnattr_setsigmask",""],["posix_spawnp",""],["ppoll",""],["prctl",""],["pread",""],["pread64",""],["preadv",""],["preadv2",""],["preadv64",""],["preadv64v2",""],["printf",""],["prlimit",""],["prlimit64",""],["process_vm_readv",""],["process_vm_writev",""],["pselect",""],["pthread_atfork",""],["pthread_attr_destroy",""],["pthread_attr_getaffinity_np",""],["pthread_attr_getguardsize",""],["pthread_attr_getstack",""],["pthread_attr_init",""],["pthread_attr_setaffinity_np",""],["pthread_attr_setdetachstate",""],["pthread_attr_setstacksize",""],["pthread_cancel",""],["pthread_cond_broadcast",""],["pthread_cond_destroy",""],["pthread_cond_init",""],["pthread_cond_signal",""],["pthread_cond_timedwait",""],["pthread_cond_wait",""],["pthread_condattr_destroy",""],["pthread_condattr_getclock",""],["pthread_condattr_getpshared",""],["pthread_condattr_init",""],["pthread_condattr_setclock",""],["pthread_condattr_setpshared",""],["pthread_create",""],["pthread_detach",""],["pthread_exit",""],["pthread_getaffinity_np",""],["pthread_getattr_np",""],["pthread_getcpuclockid",""],["pthread_getname_np",""],["pthread_getschedparam",""],["pthread_getspecific",""],["pthread_join",""],["pthread_key_create",""],["pthread_key_delete",""],["pthread_kill",""],["pthread_mutex_consistent",""],["pthread_mutex_destroy",""],["pthread_mutex_init",""],["pthread_mutex_lock",""],["pthread_mutex_timedlock",""],["pthread_mutex_trylock",""],["pthread_mutex_unlock",""],["pthread_mutexattr_destroy",""],["pthread_mutexattr_getprotocol",""],["pthread_mutexattr_getpshared",""],["pthread_mutexattr_getrobust",""],["pthread_mutexattr_init",""],["pthread_mutexattr_setprotocol",""],["pthread_mutexattr_setpshared",""],["pthread_mutexattr_setrobust",""],["pthread_mutexattr_settype",""],["pthread_rwlock_destroy",""],["pthread_rwlock_init",""],["pthread_rwlock_rdlock",""],["pthread_rwlock_tryrdlock",""],["pthread_rwlock_trywrlock",""],["pthread_rwlock_unlock",""],["pthread_rwlock_wrlock",""],["pthread_rwlockattr_destroy",""],["pthread_rwlockattr_getkind_np",""],["pthread_rwlockattr_getpshared",""],["pthread_rwlockattr_init",""],["pthread_rwlockattr_setkind_np",""],["pthread_rwlockattr_setpshared",""],["pthread_self",""],["pthread_setaffinity_np",""],["pthread_setname_np",""],["pthread_setschedparam",""],["pthread_setschedprio",""],["pthread_setspecific",""],["pthread_sigmask",""],["pthread_sigqueue",""],["pthread_spin_destroy",""],["pthread_spin_init",""],["pthread_spin_lock",""],["pthread_spin_trylock",""],["pthread_spin_unlock",""],["ptrace",""],["ptsname",""],["ptsname_r",""],["putchar",""],["putchar_unlocked",""],["putenv",""],["puts",""],["pututxline",""],["pwrite",""],["pwrite64",""],["pwritev",""],["pwritev2",""],["pwritev64",""],["pwritev64v2",""],["qsort",""],["qsort_r",""],["quotactl",""],["raise",""],["rand",""],["read",""],["readahead",""],["readdir",""],["readdir64",""],["readdir64_r",""],["readdir_r","The 64-bit libc on Solaris and illumos only has readdir_r. If a 32-bit Solaris or illumos target is ever created, it should use __posix_readdir_r. See libc(3LIB) on Solaris or illumos: https:\/\/illumos.org\/man\/3lib\/libc https:\/\/docs.oracle.com\/cd\/E36784_01\/html\/E36873\/libc-3lib.html https:\/\/www.unix.com\/man-page\/opensolaris\/3LIB\/libc\/"],["readlink",""],["readlinkat",""],["readv",""],["realloc",""],["reallocarray",""],["realpath",""],["reboot",""],["recv",""],["recvfrom",""],["recvmmsg",""],["recvmsg",""],["regcomp",""],["regerror",""],["regexec",""],["regfree",""],["remap_file_pages",""],["remove",""],["removexattr",""],["rename",""],["renameat",""],["renameat2",""],["res_init",""],["rewind",""],["rewinddir",""],["rmdir",""],["sbrk",""],["scanf",""],["sched_get_priority_max",""],["sched_get_priority_min",""],["sched_getaffinity",""],["sched_getcpu",""],["sched_getparam",""],["sched_getscheduler",""],["sched_rr_get_interval",""],["sched_setaffinity",""],["sched_setparam",""],["sched_setscheduler",""],["sched_yield",""],["seed48",""],["seekdir",""],["select",""],["sem_close",""],["sem_destroy",""],["sem_getvalue",""],["sem_init",""],["sem_open",""],["sem_post",""],["sem_timedwait",""],["sem_trywait",""],["sem_unlink",""],["sem_wait",""],["semctl",""],["semget",""],["semop",""],["send",""],["sendfile",""],["sendfile64",""],["sendmmsg",""],["sendmsg",""],["sendto",""],["setbuf",""],["setcontext",""],["setdomainname",""],["setegid",""],["setenv",""],["seteuid",""],["setfsgid",""],["setfsuid",""],["setgid",""],["setgrent",""],["setgroups",""],["sethostid",""],["sethostname",""],["setlocale",""],["setlogmask",""],["setmntent",""],["setns",""],["setpgid",""],["setpriority",""],["setpwent",""],["setregid",""],["setresgid",""],["setresuid",""],["setreuid",""],["setrlimit",""],["setrlimit64",""],["setservent",""],["setsid",""],["setsockopt",""],["setspent",""],["settimeofday",""],["setuid",""],["setutxent",""],["setvbuf",""],["setxattr",""],["sgetspent_r",""],["shm_open",""],["shm_unlink",""],["shmat",""],["shmctl",""],["shmdt",""],["shmget",""],["shutdown",""],["sigaction",""],["sigaddset",""],["sigaltstack",""],["sigdelset",""],["sigemptyset",""],["sigfillset",""],["sigismember",""],["signal",""],["signalfd",""],["sigpending",""],["sigprocmask",""],["sigsuspend",""],["sigtimedwait",""],["sigwait",""],["sigwaitinfo",""],["sleep",""],["snprintf",""],["socket",""],["socketpair",""],["splice",""],["sprintf",""],["srand",""],["srand48",""],["sscanf",""],["stat",""],["stat64",""],["statfs",""],["statfs64",""],["statvfs",""],["statvfs64",""],["statx",""],["stpcpy",""],["stpncpy",""],["strcasecmp",""],["strcasestr",""],["strcat",""],["strchr",""],["strcmp",""],["strcoll",""],["strcpy",""],["strcspn",""],["strdup",""],["strerror",""],["strerror_r",""],["strftime",""],["strlen",""],["strncasecmp",""],["strncat",""],["strncmp",""],["strncpy",""],["strndup",""],["strnlen",""],["strpbrk",""],["strptime",""],["strrchr",""],["strsignal",""],["strspn",""],["strstr",""],["strtod",""],["strtof",""],["strtok",""],["strtok_r",""],["strtol",""],["strtoll",""],["strtoul",""],["strtoull",""],["strxfrm",""],["swapcontext",""],["swapoff",""],["swapon",""],["symlink",""],["symlinkat",""],["sync",""],["sync_file_range",""],["syncfs",""],["syscall",""],["sysconf",""],["sysctl",""],["sysinfo",""],["syslog",""],["system",""],["tcdrain",""],["tcflow",""],["tcflush",""],["tcgetattr",""],["tcgetpgrp",""],["tcgetsid",""],["tcsendbreak",""],["tcsetattr",""],["tcsetpgrp",""],["tee",""],["telldir",""],["time",""],["timegm",""],["timer_create",""],["timer_delete",""],["timer_getoverrun",""],["timer_gettime",""],["timer_settime",""],["timerfd_create",""],["timerfd_gettime",""],["timerfd_settime",""],["times",""],["tmpfile",""],["tmpfile64",""],["tmpnam",""],["tolower",""],["toupper",""],["truncate",""],["truncate64",""],["ttyname",""],["ttyname_r",""],["umask",""],["umount",""],["umount2",""],["uname",""],["ungetc",""],["unlink",""],["unlinkat",""],["unlockpt",""],["unsetenv",""],["unshare",""],["uselocale",""],["usleep",""],["utime",""],["utimensat",""],["utimes",""],["utmpname",""],["utmpxname",""],["vfork",""],["vhangup",""],["vmsplice",""],["wait",""],["wait4",""],["waitid",""],["waitpid",""],["wcslen",""],["wcstombs",""],["wmemchr",""],["write",""],["writev",""]],"struct":[["Dl_info",""],["Elf32_Chdr",""],["Elf32_Ehdr",""],["Elf32_Phdr",""],["Elf32_Shdr",""],["Elf32_Sym",""],["Elf64_Chdr",""],["Elf64_Ehdr",""],["Elf64_Phdr",""],["Elf64_Shdr",""],["Elf64_Sym",""],["__c_anonymous_ifru_map",""],["__c_anonymous_ptrace_syscall_info_entry",""],["__c_anonymous_ptrace_syscall_info_exit",""],["__c_anonymous_ptrace_syscall_info_seccomp",""],["__c_anonymous_sockaddr_can_j1939",""],["__c_anonymous_sockaddr_can_tp",""],["__exit_status",""],["__timeval",""],["_libc_fpstate",""],["_libc_fpxreg",""],["_libc_xmmreg",""],["addrinfo",""],["af_alg_iv","WARNING: The `PartialEq`, `Eq` and `Hash` implementations of this type are unsound and will be removed in the future."],["aiocb",""],["arpd_request",""],["arphdr",""],["arpreq",""],["arpreq_old",""],["can_filter",""],["can_frame",""],["canfd_frame",""],["clone_args",""],["cmsghdr",""],["cpu_set_t",""],["dirent",""],["dirent64",""],["dl_phdr_info",""],["dqblk",""],["epoll_event",""],["fanotify_event_metadata",""],["fanotify_response",""],["fd_set",""],["ff_condition_effect",""],["ff_constant_effect",""],["ff_effect",""],["ff_envelope",""],["ff_periodic_effect",""],["ff_ramp_effect",""],["ff_replay",""],["ff_rumble_effect",""],["ff_trigger",""],["file_clone_range",""],["flock",""],["flock64",""],["fsid_t",""],["genlmsghdr",""],["glob64_t",""],["glob_t",""],["group",""],["hostent",""],["if_nameindex",""],["ifaddrs",""],["ifreq",""],["in6_addr",""],["in6_ifreq",""],["in6_pktinfo",""],["in6_rtmsg",""],["in_addr",""],["in_pktinfo",""],["inotify_event",""],["input_absinfo",""],["input_event",""],["input_id",""],["input_keymap_entry",""],["input_mask",""],["iovec",""],["ip_mreq",""],["ip_mreq_source",""],["ip_mreqn",""],["ipc_perm",""],["ipv6_mreq",""],["itimerspec",""],["itimerval",""],["j1939_filter",""],["lconv",""],["linger",""],["mallinfo",""],["mallinfo2",""],["max_align_t",""],["mcontext_t",""],["mmsghdr",""],["mntent",""],["mq_attr",""],["msghdr",""],["msginfo",""],["msqid_ds",""],["nl_mmap_hdr",""],["nl_mmap_req",""],["nl_pktinfo",""],["nlattr",""],["nlmsgerr",""],["nlmsghdr",""],["ntptimeval",""],["open_how",""],["option",""],["packet_mreq",""],["passwd",""],["pollfd",""],["posix_spawn_file_actions_t",""],["posix_spawnattr_t",""],["protoent",""],["pthread_attr_t",""],["pthread_cond_t",""],["pthread_condattr_t",""],["pthread_mutex_t",""],["pthread_mutexattr_t",""],["pthread_rwlock_t",""],["pthread_rwlockattr_t",""],["ptrace_peeksiginfo_args",""],["ptrace_rseq_configuration",""],["ptrace_syscall_info",""],["regex_t",""],["regmatch_t",""],["rlimit",""],["rlimit64",""],["rtentry",""],["rusage",""],["sched_param",""],["seccomp_data",""],["seccomp_notif_sizes",""],["sem_t",""],["sembuf",""],["semid_ds",""],["seminfo",""],["servent",""],["shmid_ds",""],["sigaction",""],["sigevent",""],["siginfo_t",""],["signalfd_siginfo",""],["sigset_t",""],["sigval",""],["sock_extended_err",""],["sock_filter",""],["sock_fprog",""],["sock_txtime",""],["sockaddr",""],["sockaddr_alg",""],["sockaddr_can",""],["sockaddr_in",""],["sockaddr_in6",""],["sockaddr_ll",""],["sockaddr_nl",""],["sockaddr_storage",""],["sockaddr_un",""],["sockaddr_vm",""],["spwd",""],["stack_t",""],["stat",""],["stat64",""],["statfs",""],["statfs64",""],["statvfs",""],["statvfs64",""],["statx",""],["statx_timestamp",""],["sysinfo",""],["termios",""],["termios2",""],["timespec",""],["timeval",""],["timex",""],["tm",""],["tms",""],["ucontext_t",""],["ucred",""],["uinput_abs_setup",""],["uinput_ff_erase",""],["uinput_ff_upload",""],["uinput_setup",""],["uinput_user_dev",""],["user",""],["user_fpregs_struct",""],["user_regs_struct",""],["utimbuf",""],["utmpx",""],["utsname",""],["winsize",""]],"type":[["Elf32_Addr",""],["Elf32_Half",""],["Elf32_Off",""],["Elf32_Section",""],["Elf32_Word",""],["Elf64_Addr",""],["Elf64_Half",""],["Elf64_Off",""],["Elf64_Section",""],["Elf64_Sxword",""],["Elf64_Word",""],["Elf64_Xword",""],["Lmid_t",""],["__fsword_t",""],["__priority_which_t",""],["__rlimit_resource_t",""],["__s16",""],["__s32",""],["__s64",""],["__syscall_ulong_t",""],["__u16",""],["__u32",""],["__u64",""],["__u8",""],["blkcnt64_t",""],["blkcnt_t",""],["blksize_t",""],["c_char",""],["c_double",""],["c_float",""],["c_int",""],["c_long",""],["c_longlong",""],["c_schar",""],["c_short",""],["c_uchar",""],["c_uint",""],["c_ulong",""],["c_ulonglong",""],["c_ushort",""],["can_err_mask_t",""],["canid_t",""],["cc_t",""],["clock_t",""],["clockid_t",""],["dev_t",""],["fsblkcnt_t",""],["fsfilcnt_t",""],["gid_t",""],["greg_t",""],["iconv_t",""],["id_t",""],["idtype_t",""],["in_addr_t",""],["in_port_t",""],["ino64_t",""],["ino_t",""],["int16_t",""],["int32_t",""],["int64_t",""],["int8_t",""],["intmax_t",""],["intptr_t",""],["key_t",""],["locale_t",""],["loff_t",""],["mode_t",""],["mqd_t",""],["msglen_t",""],["msgqnum_t",""],["name_t",""],["nfds_t",""],["nl_item",""],["nlink_t",""],["off64_t",""],["off_t",""],["pgn_t",""],["pid_t",""],["priority_t",""],["pthread_key_t",""],["pthread_spinlock_t",""],["pthread_t",""],["ptrdiff_t",""],["regoff_t",""],["rlim64_t",""],["rlim_t",""],["sa_family_t",""],["shmatt_t",""],["sighandler_t",""],["size_t",""],["socklen_t",""],["speed_t",""],["ssize_t",""],["suseconds_t",""],["tcflag_t",""],["time_t",""],["timer_t",""],["uid_t",""],["uint16_t",""],["uint32_t",""],["uint64_t",""],["uint8_t",""],["uintmax_t",""],["uintptr_t",""],["useconds_t",""],["wchar_t",""]],"union":[["__c_anonymous_ifr_ifru",""],["__c_anonymous_ptrace_syscall_info_data",""],["__c_anonymous_sockaddr_can_can_addr",""]]};/;" p class:window.SIDEBAR_ITEMS
|
||
union guessing_game/target/doc/ppv_lite86/x86_64/sidebar-items.js /^window.SIDEBAR_ITEMS = {"struct":[["Avx2Machine",""],["NoA1",""],["NoA2",""],["NoNI",""],["NoS3",""],["NoS4",""],["SseMachine",""],["YesA1",""],["YesA2",""],["YesNI",""],["YesS3",""],["YesS4",""]],"type":[["AVX","AVX but not AVX2: only 128-bit integer operations, but use VEX versions of everything to avoid expensive SSE\/VEX conflicts."],["AVX2",""],["SSE2",""],["SSE41",""],["SSSE3",""]],"union":[["vec128_storage","Generic wrapper for unparameterized storage of any of the possible impls. Converting into and out of this type should be essentially free, although it may be more aligned than a particular impl requires."],["vec256_storage",""],["vec512_storage",""]]};/;" p class:window.SIDEBAR_ITEMS
|
||
updateLightAndDark guessing_game/target/doc/static.files/settings-bebeae96e00e4617.js /^"use strict";(function(){const isSettingsPage=window.location.pathname.endsWith("\/settings.html");function changeSetting(settingName,value){if(settingName==="theme"){const useSystem=value==="system preference"?"true":"false";updateLocalStorage("use-system-theme",useSystem)}updateLocalStorage(settingName,value);switch(settingName){case"theme":case"preferred-dark-theme":case"preferred-light-theme":updateSystemTheme();updateLightAndDark();break;case"line-numbers":if(value===true){window.rustdoc_add_line_numbers_to_examples()}else{window.rustdoc_remove_line_numbers_from_examples()}break}}function handleKey(ev){if(ev.ctrlKey||ev.altKey||ev.metaKey){return}switch(getVirtualKey(ev)){case"Enter":case"Return":case"Space":ev.target.checked=!ev.target.checked;ev.preventDefault();break}}function showLightAndDark(){removeClass(document.getElementById("preferred-light-theme").parentElement,"hidden");removeClass(document.getElementById("preferred-dark-theme").parentElement,"hidden")}function hideLightAndDark(){addClass(document.getElementById("preferred-light-theme").parentElement,"hidden");addClass(document.getElementById("preferred-dark-theme").parentElement,"hidden")}function updateLightAndDark(){const useSystem=getSettingValue("use-system-theme");if(useSystem==="true"||(useSystem===null&&getSettingValue("theme")===null)){showLightAndDark()}else{hideLightAndDark()}}function setEvents(settingsElement){updateLightAndDark();onEachLazy(settingsElement.querySelectorAll("input[type=\\"checkbox\\"]"),toggle=>{const settingId=toggle.id;const settingValue=getSettingValue(settingId);if(settingValue!==null){toggle.checked=settingValue==="true"}toggle.onchange=function(){changeSetting(this.id,this.checked)};toggle.onkeyup=handleKey;toggle.onkeyrelease=handleKey});onEachLazy(settingsElement.getElementsByClassName("select-wrapper"),elem=>{const select=elem.getElementsByTagName("select")[0];const settingId=select.id;const settingValue=getSettingValue(settingId);if(settingValue!==null){select.value=settingValue}select.onchange=function(){changeSetting(this.id,this.value)}});onEachLazy(settingsElement.querySelectorAll("input[type=\\"radio\\"]"),elem=>{const settingId=elem.name;let settingValue=getSettingValue(settingId);if(settingId==="theme"){const useSystem=getSettingValue("use-system-theme");if(useSystem==="true"||settingValue===null){if(useSystem!=="false"){settingValue="system preference"}else{settingValue="light"}}}if(settingValue!==null&&settingValue!=="null"){elem.checked=settingValue===elem.value}elem.addEventListener("change",ev=>{changeSetting(ev.target.name,ev.target.value)})})}function buildSettingsPageSections(settings){let output="";for(const setting of settings){output+="<div class=\\"setting-line\\">";const js_data_name=setting["js_name"];const setting_name=setting["name"];if(setting["options"]!==undefined){output+=`\\$/;" f
|
||
updateLocalStorage guessing_game/target/doc/static.files/storage-d43fa987303ecbbb.js /^"use strict";const darkThemes=["dark","ayu"];window.currentTheme=document.getElementById("themeStyle");window.mainTheme=document.getElementById("mainThemeStyle");window.RUSTDOC_MOBILE_BREAKPOINT=700;const settingsDataset=(function(){const settingsElement=document.getElementById("default-settings");if(settingsElement===null){return null}const dataset=settingsElement.dataset;if(dataset===undefined){return null}return dataset})();function getSettingValue(settingName){const current=getCurrentValue(settingName);if(current!==null){return current}if(settingsDataset!==null){const def=settingsDataset[settingName.replace(\/-\/g,"_")];if(def!==undefined){return def}}return null}const localStoredTheme=getSettingValue("theme");const savedHref=[];function hasClass(elem,className){return elem&&elem.classList&&elem.classList.contains(className)}function addClass(elem,className){if(!elem||!elem.classList){return}elem.classList.add(className)}function removeClass(elem,className){if(!elem||!elem.classList){return}elem.classList.remove(className)}function onEach(arr,func,reversed){if(arr&&arr.length>0&&func){if(reversed){const length=arr.length;for(let i=length-1;i>=0;--i){if(func(arr[i])){return true}}}else{for(const elem of arr){if(func(elem)){return true}}}}return false}function onEachLazy(lazyArray,func,reversed){return onEach(Array.prototype.slice.call(lazyArray),func,reversed)}function updateLocalStorage(name,value){try{window.localStorage.setItem("rustdoc-"+name,value)}catch(e){}}function getCurrentValue(name){try{return window.localStorage.getItem("rustdoc-"+name)}catch(e){return null}}function switchTheme(styleElem,mainStyleElem,newThemeName,saveTheme){if(saveTheme){updateLocalStorage("theme",newThemeName)}if(savedHref.length===0){onEachLazy(document.getElementsByTagName("link"),el=>{savedHref.push(el.href)})}const newHref=savedHref.find(url=>{const m=url.match(\/static\\.files\\\/(.*)-[a-f0-9]{16}\\.css$\/);if(m&&m[1]===newThemeName){return true}const m2=url.match(\/\\\/([^\/]*)\\.css$\/);if(m2&&m2[1].startsWith(newThemeName)){return true}});if(newHref&&newHref!==styleElem.href){styleElem.href=newHref}}function useSystemTheme(value){if(value===undefined){value=true}updateLocalStorage("use-system-theme",value);const toggle=document.getElementById("use-system-theme");if(toggle&&toggle instanceof HTMLInputElement){toggle.checked=value}}const updateSystemTheme=(function(){if(!window.matchMedia){return()=>{const cssTheme=getComputedStyle(document.documentElement).getPropertyValue("content");switchTheme(window.currentTheme,window.mainTheme,JSON.parse(cssTheme)||"light",true)}}const mql=window.matchMedia("(prefers-color-scheme: dark)");function handlePreferenceChange(mql){const use=theme=>{switchTheme(window.currentTheme,window.mainTheme,theme,true)};if(getSettingValue("use-system-theme")!=="false"){const lightTheme=getSettingValue("preferred-light-theme")||"light";const darkTheme=getSettingValue("preferred-dark-theme")||"dark";if(mql.matches){use(darkTheme)}else{use(lightTheme)}}else{use(getSettingValue("theme"))}}mql.addListener(handlePreferenceChange);return()=>{handlePreferenceChange(mql)}})();function switchToSavedTheme(){switchTheme(window.currentTheme,window.mainTheme,getSettingValue("theme")||"light",false)}if(getSettingValue("use-system-theme")!=="false"&&window.matchMedia){if(getSettingValue("use-system-theme")===null&&getSettingValue("preferred-dark-theme")===null&&darkThemes.indexOf(localStoredTheme)>=0){updateLocalStorage("preferred-dark-theme",localStoredTheme)}updateSystemTheme()}else{switchToSavedTheme()}if(getSettingValue("source-sidebar-show")==="true"){addClass(document.documentElement,"source-sidebar-expanded")}window.addEventListener("pageshow",ev=>{if(ev.persisted){setTimeout(switchToSavedTheme,0)}})/;" f
|
||
updateScrapedExample guessing_game/target/doc/static.files/scrape-examples-ef1e698c1d417c0c.js /^"use strict";(function(){const DEFAULT_MAX_LINES=5;const HIDDEN_MAX_LINES=10;function scrollToLoc(elt,loc,isHidden){const lines=elt.querySelector(".src-line-numbers");let scrollOffset;const maxLines=isHidden?HIDDEN_MAX_LINES:DEFAULT_MAX_LINES;if(loc[1]-loc[0]>maxLines){const line=Math.max(0,loc[0]-1);scrollOffset=lines.children[line].offsetTop}else{const wrapper=elt.querySelector(".code-wrapper");const halfHeight=wrapper.offsetHeight\/2;const offsetTop=lines.children[loc[0]].offsetTop;const lastLine=lines.children[loc[1]];const offsetBot=lastLine.offsetTop+lastLine.offsetHeight;const offsetMid=(offsetTop+offsetBot)\/2;scrollOffset=offsetMid-halfHeight}lines.scrollTo(0,scrollOffset);elt.querySelector(".rust").scrollTo(0,scrollOffset)}function updateScrapedExample(example,isHidden){const locs=JSON.parse(example.attributes.getNamedItem("data-locs").textContent);let locIndex=0;const highlights=Array.prototype.slice.call(example.querySelectorAll(".highlight"));const link=example.querySelector(".scraped-example-title a");if(locs.length>1){const onChangeLoc=changeIndex=>{removeClass(highlights[locIndex],"focus");changeIndex();scrollToLoc(example,locs[locIndex][0],isHidden);addClass(highlights[locIndex],"focus");const url=locs[locIndex][1];const title=locs[locIndex][2];link.href=url;link.innerHTML=title};example.querySelector(".prev").addEventListener("click",()=>{onChangeLoc(()=>{locIndex=(locIndex-1+locs.length)%locs.length})});example.querySelector(".next").addEventListener("click",()=>{onChangeLoc(()=>{locIndex=(locIndex+1)%locs.length})})}const expandButton=example.querySelector(".expand");if(expandButton){expandButton.addEventListener("click",()=>{if(hasClass(example,"expanded")){removeClass(example,"expanded");scrollToLoc(example,locs[0][0],isHidden)}else{addClass(example,"expanded")}})}scrollToLoc(example,locs[0][0],isHidden)}const firstExamples=document.querySelectorAll(".scraped-example-list > .scraped-example");onEachLazy(firstExamples,el=>updateScrapedExample(el,false));onEachLazy(document.querySelectorAll(".more-examples-toggle"),toggle=>{onEachLazy(toggle.querySelectorAll(".toggle-line, .hide-more"),button=>{button.addEventListener("click",()=>{toggle.open=false})});const moreExamples=toggle.querySelectorAll(".scraped-example");toggle.querySelector("summary").addEventListener("click",()=>{setTimeout(()=>{onEachLazy(moreExamples,el=>updateScrapedExample(el,true))})},{once:true})})})()/;" f
|
||
useSystemTheme guessing_game/target/doc/static.files/storage-d43fa987303ecbbb.js /^"use strict";const darkThemes=["dark","ayu"];window.currentTheme=document.getElementById("themeStyle");window.mainTheme=document.getElementById("mainThemeStyle");window.RUSTDOC_MOBILE_BREAKPOINT=700;const settingsDataset=(function(){const settingsElement=document.getElementById("default-settings");if(settingsElement===null){return null}const dataset=settingsElement.dataset;if(dataset===undefined){return null}return dataset})();function getSettingValue(settingName){const current=getCurrentValue(settingName);if(current!==null){return current}if(settingsDataset!==null){const def=settingsDataset[settingName.replace(\/-\/g,"_")];if(def!==undefined){return def}}return null}const localStoredTheme=getSettingValue("theme");const savedHref=[];function hasClass(elem,className){return elem&&elem.classList&&elem.classList.contains(className)}function addClass(elem,className){if(!elem||!elem.classList){return}elem.classList.add(className)}function removeClass(elem,className){if(!elem||!elem.classList){return}elem.classList.remove(className)}function onEach(arr,func,reversed){if(arr&&arr.length>0&&func){if(reversed){const length=arr.length;for(let i=length-1;i>=0;--i){if(func(arr[i])){return true}}}else{for(const elem of arr){if(func(elem)){return true}}}}return false}function onEachLazy(lazyArray,func,reversed){return onEach(Array.prototype.slice.call(lazyArray),func,reversed)}function updateLocalStorage(name,value){try{window.localStorage.setItem("rustdoc-"+name,value)}catch(e){}}function getCurrentValue(name){try{return window.localStorage.getItem("rustdoc-"+name)}catch(e){return null}}function switchTheme(styleElem,mainStyleElem,newThemeName,saveTheme){if(saveTheme){updateLocalStorage("theme",newThemeName)}if(savedHref.length===0){onEachLazy(document.getElementsByTagName("link"),el=>{savedHref.push(el.href)})}const newHref=savedHref.find(url=>{const m=url.match(\/static\\.files\\\/(.*)-[a-f0-9]{16}\\.css$\/);if(m&&m[1]===newThemeName){return true}const m2=url.match(\/\\\/([^\/]*)\\.css$\/);if(m2&&m2[1].startsWith(newThemeName)){return true}});if(newHref&&newHref!==styleElem.href){styleElem.href=newHref}}function useSystemTheme(value){if(value===undefined){value=true}updateLocalStorage("use-system-theme",value);const toggle=document.getElementById("use-system-theme");if(toggle&&toggle instanceof HTMLInputElement){toggle.checked=value}}const updateSystemTheme=(function(){if(!window.matchMedia){return()=>{const cssTheme=getComputedStyle(document.documentElement).getPropertyValue("content");switchTheme(window.currentTheme,window.mainTheme,JSON.parse(cssTheme)||"light",true)}}const mql=window.matchMedia("(prefers-color-scheme: dark)");function handlePreferenceChange(mql){const use=theme=>{switchTheme(window.currentTheme,window.mainTheme,theme,true)};if(getSettingValue("use-system-theme")!=="false"){const lightTheme=getSettingValue("preferred-light-theme")||"light";const darkTheme=getSettingValue("preferred-dark-theme")||"dark";if(mql.matches){use(darkTheme)}else{use(lightTheme)}}else{use(getSettingValue("theme"))}}mql.addListener(handlePreferenceChange);return()=>{handlePreferenceChange(mql)}})();function switchToSavedTheme(){switchTheme(window.currentTheme,window.mainTheme,getSettingValue("theme")||"light",false)}if(getSettingValue("use-system-theme")!=="false"&&window.matchMedia){if(getSettingValue("use-system-theme")===null&&getSettingValue("preferred-dark-theme")===null&&darkThemes.indexOf(localStoredTheme)>=0){updateLocalStorage("preferred-dark-theme",localStoredTheme)}updateSystemTheme()}else{switchToSavedTheme()}if(getSettingValue("source-sidebar-show")==="true"){addClass(document.documentElement,"source-sidebar-expanded")}window.addEventListener("pageshow",ev=>{if(ev.persisted){setTimeout(switchToSavedTheme,0)}})/;" f
|
||
userQuery guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" p class:const
|
||
validateResult guessing_game/target/doc/static.files/search-444266647c4dba98.js /^"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"..\/";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1<s1_len){row[i1]=++i1}while(i2<s2_len){c2=s2.charCodeAt(i2);a=i2;++i2;b=i2;for(i1=0;i1<s1_len;++i1){c=a+(s1.charCodeAt(i1)!==c2?1:0);a=row[i1];b=b<a?(b<c?b+1:c):(a<c?a+1:c);row[i1]=b}}return b}return s1_len+s2_len}function initSearch(rawSearchIndex){const MAX_LEV_DISTANCE=3;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;const ALIASES=Object.create(null);function isWhitespace(c){return" \\t\\n\\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i<len;++i){if(itemTypes[i]===typename){return i}}throw new Error("Unknown type filter `"+typename+"`")}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw new Error("`\\"` cannot be used in generics")}else if(query.literalSearch){throw new Error("Cannot have more than one literal search element")}else if(parserState.totalElems-parserState.genericsElems>0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\\"`")}else if(parserState.userQuery[end]!=="\\""){throw new Error(`Unexpected \\`${parserState.userQuery[end]}\\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i<len;++i){const pathSegment=pathSegments[i];if(pathSegment.length===0){if(i===0){throw new Error("Paths cannot start with `::`")}else if(i+1===len){throw new Error("Paths cannot end with `::`")}throw new Error("Unexpected `::::`")}}}if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){throw new Error("Found generics without a path")}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,}}function getIdentEndPosition(parserState){let end=parserState.pos;let foundExclamation=false;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(!isIdentCharacter(c)){if(c==="!"){if(foundExclamation){throw new Error("Cannot have more than one `!` in an ident")}else if(parserState.pos+1<parserState.length&&isIdentCharacter(parserState.userQuery[parserState.pos+1])){throw new Error("`!` can only be at the end of an ident")}foundExclamation=true}else if(isErrorCharacter(c)){throw new Error(`Unexpected \\`${c}\\``)}else if(isStopCharacter(c)||isSpecialStartCharacter(c)||isSeparatorCharacter(c)){break}else if(c===":"){if(!isPathStart(parserState)){break}parserState.pos+=1;foundExclamation=false}else{throw new Error(`Unexpected \\`${c}\\``)}}parserState.pos+=1;end=parserState.pos}return end}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];let start=parserState.pos;let end;if(parserState.userQuery[parserState.pos]==="\\""){start+=1;getStringElem(query,parserState,isInGenerics);end=parserState.pos-1}else{end=getIdentEndPosition(parserState)}if(parserState.pos<parserState.length&&parserState.userQuery[parserState.pos]==="<"){if(isInGenerics){throw new Error("Unexpected `<` after `<`")}else if(start>=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos<parserState.length){const c=parserState.userQuery[parserState.pos];if(c===endChar){break}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;continue}else if(c===":"&&isPathStart(parserState)){throw new Error("Unexpected `::`: paths cannot start with `::`")}else if(c===":"||isEndCharacter(c)){let extra="";if(endChar===">"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \\`,\\`, \\` \\` or \\`${endChar}\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\` or \\` \\`, found \\`${c}\\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos<parserState.pos;++pos){if(!isIdentCharacter(query[pos])&&!isWhitespaceCharacter(query[pos])){throw new Error(`Unexpected \\`${query[pos]}\\` in type filter`)}}}function parseInput(query,parserState){let c,before;let foundStopChar=true;while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isStopCharacter(c)){foundStopChar=true;if(isSeparatorCharacter(c)){parserState.pos+=1;continue}else if(c==="-"||c===">"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \\`${c}\\` (did you mean \\`->\\`?)`)}throw new Error(`Unexpected \\`${c}\\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \\`,\\`, \\` \\` or \\`->\\`, found \\`${c}\\``)}throw new Error(`Expected \\`,\\`, \\` \\`, \\`:\\` or \\`->\\`, found \\`${c}\\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos<parserState.length){c=parserState.userQuery[parserState.pos];if(isReturnArrow(parserState)){parserState.pos+=2;getItemsBefore(query,parserState,query.returned,"");if(query.returned.length===0){throw new Error("Expected at least one item after `->`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)\/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;i<length;++i){if(i+clength>length){break}let lev_total=0;let aborted=false;for(let x=0;x<clength;++x){const lev=levenshtein(path[i+x],contains[x]);if(lev>MAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total\/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path<bbb.path){return 1}else if(aaa.path===bbb.path){return 0}return-1};crateAliases.sort(sortFunc);aliases.sort(sortFunc);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev\/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev\/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleSingleArg(searchIndex[i],i,elem,results_others,results_in_args,results_returned)}}else if(parsedQuery.returned.length===1){elem=parsedQuery.returned[0];for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){row=searchIndex[i];in_returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_others,row.id,i,-1,in_returned)}}}else if(parsedQuery.foundElems>0){for(i=0,nSearchWords=searchWords.length;i<nSearchWords;++i){handleArgs(searchIndex[i],i,results_others)}}}if(parsedQuery.error===null){innerRunQuery()}const ret=createQueryResults(sortResults(results_in_args,true,currentCrate),sortResults(results_returned,true,currentCrate),sortResults(results_others,false,currentCrate),parsedQuery);handleAliases(ret,parsedQuery.original.replace(\/"\/g,""),filterCrates,currentCrate);if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}function validateResult(name,path,keys,parent){if(!keys||!keys.length){return true}for(const key of keys){if(!(name.indexOf(key)>-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+name+"\/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"\/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(\/::\/g,"\/")+"\/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(\/::\/g,"\/")+"\/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp="<span>"+path.replace(\/::\/g,"::<\/span><span>");if(tmp.endsWith("<span>")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" <i>(primitive type)<\/i>"}else if(type==="keyword"){extra=" <i>(keyword)<\/i>"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend","<span class=\\"grey\\"><i> - see <\/i><\/span>");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+"<span class=\\""+type+"\\">"+name+extra+"<\/span>");link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(<br\/>"+"Try on <a href=\\"https:\/\/duckduckgo.com\/?q="+encodeURIComponent("rust "+query.userQuery)+"\\">DuckDuckGo<\/a>?<br\/><br\/>"+"Or try looking in one of these:<ul><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/reference\/index.html\\">Rust Reference<\/a> "+" for technical details about the language.<\/li><li><a "+"href=\\"https:\/\/doc.rust-lang.org\/rust-by-example\/index.html\\">Rust By "+"Example<\/a> for expository code examples.<\/a><\/li><li>The <a "+"href=\\"https:\/\/doc.rust-lang.org\/book\/index.html\\">Rust Book<\/a> for "+"introductions to language features and the language itself.<\/li><li><a "+"href=\\"https:\/\/docs.rs\\">Docs.rs<\/a> for documentation of crates released on"+" <a href=\\"https:\/\/crates.io\/\\">crates.io<\/a>.<\/li><\/ul>"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return"<button class=\\"selected\\">"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}return"<button>"+text+" <div class=\\"count\\">("+nbElems+")<\/div><\/button>"}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in <div id=\\"crate-search-div\\"><select id=\\"crate-search\\">"+"<option value=\\"all crates\\">all crates<\/option>";for(const c of crates_list){crates+=`<option value="${c}" ${c === filterCrates && "selected"}>${c}<\/option>`}crates+="<\/select><\/div>"}let output=`<h1 class="search-results-title">Results${crates}<\/h1>`;if(results.query.error!==null){output+=`<h3>Query parser error: "${results.query.error}".<\/h3>`;output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+"<\/div>";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="<div id=\\"titles\\">"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"<\/div>"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="<div id=\\"titles\\">"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"<\/div>";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(\/_\/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i<len;++i){lowercasePaths.push({ty:paths[i][0],name:paths[i][1].toLowerCase()});paths[i]={ty:paths[i][0],name:paths[i][1]}}len=itemTypes.length;let lastPath="";for(i=0;i<len;++i){if(typeof itemNames[i]==="string"){word=itemNames[i].toLowerCase();searchWords.push(word)}else{word="";searchWords.push("")}const row={crate:crate,ty:itemTypes[i],name:itemNames[i],path:itemPaths[i]?itemPaths[i]:lastPath,desc:itemDescs[i],parent:itemParentIdxs[i]>0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(\/_\/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom<rect.height){window.scrollBy(0,rect.height)}e.preventDefault()}else if(e.which===37){nextTab(-1);e.preventDefault()}else if(e.which===39){nextTab(1);e.preventDefault()}});searchState.input.addEventListener("keydown",e=>{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})()/;" f
|