{%- if doc %}
{{ doc }}{%- endif %}
    @discardableResult
    public func {{ config_camel }}() -> Self {
        guard let inner = inner else { return self }
        // swift-bridge emits `fn config(client: &mut App);` as a free Swift function
        // `RustBridge.{{ config_camel }}(_ client: AppRefMut)`; the wrapper class itself
        // does not gain `inner.config()`. Call through the module function instead.
        RustBridge.{{ config_camel }}(inner)
        return self
    }
