Skip to main content

component_of

Function component_of 

Source
pub fn component_of(kind: MemberKind, path: &str) -> Option<String>
Expand description

The logical component a member belongs to (the component column). Dynamic — the crate name for a vendored crate, the target triple for a rust-std member — so this returns an owned String (unlike the skidbladnir plugin’s fixed set). None for bundle-level members (manifest/config) that span the whole toolchain.