Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rust

Clarify the meaning of binding two references to differently scoped referents to the same lifetime in a function signature

What is the difference between repr(C) and repr(rust)?

rust

Is allocating a struct on the heap or having a struct own a heap pointer more idiomatic?

rust

How can I store a Chars iterator in the same struct as the String it is iterating on?

rust

What's the equivalent of a C preprocessor-like #define for an array length? [duplicate]

rust

When to be explicit with type annotation?

types rust primitive

error: variable 'x' is still repeating at this depth

macros rust

Generate a random u8 from 0 to 255 inclusively

random rust

How can I move a value out of the argument to Drop::drop()?

rust

Passing an immutable reference when a mutable reference exists

How to properly implement Iterable structure in Rust? [duplicate]

rust iterator

Why is there a borrow of a moved value when calling a method that takes self by value with an argument that also calls a method?

rust borrow-checker

Is it possible to cast a trait object to another trait object? [duplicate]

dynamic casting rust

Is there a Rust interpreter?

What does “&*” do in Rust

rust

How do I split a string using a Rust regex and keep the delimiters?

regex rust

why do we need to call take() for Option<T> variable

rust

Why does Rust allow code with the wrong return type, but only with a trailing semicolon?

What does a lifetime reference when declared in a trait implementation?

rust

What is the difference between Vec<struct> and &[struct]?

vector data-structures rust