pub trait RenderProperty {
// Required method
fn apply(self, properties: &mut RenderProperties);
}Expand description
A property that can be applied to RenderProperties.
Implemented for Style, VAlign, HAlign, and RenderProperties.
Required Methods§
Sourcefn apply(self, properties: &mut RenderProperties)
fn apply(self, properties: &mut RenderProperties)
Applies this property to the given render properties.