Struct pango::TabArray [−][src]
pub struct TabArray(_);
Expand description
A TabArray struct contains an array
of tab stops. Each tab stop has an alignment and a position.
Implementations
Creates an array of initial_size tab stops. Tab stops are specified in
pixel units if positions_in_pixels is true, otherwise in Pango
units. All stops are initially at position 0.
initial_size
Initial number of tab stops to allocate, can be 0
positions_in_pixels
whether positions are in pixel units
Returns
the newly allocated TabArray, which should
be freed with pango_tab_array_free().
Resizes a tab array. You must subsequently initialize any tabs that were added as a result of growing the array.
new_size
new size of the array
Trait Implementations
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Returns the type identifier of Self.
Auto Trait Implementations
impl RefUnwindSafe for TabArrayimpl UnwindSafe for TabArrayBlanket Implementations
Mutably borrows from an owned value. Read more
impl<'a, T, C> FromValueOptional<'a> for T where
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,
T: FromValue<'a, Checker = C>,