Traitsยง
- A type that can be used as a property. It covers every type which have an associated
ParamSpec
(HasParamSpec
) and some useful types wrappingHasParamSpec
. The definition is recursive, so you can nest manyProperty
s together. The finalParamSpec
will be the one of the innermost type - A container type implementing this trait can be read by the default getter generated by the
Properties
macro. - A container type implementing this trait can be written by the default setter generated by the
Properties
macro. - A container type implementing this trait can be written by the default setter generated by the
Properties
macro. It takes aFnOnce(&mut Self::Value)
so that the caller may access nested fields of a struct by doing${Self::Value}.member