Rust modules in TypeScript

TypeScript implementations of 23 Rust standard library functions across 1 module. Each function is individually importable and tree-shakeable.

str

We have 23 Rust functions so far - help us add more

Got a rainy Sunday afternoon and a taste for a porting puzzle?

  • Get inspiration from the Rust std::str docs.
  • Click "New file" in the appropriate folder on GitHub. This will fork the project to your account, directly add the file to it, and send a Pull Request to us.

We will then review it. If it's useful to the project and in line with our contributing guidelines your work will become part of Locutus and you'll be automatically credited in the authors section accordingly.

Upstream Surface Inventory 23/5276 shipped · 587 next 0%

Locutus tracks 124 upstream namespaces for Rust and sorts them into what is already shipped, what we still want, what we intentionally keep, and what still needs a decision.

This inventory now tracks a broader slice of Rust core/std primitives and slice helpers first, excluding the wider crate ecosystem.

0% catalog shipped
Shipped Next Explicit non-goals
primitive:str 18% primitive:f32 0% primitive:f64 0% primitive:f16 0% primitive:f128 0% primitive:char 0% primitive:bool 0% enum:Option:option 0% enum:Result:result 0% module:alloc 0% module:any 0% module:arch 0% module:array 0% module:ascii 0% module:assert_matches 0% module:async_iter 0% module:autodiff 0% module:backtrace 0% module:borrow 0% module:boxed 0% module:bstr 0% module:cell 0% module:char 0% module:clone 0% module:cmp 0% module:collections 0% module:convert 0% module:default 0% module:env 0% module:error 0% module:f128 0% module:f16 0% module:f32 0% module:f64 0% module:ffi 0% module:fmt 0% module:from 0% module:fs 0% module:future 0% module:hash 0% module:hint 0% module:i128 0% module:i16 0% module:i32 0% module:i64 0% module:i8 0% module:intrinsics 0% module:io 0% module:isize 0% module:iter 0% module:marker 0% module:mem 0% module:net 0% module:num 0% module:ops 0% module:option 0% module:os 0% module:panic 0% module:pat 0% module:path 0% module:pin 0% module:prelude 0% module:primitive 0% module:process 0% module:ptr 0% module:random 0% module:range 0% module:rc 0% module:result 0% module:simd 0% module:slice 0% module:str 0% module:string 0% module:sync 0% module:sync/atomic 0% module:sync/mpmc 0% module:sync/mpsc 0% module:task 0% module:thread 0% module:time 0% module:u128 0% module:u16 0% module:u32 0% module:u64 0% module:u8 0% module:unsafe_binder 0% module:usize 0% module:vec 0% primitive:array 0% primitive:fn 0% primitive:i128 0% primitive:i16 0% primitive:i32 0% primitive:i64 0% primitive:i8 0% primitive:isize 0% primitive:never 0% primitive:pointer 0% primitive:reference 0% primitive:slice 0% primitive:tuple 0% primitive:u128 0% primitive:u16 0% primitive:u32 0% primitive:u64 0% primitive:u8 0% primitive:unit 0% primitive:usize 0% struct:Arc:sync 0% struct:Cell:cell 0% struct:File:fs 0% struct:HashMap:collections 0% struct:LocalKey:thread 0% struct:Mutex:sync 0% struct:Rc:rc 0% struct:RefCell:cell 0% struct:String:string 0% struct:TcpStream:net 0% struct:UdpSocket:net 0% struct:Vec:vec 0% trait:FromStr:str 0% trait:Future:future 0% trait:Iterator:iter 0% trait:PartialEq:cmp 0%
Tracked namespaces 124
Shipped 23/5276
Next to port 587
Explicit non-goals 4666

Complete

str

Rust 1.85 · Catalog source: version-pinned source manifest https://doc.rust-lang.org/std/primitive.str.html

100% shipped
23/23 shipped 107 explicit non-goals
str
Shipped (23)
Explicit non-goals (107)
  • add Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • add_assign Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • as_ascii Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • as_ascii_unchecked Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • as_bytes Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • as_bytes_mut Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • as_mut Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • as_mut_ptr Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • as_ptr Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • as_ref Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • as_str Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • as_utf8_pattern Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • borrow Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • borrow_mut Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • bytes Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • ceil_char_boundary Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • char_indices Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • chars Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • clone Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • clone_from Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • clone_into Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • clone_to_uninit Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • cmp Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • concat Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • default Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • encode_utf16 Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • eq Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • eq_ignore_ascii_case Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • escape_debug Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • escape_default Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • escape_unicode Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • extend Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • extend_one Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • extend_reserve Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • floor_char_boundary Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • fmt Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • from Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • from_iter Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • from_utf8 Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • from_utf8_mut Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • from_utf8_unchecked Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • from_utf8_unchecked_mut Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • ge Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • get Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • get_mut Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • get_unchecked Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • get_unchecked_mut Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • gt Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • hash Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • index Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • index_mut Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • into_boxed_bytes Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • into_searcher Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • into_string Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • is_ascii Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • is_char_boundary Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • is_contained_in Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • is_empty Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • is_prefix_of Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • is_suffix_of Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • join Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • le Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • lines_any Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • lt Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • make_ascii_lowercase Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • make_ascii_uppercase Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • matches Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • ne Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • parse Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • partial_cmp Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • repeat Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • replacen Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • rmatch_indices Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • rmatches Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • rsplit Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • slice_mut_unchecked Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • slice_unchecked Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • split Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • split_ascii_whitespace Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • split_at Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • split_at_checked Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • split_at_mut Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • split_at_mut_checked Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • split_whitespace Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • strip_circumfix Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • strip_prefix_of Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • strip_suffix_of Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • substr_range Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • to_ascii_lowercase Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • to_ascii_uppercase Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • to_owned Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • to_socket_addrs Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • to_string Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • trim_ascii Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • trim_ascii_end Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • trim_ascii_start Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • trim_end_matches Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • trim_left Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • trim_left_matches Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • trim_matches Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • trim_prefix Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • trim_right Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • trim_right_matches Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • trim_start_matches Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • trim_suffix Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • try_from Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.
  • type_id Skip Raw string primitive methods mix iterators, unsafe accessors, and trait-driven runtime semantics too broadly for one direct wishlist.

In progress

f32

Rust 1.85 · Catalog source: version-pinned source manifest https://doc.rust-lang.org/std/primitive.f32.html

0% shipped
0/115 shipped 115 next

Next

Floating-point primitive helpers are strong Rust portability targets.

  • abs
  • abs_sub
  • acos
  • acosh
  • add
  • add_assign
  • algebraic_add
  • algebraic_div
  • algebraic_mul
  • algebraic_rem
  • algebraic_sub
  • asin
  • asinh
  • atan
  • atan2
  • atanh
  • borrow
  • borrow_mut
  • cbrt
  • ceil
  • clamp
  • clamp_magnitude
  • classify
  • clone
  • clone_from
  • clone_into
  • clone_to_uninit
  • copysign
  • cos
  • cosh
  • default
  • div
  • div_assign
  • div_euclid
  • eq
  • erf
  • erfc
  • exp
  • exp_m1
  • exp2
  • floor
  • fmt
  • fract
  • from
  • from_be_bytes
  • from_bits
  • from_le_bytes
  • from_ne_bytes
  • from_str
  • gamma
  • ge
  • gt
  • hypot
  • into
  • is_finite
  • is_infinite
  • is_nan
  • is_normal
  • is_sign_negative
  • is_sign_positive
  • is_subnormal
  • le
  • ln
  • ln_1p
  • ln_gamma
  • log
  • log10
  • log2
  • lt
  • max
  • maximum
  • midpoint
  • min
  • minimum
  • mul
  • mul_add
  • mul_assign
  • ne
  • neg
  • next_down
  • next_up
  • partial_cmp
  • powf
  • powi
  • product
  • recip
  • rem
  • rem_assign
  • rem_euclid
  • round
  • round_ties_even
  • signum
  • sin
  • sin_cos
  • sinh
  • sqrt
  • sub
  • sub_assign
  • sum
  • tan
  • tanh
  • to_be_bytes
  • to_bits
  • to_degrees
  • to_int_unchecked
  • to_le_bytes
  • to_ne_bytes
  • to_owned
  • to_radians
  • to_string
  • total_cmp
  • trunc
  • try_from
  • try_into
  • type_id

f64

Rust 1.85 · Catalog source: version-pinned source manifest https://doc.rust-lang.org/std/primitive.f64.html

0% shipped
0/115 shipped 115 next

Next

Floating-point primitive helpers are strong Rust portability targets.

  • abs
  • abs_sub
  • acos
  • acosh
  • add
  • add_assign
  • algebraic_add
  • algebraic_div
  • algebraic_mul
  • algebraic_rem
  • algebraic_sub
  • asin
  • asinh
  • atan
  • atan2
  • atanh
  • borrow
  • borrow_mut
  • cbrt
  • ceil
  • clamp
  • clamp_magnitude
  • classify
  • clone
  • clone_from
  • clone_into
  • clone_to_uninit
  • copysign
  • cos
  • cosh
  • default
  • div
  • div_assign
  • div_euclid
  • eq
  • erf
  • erfc
  • exp
  • exp_m1
  • exp2
  • floor
  • fmt
  • fract
  • from
  • from_be_bytes
  • from_bits
  • from_le_bytes
  • from_ne_bytes
  • from_str
  • gamma
  • ge
  • gt
  • hypot
  • into
  • is_finite
  • is_infinite
  • is_nan
  • is_normal
  • is_sign_negative
  • is_sign_positive
  • is_subnormal
  • le
  • ln
  • ln_1p
  • ln_gamma
  • log
  • log10
  • log2
  • lt
  • max
  • maximum
  • midpoint
  • min
  • minimum
  • mul
  • mul_add
  • mul_assign
  • ne
  • neg
  • next_down
  • next_up
  • partial_cmp
  • powf
  • powi
  • product
  • recip
  • rem
  • rem_assign
  • rem_euclid
  • round
  • round_ties_even
  • signum
  • sin
  • sin_cos
  • sinh
  • sqrt
  • sub
  • sub_assign
  • sum
  • tan
  • tanh
  • to_be_bytes
  • to_bits
  • to_degrees
  • to_int_unchecked
  • to_le_bytes
  • to_ne_bytes
  • to_owned
  • to_radians
  • to_string
  • total_cmp
  • trunc
  • try_from
  • try_into
  • type_id

f16

Rust 1.85 · Catalog source: version-pinned source manifest https://doc.rust-lang.org/std/primitive.f16.html

0% shipped
0/114 shipped 114 next

Next

Floating-point primitive helpers are strong Rust portability targets.

  • abs
  • acos
  • acosh
  • add
  • add_assign
  • algebraic_add
  • algebraic_div
  • algebraic_mul
  • algebraic_rem
  • algebraic_sub
  • asin
  • asinh
  • atan
  • atan2
  • atanh
  • borrow
  • borrow_mut
  • cbrt
  • ceil
  • clamp
  • clamp_magnitude
  • classify
  • clone
  • clone_from
  • clone_into
  • clone_to_uninit
  • copysign
  • cos
  • cosh
  • default
  • div
  • div_assign
  • div_euclid
  • eq
  • erf
  • erfc
  • exp
  • exp_m1
  • exp2
  • floor
  • fmt
  • fract
  • from
  • from_be_bytes
  • from_bits
  • from_le_bytes
  • from_ne_bytes
  • from_str
  • gamma
  • ge
  • gt
  • hypot
  • into
  • is_finite
  • is_infinite
  • is_nan
  • is_normal
  • is_sign_negative
  • is_sign_positive
  • is_subnormal
  • le
  • ln
  • ln_1p
  • ln_gamma
  • log
  • log10
  • log2
  • lt
  • max
  • maximum
  • midpoint
  • min
  • minimum
  • mul
  • mul_add
  • mul_assign
  • ne
  • neg
  • next_down
  • next_up
  • partial_cmp
  • powf
  • powi
  • product
  • recip
  • rem
  • rem_assign
  • rem_euclid
  • round
  • round_ties_even
  • signum
  • sin
  • sin_cos
  • sinh
  • sqrt
  • sub
  • sub_assign
  • sum
  • tan
  • tanh
  • to_be_bytes
  • to_bits
  • to_degrees
  • to_int_unchecked
  • to_le_bytes
  • to_ne_bytes
  • to_owned
  • to_radians
  • to_string
  • total_cmp
  • trunc
  • try_from
  • try_into
  • type_id

f128

Rust 1.85 · Catalog source: version-pinned source manifest https://doc.rust-lang.org/std/primitive.f128.html

0% shipped
0/112 shipped 112 next

Next

Floating-point primitive helpers are strong Rust portability targets.

  • abs
  • acos
  • acosh
  • add
  • add_assign
  • algebraic_add
  • algebraic_div
  • algebraic_mul
  • algebraic_rem
  • algebraic_sub
  • asin
  • asinh
  • atan
  • atan2
  • atanh
  • borrow
  • borrow_mut
  • cbrt
  • ceil
  • clamp
  • clamp_magnitude
  • classify
  • clone
  • clone_from
  • clone_into
  • clone_to_uninit
  • copysign
  • cos
  • cosh
  • default
  • div
  • div_assign
  • div_euclid
  • eq
  • erf
  • erfc
  • exp
  • exp_m1
  • exp2
  • floor
  • fmt
  • fract
  • from
  • from_be_bytes
  • from_bits
  • from_le_bytes
  • from_ne_bytes
  • gamma
  • ge
  • gt
  • hypot
  • into
  • is_finite
  • is_infinite
  • is_nan
  • is_normal
  • is_sign_negative
  • is_sign_positive
  • is_subnormal
  • le
  • ln
  • ln_1p
  • ln_gamma
  • log
  • log10
  • log2
  • lt
  • max
  • maximum
  • midpoint
  • min
  • minimum
  • mul
  • mul_add
  • mul_assign
  • ne
  • neg
  • next_down
  • next_up
  • partial_cmp
  • powf
  • powi
  • product
  • recip
  • rem
  • rem_assign
  • rem_euclid
  • round
  • round_ties_even
  • signum
  • sin
  • sin_cos
  • sinh
  • sqrt
  • sub
  • sub_assign
  • sum
  • tan
  • tanh
  • to_be_bytes
  • to_bits
  • to_degrees
  • to_int_unchecked
  • to_le_bytes
  • to_ne_bytes
  • to_owned
  • to_radians
  • total_cmp
  • trunc
  • try_from
  • try_into
  • type_id

char

Rust 1.85 · Catalog source: version-pinned source manifest https://doc.rust-lang.org/std/primitive.char.html

0% shipped
0/89 shipped 89 next

Next

Character primitive helpers are strong plain-value portability targets.

  • as_ascii
  • as_ascii_unchecked
  • as_utf8_pattern
  • backward
  • backward_checked
  • backward_unchecked
  • borrow
  • borrow_mut
  • clamp
  • clone
  • clone_from
  • clone_into
  • clone_to_uninit
  • cmp
  • decode_utf16
  • default
  • encode_utf16
  • encode_utf8
  • eq
  • eq_ignore_ascii_case
  • escape_debug
  • escape_default
  • escape_unicode
  • extend
  • extend_one
  • extend_reserve
  • fmt
  • forward
  • forward_checked
  • forward_unchecked
  • from
  • from_digit
  • from_iter
  • from_str
  • from_u32
  • from_u32_unchecked
  • ge
  • gt
  • hash
  • hash_slice
  • into
  • into_searcher
  • is_alphabetic
  • is_alphanumeric
  • is_ascii
  • is_ascii_alphabetic
  • is_ascii_alphanumeric
  • is_ascii_control
  • is_ascii_digit
  • is_ascii_graphic
  • is_ascii_hexdigit
  • is_ascii_lowercase
  • is_ascii_octdigit
  • is_ascii_punctuation
  • is_ascii_uppercase
  • is_ascii_whitespace
  • is_contained_in
  • is_control
  • is_digit
  • is_lowercase
  • is_numeric
  • is_prefix_of
  • is_suffix_of
  • is_uppercase
  • is_whitespace
  • le
  • len_utf16
  • len_utf8
  • lt
  • make_ascii_lowercase
  • make_ascii_uppercase
  • max
  • min
  • ne
  • partial_cmp
  • steps_between
  • strip_prefix_of
  • strip_suffix_of
  • sub_one
  • to_ascii_lowercase
  • to_ascii_uppercase
  • to_digit
  • to_lowercase
  • to_owned
  • to_string
  • to_uppercase
  • try_from
  • try_into
  • type_id

bool

Rust 1.85 · Catalog source: version-pinned source manifest https://doc.rust-lang.org/std/primitive.bool.html

0% shipped
0/42 shipped 42 next

Next

Boolean primitive helpers have a clean plain-value contract.

  • bitand
  • bitand_assign
  • bitor
  • bitor_assign
  • bitxor
  • bitxor_assign
  • borrow
  • borrow_mut
  • clamp
  • clone
  • clone_from
  • clone_into
  • clone_to_uninit
  • cmp
  • default
  • disjoint_bitor
  • eq
  • fmt
  • from
  • from_str
  • ge
  • gt
  • hash
  • hash_slice
  • into
  • le
  • lt
  • max
  • min
  • ne
  • not
  • ok_or
  • ok_or_else
  • partial_cmp
  • sample
  • then
  • then_some
  • to_owned
  • to_string
  • try_from
  • try_into
  • type_id

Triaged as out of scope

enum Option:option Rust 1.85
0/0 85 skipped
enum Result:result Rust 1.85
0/0 72 skipped
alloc Rust 1.85
0/0 7 skipped
any Rust 1.85
0/0 4 skipped
array Rust 1.85
0/0 5 skipped
ascii Rust 1.85
0/0 1 skipped
async_iter Rust 1.85
0/0 1 skipped
char Rust 1.85
0/0 4 skipped
cmp Rust 1.85
0/0 9 skipped
convert Rust 1.85
0/0 1 skipped
env Rust 1.85
0/0 15 skipped
error Rust 1.85
0/0 2 skipped
fmt Rust 1.85
0/0 3 skipped
fs Rust 1.85
0/0 22 skipped
future Rust 1.85
0/0 4 skipped
hint Rust 1.85
0/0 14 skipped
intrinsics Rust 1.85
0/0 226 skipped
io Rust 1.85
0/0 9 skipped
iter Rust 1.85
0/0 11 skipped
marker Rust 1.85
0/0 1 skipped
mem Rust 1.85
0/0 23 skipped
net Rust 1.85
0/0 1 skipped
panic Rust 1.85
0/0 10 skipped
path Rust 1.85
0/0 2 skipped
process Rust 1.85
0/0 3 skipped
ptr Rust 1.85
0/0 32 skipped
random Rust 1.85
0/0 1 skipped
slice Rust 1.85
0/0 8 skipped
str Rust 1.85
0/0 7 skipped
sync/atomic Rust 1.85
0/0 3 skipped
sync/mpmc Rust 1.85
0/0 2 skipped
sync/mpsc Rust 1.85
0/0 2 skipped
task Rust 1.85
0/0 2 skipped
thread Rust 1.85
0/0 14 skipped
array Rust 1.85
0/0 52 skipped
fn Rust 1.85
0/0 31 skipped
i128 Rust 1.85
0/0 202 skipped
i16 Rust 1.85
0/0 202 skipped
i32 Rust 1.85
0/0 202 skipped
i64 Rust 1.85
0/0 202 skipped
i8 Rust 1.85
0/0 202 skipped
isize Rust 1.85
0/0 202 skipped
never Rust 1.85
0/0 33 skipped
pointer Rust 1.85
0/0 97 skipped
reference Rust 1.85
0/0 7 skipped
slice Rust 1.85
0/0 231 skipped
tuple Rust 1.85
0/0 42 skipped
u128 Rust 1.85
0/0 201 skipped
u16 Rust 1.85
0/0 202 skipped
u32 Rust 1.85
0/0 201 skipped
u64 Rust 1.85
0/0 201 skipped
u8 Rust 1.85
0/0 222 skipped
unit Rust 1.85
0/0 30 skipped
usize Rust 1.85
0/0 209 skipped
struct Arc:sync Rust 1.85
0/0 124 skipped
struct Cell:cell Rust 1.85
0/0 39 skipped
struct File:fs Rust 1.85
0/0 72 skipped
struct HashMap:collections Rust 1.85
0/0 60 skipped
struct LocalKey:thread Rust 1.85
0/0 17 skipped
struct Mutex:sync Rust 1.85
0/0 20 skipped
struct Rc:rc Rust 1.85
0/0 93 skipped
struct RefCell:cell Rust 1.85
0/0 37 skipped
struct String:string Rust 1.85
0/0 178 skipped
struct TcpStream:net Rust 1.85
0/0 59 skipped
struct UdpSocket:net Rust 1.85
0/0 47 skipped
struct Vec:vec Rust 1.85
0/0 236 skipped

Not yet triaged

arch Rust 1.85
0/0
assert_matches Rust 1.85
0/0
autodiff Rust 1.85
0/0
backtrace Rust 1.85
0/0
borrow Rust 1.85
0/0
boxed Rust 1.85
0/0
bstr Rust 1.85
0/0
cell Rust 1.85
0/0
clone Rust 1.85
0/0
collections Rust 1.85
0/0
default Rust 1.85
0/0
f128 Rust 1.85
0/0
f16 Rust 1.85
0/0
f32 Rust 1.85
0/0
f64 Rust 1.85
0/0
ffi Rust 1.85
0/0
from Rust 1.85
0/0
hash Rust 1.85
0/0
i128 Rust 1.85
0/0
i16 Rust 1.85
0/0
i32 Rust 1.85
0/0
i64 Rust 1.85
0/0
i8 Rust 1.85
0/0
isize Rust 1.85
0/0
num Rust 1.85
0/0
ops Rust 1.85
0/0
option Rust 1.85
0/0
os Rust 1.85
0/0
pat Rust 1.85
0/0
pin Rust 1.85
0/0
prelude Rust 1.85
0/0
primitive Rust 1.85
0/0
range Rust 1.85
0/0
rc Rust 1.85
0/0
result Rust 1.85
0/0
simd Rust 1.85
0/0
string Rust 1.85
0/0
sync Rust 1.85
0/0
time Rust 1.85
0/0
u128 Rust 1.85
0/0
u16 Rust 1.85
0/0
u32 Rust 1.85
0/0
u64 Rust 1.85
0/0
u8 Rust 1.85
0/0
unsafe_binder Rust 1.85
0/0
usize Rust 1.85
0/0
vec Rust 1.85
0/0
trait FromStr:str Rust 1.85
0/0
trait Future:future Rust 1.85
0/0
trait Iterator:iter Rust 1.85
0/0
trait PartialEq:cmp Rust 1.85
0/0