Trait glib::PropertySetNested
source · pub trait PropertySetNested {
type SetNestedValue;
// Required method
fn set_nested<F: FnOnce(&mut Self::SetNestedValue)>(&self, f: F);
}
Expand description
A container type implementing this trait can be written by the default setter generated by the Props
macro.
It takes a FnOnce(&mut Self::Value)
so that the caller may access nested fields of a struct
by doing ${Self::Value}.member
Required Associated Types§
type SetNestedValue
Required Methods§
fn set_nested<F: FnOnce(&mut Self::SetNestedValue)>(&self, f: F)
Object Safety§
This trait is not object safe.