Struct paragraph::Item [] [src]

pub struct Item {
    pub t: Type,
    pub w: f32,
    pub y: f32,
    pub z: f32,
    pub p: f32,
    pub f: bool,
}

An item.

Fields

The type.

The width.

The stretchability.

The shrinkability.

The penalty.

The flag.

Methods

impl Item
[src]

Create an item.

Create a box item.

Create a glue item.

Create a penalty item.

Check if it is a box item.

Check if it is a glue item.

Check if it is a penalty item.

Trait Implementations

impl Clone for Item
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Item
[src]

impl Debug for Item
[src]

Formats the value using the given formatter.

impl PartialEq for Item
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.