Enum gfx_glyph::LayoutLeftover [] [src]

pub enum LayoutLeftover<'a> {
    HardBreak(Point<f32>, SectionGlyphInfo<'a>, VMetrics),
    OutOfWidthBound(Point<f32>, SectionGlyphInfo<'a>, VMetrics),
    OutOfHeightBound(Point<f32>, SectionGlyphInfo<'a>, VMetrics),
}

Container for glyphs leftover/unable to fit in a layout and/or within render bounds

Variants

leftover text after a new hard line break, indicated by the LineBreaker

text that would fall outside of the horizontal bound

text that would fall fully outside the vertical bound note: does not include hidden text within a layout for example a _ character hidden but between visible characters would be ignored

Trait Implementations

impl<'a> Debug for LayoutLeftover<'a>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> Clone for LayoutLeftover<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<'a> Send for LayoutLeftover<'a>

impl<'a> Sync for LayoutLeftover<'a>