[][src]Function tao_of_rust::ch02::binding::temp

pub fn temp() -> i32

临时值

Basic usage:

pub fn temp() -> i32 {
    return 1;
}
let x = &temp();
temp() = *x;   // error[E0070]: invalid left-hand side expressionRun