pub fn protocol_by_name(name: impl Into<String>) -> ProtocolCapability {
        ProtocolCapability {
            name: name.into(),
            as_: None,
            type_: fdecl::DependencyType::Strong,
            path: None,
        }
    }
/// Creates a new protocol capability.
Creates a new protocol capability.
Creates a new protocol capability .
pub fn protocol_by_name(name: impl Into<String>) -> ProtocolCapability {
        ProtocolCapability {
            name: name.into(),
            as_: None,
            type_: fdecl::DependencyType::Strong,
            path: None,
        }
    }
pub fn protocol_by_name ( name : impl Into < String > ) -> ProtocolCapability { ProtocolCapability { name : name . into ( ) , as_ : None , type_ : fdecl :: DependencyType :: Strong , path : None , } }
Creates a new protocol capability.
Creates a new protocol capability .
name
impl Into<String>
name
impl Into<String>