2 Answered Questions

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

2 Answered Questions

3 Answered Questions

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

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

1 Answered Questions

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

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

1 Answered Questions

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

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

1 Answered Questions

[SOLVED] What are non-lexical lifetimes?

1 Answered Questions

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

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
  • 3130 View
  • 16 Score
  • 1 Answer
  • Tags:   rust

1 Answered Questions

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

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

1 Answered Questions

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

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

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
  • 2680 View
  • 22 Score
  • 2 Answer
  • Tags:   rust traits

1 Answered Questions

2 Answered Questions

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

  • 2014-12-01 04:01:15
  • Doug
  • 8414 View
  • 22 Score
  • 2 Answer
  • Tags:   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
  • 2256 View
  • 14 Score
  • 2 Answer
  • Tags:   rust

7 Answered Questions

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

  • 2014-02-13 06:49:09
  • user2431012
  • 50129 View
  • 182 Score
  • 7 Answer
  • Tags:   types 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
  • 6898 View
  • 40 Score
  • 4 Answer
  • Tags:   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
  • 1506 View
  • 8 Score
  • 1 Answer
  • Tags:   rust serde

8 Answered Questions

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

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

1 Answered Questions

[SOLVED] Cannot move out of borrowed content

  • 2015-01-26 21:04:41
  • Peekmo
  • 53148 View
  • 105 Score
  • 1 Answer
  • Tags:   rust

2 Answered Questions

3 Answered Questions

3 Answered Questions

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

1 Answered Questions

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

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

2 Answered Questions

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

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

1 Answered Questions

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

1 Answered Questions

[SOLVED] Cannot move out of borrowed content when unwrapping

2 Answered Questions

[SOLVED] What does "Sized is not implemented" mean?

  • 2015-01-20 11:27:31
  • k-ui
  • 15109 View
  • 35 Score
  • 2 Answer
  • Tags:   rust