[][src]Enum azul_text_layout::text_layout::TextOverflow

pub enum TextOverflow {
    IsOverflowing(f32),
    InBounds(f32),
}

Whether the text overflows the parent rectangle, and if yes, by how many pixels, necessary for determining if / how to show a scrollbar + aligning / centering text.

Variants

IsOverflowing(f32)

Text is overflowing, by how much (in pixels)?

InBounds(f32)

Text is in bounds, how much space is available until the edge of the rectangle (in pixels)?

Trait Implementations

impl Clone for TextOverflow[src]

impl Copy for TextOverflow[src]

impl Debug for TextOverflow[src]

impl PartialEq<TextOverflow> for TextOverflow[src]

impl PartialOrd<TextOverflow> for TextOverflow[src]

impl StructuralPartialEq for TextOverflow[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.