Option 型の中身を参照型(Reference)に変換する. as_refを使う。 let hoge: Option<Vec<String>> /// hoge.as_ref() は Option<&Vec<String>>. Links to this page.
確定! 回上一頁