1 2 3 4 5 6
use glib::Object; pub struct VProperty { pub name: &'static str, pub set: Box<dyn Fn(&Object, Option<&Object>, bool) + 'static>, }