#[derive(Debug, serde::Deserialize)] enum Foo { Bar(Bar), Baz, } ... Unwrap inner type when enum variant is known ... rust - 如何在选项数组中正确分配值?
確定! 回上一頁