Although Rust will let you bind Sized to a trait, you won't be able to use it to form a trait object later: trait Foo { } trait Bar: Sized { } struct Impl; ...
確定! 回上一頁