Skip to main content

LiveExt

Trait LiveExt 

Source
pub trait LiveExt:
    View
    + Sized
    + 'static {
    // Provided methods
    fn opacity_live(self, live: impl Into<Live<f32>>) -> LiveOpacity { ... }
    fn offset_live(self, live: impl Into<Live<Vec2>>) -> LiveOffset { ... }
    fn background_live(self, live: impl Into<Live<Color>>) -> LiveBackground { ... }
}

Provided Methods§

Source

fn opacity_live(self, live: impl Into<Live<f32>>) -> LiveOpacity

Source

fn offset_live(self, live: impl Into<Live<Vec2>>) -> LiveOffset

Source

fn background_live(self, live: impl Into<Live<Color>>) -> LiveBackground

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<T: View + 'static> LiveExt for T