サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
アメリカ大統領選
rufflewind.com
// Constructing leaf futures fn empty () -> Future<T, E> fn ok (T) -> Future<T, E> fn err (E) -> Future<T, E> fn result(Result<T, E>) -> Future<T, E> // General future constructor fn poll_fn(FnMut(thread_local!(Task)) -> Poll<T, E>) -> Future<T, E> // Mapping futures fn Future::map (Future<T, E>, FnOnce(T) -> U) -> Future<U, E> fn Future::map_err (Future<T, E>, FnOnce(E) -> F) -> Future<T, F> fn F
Below is a graphical depiction of moving, copying, and borrowing in the Rust language. Most of these concepts are fairly specific to Rust and are therefore a common stumbling block for many learners. To avoid clutter in the graphics, I have tried to keep the text to a minimum. It isn’t meant to be a replacement for the various tutorials out there but more of a different perspective for programmers
このページを最初にブックマークしてみませんか?
『rufflewind.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く