CustomWidget public function

Hello,
I’m developing a CustomWidget in Rust/GTK4 based on a DrawingArea, called VuMeter.
By following the GTK-RS book, I’m getting pretty much what I want. However, I’ve implemented functions in my imp.rs file that I’d like to make accessible from the outside. What I’m currently doing is creating an identical function in mod.rs that links to this imp.rs function. Isn’t there a simpler solution? For example, I have a set_type function in imp.rs that needs to be updated from my main file.
So, in mod.rs, I have a set_type function like this:

pub fn set_type(&self, vu_type: VuType) {
let imp = self.imp();
imp.set_type(vu_type);
}

Isn’t there a simpler method? Thank you in advance!