Trait BackgroundContainer

Source
pub trait BackgroundContainer {
    // Required method
    fn background_node(&mut self) -> &mut BackgroundStyle;

    // Provided methods
    fn background_color(self, color: impl Into<Color>) -> Self
       where Self: Sized { ... }
    fn background_image(self, image: Handle<Image>) -> Self
       where Self: Sized { ... }
}

Required Methods§

Provided Methods§

Source

fn background_color(self, color: impl Into<Color>) -> Self
where Self: Sized,

Source

fn background_image(self, image: Handle<Image>) -> Self
where Self: Sized,

Implementors§