[][src]Struct ezui::standard::UiTextBuilder

pub struct UiTextBuilder<'a> { /* fields omitted */ }

Builder for UiText.

Methods

impl<'a> UiTextBuilder<'a>[src]

pub fn position(self, value: (f32, f32)) -> Self[src]

pub fn size(self, value: (f32, f32)) -> Self[src]

pub fn color(self, value: (f32, f32, f32, f32)) -> Self[src]

pub fn text(self, value: TextDisplay<&'a FontTexture>) -> Self[src]

impl<'a> UiTextBuilder<'a>[src]

pub fn build(self) -> Result<UiText<'a>, String>[src]

Trait Implementations

impl<'a> Default for UiTextBuilder<'a>[src]

Auto Trait Implementations

impl<'a> !Send for UiTextBuilder<'a>

impl<'a> !Sync for UiTextBuilder<'a>

impl<'a> Unpin for UiTextBuilder<'a>

impl<'a> !UnwindSafe for UiTextBuilder<'a>

impl<'a> !RefUnwindSafe for UiTextBuilder<'a>

Blanket Implementations

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

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

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

type Error = !

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> SetParameter for T

impl<T> Same<T> for T

type Output = T

Should always be Self

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