Trait de_gui::ButtonCommands

source ·
pub trait ButtonCommands<'w, 's> {
    // Required method
    fn spawn_button(
        &mut self,
        size: OuterStyle,
        caption: impl Into<String>
    ) -> EntityCommands<'_>;
}

Required Methods§

source

fn spawn_button( &mut self, size: OuterStyle, caption: impl Into<String> ) -> EntityCommands<'_>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'w, 's> ButtonCommands<'w, 's> for GuiCommands<'w, 's>