Enum pango::GravityHint [−][src]
#[non_exhaustive] pub enum GravityHint { Natural, Strong, Line, // some variants omitted }
Expand description
The GravityHint
defines how horizontal scripts should behave in a
vertical context. That is, English excerpt in a vertical paragraph for
example.
See Gravity
.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
scripts will take their natural gravity based on the base gravity and the script. This is the default.
always use the base gravity set, regardless of the script.
for scripts not in their natural direction (eg. Latin in East gravity), choose per-script gravity such that every script respects the line progression. This means, Latin and Arabic will take opposite gravities and both flow top-to-bottom for example.
Trait Implementations
type Checker = GenericValueTypeChecker<Self>
type Checker = GenericValueTypeChecker<Self>
Value type checker.
Get the contained value from a Value
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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 GravityHint
impl Send for GravityHint
impl Sync for GravityHint
impl Unpin for GravityHint
impl UnwindSafe for GravityHint
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.