But in contrast to languages like Java, Rust doesn't have inheritance and uses traits ... the Deref and AsRef traits in the following way: C can Deref to B; ...
確定! 回上一頁