Enum paragraph_breaker::Item[][src]

pub enum Item<T> {
    Box {
        width: i32,
        data: T,
    },
    Glue {
        width: i32,
        stretch: i32,
        shrink: i32,
    },
    Penalty {
        width: i32,
        penalty: i32,
        flagged: bool,
    },
}

Variants

Fields of Box

Fields of Glue

Fields of Penalty

Methods

impl<T> Item<T>
[src]

Trait Implementations

impl<T: Debug> Debug for Item<T>
[src]

Formats the value using the given formatter. Read more

impl<T: Copy> Copy for Item<T>
[src]

impl<T: Clone> Clone for Item<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<T> Send for Item<T> where
    T: Send

impl<T> Sync for Item<T> where
    T: Sync