AsRef is useful where you only need to borrow the input parameter. If you find yourself doing. let x = param.as_ref().to_owned();.
確定! 回上一頁