How can I call Struct::func when Trait::func exists?
haabi
·
2026-05-15
·
via The Rust Programming Language Forum - Latest topics
I tried to define fn to_str(&self) -> Option<&str> as a trait method to make a function able…
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。