var searchIndex = {}; searchIndex["extprim"] = {"doc":"This crate provides some extra simple types.","items":[[0,"traits","extprim","Traits for conversion between the extra primitive types.",null,null],[3,"Wrapping","extprim::traits","Wrapper for `u128` and `i128` to turn arithmetic operators to wrapping ones.",null,null],[12,"0","","",0,null],[5,"pow","","Raise `base` to the power of `exp`, using exponentiation by squaring.",null,{"inputs":[{"name":"t"},{"name":"u32"}],"output":{"name":"t"}}],[5,"parse_rust_int_lit","","Parses a Rust integer literal into an actual integral type.",null,{"inputs":[{"name":"str"},{"name":"bool"}],"output":{"name":"result"}}],[8,"ToExtraPrimitive","","Trait for converting itself into the extra primitive types.",null,null],[10,"to_u128","","Tries to convert itself into an unsigned 128-bit integer.",1,null],[10,"to_i128","","Tries to convert itself into a signed 128-bit integer.",1,null],[11,"default","","",0,{"inputs":[],"output":{"name":"wrapping"}}],[11,"fmt","","",0,null],[11,"clone","","",0,null],[11,"cmp","","",0,null],[11,"partial_cmp","","",0,null],[11,"lt","","",0,null],[11,"le","","",0,null],[11,"gt","","",0,null],[11,"ge","","",0,null],[11,"eq","","",0,null],[11,"ne","","",0,null],[0,"u128","extprim","Unsigned 128-bit integer.",null,null],[3,"u128","extprim::u128","An unsigned 128-bit number.",null,null],[5,"div_rem","","Computes the divisor and remainder simultaneously. Returns `(a/b, a%b)`.",null,null],[17,"BITS","","Number of bits an unsigned 128-bit number occupies.",null,null],[17,"BYTES","","Number of bytes an unsigned 128-bit number occupies.",null,null],[17,"MIN","","The smallest unsigned 128-bit integer (0).",null,null],[17,"MAX","","The largest unsigned 128-bit integer (`340_282_366_920_938_463_463_374_607_431_768_211_455`).",null,null],[17,"ZERO","","The constant 0.",null,null],[17,"ONE","","The constant 1.",null,null],[11,"eq","","",2,null],[11,"ne","","",2,null],[11,"hash","","",2,null],[11,"clone","","",2,null],[11,"default","","",2,{"inputs":[],"output":{"name":"u128"}}],[11,"new","","Constructs a new 128-bit integer from a 64-bit integer.",2,{"inputs":[{"name":"u64"}],"output":{"name":"u128"}}],[11,"from_parts","","Constructs a new 128-bit integer from the high-64-bit and low-64-bit parts.",2,{"inputs":[{"name":"u64"},{"name":"u64"}],"output":{"name":"u128"}}],[11,"low64","","Fetch the lower-64-bit of the number.",2,null],[11,"high64","","Fetch the higher-64-bit of the number.",2,null],[11,"as_i128","","Convert this number to signed with wrapping.",2,null],[11,"rand","","",2,{"inputs":[{"name":"r"}],"output":{"name":"u128"}}],[11,"wrapping_add","","Wrapping (modular) addition. Computes `self + other`, wrapping around at the boundary of\nthe type.",2,null],[11,"wrapping_sub","","Wrapping (modular) subtraction. Computes `self - other`, wrapping around at the boundary of\nthe type.",2,null],[11,"overflowing_add","","Calculates `self + other`.",2,null],[11,"overflowing_sub","","Calculates `self - other`.",2,null],[11,"saturating_add","","Saturating integer addition. Computes `self + other`, saturating at the numeric bounds\ninstead of overflowing.",2,null],[11,"saturating_sub","","Saturating integer subtraction. Computes `self - other`, saturating at the numeric bounds\ninstead of overflowing.",2,null],[11,"wrapping_neg","","Wrapping (modular) negation. Computes `-self`, wrapping around at the boundary of the type.",2,null],[11,"checked_add","","Checked integer addition. Computes `self + other`, returning `None` if overflow occurred.",2,null],[11,"add","","",2,null],[11,"add","extprim::traits","",0,null],[11,"checked_sub","extprim::u128","Checked integer subtraction. Computes `self - other`, returning `None` if underflow\noccurred.",2,null],[11,"sub","","",2,null],[11,"sub","extprim::traits","",0,null],[11,"add_assign","extprim::u128","",2,null],[11,"sub_assign","","",2,null],[11,"neg","extprim::traits","",0,null],[11,"checked_add","extprim::u128","",2,null],[11,"checked_sub","","",2,null],[11,"saturating_add","","",2,null],[11,"saturating_sub","","",2,null],[11,"partial_cmp","","",2,null],[11,"cmp","","",2,null],[11,"not","","",2,null],[11,"bitand","","",2,null],[11,"bitor","","",2,null],[11,"bitxor","","",2,null],[11,"not","extprim::traits","",0,null],[11,"bitand","","",0,null],[11,"bitor","","",0,null],[11,"bitxor","","",0,null],[11,"bitand_assign","extprim::u128","",2,null],[11,"bitor_assign","","",2,null],[11,"bitxor_assign","","",2,null],[11,"wrapping_shl","","Panic-free bitwise shift-left; yields `self << (shift % 128)`.",2,null],[11,"wrapping_shr","","Panic-free bitwsie shift-right; yields `self >> (shift % 128)`.",2,null],[11,"overflowing_shl","","Shifts `self` left by `other` bits.",2,null],[11,"overflowing_shr","","Shifts `self` right by `other` bits.",2,null],[11,"checked_shl","","Checked shift left. Computes `self << other`, returning `None` if the shift is larger than\nor equal to the number of bits in `self` (128).",2,null],[11,"shl","","",2,null],[11,"shl","","",2,null],[11,"shl","","",2,null],[11,"shl","","",2,null],[11,"shl","","",2,null],[11,"shl","","",2,null],[11,"shl","","",2,null],[11,"shl","","",2,null],[11,"shl","","",2,null],[11,"shl","","",2,null],[11,"shl","extprim::traits","",0,null],[11,"checked_shr","extprim::u128","Checked shift right. Computes `self >> other`, returning `None` if the shift is larger than\nor equal to the number of bits in `self` (128).",2,null],[11,"shr","","",2,null],[11,"shr","","",2,null],[11,"shr","","",2,null],[11,"shr","","",2,null],[11,"shr","","",2,null],[11,"shr","","",2,null],[11,"shr","","",2,null],[11,"shr","","",2,null],[11,"shr","","",2,null],[11,"shr","","",2,null],[11,"shr","extprim::traits","",0,null],[11,"shl_assign","extprim::u128","",2,null],[11,"shl_assign","","",2,null],[11,"shl_assign","","",2,null],[11,"shl_assign","","",2,null],[11,"shl_assign","","",2,null],[11,"shl_assign","","",2,null],[11,"shl_assign","","",2,null],[11,"shl_assign","","",2,null],[11,"shl_assign","","",2,null],[11,"shl_assign","","",2,null],[11,"shr_assign","","",2,null],[11,"shr_assign","","",2,null],[11,"shr_assign","","",2,null],[11,"shr_assign","","",2,null],[11,"shr_assign","","",2,null],[11,"shr_assign","","",2,null],[11,"shr_assign","","",2,null],[11,"shr_assign","","",2,null],[11,"shr_assign","","",2,null],[11,"shr_assign","","",2,null],[11,"wrapping_mul","","Wrapping (modular) multiplication. Computes `self * other`, wrapping around at the boundary\nof the type.",2,null],[11,"overflowing_mul","","Calculates the multiplication of `self` and `other`.",2,null],[11,"saturating_mul","","Saturating integer multiplication. Computes `self * other`, saturating at the numeric\nbounds instead of overflowing.",2,null],[11,"wrapping_mul_64","","Wrapping (modular) multiplication with a 64-bit number. Computes `self * other`, wrapping\naround at the boundary of the type.",2,null],[11,"overflowing_mul_64","","Calculates the multiplication of `self` and `other` with a 64-bit number.",2,null],[11,"saturating_mul_64","","Saturating integer multiplication with a 64-bit number. Computes `self * other`, saturating\nat the numeric bounds instead of overflowing.",2,null],[11,"checked_mul","","Checked integer multiplication. Computes `self * other`, returning `None` if underflow or\noverflow occurred.",2,null],[11,"mul","","",2,null],[11,"mul","extprim::traits","",0,null],[11,"checked_mul_64","extprim::u128","Checked integer multiplication with a 64-bit number. Computes `self * other`, returning\n`None` if underflow or overflow occurred.",2,null],[11,"mul","","",2,null],[11,"mul","extprim::traits","",0,null],[11,"mul_assign","extprim::u128","",2,null],[11,"mul_assign","","",2,null],[11,"mul","extprim::traits","",0,null],[11,"checked_mul","extprim::u128","",2,null],[11,"wrapping_div","","Wrapping (modular) division. Computes `self / other`. Wrapped division on unsigned types is\njust normal division. There's no way wrapping could ever happen. This function exists, so\nthat all operations are accounted for in the wrapping operations.",2,null],[11,"wrapping_rem","","Wrapping (modular) remainder. Computes `self % other`. Wrapped remainder calculation on\nunsigned types is just the regular remainder calculation. There's no way wrapping could\never happen. This function exists, so that all operations are accounted for in the wrapping\noperations.",2,null],[11,"overflowing_div","","Calculates the divisor when `self` is divided by `other`.",2,null],[11,"overflowing_rem","","Calculates the remainder when `self` is divided by `other`.",2,null],[11,"checked_div","","Checked integer division. Computes `self / other`, returning `None` if `other == 0`.",2,null],[11,"checked_rem","","Checked integer remainder. Computes `self % other`, returning `None` if `other == 0`.",2,null],[11,"div","","",2,null],[11,"rem","","",2,null],[11,"div","extprim::traits","",0,null],[11,"rem","","",0,null],[11,"div_assign","extprim::u128","",2,null],[11,"rem_assign","","",2,null],[11,"checked_div","","",2,null],[11,"to_i64","","",2,null],[11,"to_u64","","",2,null],[11,"to_f64","","",2,null],[11,"from_u64","","",2,{"inputs":[{"name":"u64"}],"output":{"name":"option"}}],[11,"from_i64","","",2,{"inputs":[{"name":"i64"}],"output":{"name":"option"}}],[11,"from_f64","","",2,{"inputs":[{"name":"f64"}],"output":{"name":"option"}}],[11,"to_u128","","",2,null],[11,"to_i128","","",2,null],[11,"from","","",2,{"inputs":[{"name":"u8"}],"output":{"name":"self"}}],[11,"from","","",2,{"inputs":[{"name":"u16"}],"output":{"name":"self"}}],[11,"from","","",2,{"inputs":[{"name":"u32"}],"output":{"name":"self"}}],[11,"from","","",2,{"inputs":[{"name":"u64"}],"output":{"name":"self"}}],[11,"min_value","","Returns the smallest unsigned 128-bit integer (0).",2,{"inputs":[],"output":{"name":"u128"}}],[11,"max_value","","Returns the largest unsigned 128-bit integer\n(`340_282_366_920_938_463_463_374_607_431_768_211_455`).",2,{"inputs":[],"output":{"name":"u128"}}],[11,"zero","","Returns the constant 0.",2,{"inputs":[],"output":{"name":"u128"}}],[11,"one","","Returns the constant 1.",2,{"inputs":[],"output":{"name":"u128"}}],[11,"min_value","","",2,{"inputs":[],"output":{"name":"self"}}],[11,"max_value","","",2,{"inputs":[],"output":{"name":"self"}}],[11,"zero","","",2,{"inputs":[],"output":{"name":"self"}}],[11,"is_zero","","",2,null],[11,"one","","",2,{"inputs":[],"output":{"name":"self"}}],[11,"count_ones","","Returns the number of ones in the binary representation of `self`.",2,null],[11,"count_zeros","","Returns the number of zeros in the binary representation of `self` (including leading zeros).",2,null],[11,"leading_zeros","","Returns the number of leading zeros in the binary representation of `self`.",2,null],[11,"trailing_zeros","","Returns the number of trailing zeros in the binary representation of `self`.",2,null],[11,"rotate_left","","Shifts the bits to the left by a specified amount, `shift`, wrapping the truncated bits to\nthe end of the resulting integer.",2,null],[11,"rotate_right","","Shifts the bits to the right by a specified amount, `shift`, wrapping the truncated bits to\nthe beginning of the resulting integer.",2,null],[11,"swap_bytes","","Reverses the byte order of the integer.",2,null],[11,"from_be","","Converts an integer from big endian to the target's endianness.",2,{"inputs":[{"name":"self"}],"output":{"name":"self"}}],[11,"from_le","","Converts an integer from little endian to the target's endianness.",2,{"inputs":[{"name":"self"}],"output":{"name":"self"}}],[11,"to_be","","Converts `self` to big endian from the target's endianness.",2,null],[11,"to_le","","Converts self to little endian from the target's endianness.",2,null],[11,"pow","","Raises `self` to the power of `exp`, using exponentiation by squaring.",2,null],[11,"is_power_of_two","","Returns `true` if and only if `self == 2**k` for some `k`.",2,null],[11,"next_power_of_two","","Returns the smallest power of two greater than or equal to `self`. Unspecified behavior on\noverflow.",2,null],[11,"checked_next_power_of_two","","Returns the smallest power of two greater than or equal to `self`. If the next power of two\nis greater than the type's maximum value, `None` is returned, otherwise the power of two is\nwrapped in `Some`.",2,null],[11,"count_ones","","",2,null],[11,"count_zeros","","",2,null],[11,"leading_zeros","","",2,null],[11,"trailing_zeros","","",2,null],[11,"rotate_left","","",2,null],[11,"rotate_right","","",2,null],[11,"swap_bytes","","",2,null],[11,"from_be","","",2,{"inputs":[{"name":"self"}],"output":{"name":"self"}}],[11,"from_le","","",2,{"inputs":[{"name":"self"}],"output":{"name":"self"}}],[11,"to_be","","",2,null],[11,"to_le","","",2,null],[11,"pow","","",2,null],[11,"signed_shl","","",2,null],[11,"signed_shr","","",2,null],[11,"unsigned_shl","","",2,null],[11,"unsigned_shr","","",2,null],[11,"from_str_radix","","Converts a string slice in a given base to an integer.",2,{"inputs":[{"name":"str"},{"name":"u32"}],"output":{"name":"result"}}],[11,"from_str_radix","","",2,{"inputs":[{"name":"str"},{"name":"u32"}],"output":{"name":"result"}}],[11,"from_str","","",2,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"fmt","","",2,null],[11,"fmt","","",2,null],[11,"fmt","","",2,null],[11,"fmt","","",2,null],[11,"fmt","","",2,null],[11,"fmt","","",2,null],[0,"i128","extprim","Signed 128-bit integer.",null,null],[3,"i128","extprim::i128","An signed 128-bit number.",null,null],[5,"div_rem","","Computes the divisor and remainder simultaneously. Returns `(a/b, a%b)`.",null,null],[17,"BITS","","Number of bits a signed 128-bit number occupies.",null,null],[17,"BYTES","","Number of bytes a signed 128-bit number occupies.",null,null],[17,"MIN","","The smallest signed 128-bit integer (`-170_141_183_460_469_231_731_687_303_715_884_105_728`).",null,null],[17,"MAX","","The largest signed 128-bit integer (`170_141_183_460_469_231_731_687_303_715_884_105_727`).",null,null],[17,"ZERO","","The constant 0.",null,null],[17,"ONE","","The constant 1.",null,null],[11,"eq","","",3,null],[11,"ne","","",3,null],[11,"hash","","",3,null],[11,"clone","","",3,null],[11,"default","","",3,{"inputs":[],"output":{"name":"i128"}}],[11,"new","","Constructs a new 128-bit integer from a 64-bit integer.",3,{"inputs":[{"name":"i64"}],"output":{"name":"i128"}}],[11,"from_parts","","Constructs a new 128-bit integer from the high-64-bit and low-64-bit parts.",3,{"inputs":[{"name":"i64"},{"name":"u64"}],"output":{"name":"i128"}}],[11,"low64","","Fetch the lower-64-bit of the number.",3,null],[11,"high64","","Fetch the higher-64-bit of the number.",3,null],[11,"as_u128","","Convert this number to unsigned with wrapping.",3,null],[11,"rand","","",3,{"inputs":[{"name":"r"}],"output":{"name":"i128"}}],[11,"wrapping_add","","Wrapping (modular) addition. Computes `self + other`, wrapping around at the boundary of\nthe type.",3,null],[11,"wrapping_sub","","Wrapping (modular) subtraction. Computes `self - other`, wrapping around at the boundary of\nthe type.",3,null],[11,"wrapping_neg","","Wrapping (modular) negation. Computes `-self`, wrapping around at the boundary of the type.",3,null],[11,"overflowing_add","","Calculates `self + other`.",3,null],[11,"overflowing_sub","","Calculates `self - other`.",3,null],[11,"overflowing_neg","","Negates `self`, overflowing if this is equal to the minimum value.",3,null],[11,"checked_neg","","Checked negation. Computes `-self`, returning `None` if `self == MIN`.",3,null],[11,"saturating_add","","Saturating integer addition. Computes `self + other`, saturating at the numeric bounds\ninstead of overflowing.",3,null],[11,"saturating_sub","","Saturating integer subtraction. Computes `self - other`, saturating at the numeric bounds\ninstead of overflowing.",3,null],[11,"saturating_neg","","Saturating integer negation. Computes `-self`, saturating at numeric bounds instead of\noverflowing.",3,null],[11,"checked_add","","Checked integer addition. Computes `self + other`, returning `None` if overflow occurred.",3,null],[11,"add","","",3,null],[11,"add","extprim::traits","",0,null],[11,"checked_sub","extprim::i128","Checked integer subtraction. Computes `self - other`, returning `None` if underflow\noccurred.",3,null],[11,"sub","","",3,null],[11,"sub","extprim::traits","",0,null],[11,"add_assign","extprim::i128","",3,null],[11,"sub_assign","","",3,null],[11,"neg","","",3,null],[11,"neg","extprim::traits","",0,null],[11,"checked_add","extprim::i128","",3,null],[11,"checked_sub","","",3,null],[11,"saturating_add","","",3,null],[11,"saturating_sub","","",3,null],[11,"partial_cmp","","",3,null],[11,"cmp","","",3,null],[11,"not","","",3,null],[11,"bitand","","",3,null],[11,"bitor","","",3,null],[11,"bitxor","","",3,null],[11,"not","extprim::traits","",0,null],[11,"bitand","","",0,null],[11,"bitor","","",0,null],[11,"bitxor","","",0,null],[11,"bitand_assign","extprim::i128","",3,null],[11,"bitor_assign","","",3,null],[11,"bitxor_assign","","",3,null],[11,"wrapping_shl","","Panic-free bitwise shift-left; yields `self << (shift % 128)`.",3,null],[11,"wrapping_shr","","Panic-free bitwise shift-right; yields `self >> (shift % 128).",3,null],[11,"overflowing_shl","","Shifts `self` left by `other` bits.",3,null],[11,"overflowing_shr","","Shifts `self` right by `other` bits.",3,null],[11,"checked_shl","","Checked shift left. Computes `self << other`, returning `None` if rhs is larger than or\nequal to the number of bits in `self` (128).",3,null],[11,"shl","","",3,null],[11,"shl","","",3,null],[11,"shl","","",3,null],[11,"shl","","",3,null],[11,"shl","","",3,null],[11,"shl","","",3,null],[11,"shl","","",3,null],[11,"shl","","",3,null],[11,"shl","","",3,null],[11,"shl","","",3,null],[11,"shl","extprim::traits","",0,null],[11,"checked_shr","extprim::i128","Checked shift right. Computes `self >> other`, returning `None` if the shift is larger than\nor equal to the number of bits in `self` (128).",3,null],[11,"shr","","",3,null],[11,"shr","","",3,null],[11,"shr","","",3,null],[11,"shr","","",3,null],[11,"shr","","",3,null],[11,"shr","","",3,null],[11,"shr","","",3,null],[11,"shr","","",3,null],[11,"shr","","",3,null],[11,"shr","","",3,null],[11,"shr","extprim::traits","",0,null],[11,"shl_assign","extprim::i128","",3,null],[11,"shl_assign","","",3,null],[11,"shl_assign","","",3,null],[11,"shl_assign","","",3,null],[11,"shl_assign","","",3,null],[11,"shl_assign","","",3,null],[11,"shl_assign","","",3,null],[11,"shl_assign","","",3,null],[11,"shl_assign","","",3,null],[11,"shl_assign","","",3,null],[11,"shr_assign","","",3,null],[11,"shr_assign","","",3,null],[11,"shr_assign","","",3,null],[11,"shr_assign","","",3,null],[11,"shr_assign","","",3,null],[11,"shr_assign","","",3,null],[11,"shr_assign","","",3,null],[11,"shr_assign","","",3,null],[11,"shr_assign","","",3,null],[11,"shr_assign","","",3,null],[11,"overflowing_mul","","Calculates the multiplication of `self` and `other`.",3,null],[11,"wrapping_mul","","Wrapping (modular) multiplication. Computes `self * other`, wrapping around at the boundary\nof the type.",3,null],[11,"saturating_mul","","Saturating integer multiplication. Computes `self * other`, saturating at the numeric\nbounds instead of overflowing.",3,null],[11,"checked_mul","","Checked integer multiplication. Computes `self * other`, returning `None` if underflow or\noverflow occurred.",3,null],[11,"mul","","",3,null],[11,"mul","extprim::traits","",0,null],[11,"mul_assign","extprim::i128","",3,null],[11,"checked_mul","","",3,null],[11,"wrapping_div","","Wrapping (modular) division. Computes `self / other`, wrapping around at the boundary of\nthe type.",3,null],[11,"wrapping_rem","","Wrapping (modular) remainder. Computes `self % other`, wrapping around at the boundary of\nthe type.",3,null],[11,"overflowing_div","","Calculates the divisor when `self` is divided by `other`.",3,null],[11,"overflowing_rem","","Calculates the remainder when `self` is divided by `other`.",3,null],[11,"checked_div","","Checked integer division. Computes `self / other`, returning `None` if `other == 0` or the\noperation results in underflow or overflow.",3,null],[11,"checked_rem","","Checked integer remainder. Computes `self % other`, returning `None` if `other == 0` or the\noperation results in underflow or overflow.",3,null],[11,"div","","",3,null],[11,"rem","","",3,null],[11,"div","extprim::traits","",0,null],[11,"rem","","",0,null],[11,"div_assign","extprim::i128","",3,null],[11,"rem_assign","","",3,null],[11,"checked_div","","",3,null],[11,"to_i64","","",3,null],[11,"to_u64","","",3,null],[11,"to_f64","","",3,null],[11,"from_u64","","",3,{"inputs":[{"name":"u64"}],"output":{"name":"option"}}],[11,"from_i64","","",3,{"inputs":[{"name":"i64"}],"output":{"name":"option"}}],[11,"from_f64","","",3,{"inputs":[{"name":"f64"}],"output":{"name":"option"}}],[11,"to_u128","","",3,null],[11,"to_i128","","",3,null],[11,"from","","",3,{"inputs":[{"name":"i8"}],"output":{"name":"self"}}],[11,"from","","",3,{"inputs":[{"name":"i16"}],"output":{"name":"self"}}],[11,"from","","",3,{"inputs":[{"name":"i32"}],"output":{"name":"self"}}],[11,"from","","",3,{"inputs":[{"name":"i64"}],"output":{"name":"self"}}],[11,"min_value","","Returns the smallest signed 128-bit integer\n(`-170_141_183_460_469_231_731_687_303_715_884_105_728`).",3,{"inputs":[],"output":{"name":"i128"}}],[11,"max_value","","Returns the largest signed 128-bit integer\n(`170_141_183_460_469_231_731_687_303_715_884_105_727`).",3,{"inputs":[],"output":{"name":"i128"}}],[11,"zero","","Returns the constant 0.",3,{"inputs":[],"output":{"name":"i128"}}],[11,"one","","Returns the constant 1.",3,{"inputs":[],"output":{"name":"i128"}}],[11,"min_value","","",3,{"inputs":[],"output":{"name":"self"}}],[11,"max_value","","",3,{"inputs":[],"output":{"name":"self"}}],[11,"zero","","",3,{"inputs":[],"output":{"name":"self"}}],[11,"is_zero","","",3,null],[11,"one","","",3,{"inputs":[],"output":{"name":"self"}}],[11,"count_ones","","Returns the number of ones in the binary representation of `self`.",3,null],[11,"count_zeros","","Returns the number of zeros in the binary representation of `self`.",3,null],[11,"leading_zeros","","Returns the number of leading zeros in the binary representation of `self`.",3,null],[11,"trailing_zeros","","Returns the number of trailing zeros in the binary representation of `self`.",3,null],[11,"rotate_left","","Shifts the bits to the left by a specified amount, `shift`, wrapping the truncated bits to\nthe end of the resulting integer.",3,null],[11,"rotate_right","","Shifts the bits to the right by a specified amount, `shift`, wrapping the truncated bits to\nthe end of the resulting integer.",3,null],[11,"swap_bytes","","Reverses the byte order of the integer.",3,null],[11,"from_be","","Converts an integer from big endian to the target's endianness.",3,{"inputs":[{"name":"self"}],"output":{"name":"self"}}],[11,"from_le","","Converts an integer from little endian to the target's endianness.",3,{"inputs":[{"name":"self"}],"output":{"name":"self"}}],[11,"to_be","","Converts `self` to big endian from the target's endianness.",3,null],[11,"to_le","","Converts self to little endian from the target's endianness.",3,null],[11,"pow","","Raises `self` to the power of `exp`, using exponentiation by squaring.",3,null],[11,"count_ones","","",3,null],[11,"count_zeros","","",3,null],[11,"leading_zeros","","",3,null],[11,"trailing_zeros","","",3,null],[11,"rotate_left","","",3,null],[11,"rotate_right","","",3,null],[11,"swap_bytes","","",3,null],[11,"from_be","","",3,{"inputs":[{"name":"self"}],"output":{"name":"self"}}],[11,"from_le","","",3,{"inputs":[{"name":"self"}],"output":{"name":"self"}}],[11,"to_be","","",3,null],[11,"to_le","","",3,null],[11,"pow","","",3,null],[11,"signed_shl","","",3,null],[11,"signed_shr","","",3,null],[11,"unsigned_shl","","",3,null],[11,"unsigned_shr","","",3,null],[11,"abs","","Computes the absolute value of `self`.",3,null],[11,"signum","","Returns a number representing sign of `self`.",3,null],[11,"is_positive","","Returns `true` if `self` is positive and `false` if the number is zero or negative.\n# Examples",3,null],[11,"is_negative","","Returns `true` if `self` is negative and `false` if the number is zero or positive.\n# Examples",3,null],[11,"abs","","",3,null],[11,"signum","","",3,null],[11,"is_positive","","",3,null],[11,"is_negative","","",3,null],[11,"abs_sub","","",3,null],[11,"from_str_radix","","Converts a string slice in a given base to an integer.",3,{"inputs":[{"name":"str"},{"name":"u32"}],"output":{"name":"result"}}],[11,"from_str_radix","","",3,{"inputs":[{"name":"str"},{"name":"u32"}],"output":{"name":"result"}}],[11,"from_str","","",3,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"fmt","","",3,null],[11,"fmt","","",3,null],[11,"fmt","","",3,null],[11,"fmt","","",3,null],[11,"fmt","","",3,null],[11,"fmt","","",3,null],[11,"from","extprim::u128","",2,{"inputs":[{"name":"t"}],"output":{"name":"option"}}],[11,"from","extprim::i128","",3,{"inputs":[{"name":"t"}],"output":{"name":"option"}}]],"paths":[[3,"Wrapping"],[8,"ToExtraPrimitive"],[3,"u128"],[3,"i128"]]}; initSearch(searchIndex);