[][src]Enum azul_text_layout::text_layout::LineCaretIntersection

pub enum LineCaretIntersection {
    NoIntersection,
    AdvanceCaretTo(f32),
    PushCaretOntoNextLine(usizef32),
}

Variants

NoIntersection

OK: Caret does not interset any elements

AdvanceCaretTo(f32)

In order to not intersect with any holes, the caret needs to be advanced to the position x, but can stay on the same line.

PushCaretOntoNextLine(usizef32)

Caret needs to advance X number of lines and be positioned with a leading of x

Trait Implementations

impl Clone for LineCaretIntersection[src]

impl Copy for LineCaretIntersection[src]

impl Debug for LineCaretIntersection[src]

impl PartialEq<LineCaretIntersection> for LineCaretIntersection[src]

impl PartialOrd<LineCaretIntersection> for LineCaretIntersection[src]

impl StructuralPartialEq for LineCaretIntersection[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.