About 7,810,000 results
Open links in new tab
  1. Книги и учебные ресурсы по Rust - Stack Overflow на русском

    В этом вопросе собирается литература и другие учебные материалы по языку Rust. Формат: Имя Фамилия — «Название книги целиком и полностью», ГГГГ г.. Формат для переведенной …

  2. When to use as_* vs to_* vs into_* in Rust? - Stack Overflow

    Jul 15, 2022 · The guidelines continue with examples like str::as_bytes(), str::to_lowercase(), String::into_bytes(), etc. and some other considerations for abstraction and mutability. A quicker way …

  3. When to use Box instead of reference? - Stack Overflow

    Mar 20, 2016 · I'm new to Rust and I'm trying to understand when a Box should be used instead of a regular reference. All the examples I can find show how to use a Box, but none of them explain in …

  4. When should we use unwrap vs expect in Rust - Stack Overflow

    Apr 20, 2020 · 76 Rust doesn't have function overloading, so there should be a way to declare " unwrap with a message", and that is expect. expect == unwrap with a message expect_err == unwrap_err …

  5. How can I read the Rust documentation offline? - Stack Overflow

    Mar 5, 2017 · I use the default installation of Rust and want to read the doc following this tutorial: $ rustup doc But the above command outputs the following error: There is indeed no html directory: $ ls ...

  6. rust - What are Some and None? - Stack Overflow

    See also: Why don't Option's Some and None variants need to be qualified? What is the difference between Some and Option in Rust?

  7. Why isn't the local rust documentation not opening?

    Jul 17, 2024 · I'm on the introduction part of the book The Rust Programming Language. More specifically, I'm trying to install rustup. Since my OS is the 64-bit Windows 11, I had to go to the …

  8. rust - What is this question mark operator about? - Stack Overflow

    Mar 21, 2017 · As you may have noticed, Rust does not have exceptions. It has panics, but their use for error-handling is discouraged (they are meant for unrecoverable errors).

  9. How can I download Rust API docs? - Stack Overflow

    Try running rustup doc to open them in your browser. If they aren't already installed, you can download the docs by running rustup component add rust-docs. By default, rustup doc opens the …

  10. Understanding usage of Rc<RefCell<SomeStruct>> in Rust

    May 25, 2020 · Rc<RefCell<SomeStruct>> So I went out to read about the differences between Rc and RefCell: Here is a recap of the reasons to choose Box, Rc, or RefCell: Rc enables multiple owners of …