pub struct CairoTextLayout { /* private fields */ }

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
The total size of this TextLayout. Read more
The width of this layout, including the width of any trailing whitespace. Read more
Returns a Rect representing the bounding box of the glyphs in this layout, relative to the top-left of the layout object. Read more
The text used to create this layout.
Given a line number, return a reference to that line’s underlying string. Read more
Given a line number, return a reference to that line’s metrics, if the line exists. Read more
Returns total number of lines in the text layout. Read more
Given a Point, return a HitTestPoint describing the corresponding text position. Read more
Given a grapheme boundary in the string used to create this TextLayout, return a HitTestPosition object describing the location of that boundary within the layout. Read more
Returns a vector of Rects that cover the region of the text indicated by range. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Performs the conversion.
Performs the conversion.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.