Modulecore›reflect›attr core::reflect::attr 이 페이지의 내용StructsAttr2gettype_ref API 참조는 영어로만 있습니다. 표준 라이브러리 소스의 영어 문서 주석에서 만듭니다. runtime attributes: values of a #[runtime_attribute(name)] struct written as #[name(..)] on a type, field or variant, kept in read-only data. StructsAttrSourcepub struct AttrOne runtime attribute on a type, field or variant. pub fn type_ref(self) -> TypeRef§SourceThe attribute struct. pub fn get<A>(self) -> A | none§SourceIts value as an A, when it is one. Trait implementations 2impl Clone for Attrimpl Debug for Attr