Rust std note
Rust
の std library についての note
std::mem
メモリー周り utility
std::mem::take(a: T) -> T --- a を空にして、a に入っていた値を返す