我正在寻找 attributes 的详尽列表默认情况下可用:没有启用任何外部 crate 或实验性功能。
是否存在这样的列表?
最佳答案
是的,Rust reference包含属性列表(尽管它可能不是最新的)。
引自Rust book section on attributes你链接:
There is a full list of attributes in the reference. Currently, you are not allowed to create your own attributes, the Rust compiler defines them.
关于rust - 是否有标准属性的详尽列表?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37900513/