a number between why do we need isize?
you need usize or isize in order to count the amount of memory or things like that
isize is useful for offsets
Anyone familiar with unsafe Rust? I'm writing a simple container type as an internal storage for another type. It is something like Vec, but stores 3 different internal arrays...
if im not creating a mutable string then why would it store the capacity?
something like that? trait Callback { fn callback(&self) { println!("default callback implementation") } } and Parent and Child structs struct Parent {} im...
I want to learn once and for all the the different between Mutex / Arc (and more generics for accessing), in async / sync access and lifetime. I think it's the most diffcult p...
How can I add windows crate to project only for windows target and only if the feature special was set? I have multiple targets dependencies (macOS / Windows / Linux), not sur...
my question is why the fuck would it store the capacity if its not mutable?
How to use Rc<BufReader<File>> ? I get error at line 8.
Did you already run miri on it?
How to setup rust without visual studio?
Hi! I have a question about developing cross-platform apps with Rust. I find it difficult to develop for macOS when I don't have one. (I've already tried Docker OSX/Cloud.) ...
Обсуждают сегодня