Struct rg3d_ui::button::ButtonBuilder[][src]

pub struct ButtonBuilder<M: MessageData, C: Control<M, C>> { /* fields omitted */ }

Implementations

impl<M: MessageData, C: Control<M, C>> ButtonBuilder<M, C>[src]

pub fn new(widget_builder: WidgetBuilder<M, C>) -> Self[src]

pub fn with_text(self, text: &str) -> Self[src]

pub fn with_content(self, node: Handle<UINode<M, C>>) -> Self[src]

pub fn with_font(self, font: SharedFont) -> Self[src]

pub fn with_back(self, decorator: Handle<UINode<M, C>>) -> Self[src]

pub fn build(self, ctx: &mut BuildContext<'_, M, C>) -> Handle<UINode<M, C>>[src]

Auto Trait Implementations

impl<M, C> !RefUnwindSafe for ButtonBuilder<M, C>

impl<M, C> !Send for ButtonBuilder<M, C>

impl<M, C> !Sync for ButtonBuilder<M, C>

impl<M, C> Unpin for ButtonBuilder<M, C> where
    C: Unpin,
    M: Unpin

impl<M, C> !UnwindSafe for ButtonBuilder<M, C>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,