2 Answered Questions

[SOLVED] Why can't I store a value and a reference to that value in the same struct?

3 Answered Questions

3 Answered Questions

[SOLVED] Return local String as a slice (&str)

  • 2015-04-03 07:42:17
  • anderspitman
  • 8830 View
  • 37 Score
  • 3 Answer
  • Tags:   rust

1 Answered Questions

[SOLVED] How do I create a global, mutable singleton?

  • 2015-01-06 03:11:29
  • stevenkucera
  • 32965 View
  • 95 Score
  • 1 Answer
  • Tags:   rust

1 Answered Questions

[SOLVED] What are non-lexical lifetimes?

1 Answered Questions

[SOLVED] What is the correct way to return an Iterator (or any other trait)?

  • 2014-12-17 21:39:10
  • forgemo
  • 20483 View
  • 91 Score
  • 1 Answer
  • Tags:   rust

1 Answered Questions

[SOLVED] How can I pass a reference to a stack variable to a thread?

  • 2015-09-23 23:00:15
  • Ned Ruggeri
  • 3681 View
  • 21 Score
  • 1 Answer
  • Tags:   rust

2 Answered Questions

[SOLVED] What are Rust's exact auto-dereferencing rules?

1 Answered Questions

[SOLVED] How to lookup from and insert into a HashMap efficiently?

  • 2015-02-14 04:23:30
  • Yusuke Shinyama
  • 11398 View
  • 82 Score
  • 1 Answer
  • Tags:   hashmap rust lookup

2 Answered Questions

[SOLVED] How do I implement a trait I don't own for a type I don't own?

  • 2014-08-20 19:45:19
  • le_me
  • 3175 View
  • 25 Score
  • 2 Answer
  • Tags:   rust traits

1 Answered Questions

1 Answered Questions

[SOLVED] "Expected type parameter" error in the constructor of a generic struct

  • 2015-09-13 15:17:07
  • Xavier Shay
  • 3615 View
  • 19 Score
  • 1 Answer
  • Tags:   generics rust traits

2 Answered Questions

[SOLVED] How can you make a safe static singleton in Rust?

  • 2014-12-01 04:01:15
  • Doug
  • 9635 View
  • 24 Score
  • 2 Answer
  • Tags:   rust

4 Answered Questions

[SOLVED] Why do try!() and ? not compile when used in a function that doesn't return Option or Result?

  • 2015-05-31 08:42:53
  • Mathieu David
  • 7828 View
  • 42 Score
  • 4 Answer
  • Tags:   rust

8 Answered Questions

[SOLVED] What are the differences between Rust's `String` and `str`?

  • 2014-06-11 08:29:34
  • Daniel Fath
  • 39582 View
  • 337 Score
  • 8 Answer
  • Tags:   string rust

2 Answered Questions

[SOLVED] How can I swap in a new value for a field in a mutable reference to a structure?

  • 2014-11-24 05:58:37
  • arcyqwerty
  • 2730 View
  • 16 Score
  • 2 Answer
  • Tags:   rust

10 Answered Questions

[SOLVED] How do I print the type of a variable in Rust?

  • 2014-02-13 06:49:09
  • user2431012
  • 57290 View
  • 202 Score
  • 10 Answer
  • Tags:   types rust

2 Answered Questions

1 Answered Questions

[SOLVED] Why is a trait not implemented for a type that clearly has it implemented?

  • 2017-06-08 13:30:31
  • haheute
  • 1933 View
  • 9 Score
  • 1 Answer
  • Tags:   rust serde

1 Answered Questions

3 Answered Questions

3 Answered Questions

[SOLVED] How do I write an iterator that returns references to itself?

2 Answered Questions

2 Answered Questions

[SOLVED] How to get a reference to a concrete type from a trait object?

  • 2015-11-13 07:03:35
  • Aleksandr
  • 9022 View
  • 38 Score
  • 2 Answer
  • Tags:   rust traits

3 Answered Questions

[SOLVED] Unexpected value when reading user input from stdin

  • 2015-01-05 04:12:26
  • Joe
  • 1639 View
  • 8 Score
  • 3 Answer
  • Tags:   rust

1 Answered Questions

[SOLVED] Why can I return a reference to a local literal but not a variable?

1 Answered Questions

[SOLVED] How does for<> syntax differ from a regular lifetime bound?

  • 2016-02-24 03:35:20
  • George Hilliard
  • 4214 View
  • 56 Score
  • 1 Answer
  • Tags:   rust