[][src]Struct paddle::FloatingText

pub struct FloatingText { /* fields omitted */ }

Implementations

impl FloatingText[src]

pub fn new(area: &Rectangle, text: String) -> PaddleResult<Self>[src]

pub fn new_styled(
    area: &Rectangle,
    text: String,
    styles: &[(&str, &str)],
    classes: &[&str]
) -> PaddleResult<Self>
[src]

pub fn update_position(&mut self, area: &Rectangle, z: i16) -> PaddleResult<()>[src]

pub fn update_text(&mut self, text: &str)[src]

pub fn update_fit_strategy(&mut self, fit: FitStrategy) -> Result<(), DivError>[src]

pub fn draw(&mut self)[src]

pub fn show(&self) -> Result<(), DivError>[src]

pub fn hide(&self) -> Result<(), DivError>[src]

pub fn try_default() -> PaddleResult<Self>[src]

pub fn write(
    &mut self,
    display: &DisplayArea,
    max_area: &Rectangle,
    z: i16,
    fit_strat: FitStrategy,
    text: &str
) -> PaddleResult<()>
[src]

Trait Implementations

impl Debug for FloatingText[src]

impl Drop for FloatingText[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Activity for T where
    T: Any
[src]

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, 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>,