Skip to main content

ElementExt

Trait ElementExt 

Source
pub trait ElementExt {
    // Required method
    fn liora(self, cx: &mut App) -> Self;
}
Expand description

Element extension points reserved for applying Liora-wide styling helpers.

Required Methods§

Source

fn liora(self, cx: &mut App) -> Self

Returns the active Liora theme for the current context.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ElementExt for Div

Source§

fn liora(self, _cx: &mut App) -> Self

Implementors§