Enum gfx_glyph::LineBreak [] [src]

pub enum LineBreak {
    Soft(usize),
    Hard(usize),
}

Indicator that a character is a line break, soft or hard. Includes the offset position.

Variants

Soft line break (offset).

Hard line break (offset).

Methods

impl LineBreak
[src]

[src]

Returns the offset of the line break, the index after the breaking character.

Trait Implementations

impl Debug for LineBreak
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for LineBreak
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for LineBreak
[src]

impl PartialEq for LineBreak
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for LineBreak
[src]

impl Hash for LineBreak
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for LineBreak

impl Sync for LineBreak