How to get accent color in Rust

I am writing an application and want to get the currently set accent color. But I can’t figure out how to do it. I already found this in the libadwaita documentation get_accent_color which is I think what I need. I am just having issues figuring out how I can call this function in Rust.
Thanks!

StyleManager in libadwaita - Rust?

Whoops, my bad, I can’t believe I didn’t think of that. Thanks that made it work first try