IStyle
trait · ferroui-base · v0.5.0
trait IStyle: IResourceNode
Defines the interface for styles.
Implemented by Style, ControlTheme,
ContainerQuery, Styles and
style includes.
Members
children
fn children(self: &Self) -> Rc<Vec<Rc<dyn IStyle>>>
A snapshot of the collection of child styles.
as_object
fn as_object(self: &Self) -> Option<&FerroObject>
The style as an object, when it is a class instance. Used for identity comparison and type tests.
as_resource_provider
fn as_resource_provider(self: &Self) -> Option<&dyn IResourceProvider>
The style as a resource provider, if it is one.
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.