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
  • 7175 View
  • 34 Score
  • 3 Answer
  • Tags:   rust

1 Answered Questions

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

  • 2015-01-06 03:11:29
  • stevenkucera
  • 25043 View
  • 76 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
  • 15716 View
  • 71 Score
  • 1 Answer
  • Tags:   rust

1 Answered Questions

[SOLVED] What are non-lexical lifetimes?

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

1 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
  • 9250 View
  • 72 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
  • 2411 View
  • 22 Score
  • 2 Answer
  • Tags:   rust traits

1 Answered Questions

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

  • 2015-09-13 15:17:07
  • Xavier Shay
  • 2890 View
  • 17 Score
  • 1 Answer
  • Tags:   generics 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
  • 7419 View
  • 21 Score
  • 2 Answer
  • Tags:   rust

2 Answered Questions

6 Answered Questions

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

  • 2014-02-13 06:49:09
  • user2431012
  • 45341 View
  • 162 Score
  • 6 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
  • 6212 View
  • 40 Score
  • 4 Answer
  • Tags:   rust

1 Answered Questions

[SOLVED] Cannot move out of borrowed content

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

2 Answered Questions

3 Answered Questions

1 Answered Questions

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

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
  • 1938 View
  • 12 Score
  • 2 Answer
  • Tags:   rust

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
  • 1192 View
  • 8 Score
  • 1 Answer
  • Tags:   rust serde

7 Answered Questions

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

  • 2014-06-11 08:29:34
  • Daniel Fath
  • 31204 View
  • 263 Score
  • 7 Answer
  • Tags:   string rust

1 Answered Questions

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

  • 2016-02-24 03:35:20
  • George Hilliard
  • 3471 View
  • 45 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
  • 6907 View
  • 32 Score
  • 2 Answer
  • Tags:   rust traits

1 Answered Questions

[SOLVED] How do I create a heterogeneous collection of objects?

  • 2015-01-15 05:03:01
  • stevenkucera
  • 2015 View
  • 11 Score
  • 1 Answer
  • Tags:   rust

3 Answered Questions

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

3 Answered Questions

[SOLVED] Returning a closure from a function

  • 2014-08-22 11:18:21
  • aochagavia
  • 10855 View
  • 30 Score
  • 3 Answer
  • Tags:   rust